@qlik/api 0.0.1

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 (160) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +8 -0
  3. package/api-keys.d.mts +313 -0
  4. package/api-keys.d.ts +313 -0
  5. package/api-keys.js +76 -0
  6. package/api-keys.mjs +76 -0
  7. package/apps.d.mts +1921 -0
  8. package/apps.d.ts +1921 -0
  9. package/apps.js +331 -0
  10. package/apps.mjs +331 -0
  11. package/audits.d.mts +262 -0
  12. package/audits.d.ts +262 -0
  13. package/audits.js +63 -0
  14. package/audits.mjs +63 -0
  15. package/auth-CSVTXOZX.js +36 -0
  16. package/auth-TE272Q34.mjs +36 -0
  17. package/auth-types-nnUcWhuU.d.mts +98 -0
  18. package/auth-types-nnUcWhuU.d.ts +98 -0
  19. package/auth.d.mts +26 -0
  20. package/auth.d.ts +26 -0
  21. package/auth.js +13 -0
  22. package/auth.mjs +13 -0
  23. package/automations.d.mts +638 -0
  24. package/automations.d.ts +638 -0
  25. package/automations.js +166 -0
  26. package/automations.mjs +166 -0
  27. package/brands.d.mts +614 -0
  28. package/brands.d.ts +614 -0
  29. package/brands.js +118 -0
  30. package/brands.mjs +118 -0
  31. package/chunk-3YE7EI7I.mjs +17 -0
  32. package/chunk-4ES65KO3.js +57 -0
  33. package/chunk-4FLMND6T.js +25 -0
  34. package/chunk-4OMEH5SW.mjs +1337 -0
  35. package/chunk-CKPJE4IA.mjs +57 -0
  36. package/chunk-GUQBHY3H.mjs +25 -0
  37. package/chunk-OULT3V2U.js +17 -0
  38. package/chunk-WM7FQU2U.mjs +21 -0
  39. package/chunk-XASXL2NC.js +1337 -0
  40. package/chunk-ZT4C7KCQ.js +21 -0
  41. package/collections.d.mts +535 -0
  42. package/collections.d.ts +535 -0
  43. package/collections.js +100 -0
  44. package/collections.mjs +100 -0
  45. package/csp-origins.d.mts +258 -0
  46. package/csp-origins.d.ts +258 -0
  47. package/csp-origins.js +66 -0
  48. package/csp-origins.mjs +66 -0
  49. package/data-assets.d.mts +195 -0
  50. package/data-assets.d.ts +195 -0
  51. package/data-assets.js +61 -0
  52. package/data-assets.mjs +61 -0
  53. package/data-connections.d.mts +527 -0
  54. package/data-connections.d.ts +527 -0
  55. package/data-connections.js +96 -0
  56. package/data-connections.mjs +96 -0
  57. package/data-credentials.d.mts +188 -0
  58. package/data-credentials.d.ts +188 -0
  59. package/data-credentials.js +56 -0
  60. package/data-credentials.mjs +56 -0
  61. package/data-files.d.mts +471 -0
  62. package/data-files.d.ts +471 -0
  63. package/data-files.js +116 -0
  64. package/data-files.mjs +116 -0
  65. package/docs/examples.md +4 -0
  66. package/enigma-session-4L373ALV.mjs +10196 -0
  67. package/enigma-session-TEB53FAF.js +10196 -0
  68. package/esm-4X3DKK5D.js +63 -0
  69. package/esm-SOWVJKOQ.mjs +63 -0
  70. package/extensions.d.mts +257 -0
  71. package/extensions.d.ts +257 -0
  72. package/extensions.js +74 -0
  73. package/extensions.mjs +74 -0
  74. package/global.types-Eto4uYwy.d.mts +102 -0
  75. package/global.types-hIvp-WdX.d.ts +102 -0
  76. package/glossaries.d.mts +1041 -0
  77. package/glossaries.d.ts +1041 -0
  78. package/glossaries.js +225 -0
  79. package/glossaries.mjs +225 -0
  80. package/groups.d.mts +379 -0
  81. package/groups.d.ts +379 -0
  82. package/groups.js +83 -0
  83. package/groups.mjs +83 -0
  84. package/identity-providers.d.mts +492 -0
  85. package/identity-providers.d.ts +492 -0
  86. package/identity-providers.js +80 -0
  87. package/identity-providers.mjs +80 -0
  88. package/index.d.mts +142 -0
  89. package/index.d.ts +142 -0
  90. package/index.js +678 -0
  91. package/index.mjs +678 -0
  92. package/invoke-fetch-MSSJAZ7K.mjs +14 -0
  93. package/invoke-fetch-PEI54KZO.js +14 -0
  94. package/items.d.mts +501 -0
  95. package/items.d.ts +501 -0
  96. package/items.js +84 -0
  97. package/items.mjs +84 -0
  98. package/licenses.d.mts +436 -0
  99. package/licenses.d.ts +436 -0
  100. package/licenses.js +87 -0
  101. package/licenses.mjs +87 -0
  102. package/package.json +264 -0
  103. package/qix-EU7PXRZ6.mjs +573 -0
  104. package/qix-RLTISYTB.js +573 -0
  105. package/qix.d.mts +11543 -0
  106. package/qix.d.ts +11543 -0
  107. package/qix.js +9 -0
  108. package/qix.mjs +9 -0
  109. package/quotas.d.mts +105 -0
  110. package/quotas.d.ts +105 -0
  111. package/quotas.js +31 -0
  112. package/quotas.mjs +31 -0
  113. package/reload-tasks.d.mts +222 -0
  114. package/reload-tasks.d.ts +222 -0
  115. package/reload-tasks.js +59 -0
  116. package/reload-tasks.mjs +59 -0
  117. package/reloads.d.mts +189 -0
  118. package/reloads.d.ts +189 -0
  119. package/reloads.js +44 -0
  120. package/reloads.mjs +44 -0
  121. package/roles.d.mts +150 -0
  122. package/roles.d.ts +150 -0
  123. package/roles.js +30 -0
  124. package/roles.mjs +30 -0
  125. package/spaces.d.mts +524 -0
  126. package/spaces.d.ts +524 -0
  127. package/spaces.js +118 -0
  128. package/spaces.mjs +118 -0
  129. package/temp-contents.d.mts +222 -0
  130. package/temp-contents.d.ts +222 -0
  131. package/temp-contents.js +60 -0
  132. package/temp-contents.mjs +60 -0
  133. package/tenants.d.mts +276 -0
  134. package/tenants.d.ts +276 -0
  135. package/tenants.js +68 -0
  136. package/tenants.mjs +68 -0
  137. package/themes.d.mts +235 -0
  138. package/themes.d.ts +235 -0
  139. package/themes.js +74 -0
  140. package/themes.mjs +74 -0
  141. package/transports.d.mts +298 -0
  142. package/transports.d.ts +298 -0
  143. package/transports.js +62 -0
  144. package/transports.mjs +62 -0
  145. package/users.d.mts +544 -0
  146. package/users.d.ts +544 -0
  147. package/users.js +99 -0
  148. package/users.mjs +99 -0
  149. package/web-integrations.d.mts +246 -0
  150. package/web-integrations.d.ts +246 -0
  151. package/web-integrations.js +59 -0
  152. package/web-integrations.mjs +59 -0
  153. package/web-notifications.d.mts +220 -0
  154. package/web-notifications.d.ts +220 -0
  155. package/web-notifications.js +66 -0
  156. package/web-notifications.mjs +66 -0
  157. package/webhooks.d.mts +422 -0
  158. package/webhooks.d.ts +422 -0
  159. package/webhooks.js +100 -0
  160. package/webhooks.mjs +100 -0
package/index.js ADDED
@@ -0,0 +1,678 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk4FLMND6Tjs = require('./chunk-4FLMND6T.js');
4
+
5
+
6
+ var _chunk4ES65KO3js = require('./chunk-4ES65KO3.js');
7
+
8
+
9
+
10
+ var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
11
+ require('./chunk-ZT4C7KCQ.js');
12
+
13
+ // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
14
+ var methodAbbreviations = {
15
+ G: "GET",
16
+ P: "POST",
17
+ U: "PUT",
18
+ A: "PATCH",
19
+ D: "DELETE",
20
+ O: "OPTIONS",
21
+ H: "HEAD",
22
+ C: "CONNECT",
23
+ T: "TRACE"
24
+ };
25
+ function methodCharToMethodName(method) {
26
+ try {
27
+ return methodAbbreviations[method];
28
+ } catch (e) {
29
+ throw new Error(`Unknown short hand method:${method}`);
30
+ }
31
+ }
32
+ var ignoredProps = /* @__PURE__ */ new Set(["$$typeof", "then", "__esmodule"]);
33
+ function createLazyApi(api2, initFunc) {
34
+ const lazyApi = {
35
+ initiated: false,
36
+ init: () => {
37
+ if (!lazyApi.initiated) {
38
+ initFunc();
39
+ lazyApi.initiated = true;
40
+ }
41
+ },
42
+ ownKeys(target) {
43
+ if (!lazyApi.initiated) {
44
+ lazyApi.init();
45
+ }
46
+ return Object.keys(target);
47
+ },
48
+ has(target, key) {
49
+ if (ignoredProps.has(key)) {
50
+ return false;
51
+ }
52
+ if (!lazyApi.initiated) {
53
+ lazyApi.init();
54
+ }
55
+ return !!target[key];
56
+ },
57
+ get(target, key) {
58
+ if (!ignoredProps.has(key) && !lazyApi.initiated) {
59
+ lazyApi.init();
60
+ }
61
+ return target[key];
62
+ }
63
+ };
64
+ return new Proxy(api2, lazyApi);
65
+ }
66
+ var runtimeApiCache = {};
67
+ function apiDefToApi(namespace, def, newFormat = false) {
68
+ if (namespace in runtimeApiCache) {
69
+ return runtimeApiCache[namespace];
70
+ }
71
+ const api2 = {
72
+ clearCache: () => _chunkOULT3V2Ujs.clearApiCache.call(void 0, namespace)
73
+ };
74
+ const initFunc = () => {
75
+ traverse(namespace, "", def, api2);
76
+ };
77
+ const lazyApi = createLazyApi(api2, initFunc);
78
+ runtimeApiCache[namespace] = lazyApi;
79
+ return lazyApi;
80
+ }
81
+ function traverse(namespace, parentPath, node, resultingApi) {
82
+ Object.entries(node).forEach(([key, value]) => {
83
+ const pathTemplate = key ? `${parentPath}/${key}` : parentPath;
84
+ if (Array.isArray(value)) {
85
+ value.forEach((operationString) => {
86
+ const argNames = [...pathTemplate.matchAll(/\{([\w\-_]+)\}/g)].map((match) => match[1]);
87
+ const [operationNames, options, useInstead] = operationString.split(":");
88
+ const method = methodCharToMethodName(options[0]);
89
+ const [operationName, ...oldOperationNames] = operationNames.split(",");
90
+ const hasQuery = options.indexOf("Q") >= 0;
91
+ const hasBody = options.indexOf("B") >= 0;
92
+ const apiFunction = createClassicApiFn(
93
+ namespace,
94
+ operationName,
95
+ pathTemplate,
96
+ method,
97
+ argNames,
98
+ hasQuery,
99
+ hasBody,
100
+ useInstead
101
+ );
102
+ resultingApi[operationName] = apiFunction;
103
+ oldOperationNames.forEach((oldOperationName) => {
104
+ resultingApi[oldOperationName] = resultingApi[operationName];
105
+ });
106
+ });
107
+ } else {
108
+ traverse(namespace, pathTemplate, value, resultingApi);
109
+ }
110
+ });
111
+ }
112
+ function createClassicApiFn(namespace, operationName, pathTemplate, method, argNames, hasQuery, hasBody, useInstead) {
113
+ return (...args) => {
114
+ const pathVariables = {};
115
+ argNames.forEach((argName, index) => {
116
+ pathVariables[argName] = args[index];
117
+ });
118
+ let argPos = argNames.length;
119
+ let query;
120
+ let body;
121
+ if (hasQuery) {
122
+ query = args[argPos];
123
+ argPos++;
124
+ }
125
+ if (hasBody) {
126
+ body = args[argPos];
127
+ argPos++;
128
+ }
129
+ const options = args.length > argPos ? args[argPos] : void 0;
130
+ console.warn(`${namespace}.${operationName} is deprecated, use ${useInstead}.${operationName} instead`);
131
+ return _chunkOULT3V2Ujs.invokeFetch.call(void 0, namespace, {
132
+ method,
133
+ pathTemplate,
134
+ pathVariables,
135
+ query,
136
+ body,
137
+ options
138
+ });
139
+ };
140
+ }
141
+
142
+ // src/public/index.ts
143
+ var apiKeys = apiDefToApi("api-keys", {
144
+ api: {
145
+ v1: {
146
+ "api-keys": {
147
+ "": ["getApiKeys:GQ:", "createApiKey:PB:"],
148
+ configs: { "{tenantId}": ["getApiKeyConfig:G:", "patchApiKeyConfig:AB:"] },
149
+ "{id}": ["deleteApiKey:D:", "getApiKey:G:", "patchApiKey:AB:"]
150
+ }
151
+ }
152
+ }
153
+ });
154
+ var apps = apiDefToApi("apps", {
155
+ api: {
156
+ v1: {
157
+ apps: {
158
+ "": ["createApp:PB:"],
159
+ evaluations: {
160
+ "{baseid}": {
161
+ actions: {
162
+ compare: {
163
+ "{comparisonid}": {
164
+ "": ["getAppEvaluationComparison:GQ:"],
165
+ actions: { download: ["getAppEvaluationComparisonXML:G:"] }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "{id}": { "": ["getAppEvaluation:GQ:"], actions: { download: ["getAppEvaluationXML:G:"] } }
171
+ },
172
+ import: ["importApp:PQB:"],
173
+ privileges: ["getAppPrivileges:G:"],
174
+ "{appId}": {
175
+ "": ["deleteApp:D:", "getAppInfo:G:", "updateAppInfo:UB:"],
176
+ copy: ["copyApp:PB:"],
177
+ data: { lineage: ["getAppDataLineage:G:"], metadata: ["getAppDataMetadata:G:"] },
178
+ export: ["exportApp:PQ:"],
179
+ "insight-analyses": {
180
+ "": ["getAppInsightAnalyses:G:"],
181
+ actions: { recommend: ["getAppInsightAnalysisRecommendations:PB:"] },
182
+ model: ["getAppInsightAnalysisModel:G:"]
183
+ },
184
+ media: {
185
+ files: { "{path}": ["deleteAppMedia:D:", "getAppMedia:G:", "uploadAppMedia:UB:"] },
186
+ list: { "{path}": ["getAppMediaList:GQ:"] },
187
+ thumbnail: ["getAppThumbnail:G:"]
188
+ },
189
+ objects: { "{objectId}": { actions: { "change-owner": ["updateAppObjectOwner:PB:"] } } },
190
+ owner: ["updateAppOwner:UB:"],
191
+ publish: ["publishApp:PB:", "republishApp:UB:"],
192
+ reloads: { logs: { "": ["getAppReloadLogs:G:"], "{reloadId}": ["getAppReloadLog:G:"] } },
193
+ scripts: {
194
+ "": ["getAppScriptHistory:GQ:", "updateAppScript:PB:"],
195
+ "{version}": ["deleteAppScript:D:", "getAppScript:G:", "patchAppScript:AB:"]
196
+ },
197
+ space: ["removeAppFromSpace:D:", "moveAppToSpace:UB:"]
198
+ },
199
+ "{guid}": { evaluations: ["getAppEvaluations:GQ:", "queueAppEvaluation:P:"] }
200
+ }
201
+ }
202
+ }
203
+ });
204
+ var audits = apiDefToApi("audits", {
205
+ api: {
206
+ v1: {
207
+ audits: {
208
+ "": ["getAudits:GQ:"],
209
+ archive: ["getArchivedAudits:GQ:"],
210
+ settings: ["getAuditSettings:G:"],
211
+ sources: ["getAuditSources:G:"],
212
+ types: ["getAuditTypes:G:"],
213
+ "{id}": ["getAudit:G:"]
214
+ }
215
+ }
216
+ }
217
+ });
218
+ var auth = _chunk4FLMND6Tjs.auth_default;
219
+ var automations = apiDefToApi("automations", {
220
+ api: {
221
+ v1: {
222
+ automations: {
223
+ "": ["getAutomations:GQ:", "createAutomation:PB:"],
224
+ settings: ["getAutomationSettings:G:", "updateAutomationSettings:UB:"],
225
+ usage: ["getAutomationUsageMetrics:GQ:"],
226
+ "{id}": {
227
+ "": ["deleteAutomation:D:", "getAutomation:G:", "updateAutomation:UB:"],
228
+ actions: {
229
+ copy: ["copyAutomation:PB:"],
230
+ disable: ["disableAutomation:P:"],
231
+ enable: ["enableAutomation:P:"],
232
+ move: ["moveAutomation:PB:"]
233
+ },
234
+ runs: {
235
+ "": ["getAutomationRuns:GQ:", "queueAutomationRun:PB:"],
236
+ "{runId}": {
237
+ "": ["getAutomationRun:G:"],
238
+ actions: {
239
+ export: ["getAutomationRunDetails:P:"],
240
+ retry: ["retryAutomationRun:P:"],
241
+ stop: ["stopAutomationRun:P:"]
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+ });
250
+ var brands = apiDefToApi("brands", {
251
+ api: {
252
+ v1: {
253
+ brands: {
254
+ "": ["getBrands:GQ:", "createBrand:PB:"],
255
+ active: ["getActiveBrand:G:"],
256
+ "{brand-id}": {
257
+ "": ["deleteBrand:D:", "getBrand:G:", "patchBrand:AB:"],
258
+ actions: { activate: ["activateBrand:PB:"], deactivate: ["deactivateBrand:PB:"] },
259
+ files: {
260
+ "{brand-file-id}": ["deleteBrandFile:D:", "getBrandFile:G:", "createBrandFile:PB:", "updateBrandFile:UB:"]
261
+ }
262
+ }
263
+ }
264
+ }
265
+ }
266
+ });
267
+ var collections = apiDefToApi("collections", {
268
+ api: {
269
+ v1: {
270
+ collections: {
271
+ "": ["getCollections:GQ:", "createCollection:PB:"],
272
+ favorites: ["getFavoritesCollection:G:"],
273
+ "{collectionId}": {
274
+ "": ["deleteCollection:D:", "getCollection:G:", "updateCollection:UB:"],
275
+ items: {
276
+ "": ["getCollectionItems:GQ:", "addCollectionItem:PB:"],
277
+ "{itemId}": ["deleteCollectionItem:D:", "getCollectionItem:G:"]
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ });
284
+ var cspOrigins = apiDefToApi("csp-origins", {
285
+ api: {
286
+ v1: {
287
+ "csp-origins": {
288
+ "": ["getCSPEntries:GQ:", "createCSPEntry:PB:"],
289
+ actions: { "generate-header": ["getCSPHeader:G:"] },
290
+ "{id}": ["deleteCSPEntry:D:", "getCSPEntry:G:", "updateCSPEntry:UB:"]
291
+ }
292
+ }
293
+ }
294
+ });
295
+ var dataAssets = apiDefToApi("data-assets", {
296
+ api: {
297
+ v1: {
298
+ "data-assets": {
299
+ "": ["deleteDataAssets:DB:", "createDataAsset:PB:"],
300
+ "{data-asset-id}": ["getDataAsset:GQ:", "patchDataAsset:AB:", "updateDataAsset:UB:"]
301
+ }
302
+ }
303
+ }
304
+ });
305
+ var dataConnections = apiDefToApi("data-connections", {
306
+ api: {
307
+ v1: {
308
+ "data-connections": {
309
+ "": ["getDataConnections:GQ:", "createDataConnection:PB:"],
310
+ actions: {
311
+ delete: ["deleteDataConnections:PB:"],
312
+ duplicate: ["duplicateDataAConnection:PB:"],
313
+ update: ["updateDataConnections:PB:"]
314
+ },
315
+ "{qID}": [
316
+ "deleteDataConnection:DQ:",
317
+ "getDataConnection:GQ:",
318
+ "patchDataConnection:AQB:",
319
+ "updateDataConnection:UQB:"
320
+ ]
321
+ }
322
+ }
323
+ }
324
+ });
325
+ var dataCredentials = apiDefToApi("data-credentials", {
326
+ api: {
327
+ v1: {
328
+ "data-credentials": {
329
+ "{qID}": [
330
+ "deleteDataCredential:DQ:",
331
+ "getDataCredential:GQ:",
332
+ "patchDataCredential:AQB:",
333
+ "updateDataCredential:UQB:"
334
+ ]
335
+ }
336
+ }
337
+ }
338
+ });
339
+ var dataFiles = apiDefToApi("data-files", {
340
+ api: {
341
+ v1: {
342
+ "data-files": {
343
+ "": ["getDataFiles:GQ:", "uploadDataFile:PB:"],
344
+ actions: { "change-space": ["moveDataFiles:PB:"], delete: ["deleteDataFiles:PB:"] },
345
+ connections: { "": ["getDataFileConnections:GQ:"], "{id}": ["getDataFileConnection:G:"] },
346
+ quotas: ["getDataFileQuotas:G:"],
347
+ "{id}": {
348
+ "": ["deleteDataFile:D:", "getDataFile:G:", "reuploadDataFile:UB:"],
349
+ actions: { "change-owner": ["changeDataFileOwner:PB:"], "change-space": ["moveDataFile:PB:"] }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ });
355
+ var extensions = apiDefToApi("extensions", {
356
+ api: {
357
+ v1: {
358
+ extensions: {
359
+ "": ["getExtensions:G:", "uploadExtension:PB:"],
360
+ "{id}": {
361
+ "": ["deleteExtension:D:", "getExtension:G:", "patchExtension:AB:"],
362
+ file: { "": ["downloadExtension:G:"], "{filepath}": ["downloadFileFromExtension:G:"] }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ });
368
+ var glossaries = apiDefToApi("glossaries", {
369
+ api: {
370
+ v1: {
371
+ glossaries: {
372
+ "": ["getGlossaries:GQ:", "createGlossary:PB:"],
373
+ actions: { import: ["importGlossary:PQB:"] },
374
+ "{id}": {
375
+ "": ["deleteGlossary:D:", "getGlossary:G:", "patchGlossary:AB:", "updateGlossary:UB:"],
376
+ actions: { export: ["exportGlossary:G:"] },
377
+ categories: {
378
+ "": ["getGlossaryCategories:GQ:", "createGlossaryCategory:PB:"],
379
+ "{categoryId}": [
380
+ "deleteGlossaryCategory:D:",
381
+ "getGlossaryCategory:G:",
382
+ "patchGlossaryCategory:AB:",
383
+ "updateGlossaryCategory:UB:"
384
+ ]
385
+ },
386
+ terms: {
387
+ "": ["getGlossaryTerms:GQ:", "createGlossaryTerm:PB:"],
388
+ "{termId}": {
389
+ "": ["deleteGlossaryTerm:D:", "getGlossaryTerm:G:", "patchGlossaryTerm:AB:", "updateGlossaryTerm:UB:"],
390
+ actions: { "change-status": ["changeGlossaryTermStatus:PQ:"] },
391
+ links: ["getGlossaryTermLinks:GQ:", "createGlossaryTermLink:PB:"],
392
+ revisions: ["getGlossaryTermRevisions:GQ:"]
393
+ }
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
399
+ });
400
+ var groups = apiDefToApi("groups", {
401
+ api: {
402
+ v1: {
403
+ groups: {
404
+ "": ["getGroups:GQ:", "createGroup:PB:"],
405
+ actions: { filter: ["filterGroups:PQB:"] },
406
+ settings: ["getGroupSettings:G:", "patchGroupSettings:AB:"],
407
+ "{groupId}": ["deleteGroup:D:", "getGroup:G:", "patchGroup:AB:"]
408
+ }
409
+ }
410
+ }
411
+ });
412
+ var identityProviders = apiDefToApi("identity-providers", {
413
+ api: {
414
+ v1: {
415
+ "identity-providers": {
416
+ "": ["getIdps:GQ:", "createIdp:PB:"],
417
+ ".well-known": { "metadata.json": ["getIdpWellKnownMetaData:G:"] },
418
+ me: { meta: ["getMyIdpMeta:G:"] },
419
+ status: ["getIdpStatus:G:"],
420
+ "{id}": ["deleteIdp:D:", "getIdp:G:", "patchIdp:AB:"]
421
+ }
422
+ }
423
+ }
424
+ });
425
+ var items = apiDefToApi("items", {
426
+ api: {
427
+ v1: {
428
+ items: {
429
+ "": ["getItems:GQ:"],
430
+ settings: ["getItemSettings:G:", "patchItemSettings:AB:"],
431
+ "{itemId}": {
432
+ "": ["deleteItem:D:", "getItem:G:", "updateItem:UB:"],
433
+ collections: ["getItemCollections:GQ:"],
434
+ publisheditems: ["getPublishedItems:GQ:"]
435
+ }
436
+ }
437
+ }
438
+ }
439
+ });
440
+ var licenses = apiDefToApi("licenses", {
441
+ api: {
442
+ v1: {
443
+ licenses: {
444
+ assignments: {
445
+ "": ["getLicenseAssignments:GQ:"],
446
+ actions: {
447
+ add: ["addLicenseAssignments:PB:"],
448
+ delete: ["deleteLicenseAssignments:PB:"],
449
+ update: ["updateLicenseAssignments:PB:"]
450
+ }
451
+ },
452
+ consumption: ["getLicenseConsumption:GQ:"],
453
+ overview: ["getLicenseOverview:G:"],
454
+ settings: ["getLicenseSettings:G:", "updateLicenseSettings:UB:"],
455
+ status: ["getLicenseStatus:G:"]
456
+ }
457
+ }
458
+ }
459
+ });
460
+ var qix = _chunk4ES65KO3js.qix_default;
461
+ var quotas = apiDefToApi("quotas", {
462
+ api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
463
+ });
464
+ var reloadTasks = apiDefToApi("reload-tasks", {
465
+ api: {
466
+ v1: {
467
+ "reload-tasks": {
468
+ "": ["getReloadTasks:GQ:", "createReloadTask:PB:"],
469
+ "{taskId}": ["deleteReloadTask:D:", "getReloadTask:G:", "updateReloadTask:UB:"]
470
+ }
471
+ }
472
+ }
473
+ });
474
+ var reloads = apiDefToApi("reloads", {
475
+ api: {
476
+ v1: {
477
+ reloads: {
478
+ "": ["getReloads:GQ:", "queueReload:PB:"],
479
+ "{reloadId}": { "": ["getReload:G:"], actions: { cancel: ["cancelReload:P:"] } }
480
+ }
481
+ }
482
+ }
483
+ });
484
+ var roles = apiDefToApi("roles", {
485
+ api: { v1: { roles: { "": ["getRoles:GQ:"], "{id}": ["getRole:G:"] } } }
486
+ });
487
+ var spaces = apiDefToApi("spaces", {
488
+ api: {
489
+ v1: {
490
+ spaces: {
491
+ "": ["getSpaces:GQ:", "createSpace:PB:"],
492
+ types: ["getSpaceTypes:G:"],
493
+ "{spaceId}": {
494
+ "": ["deleteSpace:D:", "getSpace:G:", "patchSpace:AB:", "updateSpace:UB:"],
495
+ assignments: {
496
+ "": ["getSpaceAssignments:GQ:", "createSpaceAssignment:PB:"],
497
+ "{assignmentId}": ["deleteSpaceAssignment:D:", "getSpaceAssignment:G:", "updateSpaceAssignment:UB:"]
498
+ }
499
+ }
500
+ }
501
+ }
502
+ }
503
+ });
504
+ var tempContents = apiDefToApi("temp-contents", {
505
+ api: {
506
+ v1: {
507
+ "temp-contents": {
508
+ "": ["uploadTempFile:PQB:"],
509
+ files: { "": ["createTus:P:"], "{id}": ["patchTus:AB:"] },
510
+ "{id}": { "": ["downloadTempFile:GQ:"], details: ["getTempFileDetails:G:"] }
511
+ }
512
+ }
513
+ }
514
+ });
515
+ var tenants = apiDefToApi("tenants", {
516
+ api: {
517
+ v1: {
518
+ tenants: {
519
+ "": ["createTenant:PB:"],
520
+ me: ["getMyTenant:G:"],
521
+ "{tenantId}": {
522
+ "": ["getTenant:G:", "patchTenant:AB:"],
523
+ actions: { deactivate: ["deactivateTenant:PB:"], reactivate: ["reactivateTenant:PB:"] }
524
+ }
525
+ }
526
+ }
527
+ }
528
+ });
529
+ var themes = apiDefToApi("themes", {
530
+ api: {
531
+ v1: {
532
+ themes: {
533
+ "": ["getThemes:G:", "uploadTheme:PB:"],
534
+ "{id}": {
535
+ "": ["deleteTheme:D:", "getTheme:G:", "patchTheme:AB:"],
536
+ file: { "": ["downloadTheme:G:"], "{filepath}": ["downloadFileFromTheme:G:"] }
537
+ }
538
+ }
539
+ }
540
+ }
541
+ });
542
+ var transports = apiDefToApi("transports", {
543
+ api: {
544
+ v1: {
545
+ transports: {
546
+ "email-config": {
547
+ "": ["deleteEmailConfig:D:", "getEmailConfig:G:", "patchEmailConfig:AB:"],
548
+ actions: {
549
+ "send-test-email": ["sendTestEmail:PB:"],
550
+ validate: ["validateEmailConfig:P:"],
551
+ "verify-connection": ["verifyEmailConfigConnection:P:"]
552
+ }
553
+ }
554
+ }
555
+ }
556
+ }
557
+ });
558
+ var users = apiDefToApi("users", {
559
+ api: {
560
+ v1: {
561
+ users: {
562
+ "": ["getUsers:GQ:", "createUser:PB:"],
563
+ actions: { count: ["countUsers:GQ:"], filter: ["filterUsers:PQB:"], invite: ["inviteUsers:PB:"] },
564
+ me: ["getMyUser:G:"],
565
+ metadata: ["getUsersMetadata:G:"],
566
+ "{userId}": ["deleteUser:D:", "getUser:GQ:", "patchUser:AB:"]
567
+ }
568
+ }
569
+ }
570
+ });
571
+ var webIntegrations = apiDefToApi("web-integrations", {
572
+ api: {
573
+ v1: {
574
+ "web-integrations": {
575
+ "": ["getWebIntegrations:GQ:", "createWebIntegration:PB:"],
576
+ "{id}": ["deleteWebIntegration:D:", "getWebIntegration:G:", "patchWebIntegration:AB:"]
577
+ }
578
+ }
579
+ }
580
+ });
581
+ var webNotifications = apiDefToApi("web-notifications", {
582
+ api: {
583
+ v1: {
584
+ "web-notifications": {
585
+ "": ["getNotifications:GQ:"],
586
+ all: ["deleteNotifications:D:", "patchNotifications:AB:"],
587
+ "{notificationId}": ["deleteNotification:D:", "getNotification:G:", "patchNotification:AB:"]
588
+ }
589
+ }
590
+ }
591
+ });
592
+ var webhooks = apiDefToApi("webhooks", {
593
+ api: {
594
+ v1: {
595
+ webhooks: {
596
+ "": ["getWebhooks:GQ:", "createWebhook:PB:"],
597
+ "event-types": ["getWebhookEventTypes:G:"],
598
+ "{id}": {
599
+ "": ["deleteWebhook:D:", "getWebhook:G:", "patchWebhook:AB:", "updateWebhook:UB:"],
600
+ deliveries: {
601
+ "": ["getWebhookDeliveries:GQ:"],
602
+ "{deliveryId}": { "": ["getWebhookDelivery:G:"], actions: { resend: ["resendWebhookDelivery:P:"] } }
603
+ }
604
+ }
605
+ }
606
+ }
607
+ }
608
+ });
609
+ var api = {
610
+ apiKeys,
611
+ apps,
612
+ audits,
613
+ auth,
614
+ automations,
615
+ brands,
616
+ collections,
617
+ cspOrigins,
618
+ dataAssets,
619
+ dataConnections,
620
+ dataCredentials,
621
+ dataFiles,
622
+ extensions,
623
+ glossaries,
624
+ groups,
625
+ identityProviders,
626
+ items,
627
+ licenses,
628
+ qix,
629
+ quotas,
630
+ reloadTasks,
631
+ reloads,
632
+ roles,
633
+ spaces,
634
+ tempContents,
635
+ tenants,
636
+ themes,
637
+ transports,
638
+ users,
639
+ webIntegrations,
640
+ webNotifications,
641
+ webhooks
642
+ };
643
+ var public_default = api;
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+ exports.apiKeys = apiKeys; exports.apps = apps; exports.audits = audits; exports.auth = auth; exports.automations = automations; exports.brands = brands; exports.collections = collections; exports.cspOrigins = cspOrigins; exports.dataAssets = dataAssets; exports.dataConnections = dataConnections; exports.dataCredentials = dataCredentials; exports.dataFiles = dataFiles; exports.default = public_default; exports.extensions = extensions; exports.glossaries = glossaries; exports.groups = groups; exports.identityProviders = identityProviders; exports.items = items; exports.licenses = licenses; exports.qix = qix; exports.quotas = quotas; exports.reloadTasks = reloadTasks; exports.reloads = reloads; exports.roles = roles; exports.spaces = spaces; exports.tempContents = tempContents; exports.tenants = tenants; exports.themes = themes; exports.transports = transports; exports.users = users; exports.webIntegrations = webIntegrations; exports.webNotifications = webNotifications; exports.webhooks = webhooks;