@qlik/api 0.0.10 → 0.0.11
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.js +10 -10
- package/api-keys.mjs +2 -2
- package/apps.js +46 -46
- package/apps.mjs +2 -2
- package/audits.js +9 -9
- package/audits.mjs +2 -2
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.js +21 -21
- package/automations.mjs +2 -2
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunks/{ILOY5QEA.js → 277NFGPR.js} +4 -4
- package/chunks/{KEPPVUY3.mjs → 4E3AP3QF.mjs} +1 -1
- package/chunks/{42LZKDDD.mjs → 6QHMH76M.mjs} +1 -1
- package/chunks/{O5POHH2Q.mjs → E3HDOP72.mjs} +3 -3
- package/chunks/{37PLWNAN.js → FT7SZRB6.js} +1 -1
- package/chunks/{FUU5VIC4.mjs → G36LDZ2O.mjs} +1 -1
- package/chunks/{HWZC3PIL.mjs → J3UXBHGX.mjs} +1 -1
- package/chunks/{MMUU2CQM.mjs → K2WB4AWW.mjs} +1 -1
- package/chunks/{VMS4MOCI.mjs → MHLTST5J.mjs} +1 -1
- package/chunks/{AVQ3WHH7.js → MQGSH6BQ.js} +5 -5
- package/chunks/{FG5GDUSZ.js → NBNOAZT5.js} +3 -3
- package/chunks/{QMWU5E4D.js → NZ6E5ZHO.js} +3 -3
- package/chunks/{34FMVD4C.mjs → QJNIUMNI.mjs} +1 -1
- package/chunks/{WCJ4JQHA.js → QMOQD6PE.js} +8 -8
- package/chunks/SPJKF5VW.js +17 -0
- package/chunks/{HFNJ3ERI.mjs → TPTPAX2U.mjs} +2 -2
- package/chunks/X3YDQVZ6.js +41 -0
- package/chunks/{3MHXEHLQ.js → XP7ALS4O.js} +2 -2
- package/collections.js +14 -14
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.js +15 -15
- package/data-files.mjs +2 -2
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.js +11 -11
- package/groups.mjs +2 -2
- package/identity-providers.js +11 -11
- package/identity-providers.mjs +2 -2
- package/index.js +8 -8
- package/index.mjs +4 -4
- package/items.js +11 -11
- package/items.mjs +2 -2
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +1 -1
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.js +6 -6
- package/temp-contents.mjs +2 -2
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
- package/chunks/RMNAO4DP.js +0 -17
- package/chunks/SUYUL6MB.js +0 -41
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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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 _NZ6E5ZHOjs.clearApiCache.call(void 0, "automations");
|
|
129
129
|
}
|
|
130
130
|
var automationsExport = {
|
|
131
131
|
getAutomations,
|
package/automations.mjs
CHANGED
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('./chunks/
|
|
4
|
+
var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
|
|
5
|
+
require('./chunks/NBNOAZT5.js');
|
|
6
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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs
|
|
|
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) => _NZ6E5ZHOjs.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) => _QMWU5E4Djs
|
|
|
87
87
|
options
|
|
88
88
|
});
|
|
89
89
|
function clearCache() {
|
|
90
|
-
return
|
|
90
|
+
return _NZ6E5ZHOjs.clearApiCache.call(void 0, "brands");
|
|
91
91
|
}
|
|
92
92
|
var brandsExport = {
|
|
93
93
|
getBrands,
|
package/brands.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _NBNOAZT5js = require('./NBNOAZT5.js');
|
|
4
4
|
|
|
5
5
|
// src/public/auth.ts
|
|
6
6
|
function registerAuthModule(name, authModule) {
|
|
7
|
-
void
|
|
7
|
+
void _NBNOAZT5js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
|
|
8
8
|
}
|
|
9
9
|
function logout() {
|
|
10
|
-
void
|
|
10
|
+
void _NBNOAZT5js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
|
|
11
11
|
}
|
|
12
12
|
function setDefaultHostConfig(hostConfig) {
|
|
13
|
-
void
|
|
13
|
+
void _NBNOAZT5js.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
|
|
14
14
|
}
|
|
15
15
|
var auth_default = {
|
|
16
16
|
registerAuthModule,
|
|
@@ -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("./K2WB4AWW.mjs") : import("./H32EGPZN.mjs").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("./TPTPAX2U.mjs") : import("./H32EGPZN.mjs").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("./6QHMH76M.mjs") : import("./H32EGPZN.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export {
|
|
@@ -944,7 +944,7 @@ var oauth_default = {
|
|
|
944
944
|
handleAuthenticationError: handleAuthenticationError5,
|
|
945
945
|
validateHostConfig: (hostConfig) => internalValidateHostConfig(hostConfig, {
|
|
946
946
|
requiredProps: ["clientId"],
|
|
947
|
-
optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage"]
|
|
947
|
+
optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage", "scope"]
|
|
948
948
|
})
|
|
949
949
|
};
|
|
950
950
|
|
|
@@ -944,7 +944,7 @@ var oauth_default = {
|
|
|
944
944
|
handleAuthenticationError: handleAuthenticationError5,
|
|
945
945
|
validateHostConfig: (hostConfig) => internalValidateHostConfig(hostConfig, {
|
|
946
946
|
requiredProps: ["clientId"],
|
|
947
|
-
optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage"]
|
|
947
|
+
optionalProps: ["clientSecret", "redirectUri", "accessTokenStorage", "scope"]
|
|
948
948
|
})
|
|
949
949
|
};
|
|
950
950
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _FT7SZRB6js = require('./FT7SZRB6.js');
|
|
7
7
|
require('./4HB3TAEO.js');
|
|
8
8
|
|
|
9
9
|
// src/qix/session/enigma-session.ts
|
|
@@ -9741,7 +9741,7 @@ var mixin6 = {
|
|
|
9741
9741
|
// generating id on client side to support multiple undo create operations
|
|
9742
9742
|
// raised an engine bug to solve this, when resolved can be changed
|
|
9743
9743
|
// TODO: update the jira id for engine bug once created
|
|
9744
|
-
qId:
|
|
9744
|
+
qId: _FT7SZRB6js.generateRandomString.call(void 0, 43),
|
|
9745
9745
|
qType: "sheet"
|
|
9746
9746
|
},
|
|
9747
9747
|
qMetaDef: {
|
|
@@ -10304,14 +10304,14 @@ async function createEnigmaSession({
|
|
|
10304
10304
|
identity,
|
|
10305
10305
|
hostConfig
|
|
10306
10306
|
}) {
|
|
10307
|
-
const locationUrl =
|
|
10307
|
+
const locationUrl = _FT7SZRB6js.toValidWebsocketLocationUrl.call(void 0, hostConfig);
|
|
10308
10308
|
const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`);
|
|
10309
10309
|
const identityPart = identity ? `/identity/${identity}` : "";
|
|
10310
10310
|
let url = `${locationUrl}/app/${appId}${identityPart}?reloadUri=${reloadUri}`.replace(/^http/, "ws");
|
|
10311
10311
|
const isNodeEnvironment = typeof window === "undefined";
|
|
10312
10312
|
let createSocketMethod;
|
|
10313
10313
|
if (isNodeEnvironment) {
|
|
10314
|
-
const { headers, queryParams } = await
|
|
10314
|
+
const { headers, queryParams } = await _FT7SZRB6js.getRestCallAuthParams.call(void 0, { hostConfig, method: "POST" });
|
|
10315
10315
|
const WS = (await Promise.resolve().then(() => _interopRequireWildcard(require("ws")))).default;
|
|
10316
10316
|
Object.entries(queryParams).forEach(([key, value]) => {
|
|
10317
10317
|
url = `${url}&${key}=${value}`;
|
|
@@ -10320,7 +10320,7 @@ async function createEnigmaSession({
|
|
|
10320
10320
|
headers
|
|
10321
10321
|
});
|
|
10322
10322
|
} else {
|
|
10323
|
-
const { queryParams } = await
|
|
10323
|
+
const { queryParams } = await _FT7SZRB6js.getWebSocketAuthParams.call(void 0, { hostConfig });
|
|
10324
10324
|
Object.entries(queryParams).forEach(([key, value]) => {
|
|
10325
10325
|
url = `${url}&${key}=${value}`;
|
|
10326
10326
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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; }// src/public/public-runtime-modules.ts
|
|
2
2
|
function getAuthRuntimeModule(hostConfig) {
|
|
3
3
|
const isNode = !!_optionalChain([globalThis, 'access', _ => _.process, 'optionalAccess', _2 => _2.argv]);
|
|
4
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
4
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./X3YDQVZ6.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.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 = !!_optionalChain([globalThis, 'access', _3 => _3.process, 'optionalAccess', _4 => _4.argv]);
|
|
9
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
9
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./QMOQD6PE.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.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 = !!_optionalChain([globalThis, 'access', _5 => _5.process, 'optionalAccess', _6 => _6.argv]);
|
|
14
|
-
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
14
|
+
return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./SPJKF5VW.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./WM2VCN4G.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -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 _NBNOAZT5js = require('./NBNOAZT5.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 _NBNOAZT5js.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
|
|
9
9
|
}
|
|
10
10
|
function clearApiCache(api) {
|
|
11
|
-
void
|
|
11
|
+
void _NBNOAZT5js.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _FT7SZRB6js = require('./FT7SZRB6.js');
|
|
8
8
|
require('./4HB3TAEO.js');
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
@@ -36,7 +36,7 @@ async function resumeAll() {
|
|
|
36
36
|
var initialActions = {};
|
|
37
37
|
var sharedSessions = {};
|
|
38
38
|
function toGlobalAppSessionId({ appId, identity, hostConfig }) {
|
|
39
|
-
const locationUrl =
|
|
39
|
+
const locationUrl = _FT7SZRB6js.toValidWebsocketLocationUrl.call(void 0, hostConfig);
|
|
40
40
|
return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
|
|
41
41
|
}
|
|
42
42
|
async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
|
|
@@ -83,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
83
83
|
return authSuggestedInWebsocket;
|
|
84
84
|
}
|
|
85
85
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
86
|
-
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./
|
|
86
|
+
const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./MQGSH6BQ.js")));
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
90
|
-
if (await
|
|
90
|
+
if (await _FT7SZRB6js.isWindows.call(void 0, props.hostConfig)) {
|
|
91
91
|
const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
|
|
92
92
|
global = await session.open();
|
|
93
93
|
const loginInfo = await loginInfoPromise;
|
|
94
94
|
if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
|
|
95
|
-
const action = await
|
|
95
|
+
const action = await _FT7SZRB6js.handleAuthenticationError.call(void 0, {
|
|
96
96
|
headers: new Headers(),
|
|
97
97
|
status: 101,
|
|
98
98
|
canRetry,
|
|
@@ -389,8 +389,8 @@ async function checkConnectivity(hostConfig) {
|
|
|
389
389
|
timeoutMs: 2e3,
|
|
390
390
|
noCache: true
|
|
391
391
|
};
|
|
392
|
-
const fetchRoot =
|
|
393
|
-
const fetchMe =
|
|
392
|
+
const fetchRoot = _FT7SZRB6js.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
|
|
393
|
+
const fetchMe = _FT7SZRB6js.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
|
|
394
394
|
await Promise.all([fetchRoot, fetchMe]);
|
|
395
395
|
return Promise.resolve(status);
|
|
396
396
|
}
|
|
@@ -435,7 +435,7 @@ function getOrCreateSharedSession(props) {
|
|
|
435
435
|
// src/qix/qix-functions.ts
|
|
436
436
|
async function createSessionApp() {
|
|
437
437
|
let sharedSession;
|
|
438
|
-
if ((await
|
|
438
|
+
if ((await _FT7SZRB6js.getPlatform.call(void 0, )).isCloud) {
|
|
439
439
|
sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
|
|
440
440
|
} else {
|
|
441
441
|
sharedSession = await getOrCreateSharedSession({
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _FT7SZRB6js = require('./FT7SZRB6.js');
|
|
9
|
+
require('./4HB3TAEO.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.EncodingError = _FT7SZRB6js.EncodingError; exports.InvokeFetchError = _FT7SZRB6js.InvokeFetchError; exports.clearApiCache = _FT7SZRB6js.clearApiCache; exports.default = _FT7SZRB6js.invoke_fetch_default; exports.invokeFetch = _FT7SZRB6js.invokeFetch; exports.parseFetchResponse = _FT7SZRB6js.parseFetchResponse;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
invokeFetch,
|
|
5
5
|
isWindows,
|
|
6
6
|
toValidWebsocketLocationUrl
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./MHLTST5J.mjs";
|
|
8
8
|
import "./VSY5YIQY.mjs";
|
|
9
9
|
|
|
10
10
|
// src/qix/session/shared-sessions.ts
|
|
@@ -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("./QJNIUMNI.mjs");
|
|
87
87
|
const session = await createEnigmaSession(props);
|
|
88
88
|
setupSessionListeners(session, props);
|
|
89
89
|
let global;
|
|
@@ -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 _FT7SZRB6js = require('./FT7SZRB6.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 = _FT7SZRB6js.AuthorizationError; exports.InvalidAuthTypeError = _FT7SZRB6js.InvalidAuthTypeError; exports.InvalidHostConfigError = _FT7SZRB6js.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _FT7SZRB6js.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _FT7SZRB6js.checkForCrossDomainRequest; exports.default = _FT7SZRB6js.auth_default; exports.getRestCallAuthParams = _FT7SZRB6js.getRestCallAuthParams; exports.getWebResourceAuthParams = _FT7SZRB6js.getWebResourceAuthParams; exports.getWebSocketAuthParams = _FT7SZRB6js.getWebSocketAuthParams; exports.handleAuthenticationError = _FT7SZRB6js.handleAuthenticationError; exports.isHostCrossOrigin = _FT7SZRB6js.isHostCrossOrigin; exports.isWindows = _FT7SZRB6js.isWindows; exports.logout = _FT7SZRB6js.logout; exports.registerAuthModule = _FT7SZRB6js.registerAuthModule; exports.setDefaultHostConfig = _FT7SZRB6js.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _FT7SZRB6js.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _FT7SZRB6js.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _FT7SZRB6js.toValidWebsocketLocationUrl;
|