@qlik/api 1.31.0 → 1.33.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.
Files changed (142) hide show
  1. package/api-keys.d.ts +10 -10
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +1301 -0
  6. package/assistants.js +329 -0
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +366 -0
  13. package/automation-connections.js +107 -0
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +29 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +84 -0
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{YKZ2QYHN.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{GUU3KZGK.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +662 -0
  36. package/conditions.js +135 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +26 -0
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +25 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +187 -0
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +175 -0
  54. package/data-qualities.js +50 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +87 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +45 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +128 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +45 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +196 -0
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +370 -0
  68. package/encryption.js +118 -0
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +113 -4
  78. package/index.js +626 -40
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +890 -0
  85. package/knowledgebases.js +203 -0
  86. package/licenses.d.ts +14 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +712 -0
  89. package/lineage-graphs.js +108 -0
  90. package/ml.d.ts +2676 -0
  91. package/ml.js +477 -0
  92. package/notes.d.ts +110 -0
  93. package/notes.js +35 -0
  94. package/notifications.d.ts +98 -0
  95. package/notifications.js +26 -0
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +126 -0
  99. package/oauth-tokens.js +35 -0
  100. package/package.json +34 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +364 -0
  104. package/questions.js +38 -0
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +287 -0
  112. package/report-templates.js +94 -0
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +952 -0
  118. package/sharing-tasks.js +125 -0
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +564 -0
  122. package/tasks.js +126 -0
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +274 -0
  132. package/ui-config.js +91 -0
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/apps.js CHANGED
@@ -1,312 +1,400 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/apps.ts
9
- var createApp = async (body, options) => invokeFetch("apps", {
10
- method: "post",
11
- pathTemplate: "/api/v1/apps",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var getAppEvaluationComparison = async (baseid, comparisonid, query, options) => invokeFetch("apps", {
17
- method: "get",
18
- pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}",
19
- pathVariables: { baseid, comparisonid },
20
- query,
21
- options
22
- });
23
- var getAppEvaluationComparisonXml = async (baseid, comparisonid, options) => invokeFetch("apps", {
24
- method: "get",
25
- pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}/actions/download",
26
- pathVariables: { baseid, comparisonid },
27
- options
28
- });
29
- var getAppEvaluation = async (id, query, options) => invokeFetch("apps", {
30
- method: "get",
31
- pathTemplate: "/api/v1/apps/evaluations/{id}",
32
- pathVariables: { id },
33
- query,
34
- options
35
- });
36
- var getAppEvaluationXml = async (id, options) => invokeFetch("apps", {
37
- method: "get",
38
- pathTemplate: "/api/v1/apps/evaluations/{id}/actions/download",
39
- pathVariables: { id },
40
- options
41
- });
42
- var importApp = async (query, body, options) => invokeFetch("apps", {
43
- method: "post",
44
- pathTemplate: "/api/v1/apps/import",
45
- query,
46
- body,
47
- contentType: "application/octet-stream",
48
- options
49
- });
50
- var getAppsPrivileges = async (options) => invokeFetch("apps", {
51
- method: "get",
52
- pathTemplate: "/api/v1/apps/privileges",
53
- options
54
- });
55
- var deleteApp = async (appId, options) => invokeFetch("apps", {
56
- method: "delete",
57
- pathTemplate: "/api/v1/apps/{appId}",
58
- pathVariables: { appId },
59
- options
60
- });
61
- var getAppInfo = async (appId, options) => invokeFetch("apps", {
62
- method: "get",
63
- pathTemplate: "/api/v1/apps/{appId}",
64
- pathVariables: { appId },
65
- options
66
- });
67
- var updateAppInfo = async (appId, body, options) => invokeFetch("apps", {
68
- method: "put",
69
- pathTemplate: "/api/v1/apps/{appId}",
70
- pathVariables: { appId },
71
- body,
72
- contentType: "application/json",
73
- options
74
- });
75
- var copyApp = async (appId, body, options) => invokeFetch("apps", {
76
- method: "post",
77
- pathTemplate: "/api/v1/apps/{appId}/copy",
78
- pathVariables: { appId },
79
- body,
80
- contentType: "application/json",
81
- options
82
- });
83
- var getAppDataLineage = async (appId, options) => invokeFetch("apps", {
84
- method: "get",
85
- pathTemplate: "/api/v1/apps/{appId}/data/lineage",
86
- pathVariables: { appId },
87
- options
88
- });
89
- var getAppDataMetadata = async (appId, options) => invokeFetch("apps", {
90
- method: "get",
91
- pathTemplate: "/api/v1/apps/{appId}/data/metadata",
92
- pathVariables: { appId },
93
- options
94
- });
95
- var exportApp = async (appId, query, options) => invokeFetch("apps", {
96
- method: "post",
97
- pathTemplate: "/api/v1/apps/{appId}/export",
98
- pathVariables: { appId },
99
- query,
100
- options
101
- });
102
- var getAppInsightAnalyses = async (appId, options) => invokeFetch("apps", {
103
- method: "get",
104
- pathTemplate: "/api/v1/apps/{appId}/insight-analyses",
105
- pathVariables: { appId },
106
- options
107
- });
108
- var getAppInsightAnalysisRecommendations = async (appId, body, options) => invokeFetch("apps", {
109
- method: "post",
110
- pathTemplate: "/api/v1/apps/{appId}/insight-analyses/actions/recommend",
111
- pathVariables: { appId },
112
- body,
113
- contentType: "application/json",
114
- options
115
- });
116
- var getAppInsightAnalysisModel = async (appId, options) => invokeFetch("apps", {
117
- method: "get",
118
- pathTemplate: "/api/v1/apps/{appId}/insight-analyses/model",
119
- pathVariables: { appId },
120
- options
121
- });
122
- var deleteAppMedia = async (appId, path, options) => invokeFetch("apps", {
123
- method: "delete",
124
- pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
125
- pathVariables: { appId, path },
126
- options
127
- });
128
- var getAppMedia = async (appId, path, options) => invokeFetch("apps", {
129
- method: "get",
130
- pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
131
- pathVariables: { appId, path },
132
- options
133
- });
134
- var uploadAppMedia = async (appId, path, body, options) => invokeFetch("apps", {
135
- method: "put",
136
- pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
137
- pathVariables: { appId, path },
138
- body,
139
- contentType: "application/octet-stream",
140
- options
141
- });
142
- var getAppMediaList = async (appId, path, query, options) => invokeFetch("apps", {
143
- method: "get",
144
- pathTemplate: "/api/v1/apps/{appId}/media/list/{path}",
145
- pathVariables: { appId, path },
146
- query,
147
- options
148
- });
149
- var getAppThumbnail = async (appId, options) => invokeFetch("apps", {
150
- method: "get",
151
- pathTemplate: "/api/v1/apps/{appId}/media/thumbnail",
152
- pathVariables: { appId },
153
- options
154
- });
155
- var updateAppObjectOwner = async (appId, objectId, body, options) => invokeFetch("apps", {
156
- method: "post",
157
- pathTemplate: "/api/v1/apps/{appId}/objects/{objectId}/actions/change-owner",
158
- pathVariables: { appId, objectId },
159
- body,
160
- contentType: "application/json",
161
- options
162
- });
163
- var updateAppOwner = async (appId, body, options) => invokeFetch("apps", {
164
- method: "put",
165
- pathTemplate: "/api/v1/apps/{appId}/owner",
166
- pathVariables: { appId },
167
- body,
168
- contentType: "application/json",
169
- options
170
- });
171
- var publishApp = async (appId, body, options) => invokeFetch("apps", {
172
- method: "post",
173
- pathTemplate: "/api/v1/apps/{appId}/publish",
174
- pathVariables: { appId },
175
- body,
176
- contentType: "application/json",
177
- options
178
- });
179
- var republishApp = async (appId, body, options) => invokeFetch("apps", {
180
- method: "put",
181
- pathTemplate: "/api/v1/apps/{appId}/publish",
182
- pathVariables: { appId },
183
- body,
184
- contentType: "application/json",
185
- options
186
- });
187
- var getAppReloadLogs = async (appId, options) => invokeFetch("apps", {
188
- method: "get",
189
- pathTemplate: "/api/v1/apps/{appId}/reloads/logs",
190
- pathVariables: { appId },
191
- options
192
- });
193
- var getAppReloadLog = async (appId, reloadId, options) => invokeFetch("apps", {
194
- method: "get",
195
- pathTemplate: "/api/v1/apps/{appId}/reloads/logs/{reloadId}",
196
- pathVariables: { appId, reloadId },
197
- options
198
- });
199
- var getAppReloadMetadata = async (appId, reloadId, query, options) => invokeFetch("apps", {
200
- method: "get",
201
- pathTemplate: "/api/v1/apps/{appId}/reloads/metadata/{reloadId}",
202
- pathVariables: { appId, reloadId },
203
- query,
204
- options
205
- });
206
- var getAppReportFilters = async (appId, query, options) => invokeFetch("apps", {
207
- method: "get",
208
- pathTemplate: "/api/v1/apps/{appId}/report-filters",
209
- pathVariables: { appId },
210
- query,
211
- options
212
- });
213
- var createAppReportFilter = async (appId, body, options) => invokeFetch("apps", {
214
- method: "post",
215
- pathTemplate: "/api/v1/apps/{appId}/report-filters",
216
- pathVariables: { appId },
217
- body,
218
- contentType: "application/json",
219
- options
220
- });
221
- var countAppReportFilters = async (appId, query, options) => invokeFetch("apps", {
222
- method: "get",
223
- pathTemplate: "/api/v1/apps/{appId}/report-filters/actions/count",
224
- pathVariables: { appId },
225
- query,
226
- options
227
- });
228
- var deleteAppReportFilter = async (appId, id, options) => invokeFetch("apps", {
229
- method: "delete",
230
- pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
231
- pathVariables: { appId, id },
232
- options
233
- });
234
- var getAppReportFilter = async (appId, id, options) => invokeFetch("apps", {
235
- method: "get",
236
- pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
237
- pathVariables: { appId, id },
238
- options
239
- });
240
- var patchAppReportFilter = async (appId, id, body, options) => invokeFetch("apps", {
241
- method: "patch",
242
- pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
243
- pathVariables: { appId, id },
244
- body,
245
- contentType: "application/json",
246
- options
247
- });
248
- var getAppScriptHistory = async (appId, query, options) => invokeFetch("apps", {
249
- method: "get",
250
- pathTemplate: "/api/v1/apps/{appId}/scripts",
251
- pathVariables: { appId },
252
- query,
253
- options
254
- });
255
- var updateAppScript = async (appId, body, options) => invokeFetch("apps", {
256
- method: "post",
257
- pathTemplate: "/api/v1/apps/{appId}/scripts",
258
- pathVariables: { appId },
259
- body,
260
- contentType: "application/json",
261
- options
262
- });
263
- var deleteAppScript = async (appId, id, options) => invokeFetch("apps", {
264
- method: "delete",
265
- pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
266
- pathVariables: { appId, id },
267
- options
268
- });
269
- var getAppScript = async (appId, id, options) => invokeFetch("apps", {
270
- method: "get",
271
- pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
272
- pathVariables: { appId, id },
273
- options
274
- });
275
- var patchAppScript = async (appId, id, body, options) => invokeFetch("apps", {
276
- method: "patch",
277
- pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
278
- pathVariables: { appId, id },
279
- body,
280
- contentType: "application/json",
281
- options
282
- });
283
- var removeAppFromSpace = async (appId, options) => invokeFetch("apps", {
284
- method: "delete",
285
- pathTemplate: "/api/v1/apps/{appId}/space",
286
- pathVariables: { appId },
287
- options
288
- });
289
- var moveAppToSpace = async (appId, body, options) => invokeFetch("apps", {
290
- method: "put",
291
- pathTemplate: "/api/v1/apps/{appId}/space",
292
- pathVariables: { appId },
293
- body,
294
- contentType: "application/json",
295
- options
296
- });
297
- var getAppEvaluations = async (guid, query, options) => invokeFetch("apps", {
298
- method: "get",
299
- pathTemplate: "/api/v1/apps/{guid}/evaluations",
300
- pathVariables: { guid },
301
- query,
302
- options
303
- });
304
- var queueAppEvaluation = async (guid, options) => invokeFetch("apps", {
305
- method: "post",
306
- pathTemplate: "/api/v1/apps/{guid}/evaluations",
307
- pathVariables: { guid },
308
- options
309
- });
9
+ async function createApp(body, options) {
10
+ return invokeFetch("apps", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/apps",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function getAppEvaluationComparison(baseid, comparisonid, query, options) {
19
+ return invokeFetch("apps", {
20
+ method: "get",
21
+ pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}",
22
+ pathVariables: { baseid, comparisonid },
23
+ query,
24
+ options
25
+ });
26
+ }
27
+ async function getAppEvaluationComparisonXml(baseid, comparisonid, options) {
28
+ return invokeFetch("apps", {
29
+ method: "get",
30
+ pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}/actions/download",
31
+ pathVariables: { baseid, comparisonid },
32
+ options
33
+ });
34
+ }
35
+ async function getAppEvaluation(id, query, options) {
36
+ return invokeFetch("apps", {
37
+ method: "get",
38
+ pathTemplate: "/api/v1/apps/evaluations/{id}",
39
+ pathVariables: { id },
40
+ query,
41
+ options
42
+ });
43
+ }
44
+ async function getAppEvaluationXml(id, options) {
45
+ return invokeFetch("apps", {
46
+ method: "get",
47
+ pathTemplate: "/api/v1/apps/evaluations/{id}/actions/download",
48
+ pathVariables: { id },
49
+ options
50
+ });
51
+ }
52
+ async function importApp(query, body, options) {
53
+ return invokeFetch("apps", {
54
+ method: "post",
55
+ pathTemplate: "/api/v1/apps/import",
56
+ query,
57
+ body,
58
+ contentType: "application/octet-stream",
59
+ options
60
+ });
61
+ }
62
+ async function getAppsPrivileges(options) {
63
+ return invokeFetch("apps", {
64
+ method: "get",
65
+ pathTemplate: "/api/v1/apps/privileges",
66
+ options
67
+ });
68
+ }
69
+ async function deleteApp(appId, options) {
70
+ return invokeFetch("apps", {
71
+ method: "delete",
72
+ pathTemplate: "/api/v1/apps/{appId}",
73
+ pathVariables: { appId },
74
+ options
75
+ });
76
+ }
77
+ async function getAppInfo(appId, options) {
78
+ return invokeFetch("apps", {
79
+ method: "get",
80
+ pathTemplate: "/api/v1/apps/{appId}",
81
+ pathVariables: { appId },
82
+ options
83
+ });
84
+ }
85
+ async function updateAppInfo(appId, body, options) {
86
+ return invokeFetch("apps", {
87
+ method: "put",
88
+ pathTemplate: "/api/v1/apps/{appId}",
89
+ pathVariables: { appId },
90
+ body,
91
+ contentType: "application/json",
92
+ options
93
+ });
94
+ }
95
+ async function copyApp(appId, body, options) {
96
+ return invokeFetch("apps", {
97
+ method: "post",
98
+ pathTemplate: "/api/v1/apps/{appId}/copy",
99
+ pathVariables: { appId },
100
+ body,
101
+ contentType: "application/json",
102
+ options
103
+ });
104
+ }
105
+ async function getAppDataLineage(appId, options) {
106
+ return invokeFetch("apps", {
107
+ method: "get",
108
+ pathTemplate: "/api/v1/apps/{appId}/data/lineage",
109
+ pathVariables: { appId },
110
+ options
111
+ });
112
+ }
113
+ async function getAppDataMetadata(appId, options) {
114
+ return invokeFetch("apps", {
115
+ method: "get",
116
+ pathTemplate: "/api/v1/apps/{appId}/data/metadata",
117
+ pathVariables: { appId },
118
+ options
119
+ });
120
+ }
121
+ async function exportApp(appId, query, options) {
122
+ return invokeFetch("apps", {
123
+ method: "post",
124
+ pathTemplate: "/api/v1/apps/{appId}/export",
125
+ pathVariables: { appId },
126
+ query,
127
+ options
128
+ });
129
+ }
130
+ async function getAppInsightAnalyses(appId, options) {
131
+ return invokeFetch("apps", {
132
+ method: "get",
133
+ pathTemplate: "/api/v1/apps/{appId}/insight-analyses",
134
+ pathVariables: { appId },
135
+ options
136
+ });
137
+ }
138
+ async function getAppInsightAnalysisRecommendations(appId, body, options) {
139
+ return invokeFetch("apps", {
140
+ method: "post",
141
+ pathTemplate: "/api/v1/apps/{appId}/insight-analyses/actions/recommend",
142
+ pathVariables: { appId },
143
+ body,
144
+ contentType: "application/json",
145
+ options
146
+ });
147
+ }
148
+ async function getAppInsightAnalysisModel(appId, options) {
149
+ return invokeFetch("apps", {
150
+ method: "get",
151
+ pathTemplate: "/api/v1/apps/{appId}/insight-analyses/model",
152
+ pathVariables: { appId },
153
+ options
154
+ });
155
+ }
156
+ async function deleteAppMedia(appId, path, options) {
157
+ return invokeFetch("apps", {
158
+ method: "delete",
159
+ pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
160
+ pathVariables: { appId, path },
161
+ options
162
+ });
163
+ }
164
+ async function getAppMedia(appId, path, options) {
165
+ return invokeFetch("apps", {
166
+ method: "get",
167
+ pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
168
+ pathVariables: { appId, path },
169
+ options
170
+ });
171
+ }
172
+ async function uploadAppMedia(appId, path, body, options) {
173
+ return invokeFetch("apps", {
174
+ method: "put",
175
+ pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
176
+ pathVariables: { appId, path },
177
+ body,
178
+ contentType: "application/octet-stream",
179
+ options
180
+ });
181
+ }
182
+ async function getAppMediaList(appId, path, query, options) {
183
+ return invokeFetch("apps", {
184
+ method: "get",
185
+ pathTemplate: "/api/v1/apps/{appId}/media/list/{path}",
186
+ pathVariables: { appId, path },
187
+ query,
188
+ options
189
+ });
190
+ }
191
+ async function getAppThumbnail(appId, options) {
192
+ return invokeFetch("apps", {
193
+ method: "get",
194
+ pathTemplate: "/api/v1/apps/{appId}/media/thumbnail",
195
+ pathVariables: { appId },
196
+ options
197
+ });
198
+ }
199
+ async function updateAppObjectOwner(appId, objectId, body, options) {
200
+ return invokeFetch("apps", {
201
+ method: "post",
202
+ pathTemplate: "/api/v1/apps/{appId}/objects/{objectId}/actions/change-owner",
203
+ pathVariables: { appId, objectId },
204
+ body,
205
+ contentType: "application/json",
206
+ options
207
+ });
208
+ }
209
+ async function updateAppOwner(appId, body, options) {
210
+ return invokeFetch("apps", {
211
+ method: "put",
212
+ pathTemplate: "/api/v1/apps/{appId}/owner",
213
+ pathVariables: { appId },
214
+ body,
215
+ contentType: "application/json",
216
+ options
217
+ });
218
+ }
219
+ async function publishApp(appId, body, options) {
220
+ return invokeFetch("apps", {
221
+ method: "post",
222
+ pathTemplate: "/api/v1/apps/{appId}/publish",
223
+ pathVariables: { appId },
224
+ body,
225
+ contentType: "application/json",
226
+ options
227
+ });
228
+ }
229
+ async function republishApp(appId, body, options) {
230
+ return invokeFetch("apps", {
231
+ method: "put",
232
+ pathTemplate: "/api/v1/apps/{appId}/publish",
233
+ pathVariables: { appId },
234
+ body,
235
+ contentType: "application/json",
236
+ options
237
+ });
238
+ }
239
+ async function getAppReloadLogs(appId, options) {
240
+ return invokeFetch("apps", {
241
+ method: "get",
242
+ pathTemplate: "/api/v1/apps/{appId}/reloads/logs",
243
+ pathVariables: { appId },
244
+ options
245
+ });
246
+ }
247
+ async function getAppReloadLog(appId, reloadId, options) {
248
+ return invokeFetch("apps", {
249
+ method: "get",
250
+ pathTemplate: "/api/v1/apps/{appId}/reloads/logs/{reloadId}",
251
+ pathVariables: { appId, reloadId },
252
+ options
253
+ });
254
+ }
255
+ async function getAppReloadMetadata(appId, reloadId, query, options) {
256
+ return invokeFetch("apps", {
257
+ method: "get",
258
+ pathTemplate: "/api/v1/apps/{appId}/reloads/metadata/{reloadId}",
259
+ pathVariables: { appId, reloadId },
260
+ query,
261
+ options
262
+ });
263
+ }
264
+ async function getAppReportFilters(appId, query, options) {
265
+ return invokeFetch("apps", {
266
+ method: "get",
267
+ pathTemplate: "/api/v1/apps/{appId}/report-filters",
268
+ pathVariables: { appId },
269
+ query,
270
+ options
271
+ });
272
+ }
273
+ async function createAppReportFilter(appId, body, options) {
274
+ return invokeFetch("apps", {
275
+ method: "post",
276
+ pathTemplate: "/api/v1/apps/{appId}/report-filters",
277
+ pathVariables: { appId },
278
+ body,
279
+ contentType: "application/json",
280
+ options
281
+ });
282
+ }
283
+ async function countAppReportFilters(appId, query, options) {
284
+ return invokeFetch("apps", {
285
+ method: "get",
286
+ pathTemplate: "/api/v1/apps/{appId}/report-filters/actions/count",
287
+ pathVariables: { appId },
288
+ query,
289
+ options
290
+ });
291
+ }
292
+ async function deleteAppReportFilter(appId, id, options) {
293
+ return invokeFetch("apps", {
294
+ method: "delete",
295
+ pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
296
+ pathVariables: { appId, id },
297
+ options
298
+ });
299
+ }
300
+ async function getAppReportFilter(appId, id, options) {
301
+ return invokeFetch("apps", {
302
+ method: "get",
303
+ pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
304
+ pathVariables: { appId, id },
305
+ options
306
+ });
307
+ }
308
+ async function patchAppReportFilter(appId, id, body, options) {
309
+ return invokeFetch("apps", {
310
+ method: "patch",
311
+ pathTemplate: "/api/v1/apps/{appId}/report-filters/{id}",
312
+ pathVariables: { appId, id },
313
+ body,
314
+ contentType: "application/json",
315
+ options
316
+ });
317
+ }
318
+ async function getAppScriptHistory(appId, query, options) {
319
+ return invokeFetch("apps", {
320
+ method: "get",
321
+ pathTemplate: "/api/v1/apps/{appId}/scripts",
322
+ pathVariables: { appId },
323
+ query,
324
+ options
325
+ });
326
+ }
327
+ async function updateAppScript(appId, body, options) {
328
+ return invokeFetch("apps", {
329
+ method: "post",
330
+ pathTemplate: "/api/v1/apps/{appId}/scripts",
331
+ pathVariables: { appId },
332
+ body,
333
+ contentType: "application/json",
334
+ options
335
+ });
336
+ }
337
+ async function deleteAppScript(appId, id, options) {
338
+ return invokeFetch("apps", {
339
+ method: "delete",
340
+ pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
341
+ pathVariables: { appId, id },
342
+ options
343
+ });
344
+ }
345
+ async function getAppScript(appId, id, options) {
346
+ return invokeFetch("apps", {
347
+ method: "get",
348
+ pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
349
+ pathVariables: { appId, id },
350
+ options
351
+ });
352
+ }
353
+ async function patchAppScript(appId, id, body, options) {
354
+ return invokeFetch("apps", {
355
+ method: "patch",
356
+ pathTemplate: "/api/v1/apps/{appId}/scripts/{id}",
357
+ pathVariables: { appId, id },
358
+ body,
359
+ contentType: "application/json",
360
+ options
361
+ });
362
+ }
363
+ async function removeAppFromSpace(appId, options) {
364
+ return invokeFetch("apps", {
365
+ method: "delete",
366
+ pathTemplate: "/api/v1/apps/{appId}/space",
367
+ pathVariables: { appId },
368
+ options
369
+ });
370
+ }
371
+ async function moveAppToSpace(appId, body, options) {
372
+ return invokeFetch("apps", {
373
+ method: "put",
374
+ pathTemplate: "/api/v1/apps/{appId}/space",
375
+ pathVariables: { appId },
376
+ body,
377
+ contentType: "application/json",
378
+ options
379
+ });
380
+ }
381
+ async function getAppEvaluations(guid, query, options) {
382
+ return invokeFetch("apps", {
383
+ method: "get",
384
+ pathTemplate: "/api/v1/apps/{guid}/evaluations",
385
+ pathVariables: { guid },
386
+ query,
387
+ options
388
+ });
389
+ }
390
+ async function queueAppEvaluation(guid, options) {
391
+ return invokeFetch("apps", {
392
+ method: "post",
393
+ pathTemplate: "/api/v1/apps/{guid}/evaluations",
394
+ pathVariables: { guid },
395
+ options
396
+ });
397
+ }
310
398
  function clearCache() {
311
399
  return clearApiCache("apps");
312
400
  }