@qlik/api 0.0.9 → 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.
Files changed (145) hide show
  1. package/api-keys.d.mts +9 -0
  2. package/api-keys.d.ts +9 -0
  3. package/api-keys.js +10 -10
  4. package/api-keys.mjs +2 -2
  5. package/apps.d.mts +125 -1
  6. package/apps.d.ts +125 -1
  7. package/apps.js +46 -46
  8. package/apps.mjs +2 -2
  9. package/audits.d.mts +13 -0
  10. package/audits.d.ts +13 -0
  11. package/audits.js +9 -9
  12. package/audits.mjs +2 -2
  13. package/auth.js +3 -3
  14. package/auth.mjs +2 -2
  15. package/automations.d.mts +8 -0
  16. package/automations.d.ts +8 -0
  17. package/automations.js +21 -21
  18. package/automations.mjs +2 -2
  19. package/brands.d.mts +15 -0
  20. package/brands.d.ts +15 -0
  21. package/brands.js +15 -15
  22. package/brands.mjs +2 -2
  23. package/chunks/{XY3AC335.js → 277NFGPR.js} +4 -4
  24. package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
  25. package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
  26. package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
  27. package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
  28. package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
  29. package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
  30. package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
  31. package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
  32. package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
  33. package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
  34. package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
  35. package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
  36. package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
  37. package/chunks/SPJKF5VW.js +17 -0
  38. package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
  39. package/chunks/X3YDQVZ6.js +41 -0
  40. package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
  41. package/collections.d.mts +29 -1
  42. package/collections.d.ts +29 -1
  43. package/collections.js +14 -14
  44. package/collections.mjs +2 -2
  45. package/csp-origins.js +9 -9
  46. package/csp-origins.mjs +2 -2
  47. package/data-assets.js +8 -8
  48. package/data-assets.mjs +2 -2
  49. package/data-connections.d.mts +12 -1
  50. package/data-connections.d.ts +12 -1
  51. package/data-connections.js +12 -12
  52. package/data-connections.mjs +2 -2
  53. package/data-credentials.d.mts +5 -0
  54. package/data-credentials.d.ts +5 -0
  55. package/data-credentials.js +7 -7
  56. package/data-credentials.mjs +2 -2
  57. package/data-files.d.mts +6 -0
  58. package/data-files.d.ts +6 -0
  59. package/data-files.js +15 -15
  60. package/data-files.mjs +2 -2
  61. package/extensions.d.mts +12 -0
  62. package/extensions.d.ts +12 -0
  63. package/extensions.js +10 -10
  64. package/extensions.mjs +2 -2
  65. package/glossaries.d.mts +50 -0
  66. package/glossaries.d.ts +50 -0
  67. package/glossaries.js +27 -27
  68. package/glossaries.mjs +2 -2
  69. package/groups.d.mts +39 -0
  70. package/groups.d.ts +39 -0
  71. package/groups.js +11 -11
  72. package/groups.mjs +2 -2
  73. package/identity-providers.d.mts +42 -0
  74. package/identity-providers.d.ts +42 -0
  75. package/identity-providers.js +11 -11
  76. package/identity-providers.mjs +2 -2
  77. package/index.js +8 -8
  78. package/index.mjs +4 -4
  79. package/items.d.mts +32 -1
  80. package/items.d.ts +32 -1
  81. package/items.js +11 -11
  82. package/items.mjs +2 -2
  83. package/licenses.d.mts +7 -4
  84. package/licenses.d.ts +7 -4
  85. package/licenses.js +12 -12
  86. package/licenses.mjs +2 -2
  87. package/package.json +1 -1
  88. package/qix.d.mts +1 -1
  89. package/qix.d.ts +1 -1
  90. package/qix.js +3 -3
  91. package/qix.mjs +2 -2
  92. package/quotas.d.mts +3 -0
  93. package/quotas.d.ts +3 -0
  94. package/quotas.js +5 -5
  95. package/quotas.mjs +2 -2
  96. package/reload-tasks.d.mts +6 -3
  97. package/reload-tasks.d.ts +6 -3
  98. package/reload-tasks.js +8 -8
  99. package/reload-tasks.mjs +2 -2
  100. package/reloads.d.mts +9 -0
  101. package/reloads.d.ts +9 -0
  102. package/reloads.js +7 -7
  103. package/reloads.mjs +2 -2
  104. package/roles.d.mts +10 -1
  105. package/roles.d.ts +10 -1
  106. package/roles.js +5 -5
  107. package/roles.mjs +2 -2
  108. package/spaces.d.mts +37 -5
  109. package/spaces.d.ts +37 -5
  110. package/spaces.js +15 -15
  111. package/spaces.mjs +2 -2
  112. package/temp-contents.d.mts +6 -0
  113. package/temp-contents.d.ts +6 -0
  114. package/temp-contents.js +6 -6
  115. package/temp-contents.mjs +2 -2
  116. package/tenants.d.mts +12 -0
  117. package/tenants.d.ts +12 -0
  118. package/tenants.js +9 -9
  119. package/tenants.mjs +2 -2
  120. package/themes.d.mts +9 -0
  121. package/themes.d.ts +9 -0
  122. package/themes.js +10 -10
  123. package/themes.mjs +2 -2
  124. package/transports.d.mts +9 -0
  125. package/transports.d.ts +9 -0
  126. package/transports.js +9 -9
  127. package/transports.mjs +2 -2
  128. package/users.d.mts +85 -14
  129. package/users.d.ts +85 -14
  130. package/users.js +13 -13
  131. package/users.mjs +2 -2
  132. package/web-integrations.d.mts +18 -0
  133. package/web-integrations.d.ts +18 -0
  134. package/web-integrations.js +8 -8
  135. package/web-integrations.mjs +2 -2
  136. package/web-notifications.d.mts +18 -0
  137. package/web-notifications.d.ts +18 -0
  138. package/web-notifications.js +9 -9
  139. package/web-notifications.mjs +2 -2
  140. package/webhooks.d.mts +3 -0
  141. package/webhooks.d.ts +3 -0
  142. package/webhooks.js +13 -13
  143. package/webhooks.mjs +2 -2
  144. package/chunks/37STYSYC.js +0 -41
  145. package/chunks/VC2LAFLZ.js +0 -17
package/glossaries.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
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/glossaries.ts
9
- var getGlossaries = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
9
+ var getGlossaries = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/glossaries",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGlossary = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
15
+ var createGlossary = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/glossaries",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var importGlossary = async (query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
22
+ var importGlossary = async (query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/glossaries/actions/import",
25
25
  query,
@@ -27,19 +27,19 @@ var importGlossary = async (query, body, options) => _EL2GSPZZjs.invokeFetch.cal
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var deleteGlossary = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
30
+ var deleteGlossary = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
31
31
  method: "delete",
32
32
  pathTemplate: "/api/v1/glossaries/{id}",
33
33
  pathVariables: { id },
34
34
  options
35
35
  });
36
- var getGlossary = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
36
+ var getGlossary = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/glossaries/{id}",
39
39
  pathVariables: { id },
40
40
  options
41
41
  });
42
- var patchGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
42
+ var patchGlossary = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
43
43
  method: "patch",
44
44
  pathTemplate: "/api/v1/glossaries/{id}",
45
45
  pathVariables: { id },
@@ -47,7 +47,7 @@ var patchGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(vo
47
47
  contentType: "application/json",
48
48
  options
49
49
  });
50
- var updateGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
50
+ var updateGlossary = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
51
51
  method: "put",
52
52
  pathTemplate: "/api/v1/glossaries/{id}",
53
53
  pathVariables: { id },
@@ -55,20 +55,20 @@ var updateGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
55
55
  contentType: "application/json",
56
56
  options
57
57
  });
58
- var exportGlossary = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
58
+ var exportGlossary = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
59
59
  method: "get",
60
60
  pathTemplate: "/api/v1/glossaries/{id}/actions/export",
61
61
  pathVariables: { id },
62
62
  options
63
63
  });
64
- var getGlossaryCategories = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
64
+ var getGlossaryCategories = async (id, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
65
65
  method: "get",
66
66
  pathTemplate: "/api/v1/glossaries/{id}/categories",
67
67
  pathVariables: { id },
68
68
  query,
69
69
  options
70
70
  });
71
- var createGlossaryCategory = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
71
+ var createGlossaryCategory = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
72
72
  method: "post",
73
73
  pathTemplate: "/api/v1/glossaries/{id}/categories",
74
74
  pathVariables: { id },
@@ -76,19 +76,19 @@ var createGlossaryCategory = async (id, body, options) => _EL2GSPZZjs.invokeFetc
76
76
  contentType: "application/json",
77
77
  options
78
78
  });
79
- var deleteGlossaryCategory = async (id, categoryId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
79
+ var deleteGlossaryCategory = async (id, categoryId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
80
80
  method: "delete",
81
81
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
82
82
  pathVariables: { id, categoryId },
83
83
  options
84
84
  });
85
- var getGlossaryCategory = async (id, categoryId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
85
+ var getGlossaryCategory = async (id, categoryId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
86
86
  method: "get",
87
87
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
88
88
  pathVariables: { id, categoryId },
89
89
  options
90
90
  });
91
- var patchGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
91
+ var patchGlossaryCategory = async (id, categoryId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
92
92
  method: "patch",
93
93
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
94
94
  pathVariables: { id, categoryId },
@@ -96,7 +96,7 @@ var patchGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZjs
96
96
  contentType: "application/json",
97
97
  options
98
98
  });
99
- var updateGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
99
+ var updateGlossaryCategory = async (id, categoryId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
100
100
  method: "put",
101
101
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
102
102
  pathVariables: { id, categoryId },
@@ -104,14 +104,14 @@ var updateGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZj
104
104
  contentType: "application/json",
105
105
  options
106
106
  });
107
- var getGlossaryTerms = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
107
+ var getGlossaryTerms = async (id, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
108
108
  method: "get",
109
109
  pathTemplate: "/api/v1/glossaries/{id}/terms",
110
110
  pathVariables: { id },
111
111
  query,
112
112
  options
113
113
  });
114
- var createGlossaryTerm = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
114
+ var createGlossaryTerm = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
115
115
  method: "post",
116
116
  pathTemplate: "/api/v1/glossaries/{id}/terms",
117
117
  pathVariables: { id },
@@ -119,19 +119,19 @@ var createGlossaryTerm = async (id, body, options) => _EL2GSPZZjs.invokeFetch.ca
119
119
  contentType: "application/json",
120
120
  options
121
121
  });
122
- var deleteGlossaryTerm = async (id, termId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
122
+ var deleteGlossaryTerm = async (id, termId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
123
123
  method: "delete",
124
124
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
125
125
  pathVariables: { id, termId },
126
126
  options
127
127
  });
128
- var getGlossaryTerm = async (id, termId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
128
+ var getGlossaryTerm = async (id, termId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
129
129
  method: "get",
130
130
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
131
131
  pathVariables: { id, termId },
132
132
  options
133
133
  });
134
- var patchGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
134
+ var patchGlossaryTerm = async (id, termId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
135
135
  method: "patch",
136
136
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
137
137
  pathVariables: { id, termId },
@@ -139,7 +139,7 @@ var patchGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invokeF
139
139
  contentType: "application/json",
140
140
  options
141
141
  });
142
- var updateGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
142
+ var updateGlossaryTerm = async (id, termId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
143
143
  method: "put",
144
144
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
145
145
  pathVariables: { id, termId },
@@ -147,21 +147,21 @@ var updateGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invoke
147
147
  contentType: "application/json",
148
148
  options
149
149
  });
150
- var changeGlossaryTermStatus = async (id, termId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
150
+ var changeGlossaryTermStatus = async (id, termId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
151
151
  method: "post",
152
152
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
153
153
  pathVariables: { id, termId },
154
154
  query,
155
155
  options
156
156
  });
157
- var getGlossaryTermLinks = async (id, termId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
157
+ var getGlossaryTermLinks = async (id, termId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
158
158
  method: "get",
159
159
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
160
160
  pathVariables: { id, termId },
161
161
  query,
162
162
  options
163
163
  });
164
- var createGlossaryTermLink = async (id, termId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
164
+ var createGlossaryTermLink = async (id, termId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
165
165
  method: "post",
166
166
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
167
167
  pathVariables: { id, termId },
@@ -169,7 +169,7 @@ var createGlossaryTermLink = async (id, termId, body, options) => _EL2GSPZZjs.in
169
169
  contentType: "application/json",
170
170
  options
171
171
  });
172
- var getGlossaryTermRevisions = async (id, termId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
172
+ var getGlossaryTermRevisions = async (id, termId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "glossaries", {
173
173
  method: "get",
174
174
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
175
175
  pathVariables: { id, termId },
@@ -177,7 +177,7 @@ var getGlossaryTermRevisions = async (id, termId, query, options) => _EL2GSPZZjs
177
177
  options
178
178
  });
179
179
  function clearCache() {
180
- return _EL2GSPZZjs.clearApiCache.call(void 0, "glossaries");
180
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "glossaries");
181
181
  }
182
182
  var glossariesExport = {
183
183
  getGlossaries,
package/glossaries.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.d.mts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * An array of role references.
6
+ */
4
7
  type AssignedRoles = {
5
8
  /** The unique role identitier */
6
9
  id: string;
@@ -13,14 +16,23 @@ type AssignedRoles = {
13
16
  /** The type of role */
14
17
  readonly type: "default";
15
18
  }[];
19
+ /**
20
+ * An array of role reference identifiers.
21
+ */
16
22
  type AssignedRolesRefIDs = {
17
23
  /** The unique role identitier */
18
24
  id: string;
19
25
  }[];
26
+ /**
27
+ * An array of role reference names.
28
+ */
20
29
  type AssignedRolesRefNames = {
21
30
  /** The name of the role */
22
31
  name: string;
23
32
  }[];
33
+ /**
34
+ * An error object describing the error.
35
+ */
24
36
  type Error = {
25
37
  /** The error code. */
26
38
  code: string;
@@ -40,16 +52,25 @@ type Error = {
40
52
  /** Summary of the problem. */
41
53
  title: string;
42
54
  };
55
+ /**
56
+ * The error response object describing the error from the handling of an HTTP request.
57
+ */
43
58
  type Errors = {
44
59
  /** An array of errors related to the operation. */
45
60
  errors?: Error[];
46
61
  /** A unique identifier for tracing the error. */
47
62
  traceId?: string;
48
63
  };
64
+ /**
65
+ * An advanced query filter to be used for complex user querying in the tenant.
66
+ */
49
67
  type Filter = {
50
68
  /** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
51
69
  filter?: string;
52
70
  };
71
+ /**
72
+ * represents a Group document
73
+ */
53
74
  type Group = {
54
75
  assignedRoles?: {
55
76
  id: string;
@@ -78,6 +99,9 @@ type Group = {
78
99
  /** The tenant identifier associated with the given group */
79
100
  tenantId: string;
80
101
  };
102
+ /**
103
+ * A JSON Patch document.
104
+ */
81
105
  type GroupPatch = {
82
106
  /** The operation to be performed. Currently "replace" is the only supported operation. */
83
107
  op: "replace";
@@ -86,6 +110,9 @@ type GroupPatch = {
86
110
  /** The roles to assign to the group (limit of 100 roles per group). */
87
111
  value: AssignedRolesRefIDs | AssignedRolesRefNames;
88
112
  };
113
+ /**
114
+ * An array of JSON Patches for a group.
115
+ */
89
116
  type GroupPatchSchema = GroupPatch[];
90
117
  type GroupPostSchema = {
91
118
  /** The roles to assign to the group (limit of 100 roles per group). */
@@ -95,6 +122,9 @@ type GroupPostSchema = {
95
122
  /** The status of the created group within the tenant. Defaults to active if empty. */
96
123
  status?: "active";
97
124
  };
125
+ /**
126
+ * represents a GroupSetting document
127
+ */
98
128
  type GroupSettings = {
99
129
  /** Determines if groups should be created on login. */
100
130
  autoCreateGroups: boolean;
@@ -126,6 +156,9 @@ type GroupSettings = {
126
156
  /** The unique tenant identifier. */
127
157
  tenantId: string;
128
158
  };
159
+ /**
160
+ * A result object when listing groups.
161
+ */
129
162
  type Groups = {
130
163
  /** An array of groups. */
131
164
  data?: Group[];
@@ -146,6 +179,9 @@ type Groups = {
146
179
  /** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
147
180
  totalResults?: number;
148
181
  };
182
+ /**
183
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
184
+ */
149
185
  type SettingsPatch = {
150
186
  /** The operation to be performed. */
151
187
  op: "replace";
@@ -154,6 +190,9 @@ type SettingsPatch = {
154
190
  /** The value to be used for this operation. */
155
191
  value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
156
192
  };
193
+ /**
194
+ * An array of JSON Patches for the groups settings.
195
+ */
157
196
  type SettingsPatchSchema = SettingsPatch[];
158
197
  /**
159
198
  * Returns a list of groups with cursor-based pagination.
package/groups.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * An array of role references.
6
+ */
4
7
  type AssignedRoles = {
5
8
  /** The unique role identitier */
6
9
  id: string;
@@ -13,14 +16,23 @@ type AssignedRoles = {
13
16
  /** The type of role */
14
17
  readonly type: "default";
15
18
  }[];
19
+ /**
20
+ * An array of role reference identifiers.
21
+ */
16
22
  type AssignedRolesRefIDs = {
17
23
  /** The unique role identitier */
18
24
  id: string;
19
25
  }[];
26
+ /**
27
+ * An array of role reference names.
28
+ */
20
29
  type AssignedRolesRefNames = {
21
30
  /** The name of the role */
22
31
  name: string;
23
32
  }[];
33
+ /**
34
+ * An error object describing the error.
35
+ */
24
36
  type Error = {
25
37
  /** The error code. */
26
38
  code: string;
@@ -40,16 +52,25 @@ type Error = {
40
52
  /** Summary of the problem. */
41
53
  title: string;
42
54
  };
55
+ /**
56
+ * The error response object describing the error from the handling of an HTTP request.
57
+ */
43
58
  type Errors = {
44
59
  /** An array of errors related to the operation. */
45
60
  errors?: Error[];
46
61
  /** A unique identifier for tracing the error. */
47
62
  traceId?: string;
48
63
  };
64
+ /**
65
+ * An advanced query filter to be used for complex user querying in the tenant.
66
+ */
49
67
  type Filter = {
50
68
  /** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
51
69
  filter?: string;
52
70
  };
71
+ /**
72
+ * represents a Group document
73
+ */
53
74
  type Group = {
54
75
  assignedRoles?: {
55
76
  id: string;
@@ -78,6 +99,9 @@ type Group = {
78
99
  /** The tenant identifier associated with the given group */
79
100
  tenantId: string;
80
101
  };
102
+ /**
103
+ * A JSON Patch document.
104
+ */
81
105
  type GroupPatch = {
82
106
  /** The operation to be performed. Currently "replace" is the only supported operation. */
83
107
  op: "replace";
@@ -86,6 +110,9 @@ type GroupPatch = {
86
110
  /** The roles to assign to the group (limit of 100 roles per group). */
87
111
  value: AssignedRolesRefIDs | AssignedRolesRefNames;
88
112
  };
113
+ /**
114
+ * An array of JSON Patches for a group.
115
+ */
89
116
  type GroupPatchSchema = GroupPatch[];
90
117
  type GroupPostSchema = {
91
118
  /** The roles to assign to the group (limit of 100 roles per group). */
@@ -95,6 +122,9 @@ type GroupPostSchema = {
95
122
  /** The status of the created group within the tenant. Defaults to active if empty. */
96
123
  status?: "active";
97
124
  };
125
+ /**
126
+ * represents a GroupSetting document
127
+ */
98
128
  type GroupSettings = {
99
129
  /** Determines if groups should be created on login. */
100
130
  autoCreateGroups: boolean;
@@ -126,6 +156,9 @@ type GroupSettings = {
126
156
  /** The unique tenant identifier. */
127
157
  tenantId: string;
128
158
  };
159
+ /**
160
+ * A result object when listing groups.
161
+ */
129
162
  type Groups = {
130
163
  /** An array of groups. */
131
164
  data?: Group[];
@@ -146,6 +179,9 @@ type Groups = {
146
179
  /** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
147
180
  totalResults?: number;
148
181
  };
182
+ /**
183
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
184
+ */
149
185
  type SettingsPatch = {
150
186
  /** The operation to be performed. */
151
187
  op: "replace";
@@ -154,6 +190,9 @@ type SettingsPatch = {
154
190
  /** The value to be used for this operation. */
155
191
  value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
156
192
  };
193
+ /**
194
+ * An array of JSON Patches for the groups settings.
195
+ */
157
196
  type SettingsPatchSchema = SettingsPatch[];
158
197
  /**
159
198
  * Returns a list of groups with cursor-based pagination.
package/groups.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
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/groups.ts
9
- var getGroups = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
9
+ var getGroups = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/groups",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGroup = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
15
+ var createGroup = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/groups",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var filterGroups = async (query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
22
+ var filterGroups = async (query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/groups/actions/filter",
25
25
  query,
@@ -27,31 +27,31 @@ var filterGroups = async (query, body, options) => _EL2GSPZZjs.invokeFetch.call(
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var getGroupsSettings = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
30
+ var getGroupsSettings = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
31
31
  method: "get",
32
32
  pathTemplate: "/api/v1/groups/settings",
33
33
  options
34
34
  });
35
- var patchGroupsSettings = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
35
+ var patchGroupsSettings = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
36
36
  method: "patch",
37
37
  pathTemplate: "/api/v1/groups/settings",
38
38
  body,
39
39
  contentType: "application/json",
40
40
  options
41
41
  });
42
- var deleteGroup = async (groupId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
42
+ var deleteGroup = async (groupId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
43
43
  method: "delete",
44
44
  pathTemplate: "/api/v1/groups/{groupId}",
45
45
  pathVariables: { groupId },
46
46
  options
47
47
  });
48
- var getGroup = async (groupId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
48
+ var getGroup = async (groupId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/groups/{groupId}",
51
51
  pathVariables: { groupId },
52
52
  options
53
53
  });
54
- var patchGroup = async (groupId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
54
+ var patchGroup = async (groupId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "groups", {
55
55
  method: "patch",
56
56
  pathTemplate: "/api/v1/groups/{groupId}",
57
57
  pathVariables: { groupId },
@@ -60,7 +60,7 @@ var patchGroup = async (groupId, body, options) => _EL2GSPZZjs.invokeFetch.call(
60
60
  options
61
61
  });
62
62
  function clearCache() {
63
- return _EL2GSPZZjs.clearApiCache.call(void 0, "groups");
63
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "groups");
64
64
  }
65
65
  var groupsExport = {
66
66
  getGroups,
package/groups.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/groups.ts
@@ -26,6 +26,9 @@ type BaseIDP = {
26
26
  /** The tenant identifiers associated with the given IdP. */
27
27
  tenantIds?: string[];
28
28
  };
29
+ /**
30
+ * Payload for creating an identity provider using JWT authentication.
31
+ */
29
32
  type CreateJWTAuthPayload = {
30
33
  /** There can be clock skew between the IdP and Qlik's login server, in these cases a tolerance can be set, decimals will be rounded off. */
31
34
  clockToleranceSec?: number;
@@ -49,6 +52,9 @@ type CreateJWTAuthPayload = {
49
52
  /** The tenant identifiers that map to the given IdP. */
50
53
  tenantIds?: string[];
51
54
  };
55
+ /**
56
+ * Payload for creating an OIDC-compatible identity provider.
57
+ */
52
58
  type CreateOIDCPayload = {
53
59
  /** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set, decimals will be rounded off. */
54
60
  clockToleranceSec?: number;
@@ -106,6 +112,9 @@ type CreateOIDCPayload = {
106
112
  /** The tenant identifiers that map to the given IdP. */
107
113
  tenantIds?: string[];
108
114
  };
115
+ /**
116
+ * An error object.
117
+ */
109
118
  type Error = {
110
119
  /** The error code. */
111
120
  code: string;
@@ -125,6 +134,9 @@ type Error = {
125
134
  /** Summary of the problem. */
126
135
  title: string;
127
136
  };
137
+ /**
138
+ * A representation of the errors encountered from the HTTP request.
139
+ */
128
140
  type Errors = {
129
141
  errors?: Error[];
130
142
  };
@@ -135,6 +147,9 @@ type IDPArray = {
135
147
  /** Contains pagination links. */
136
148
  links?: Links;
137
149
  };
150
+ /**
151
+ * An identity provider for JWT authentication.
152
+ */
138
153
  type IDPJWTAuth = BaseIDP & {
139
154
  options?: {
140
155
  /** The expected JWT issuer */
@@ -153,6 +168,9 @@ type IDPMeta = {
153
168
  /** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
154
169
  userPortalLink?: string;
155
170
  };
171
+ /**
172
+ * An OIDC-compliant identity provider.
173
+ */
156
174
  type IDPOIDC = BaseIDP & {
157
175
  options?: IDPOptions;
158
176
  pendingOptions?: IDPOptions;
@@ -184,7 +202,13 @@ type IDPOptions = {
184
202
  };
185
203
  type IDPPatchSchema = PatchOIDCPayload[] | PatchJWTAuthPayload[];
186
204
  type IDPPostSchema = CreateOIDCPayload | CreateJWTAuthPayload;
205
+ /**
206
+ * The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `jwtAuth`, and `qsefw-local-bearer-token`.
207
+ */
187
208
  type IDPProtocol = "OIDC" | "jwtAuth" | "qsefw-local-bearer-token";
209
+ /**
210
+ * The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`.
211
+ */
188
212
  type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycloak" | "adfs" | "external" | "azureAD";
189
213
  type IDPsStatus = {
190
214
  /** The number of active interactive IdPs. */
@@ -199,6 +223,9 @@ type IDPsStatus = {
199
223
  provider?: IDPProvider;
200
224
  }[];
201
225
  };
226
+ /**
227
+ * Contains pagination links.
228
+ */
202
229
  type Links = {
203
230
  next?: {
204
231
  /** Link to the next page of items. */
@@ -213,6 +240,9 @@ type Links = {
213
240
  href?: string;
214
241
  };
215
242
  };
243
+ /**
244
+ * OpenID configuration
245
+ */
216
246
  type OpenIDConfiguration = {
217
247
  /** OAuth 2.0 Authorization Endpoint */
218
248
  authorization_endpoint: string;
@@ -229,6 +259,9 @@ type OpenIDConfiguration = {
229
259
  /** URL of the OP's UserInfo Endpoint */
230
260
  userinfo_endpoint?: string;
231
261
  };
262
+ /**
263
+ * A patch request for an identity provider using the `jwtAuth` protocol.
264
+ */
232
265
  type PatchJWTAuthPayload = {
233
266
  /** The "operation" to be performed on a given IdP. */
234
267
  op: "replace";
@@ -237,6 +270,9 @@ type PatchJWTAuthPayload = {
237
270
  /** The "value" data type is dependent on the path value being used. */
238
271
  value?: unknown;
239
272
  };
273
+ /**
274
+ * A patch request for an identity provider using the `OIDC` protocol.
275
+ */
240
276
  type PatchOIDCPayload = {
241
277
  /** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
242
278
  op: "replace" | "promote-options";
@@ -265,6 +301,9 @@ type PendingResult = {
265
301
  /** The status of the IdP configuration being tested. */
266
302
  status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
267
303
  };
304
+ /**
305
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
306
+ */
268
307
  type ClaimsMappingInteractive = {
269
308
  /** A list of JSON pointers used to map the user's client ID. */
270
309
  client_id?: string[];
@@ -285,6 +324,9 @@ type ClaimsMappingInteractive = {
285
324
  /** A list of JSON pointers used to map the user's zoneinfo. */
286
325
  zoneinfo?: string[];
287
326
  };
327
+ /**
328
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
329
+ */
288
330
  type ClaimsMappingNonInteractive = {
289
331
  /** A list of JSON pointers used to map the user's client ID. */
290
332
  client_id?: string[];