@qlik/api 0.0.8 → 0.0.9
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/api-keys.d.mts +1 -1
- package/api-keys.d.ts +1 -1
- package/api-keys.js +11 -11
- package/api-keys.mjs +3 -3
- package/apps.d.mts +9 -7
- package/apps.d.ts +9 -7
- package/apps.js +47 -47
- package/apps.mjs +3 -3
- package/audits.d.mts +1 -1
- package/audits.d.ts +1 -1
- package/audits.js +10 -10
- package/audits.mjs +3 -3
- package/auth.js +4 -4
- package/auth.mjs +3 -3
- package/automations.d.mts +1 -1
- package/automations.d.ts +1 -1
- package/automations.js +22 -22
- package/automations.mjs +3 -3
- package/brands.d.mts +4 -4
- package/brands.d.ts +4 -4
- package/brands.js +16 -16
- package/brands.mjs +3 -3
- package/chunks/37STYSYC.js +41 -0
- package/{enigma-session-VTHT4O6N.js → chunks/AGASWXYW.js} +5 -5
- package/{invoke-fetch-X42FV2FS.mjs → chunks/AU62SBT4.mjs} +2 -2
- package/{chunk-GY2TAYQH.js → chunks/AULTUQC4.js} +2 -2
- package/{chunk-4R2XCEVK.mjs → chunks/EHZ6H6TD.mjs} +1 -1
- package/{chunk-EALMXU6S.js → chunks/EL2GSPZZ.js} +3 -3
- package/{qix-QWSMFPQY.js → chunks/F7GJTDIU.js} +9 -9
- package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
- package/{chunk-YILVC32M.mjs → chunks/K4YCNLTC.mjs} +1 -1
- package/{chunk-F24SLAYP.mjs → chunks/KDW6ZD2R.mjs} +61 -27
- package/{qix-57OF6A7B.mjs → chunks/L7DRRU3T.mjs} +3 -3
- package/{chunk-4MWB2T3C.mjs → chunks/POR3DZIU.mjs} +1 -1
- package/{chunk-QTCDGPKS.js → chunks/PQ4OWSWX.js} +63 -29
- package/chunks/VC2LAFLZ.js +17 -0
- package/{chunk-LLLEO6K6.mjs → chunks/VLLTA4EY.mjs} +3 -3
- package/{chunk-BRDPNGQ7.js → chunks/W2I5OQA5.js} +3 -3
- package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
- package/{auth-U6QTT3H4.mjs → chunks/WQHUX4R2.mjs} +2 -2
- package/{chunk-RYBRKLOY.js → chunks/XY3AC335.js} +4 -4
- package/{enigma-session-VSFGLOYW.mjs → chunks/YDB23Q56.mjs} +2 -2
- package/collections.d.mts +5 -21
- package/collections.d.ts +5 -21
- package/collections.js +15 -15
- package/collections.mjs +3 -3
- package/csp-origins.d.mts +1 -1
- package/csp-origins.d.ts +1 -1
- package/csp-origins.js +10 -10
- package/csp-origins.mjs +3 -3
- package/data-assets.d.mts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-assets.js +9 -9
- package/data-assets.mjs +3 -3
- package/data-connections.d.mts +1 -1
- package/data-connections.d.ts +1 -1
- package/data-connections.js +13 -13
- package/data-connections.mjs +3 -3
- package/data-credentials.d.mts +1 -1
- package/data-credentials.d.ts +1 -1
- package/data-credentials.js +8 -8
- package/data-credentials.mjs +3 -3
- package/data-files.d.mts +1 -1
- package/data-files.d.ts +1 -1
- package/data-files.js +16 -16
- package/data-files.mjs +3 -3
- package/extensions.d.mts +1 -1
- package/extensions.d.ts +1 -1
- package/extensions.js +11 -11
- package/extensions.mjs +3 -3
- package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
- package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
- package/glossaries.d.mts +1 -1
- package/glossaries.d.ts +1 -1
- package/glossaries.js +28 -28
- package/glossaries.mjs +3 -3
- package/groups.d.mts +1 -1
- package/groups.d.ts +1 -1
- package/groups.js +12 -12
- package/groups.mjs +3 -3
- package/identity-providers.d.mts +1 -1
- package/identity-providers.d.ts +1 -1
- package/identity-providers.js +12 -12
- package/identity-providers.mjs +3 -3
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +5 -5
- package/items.d.mts +1 -1
- package/items.d.ts +1 -1
- package/items.js +12 -12
- package/items.mjs +3 -3
- package/licenses.d.mts +1 -1
- package/licenses.d.ts +1 -1
- package/licenses.js +13 -13
- package/licenses.mjs +3 -3
- package/package.json +4 -1
- package/qix.d.mts +20 -2
- package/qix.d.ts +20 -2
- package/qix.js +4 -4
- package/qix.mjs +3 -3
- package/quotas.d.mts +1 -1
- package/quotas.d.ts +1 -1
- package/quotas.js +6 -6
- package/quotas.mjs +3 -3
- package/reload-tasks.d.mts +1 -1
- package/reload-tasks.d.ts +1 -1
- package/reload-tasks.js +9 -9
- package/reload-tasks.mjs +3 -3
- package/reloads.d.mts +1 -1
- package/reloads.d.ts +1 -1
- package/reloads.js +8 -8
- package/reloads.mjs +3 -3
- package/roles.d.mts +1 -1
- package/roles.d.ts +1 -1
- package/roles.js +6 -6
- package/roles.mjs +3 -3
- package/spaces.d.mts +1 -1
- package/spaces.d.ts +1 -1
- package/spaces.js +16 -16
- package/spaces.mjs +3 -3
- package/temp-contents.d.mts +1 -1
- package/temp-contents.d.ts +1 -1
- package/temp-contents.js +7 -7
- package/temp-contents.mjs +3 -3
- package/tenants.d.mts +6 -6
- package/tenants.d.ts +6 -6
- package/tenants.js +10 -10
- package/tenants.mjs +3 -3
- package/themes.d.mts +1 -1
- package/themes.d.ts +1 -1
- package/themes.js +11 -11
- package/themes.mjs +3 -3
- package/transports.d.mts +12 -12
- package/transports.d.ts +12 -12
- package/transports.js +10 -10
- package/transports.mjs +3 -3
- package/users.d.mts +5 -11
- package/users.d.ts +5 -11
- package/users.js +14 -14
- package/users.mjs +3 -3
- package/web-integrations.d.mts +1 -1
- package/web-integrations.d.ts +1 -1
- package/web-integrations.js +9 -9
- package/web-integrations.mjs +3 -3
- package/web-notifications.d.mts +1 -1
- package/web-notifications.d.ts +1 -1
- package/web-notifications.js +10 -10
- package/web-notifications.mjs +3 -3
- package/webhooks.d.mts +1 -1
- package/webhooks.d.ts +1 -1
- package/webhooks.js +14 -14
- package/webhooks.mjs +3 -3
- package/auth-XY6FVSVM.js +0 -41
- package/invoke-fetch-FRLO3CK6.js +0 -17
- /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
- /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/audits.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
|
-
var getAudits = async (query, options) =>
|
|
9
|
+
var getAudits = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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 _EL2GSPZZjs.clearApiCache.call(void 0, "audits");
|
|
44
44
|
}
|
|
45
45
|
var auditsExport = {
|
|
46
46
|
getAudits,
|
package/audits.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/audits.ts
|
|
9
9
|
var getAudits = async (query, options) => invokeFetch("audits", {
|
package/auth.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
6
|
+
var _XY3AC335js = require('./chunks/XY3AC335.js');
|
|
7
|
+
require('./chunks/W2I5OQA5.js');
|
|
8
|
+
require('./chunks/4HB3TAEO.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.default =
|
|
14
|
+
exports.default = _XY3AC335js.auth_default; exports.logout = _XY3AC335js.logout; exports.registerAuthModule = _XY3AC335js.registerAuthModule; exports.setDefaultHostConfig = _XY3AC335js.setDefaultHostConfig;
|
package/auth.mjs
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
logout,
|
|
4
4
|
registerAuthModule,
|
|
5
5
|
setDefaultHostConfig
|
|
6
|
-
} from "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
6
|
+
} from "./chunks/EHZ6H6TD.mjs";
|
|
7
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
8
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
9
9
|
export {
|
|
10
10
|
auth_default as default,
|
|
11
11
|
logout,
|
package/automations.d.mts
CHANGED
package/automations.d.ts
CHANGED
package/automations.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
|
-
var getAutomations = async (query, options) =>
|
|
9
|
+
var getAutomations = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMXU6Sjs.invokeFetch
|
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
options
|
|
59
59
|
});
|
|
60
|
-
var copyAutomation = async (id, body, options) =>
|
|
60
|
+
var copyAutomation = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMXU6Sjs.invokeFetch.c
|
|
|
65
65
|
contentType: "application/json",
|
|
66
66
|
options
|
|
67
67
|
});
|
|
68
|
-
var disableAutomation = async (id, options) =>
|
|
68
|
+
var disableAutomation = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMXU6Sjs.invokeFetch.c
|
|
|
85
85
|
contentType: "application/json",
|
|
86
86
|
options
|
|
87
87
|
});
|
|
88
|
-
var getAutomationRuns = async (id, query, options) =>
|
|
88
|
+
var getAutomationRuns = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMXU6Sjs.invokeFet
|
|
|
100
100
|
contentType: "application/json",
|
|
101
101
|
options
|
|
102
102
|
});
|
|
103
|
-
var getAutomationRun = async (id, runId, options) =>
|
|
103
|
+
var getAutomationRun = async (id, runId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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 _EL2GSPZZjs.clearApiCache.call(void 0, "automations");
|
|
129
129
|
}
|
|
130
130
|
var automationsExport = {
|
|
131
131
|
getAutomations,
|
package/automations.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/automations.ts
|
|
9
9
|
var getAutomations = async (query, options) => invokeFetch("automations", {
|
package/brands.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-5iFvFJvX.mjs';
|
|
2
2
|
import './auth-types-nnUcWhuU.mjs';
|
|
3
3
|
|
|
4
4
|
type Brand = {
|
|
@@ -179,12 +179,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
|
|
|
179
179
|
*/
|
|
180
180
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
181
181
|
type GetActiveBrandHttpResponse = {
|
|
182
|
-
data: NoActiveBrand;
|
|
182
|
+
data: Brand | NoActiveBrand;
|
|
183
183
|
headers: Headers;
|
|
184
184
|
status: number;
|
|
185
185
|
};
|
|
186
186
|
type GetActiveBrandHttpError = {
|
|
187
|
-
data:
|
|
187
|
+
data: unknown;
|
|
188
188
|
headers: Headers;
|
|
189
189
|
status: number;
|
|
190
190
|
};
|
|
@@ -429,7 +429,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
|
|
|
429
429
|
*/
|
|
430
430
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
431
431
|
type GetBrandFileHttpResponse = {
|
|
432
|
-
data:
|
|
432
|
+
data: DownloadableBlob;
|
|
433
433
|
headers: Headers;
|
|
434
434
|
status: number;
|
|
435
435
|
};
|
package/brands.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './global.types-
|
|
1
|
+
import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-TzVhFPid.js';
|
|
2
2
|
import './auth-types-nnUcWhuU.js';
|
|
3
3
|
|
|
4
4
|
type Brand = {
|
|
@@ -179,12 +179,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
|
|
|
179
179
|
*/
|
|
180
180
|
declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
|
|
181
181
|
type GetActiveBrandHttpResponse = {
|
|
182
|
-
data: NoActiveBrand;
|
|
182
|
+
data: Brand | NoActiveBrand;
|
|
183
183
|
headers: Headers;
|
|
184
184
|
status: number;
|
|
185
185
|
};
|
|
186
186
|
type GetActiveBrandHttpError = {
|
|
187
|
-
data:
|
|
187
|
+
data: unknown;
|
|
188
188
|
headers: Headers;
|
|
189
189
|
status: number;
|
|
190
190
|
};
|
|
@@ -429,7 +429,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
|
|
|
429
429
|
*/
|
|
430
430
|
declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
|
|
431
431
|
type GetBrandFileHttpResponse = {
|
|
432
|
-
data:
|
|
432
|
+
data: DownloadableBlob;
|
|
433
433
|
headers: Headers;
|
|
434
434
|
status: number;
|
|
435
435
|
};
|
package/brands.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./
|
|
6
|
-
require('./
|
|
4
|
+
var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
|
|
5
|
+
require('./chunks/W2I5OQA5.js');
|
|
6
|
+
require('./chunks/4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/public/rest/brands.ts
|
|
9
|
-
var getBrands = async (query, options) =>
|
|
9
|
+
var getBrands = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMXU6Sjs.invokeFetch.
|
|
|
44
44
|
contentType: "application/json",
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var activateBrand = async (brandId, body, options) =>
|
|
47
|
+
var activateBrand = async (brandId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMX
|
|
|
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) => _EL2GSPZZjs.invokeFetch.call(void 0, "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) => _chunkEALMX
|
|
|
87
87
|
options
|
|
88
88
|
});
|
|
89
89
|
function clearCache() {
|
|
90
|
-
return
|
|
90
|
+
return _EL2GSPZZjs.clearApiCache.call(void 0, "brands");
|
|
91
91
|
}
|
|
92
92
|
var brandsExport = {
|
|
93
93
|
getBrands,
|
package/brands.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
4
|
+
} from "./chunks/POR3DZIU.mjs";
|
|
5
|
+
import "./chunks/VLLTA4EY.mjs";
|
|
6
|
+
import "./chunks/VSY5YIQY.mjs";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/brands.ts
|
|
9
9
|
var getBrands = async (query, options) => invokeFetch("brands", {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
|
|
21
|
+
require('./4HB3TAEO.js');
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.AuthorizationError = _PQ4OWSWXjs.AuthorizationError; exports.InvalidAuthTypeError = _PQ4OWSWXjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _PQ4OWSWXjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _PQ4OWSWXjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _PQ4OWSWXjs.checkForCrossDomainRequest; exports.default = _PQ4OWSWXjs.auth_default; exports.getRestCallAuthParams = _PQ4OWSWXjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _PQ4OWSWXjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _PQ4OWSWXjs.getWebSocketAuthParams; exports.handleAuthenticationError = _PQ4OWSWXjs.handleAuthenticationError; exports.isHostCrossOrigin = _PQ4OWSWXjs.isHostCrossOrigin; exports.isWindows = _PQ4OWSWXjs.isWindows; exports.logout = _PQ4OWSWXjs.logout; exports.registerAuthModule = _PQ4OWSWXjs.registerAuthModule; exports.setDefaultHostConfig = _PQ4OWSWXjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _PQ4OWSWXjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _PQ4OWSWXjs.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./
|
|
5
|
+
var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
|
|
6
|
+
require('./4HB3TAEO.js');
|
|
7
7
|
|
|
8
8
|
// src/qix/session/enigma-session.ts
|
|
9
9
|
var _enigmajs = require('enigma.js'); var _enigmajs2 = _interopRequireDefault(_enigmajs);
|
|
@@ -10160,14 +10160,14 @@ async function createEnigmaSession({
|
|
|
10160
10160
|
identity,
|
|
10161
10161
|
hostConfig
|
|
10162
10162
|
}) {
|
|
10163
|
-
const locationUrl =
|
|
10163
|
+
const locationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
|
|
10164
10164
|
const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
|
|
10165
10165
|
const identityPart = identity ? `/identity/${identity}` : "";
|
|
10166
10166
|
let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}`.replace(/^http/, "ws");
|
|
10167
10167
|
const isNodeEnvironment = typeof window === "undefined";
|
|
10168
10168
|
let createSocketMethod;
|
|
10169
10169
|
if (isNodeEnvironment) {
|
|
10170
|
-
const { headers, queryParams } = await
|
|
10170
|
+
const { headers, queryParams } = await _PQ4OWSWXjs.getRestCallAuthParams.call(void 0, { hostConfig, method: "POST" });
|
|
10171
10171
|
const WS = (await Promise.resolve().then(() => _interopRequireWildcard(require("ws")))).default;
|
|
10172
10172
|
Object.entries(queryParams).forEach(([key, value]) => {
|
|
10173
10173
|
url = `${url}&${key}=${value}`;
|
|
@@ -10176,7 +10176,7 @@ async function createEnigmaSession({
|
|
|
10176
10176
|
headers
|
|
10177
10177
|
});
|
|
10178
10178
|
} else {
|
|
10179
|
-
const { queryParams } = await
|
|
10179
|
+
const { queryParams } = await _PQ4OWSWXjs.getWebSocketAuthParams.call(void 0, { hostConfig });
|
|
10180
10180
|
Object.entries(queryParams).forEach(([key, value]) => {
|
|
10181
10181
|
url = `${url}&${key}=${value}`;
|
|
10182
10182
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _W2I5OQA5js = require('./W2I5OQA5.js');
|
|
4
4
|
|
|
5
5
|
// src/public/qix.ts
|
|
6
6
|
function openAppSession(appSessionProps) {
|
|
7
|
-
const appSessionPromise =
|
|
7
|
+
const appSessionPromise = _W2I5OQA5js.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
|
|
8
8
|
(impl) => impl.openAppSession(appSessionProps)
|
|
9
9
|
);
|
|
10
10
|
const appSessionProxy = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _W2I5OQA5js = require('./W2I5OQA5.js');
|
|
4
4
|
|
|
5
5
|
// src/public/invoke-fetch.ts
|
|
6
6
|
async function invokeFetch(api, props) {
|
|
7
7
|
const hostConfig = _optionalChain([props, 'access', _ => _.options, 'optionalAccess', _2 => _2.hostConfig]);
|
|
8
|
-
return (await
|
|
8
|
+
return (await _W2I5OQA5js.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
|
|
9
9
|
}
|
|
10
10
|
function clearApiCache(api) {
|
|
11
|
-
void
|
|
11
|
+
void _W2I5OQA5js.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|