@qlik/api 0.0.1 → 0.0.3

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