@qlik/api 1.32.0 → 1.34.0
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.ts +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/glossaries.js
CHANGED
|
@@ -1,181 +1,229 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/glossaries.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
});
|
|
9
|
+
async function getGlossaries(query, options) {
|
|
10
|
+
return invokeFetch("glossaries", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/glossaries",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createGlossary(body, options) {
|
|
18
|
+
return invokeFetch("glossaries", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/glossaries",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function importGlossary(query, body, options) {
|
|
27
|
+
return invokeFetch("glossaries", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/glossaries/actions/import",
|
|
30
|
+
query,
|
|
31
|
+
body,
|
|
32
|
+
contentType: "application/json",
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function deleteGlossary(id, options) {
|
|
37
|
+
return invokeFetch("glossaries", {
|
|
38
|
+
method: "delete",
|
|
39
|
+
pathTemplate: "/api/v1/glossaries/{id}",
|
|
40
|
+
pathVariables: { id },
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function getGlossary(id, options) {
|
|
45
|
+
return invokeFetch("glossaries", {
|
|
46
|
+
method: "get",
|
|
47
|
+
pathTemplate: "/api/v1/glossaries/{id}",
|
|
48
|
+
pathVariables: { id },
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function patchGlossary(id, body, options) {
|
|
53
|
+
return invokeFetch("glossaries", {
|
|
54
|
+
method: "patch",
|
|
55
|
+
pathTemplate: "/api/v1/glossaries/{id}",
|
|
56
|
+
pathVariables: { id },
|
|
57
|
+
body,
|
|
58
|
+
contentType: "application/json",
|
|
59
|
+
options
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function updateGlossary(id, body, options) {
|
|
63
|
+
return invokeFetch("glossaries", {
|
|
64
|
+
method: "put",
|
|
65
|
+
pathTemplate: "/api/v1/glossaries/{id}",
|
|
66
|
+
pathVariables: { id },
|
|
67
|
+
body,
|
|
68
|
+
contentType: "application/json",
|
|
69
|
+
options
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
async function exportGlossary(id, options) {
|
|
73
|
+
return invokeFetch("glossaries", {
|
|
74
|
+
method: "get",
|
|
75
|
+
pathTemplate: "/api/v1/glossaries/{id}/actions/export",
|
|
76
|
+
pathVariables: { id },
|
|
77
|
+
options
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
async function getGlossaryCategories(id, query, options) {
|
|
81
|
+
return invokeFetch("glossaries", {
|
|
82
|
+
method: "get",
|
|
83
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories",
|
|
84
|
+
pathVariables: { id },
|
|
85
|
+
query,
|
|
86
|
+
options
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
async function createGlossaryCategory(id, body, options) {
|
|
90
|
+
return invokeFetch("glossaries", {
|
|
91
|
+
method: "post",
|
|
92
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories",
|
|
93
|
+
pathVariables: { id },
|
|
94
|
+
body,
|
|
95
|
+
contentType: "application/json",
|
|
96
|
+
options
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
async function deleteGlossaryCategory(id, categoryId, options) {
|
|
100
|
+
return invokeFetch("glossaries", {
|
|
101
|
+
method: "delete",
|
|
102
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
103
|
+
pathVariables: { id, categoryId },
|
|
104
|
+
options
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
async function getGlossaryCategory(id, categoryId, options) {
|
|
108
|
+
return invokeFetch("glossaries", {
|
|
109
|
+
method: "get",
|
|
110
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
111
|
+
pathVariables: { id, categoryId },
|
|
112
|
+
options
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
async function patchGlossaryCategory(id, categoryId, body, options) {
|
|
116
|
+
return invokeFetch("glossaries", {
|
|
117
|
+
method: "patch",
|
|
118
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
119
|
+
pathVariables: { id, categoryId },
|
|
120
|
+
body,
|
|
121
|
+
contentType: "application/json",
|
|
122
|
+
options
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
async function updateGlossaryCategory(id, categoryId, body, options) {
|
|
126
|
+
return invokeFetch("glossaries", {
|
|
127
|
+
method: "put",
|
|
128
|
+
pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
|
|
129
|
+
pathVariables: { id, categoryId },
|
|
130
|
+
body,
|
|
131
|
+
contentType: "application/json",
|
|
132
|
+
options
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
async function getGlossaryTerms(id, query, options) {
|
|
136
|
+
return invokeFetch("glossaries", {
|
|
137
|
+
method: "get",
|
|
138
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms",
|
|
139
|
+
pathVariables: { id },
|
|
140
|
+
query,
|
|
141
|
+
options
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
async function createGlossaryTerm(id, body, options) {
|
|
145
|
+
return invokeFetch("glossaries", {
|
|
146
|
+
method: "post",
|
|
147
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms",
|
|
148
|
+
pathVariables: { id },
|
|
149
|
+
body,
|
|
150
|
+
contentType: "application/json",
|
|
151
|
+
options
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
async function deleteGlossaryTerm(id, termId, options) {
|
|
155
|
+
return invokeFetch("glossaries", {
|
|
156
|
+
method: "delete",
|
|
157
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
158
|
+
pathVariables: { id, termId },
|
|
159
|
+
options
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
async function getGlossaryTerm(id, termId, options) {
|
|
163
|
+
return invokeFetch("glossaries", {
|
|
164
|
+
method: "get",
|
|
165
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
166
|
+
pathVariables: { id, termId },
|
|
167
|
+
options
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
async function patchGlossaryTerm(id, termId, body, options) {
|
|
171
|
+
return invokeFetch("glossaries", {
|
|
172
|
+
method: "patch",
|
|
173
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
174
|
+
pathVariables: { id, termId },
|
|
175
|
+
body,
|
|
176
|
+
contentType: "application/json",
|
|
177
|
+
options
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
async function updateGlossaryTerm(id, termId, body, options) {
|
|
181
|
+
return invokeFetch("glossaries", {
|
|
182
|
+
method: "put",
|
|
183
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
|
|
184
|
+
pathVariables: { id, termId },
|
|
185
|
+
body,
|
|
186
|
+
contentType: "application/json",
|
|
187
|
+
options
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
async function changeGlossaryTermStatus(id, termId, query, options) {
|
|
191
|
+
return invokeFetch("glossaries", {
|
|
192
|
+
method: "post",
|
|
193
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
|
|
194
|
+
pathVariables: { id, termId },
|
|
195
|
+
query,
|
|
196
|
+
options
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
async function getGlossaryTermLinks(id, termId, query, options) {
|
|
200
|
+
return invokeFetch("glossaries", {
|
|
201
|
+
method: "get",
|
|
202
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
|
|
203
|
+
pathVariables: { id, termId },
|
|
204
|
+
query,
|
|
205
|
+
options
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
async function createGlossaryTermLink(id, termId, body, options) {
|
|
209
|
+
return invokeFetch("glossaries", {
|
|
210
|
+
method: "post",
|
|
211
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
|
|
212
|
+
pathVariables: { id, termId },
|
|
213
|
+
body,
|
|
214
|
+
contentType: "application/json",
|
|
215
|
+
options
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
async function getGlossaryTermRevisions(id, termId, query, options) {
|
|
219
|
+
return invokeFetch("glossaries", {
|
|
220
|
+
method: "get",
|
|
221
|
+
pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
|
|
222
|
+
pathVariables: { id, termId },
|
|
223
|
+
query,
|
|
224
|
+
options
|
|
225
|
+
});
|
|
226
|
+
}
|
|
179
227
|
function clearCache() {
|
|
180
228
|
return clearApiCache("glossaries");
|
|
181
229
|
}
|
package/groups.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
|
|
@@ -276,7 +276,7 @@ type SettingsPatchSchema = SettingsPatch[];
|
|
|
276
276
|
* @param query an object with query parameters
|
|
277
277
|
* @throws GetGroupsHttpError
|
|
278
278
|
*/
|
|
279
|
-
declare
|
|
279
|
+
declare function getGroups(query: {
|
|
280
280
|
/** The advanced filtering to use for the query. Refer to [RFC 7644](https://datatracker.ietf.org/doc/rfc7644/) for the syntax. Cannot be combined with any of the fields marked as deprecated. All conditional statements within this query parameter are case insensitive. */
|
|
281
281
|
filter?: string;
|
|
282
282
|
/** The number of groups to retrieve. */
|
|
@@ -291,7 +291,7 @@ declare const getGroups: (query: {
|
|
|
291
291
|
systemGroups?: boolean;
|
|
292
292
|
/** Whether to return a total match count in the result. Defaults to false. */
|
|
293
293
|
totalResults?: boolean;
|
|
294
|
-
}, options?: ApiCallOptions)
|
|
294
|
+
}, options?: ApiCallOptions): Promise<GetGroupsHttpResponse>;
|
|
295
295
|
type GetGroupsHttpResponse = {
|
|
296
296
|
data: Groups;
|
|
297
297
|
headers: Headers;
|
|
@@ -310,7 +310,7 @@ type GetGroupsHttpError = {
|
|
|
310
310
|
* @param body an object with the body content
|
|
311
311
|
* @throws CreateGroupHttpError
|
|
312
312
|
*/
|
|
313
|
-
declare
|
|
313
|
+
declare function createGroup(body: GroupPostSchema, options?: ApiCallOptions): Promise<CreateGroupHttpResponse>;
|
|
314
314
|
type CreateGroupHttpResponse = {
|
|
315
315
|
data: Group;
|
|
316
316
|
headers: Headers;
|
|
@@ -328,7 +328,7 @@ type CreateGroupHttpError = {
|
|
|
328
328
|
* @param body an object with the body content
|
|
329
329
|
* @throws FilterGroupsHttpError
|
|
330
330
|
*/
|
|
331
|
-
declare
|
|
331
|
+
declare function filterGroups(query: {
|
|
332
332
|
/** The number of user entries to retrieve. */
|
|
333
333
|
limit?: number;
|
|
334
334
|
/** Get users with IDs that are higher than the target user ID. Cannot be used in conjunction with prev. */
|
|
@@ -337,7 +337,7 @@ declare const filterGroups: (query: {
|
|
|
337
337
|
prev?: string;
|
|
338
338
|
/** The field to sort by, with +/- prefix indicating sort order */
|
|
339
339
|
sort?: "name" | "+name" | "-name";
|
|
340
|
-
}, body: Filter, options?: ApiCallOptions)
|
|
340
|
+
}, body: Filter, options?: ApiCallOptions): Promise<FilterGroupsHttpResponse>;
|
|
341
341
|
type FilterGroupsHttpResponse = {
|
|
342
342
|
data: Groups;
|
|
343
343
|
headers: Headers;
|
|
@@ -355,7 +355,7 @@ type FilterGroupsHttpError = {
|
|
|
355
355
|
*
|
|
356
356
|
* @throws GetGroupsSettingsHttpError
|
|
357
357
|
*/
|
|
358
|
-
declare
|
|
358
|
+
declare function getGroupsSettings(options?: ApiCallOptions): Promise<GetGroupsSettingsHttpResponse>;
|
|
359
359
|
type GetGroupsSettingsHttpResponse = {
|
|
360
360
|
data: GroupSettings;
|
|
361
361
|
headers: Headers;
|
|
@@ -372,7 +372,7 @@ type GetGroupsSettingsHttpError = {
|
|
|
372
372
|
* @param body an object with the body content
|
|
373
373
|
* @throws PatchGroupsSettingsHttpError
|
|
374
374
|
*/
|
|
375
|
-
declare
|
|
375
|
+
declare function patchGroupsSettings(body: SettingsPatchSchema, options?: ApiCallOptions): Promise<PatchGroupsSettingsHttpResponse>;
|
|
376
376
|
type PatchGroupsSettingsHttpResponse = {
|
|
377
377
|
data: void;
|
|
378
378
|
headers: Headers;
|
|
@@ -389,7 +389,7 @@ type PatchGroupsSettingsHttpError = {
|
|
|
389
389
|
* @param groupId The ID of the group to delete.
|
|
390
390
|
* @throws DeleteGroupHttpError
|
|
391
391
|
*/
|
|
392
|
-
declare
|
|
392
|
+
declare function deleteGroup(groupId: string, options?: ApiCallOptions): Promise<DeleteGroupHttpResponse>;
|
|
393
393
|
type DeleteGroupHttpResponse = {
|
|
394
394
|
data: void;
|
|
395
395
|
headers: Headers;
|
|
@@ -406,7 +406,7 @@ type DeleteGroupHttpError = {
|
|
|
406
406
|
* @param groupId The group's unique identifier
|
|
407
407
|
* @throws GetGroupHttpError
|
|
408
408
|
*/
|
|
409
|
-
declare
|
|
409
|
+
declare function getGroup(groupId: string, options?: ApiCallOptions): Promise<GetGroupHttpResponse>;
|
|
410
410
|
type GetGroupHttpResponse = {
|
|
411
411
|
data: Group;
|
|
412
412
|
headers: Headers;
|
|
@@ -424,7 +424,7 @@ type GetGroupHttpError = {
|
|
|
424
424
|
* @param body an object with the body content
|
|
425
425
|
* @throws PatchGroupHttpError
|
|
426
426
|
*/
|
|
427
|
-
declare
|
|
427
|
+
declare function patchGroup(groupId: string, body: GroupPatchSchema, options?: ApiCallOptions): Promise<PatchGroupHttpResponse>;
|
|
428
428
|
type PatchGroupHttpResponse = {
|
|
429
429
|
data: void;
|
|
430
430
|
headers: Headers;
|
package/groups.js
CHANGED
|
@@ -1,64 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/groups.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
9
|
+
async function getGroups(query, options) {
|
|
10
|
+
return invokeFetch("groups", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/groups",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createGroup(body, options) {
|
|
18
|
+
return invokeFetch("groups", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/groups",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function filterGroups(query, body, options) {
|
|
27
|
+
return invokeFetch("groups", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/groups/actions/filter",
|
|
30
|
+
query,
|
|
31
|
+
body,
|
|
32
|
+
contentType: "application/json",
|
|
33
|
+
options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
async function getGroupsSettings(options) {
|
|
37
|
+
return invokeFetch("groups", {
|
|
38
|
+
method: "get",
|
|
39
|
+
pathTemplate: "/api/v1/groups/settings",
|
|
40
|
+
options
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
async function patchGroupsSettings(body, options) {
|
|
44
|
+
return invokeFetch("groups", {
|
|
45
|
+
method: "patch",
|
|
46
|
+
pathTemplate: "/api/v1/groups/settings",
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function deleteGroup(groupId, options) {
|
|
53
|
+
return invokeFetch("groups", {
|
|
54
|
+
method: "delete",
|
|
55
|
+
pathTemplate: "/api/v1/groups/{groupId}",
|
|
56
|
+
pathVariables: { groupId },
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function getGroup(groupId, options) {
|
|
61
|
+
return invokeFetch("groups", {
|
|
62
|
+
method: "get",
|
|
63
|
+
pathTemplate: "/api/v1/groups/{groupId}",
|
|
64
|
+
pathVariables: { groupId },
|
|
65
|
+
options
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async function patchGroup(groupId, body, options) {
|
|
69
|
+
return invokeFetch("groups", {
|
|
70
|
+
method: "patch",
|
|
71
|
+
pathTemplate: "/api/v1/groups/{groupId}",
|
|
72
|
+
pathVariables: { groupId },
|
|
73
|
+
body,
|
|
74
|
+
contentType: "application/json",
|
|
75
|
+
options
|
|
76
|
+
});
|
|
77
|
+
}
|
|
62
78
|
function clearCache() {
|
|
63
79
|
return clearApiCache("groups");
|
|
64
80
|
}
|