@qlik/api 0.0.2 → 0.0.4

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 (171) hide show
  1. package/api-keys.d.mts +14 -0
  2. package/api-keys.d.ts +14 -0
  3. package/api-keys.js +14 -10
  4. package/api-keys.mjs +6 -2
  5. package/apps.d.mts +479 -149
  6. package/apps.d.ts +479 -149
  7. package/apps.js +100 -42
  8. package/apps.mjs +60 -2
  9. package/audits.d.mts +12 -0
  10. package/audits.d.ts +12 -0
  11. package/audits.js +10 -9
  12. package/audits.mjs +3 -2
  13. package/auth-AWZV4DPP.js +41 -0
  14. package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
  15. package/auth.js +4 -3
  16. package/auth.mjs +3 -2
  17. package/automations.d.mts +36 -0
  18. package/automations.d.ts +36 -0
  19. package/automations.js +28 -21
  20. package/automations.mjs +9 -2
  21. package/brands.d.mts +45 -4
  22. package/brands.d.ts +45 -4
  23. package/brands.js +20 -15
  24. package/brands.mjs +7 -2
  25. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  26. package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
  27. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  28. package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
  29. package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
  30. package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
  31. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  32. package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
  33. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  34. package/chunk-P57PW2II.js +11 -0
  35. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  36. package/chunk-ZFXKCRJC.mjs +11 -0
  37. package/collections.d.mts +51 -17
  38. package/collections.d.ts +51 -17
  39. package/collections.js +28 -14
  40. package/collections.mjs +16 -2
  41. package/csp-origins.d.mts +16 -1
  42. package/csp-origins.d.ts +16 -1
  43. package/csp-origins.js +12 -9
  44. package/csp-origins.mjs +5 -2
  45. package/data-assets.d.mts +10 -0
  46. package/data-assets.d.ts +10 -0
  47. package/data-assets.js +13 -8
  48. package/data-assets.mjs +7 -2
  49. package/data-connections.d.mts +18 -0
  50. package/data-connections.d.ts +18 -0
  51. package/data-connections.js +19 -12
  52. package/data-connections.mjs +9 -2
  53. package/data-credentials.d.mts +8 -0
  54. package/data-credentials.d.ts +8 -0
  55. package/data-credentials.js +10 -7
  56. package/data-credentials.mjs +5 -2
  57. package/data-files.d.mts +98 -13
  58. package/data-files.d.ts +98 -13
  59. package/data-files.js +22 -15
  60. package/data-files.mjs +9 -2
  61. package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
  62. package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
  63. package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
  64. package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
  65. package/extensions.d.mts +26 -2
  66. package/extensions.d.ts +26 -2
  67. package/extensions.js +13 -10
  68. package/extensions.mjs +5 -2
  69. package/glossaries.d.mts +55 -20
  70. package/glossaries.d.ts +55 -20
  71. package/glossaries.js +39 -27
  72. package/glossaries.mjs +14 -2
  73. package/groups.d.mts +16 -0
  74. package/groups.d.ts +16 -0
  75. package/groups.js +16 -11
  76. package/groups.mjs +7 -2
  77. package/identity-providers.d.mts +16 -0
  78. package/identity-providers.d.ts +16 -0
  79. package/identity-providers.js +14 -11
  80. package/identity-providers.mjs +5 -2
  81. package/index.js +135 -101
  82. package/index.mjs +131 -97
  83. package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  84. package/invoke-fetch-UNTAUR7O.js +17 -0
  85. package/items.d.mts +6 -6
  86. package/items.d.ts +6 -6
  87. package/items.js +14 -11
  88. package/items.mjs +5 -2
  89. package/licenses.d.mts +18 -0
  90. package/licenses.d.ts +18 -0
  91. package/licenses.js +17 -12
  92. package/licenses.mjs +7 -2
  93. package/package.json +4 -4
  94. package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
  95. package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
  96. package/qix.d.mts +1 -1
  97. package/qix.d.ts +1 -1
  98. package/qix.js +4 -3
  99. package/qix.mjs +3 -2
  100. package/quotas.d.mts +4 -0
  101. package/quotas.d.ts +4 -0
  102. package/quotas.js +6 -5
  103. package/quotas.mjs +3 -2
  104. package/reload-tasks.js +11 -8
  105. package/reload-tasks.mjs +5 -2
  106. package/reloads.d.mts +17 -10
  107. package/reloads.d.ts +17 -10
  108. package/reloads.js +9 -7
  109. package/reloads.mjs +4 -2
  110. package/roles.d.mts +4 -0
  111. package/roles.d.ts +4 -0
  112. package/roles.js +6 -5
  113. package/roles.mjs +3 -2
  114. package/spaces.d.mts +27 -4
  115. package/spaces.d.ts +27 -4
  116. package/spaces.js +21 -15
  117. package/spaces.mjs +8 -2
  118. package/temp-contents.d.mts +8 -3
  119. package/temp-contents.d.ts +8 -3
  120. package/temp-contents.js +8 -6
  121. package/temp-contents.mjs +4 -2
  122. package/tenants.d.mts +12 -0
  123. package/tenants.d.ts +12 -0
  124. package/tenants.js +14 -9
  125. package/tenants.mjs +7 -2
  126. package/themes.d.mts +26 -2
  127. package/themes.d.ts +26 -2
  128. package/themes.js +13 -10
  129. package/themes.mjs +5 -2
  130. package/transports.d.mts +12 -0
  131. package/transports.d.ts +12 -0
  132. package/transports.js +12 -9
  133. package/transports.mjs +5 -2
  134. package/users.d.mts +48 -29
  135. package/users.d.ts +48 -29
  136. package/users.js +18 -13
  137. package/users.mjs +7 -2
  138. package/web-integrations.d.mts +10 -0
  139. package/web-integrations.d.ts +10 -0
  140. package/web-integrations.js +11 -8
  141. package/web-integrations.mjs +5 -2
  142. package/web-notifications.d.mts +12 -0
  143. package/web-notifications.d.ts +12 -0
  144. package/web-notifications.js +12 -9
  145. package/web-notifications.mjs +5 -2
  146. package/webhooks.d.mts +25 -5
  147. package/webhooks.d.ts +25 -5
  148. package/webhooks.js +17 -13
  149. package/webhooks.mjs +6 -2
  150. package/auth-CSVTXOZX.js +0 -36
  151. package/auth-OU7OTB7Y.js +0 -38
  152. package/auth-TE272Q34.mjs +0 -36
  153. package/chunk-4ES65KO3.js +0 -57
  154. package/chunk-4FLMND6T.js +0 -25
  155. package/chunk-4OMEH5SW.mjs +0 -1337
  156. package/chunk-6JERR27K.js +0 -17
  157. package/chunk-E42WUFCK.mjs +0 -57
  158. package/chunk-H7SAZYEE.js +0 -21
  159. package/chunk-KMMWJZHM.mjs +0 -25
  160. package/chunk-W4J34XGA.mjs +0 -17
  161. package/chunk-WM7FQU2U.mjs +0 -21
  162. package/chunk-XASXL2NC.js +0 -1337
  163. package/enigma-session-4L373ALV.mjs +0 -10196
  164. package/enigma-session-TEB53FAF.js +0 -10196
  165. package/esm-4X3DKK5D.js +0 -63
  166. package/esm-SOWVJKOQ.mjs +0 -63
  167. package/invoke-fetch-7PKPQ3FD.js +0 -14
  168. package/invoke-fetch-MSSJAZ7K.mjs +0 -14
  169. package/invoke-fetch-PEI54KZO.js +0 -14
  170. package/qix-EU7PXRZ6.mjs +0 -573
  171. package/qix-RLTISYTB.js +0 -573
package/index.mjs CHANGED
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  auth_default
3
- } from "./chunk-KMMWJZHM.mjs";
3
+ } from "./chunk-GNWU6SP2.mjs";
4
4
  import {
5
5
  qix_default
6
- } from "./chunk-E42WUFCK.mjs";
6
+ } from "./chunk-67GJTTPV.mjs";
7
7
  import {
8
8
  clearApiCache,
9
9
  invokeFetch
10
- } from "./chunk-W4J34XGA.mjs";
11
- import "./chunk-7REWEWCX.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) => {
@@ -136,6 +159,7 @@ function createClassicApiFn(namespace, operationName, pathTemplate, method, argN
136
159
  pathVariables,
137
160
  query,
138
161
  body,
162
+ ...contentType ? { contentType } : {},
139
163
  options
140
164
  });
141
165
  };
@@ -146,9 +170,9 @@ var apiKeys = apiDefToApi("api-keys", {
146
170
  api: {
147
171
  v1: {
148
172
  "api-keys": {
149
- "": ["getApiKeys:GQ:", "createApiKey:PB:"],
150
- configs: { "{tenantId}": ["getApiKeysConfig:G:", "patchApiKeysConfig:AB:"] },
151
- "{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:"]
152
176
  }
153
177
  }
154
178
  }
@@ -157,7 +181,7 @@ var apps = apiDefToApi("apps", {
157
181
  api: {
158
182
  v1: {
159
183
  apps: {
160
- "": ["createApp:PB:"],
184
+ "": ["createApp:PBJ:"],
161
185
  evaluations: {
162
186
  "{baseid}": {
163
187
  actions: {
@@ -171,35 +195,40 @@ var apps = apiDefToApi("apps", {
171
195
  },
172
196
  "{id}": { "": ["getAppEvaluation:GQ:"], actions: { download: ["getAppEvaluationXml:G:"] } }
173
197
  },
174
- import: ["importApp:PQB:"],
198
+ import: ["importApp:PQBO:"],
175
199
  privileges: ["getAppsPrivileges:G:"],
176
200
  "{appId}": {
177
- "": ["deleteApp:D:", "getAppInfo:G:", "updateAppInfo:UB:"],
178
- copy: ["copyApp:PB:"],
201
+ "": ["deleteApp:D:", "getAppInfo:G:", "updateAppInfo:UBJ:"],
202
+ copy: ["copyApp:PBJ:"],
179
203
  data: { lineage: ["getAppDataLineage:G:"], metadata: ["getAppDataMetadata:G:"] },
180
204
  export: ["exportApp:PQ:"],
181
205
  "insight-analyses": {
182
206
  "": ["getAppInsightAnalyses:G:"],
183
- actions: { recommend: ["getAppInsightAnalysisRecommendations:PB:"] },
207
+ actions: { recommend: ["getAppInsightAnalysisRecommendations:PBJ:"] },
184
208
  model: ["getAppInsightAnalysisModel:G:"]
185
209
  },
186
210
  media: {
187
- files: { "{path}": ["deleteAppMedia:D:", "getAppMedia:G:", "uploadAppMedia:UB:"] },
211
+ files: { "{path}": ["deleteAppMedia:D:", "getAppMedia:G:", "uploadAppMedia:UBO:"] },
188
212
  list: { "{path}": ["getAppMediaList:GQ:"] },
189
213
  thumbnail: ["getAppThumbnail:G:"]
190
214
  },
191
- objects: { "{objectId}": { actions: { "change-owner": ["updateAppObjectOwner:PB:"] } } },
192
- owner: ["updateAppOwner:UB:"],
193
- publish: ["publishApp:PB:", "republishApp:UB:"],
215
+ objects: { "{objectId}": { actions: { "change-owner": ["updateAppObjectOwner:PBJ:"] } } },
216
+ owner: ["updateAppOwner:UBJ:"],
217
+ publish: ["publishApp:PBJ:", "republishApp:UBJ:"],
194
218
  reloads: {
195
219
  logs: { "": ["getAppReloadLogs:G:"], "{reloadId}": ["getAppReloadLog:G:"] },
196
220
  metadata: { "{reloadId}": ["getAppReloadMetadata:GQ:"] }
197
221
  },
222
+ "report-filters": {
223
+ "": ["getAppReportFilters:GQ:", "createAppReportFilter:PBJ:"],
224
+ actions: { count: ["countAppReportFilters:GQ:"] },
225
+ "{id}": ["deleteAppReportFilter:D:", "getAppReportFilter:G:"]
226
+ },
198
227
  scripts: {
199
- "": ["getAppScriptHistory:GQ:", "updateAppScript:PB:"],
200
- "{version}": ["deleteAppScript:D:", "getAppScript:G:", "patchAppScript:AB:"]
228
+ "": ["getAppScriptHistory:GQ:", "updateAppScript:PBJ:"],
229
+ "{version}": ["deleteAppScript:D:", "getAppScript:G:", "patchAppScript:ABJ:"]
201
230
  },
202
- space: ["removeAppFromSpace:D:", "moveAppToSpace:UB:"]
231
+ space: ["removeAppFromSpace:D:", "moveAppToSpace:UBJ:"]
203
232
  },
204
233
  "{guid}": { evaluations: ["getAppEvaluations:GQ:", "queueAppEvaluation:P:"] }
205
234
  }
@@ -225,19 +254,19 @@ var automations = apiDefToApi("automations", {
225
254
  api: {
226
255
  v1: {
227
256
  automations: {
228
- "": ["getAutomations:GQ:", "createAutomation:PB:"],
229
- settings: ["getAutomationsSettings:G:", "updateAutomationsSettings:UB:"],
257
+ "": ["getAutomations:GQ:", "createAutomation:PBJ:"],
258
+ settings: ["getAutomationsSettings:G:", "updateAutomationsSettings:UBJ:"],
230
259
  usage: ["getAutomationsUsageMetrics:GQ:"],
231
260
  "{id}": {
232
- "": ["deleteAutomation:D:", "getAutomation:G:", "updateAutomation:UB:"],
261
+ "": ["deleteAutomation:D:", "getAutomation:G:", "updateAutomation:UBJ:"],
233
262
  actions: {
234
- copy: ["copyAutomation:PB:"],
263
+ copy: ["copyAutomation:PBJ:"],
235
264
  disable: ["disableAutomation:P:"],
236
265
  enable: ["enableAutomation:P:"],
237
- move: ["moveAutomation:PB:"]
266
+ move: ["moveAutomation:PBJ:"]
238
267
  },
239
268
  runs: {
240
- "": ["getAutomationRuns:GQ:", "queueAutomationRun:PB:"],
269
+ "": ["getAutomationRuns:GQ:", "queueAutomationRun:PBJ:"],
241
270
  "{runId}": {
242
271
  "": ["getAutomationRun:G:"],
243
272
  actions: {
@@ -256,13 +285,18 @@ var brands = apiDefToApi("brands", {
256
285
  api: {
257
286
  v1: {
258
287
  brands: {
259
- "": ["getBrands:GQ:", "createBrand:PB:"],
288
+ "": ["getBrands:GQ:", "createBrand:PBM:"],
260
289
  active: ["getActiveBrand:G:"],
261
290
  "{brand-id}": {
262
- "": ["deleteBrand:D:", "getBrand:G:", "patchBrand:AB:"],
291
+ "": ["deleteBrand:D:", "getBrand:G:", "patchBrand:ABJ:"],
263
292
  actions: { activate: ["activateBrand:PB:"], deactivate: ["deactivateBrand:PB:"] },
264
293
  files: {
265
- "{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
+ ]
266
300
  }
267
301
  }
268
302
  }
@@ -273,12 +307,12 @@ var collections = apiDefToApi("collections", {
273
307
  api: {
274
308
  v1: {
275
309
  collections: {
276
- "": ["getCollections:GQ:", "createCollection:PB:"],
310
+ "": ["getCollections:GQ:", "createCollection:PBJ:"],
277
311
  favorites: ["getFavoritesCollection:G:"],
278
312
  "{collectionId}": {
279
- "": ["deleteCollection:D:", "getCollection:G:", "updateCollection:UB:"],
313
+ "": ["deleteCollection:D:", "getCollection:G:", "patchCollection:ABJ:", "updateCollection:UBJ:"],
280
314
  items: {
281
- "": ["getCollectionItems:GQ:", "addCollectionItem:PB:"],
315
+ "": ["getCollectionItems:GQ:", "addCollectionItem:PBJ:"],
282
316
  "{itemId}": ["deleteCollectionItem:D:", "getCollectionItem:G:"]
283
317
  }
284
318
  }
@@ -290,9 +324,9 @@ var cspOrigins = apiDefToApi("csp-origins", {
290
324
  api: {
291
325
  v1: {
292
326
  "csp-origins": {
293
- "": ["getCSPEntries:GQ:", "createCSPEntry:PB:"],
327
+ "": ["getCSPEntries:GQ:", "createCSPEntry:PBJ:"],
294
328
  actions: { "generate-header": ["getCSPHeader:G:"] },
295
- "{id}": ["deleteCSPEntry:D:", "getCSPEntry:G:", "updateCSPEntry:UB:"]
329
+ "{id}": ["deleteCSPEntry:D:", "getCSPEntry:G:", "updateCSPEntry:UBJ:"]
296
330
  }
297
331
  }
298
332
  }
@@ -301,8 +335,8 @@ var dataAssets = apiDefToApi("data-assets", {
301
335
  api: {
302
336
  v1: {
303
337
  "data-assets": {
304
- "": ["deleteDataAssets:DB:", "createDataAsset:PB:"],
305
- "{data-asset-id}": ["getDataAsset:GQ:", "patchDataAsset:AB:", "updateDataAsset:UB:"]
338
+ "": ["deleteDataAssets:DBJ:", "createDataAsset:PBJ:"],
339
+ "{data-asset-id}": ["getDataAsset:GQ:", "patchDataAsset:ABJ:", "updateDataAsset:UBJ:"]
306
340
  }
307
341
  }
308
342
  }
@@ -311,17 +345,17 @@ var dataConnections = apiDefToApi("data-connections", {
311
345
  api: {
312
346
  v1: {
313
347
  "data-connections": {
314
- "": ["getDataConnections:GQ:", "createDataConnection:PB:"],
348
+ "": ["getDataConnections:GQ:", "createDataConnection:PBJ:"],
315
349
  actions: {
316
- delete: ["deleteDataConnections:PB:"],
317
- duplicate: ["duplicateDataAConnection:PB:"],
318
- update: ["updateDataConnections:PB:"]
350
+ delete: ["deleteDataConnections:PBJ:"],
351
+ duplicate: ["duplicateDataAConnection:PBJ:"],
352
+ update: ["updateDataConnections:PBJ:"]
319
353
  },
320
354
  "{qID}": [
321
355
  "deleteDataConnection:DQ:",
322
356
  "getDataConnection:GQ:",
323
- "patchDataConnection:AQB:",
324
- "updateDataConnection:UQB:"
357
+ "patchDataConnection:AQBJ:",
358
+ "updateDataConnection:UQBJ:"
325
359
  ]
326
360
  }
327
361
  }
@@ -334,8 +368,8 @@ var dataCredentials = apiDefToApi("data-credentials", {
334
368
  "{qID}": [
335
369
  "deleteDataCredential:DQ:",
336
370
  "getDataCredential:GQ:",
337
- "patchDataCredential:AQB:",
338
- "updateDataCredential:UQB:"
371
+ "patchDataCredential:AQBJ:",
372
+ "updateDataCredential:UQBJ:"
339
373
  ]
340
374
  }
341
375
  }
@@ -345,13 +379,13 @@ var dataFiles = apiDefToApi("data-files", {
345
379
  api: {
346
380
  v1: {
347
381
  "data-files": {
348
- "": ["getDataFiles:GQ:", "uploadDataFile:PB:"],
349
- actions: { "change-space": ["moveDataFiles:PB:"], delete: ["deleteDataFiles:PB:"] },
382
+ "": ["getDataFiles:GQ:", "uploadDataFile:PBM:"],
383
+ actions: { "change-space": ["moveDataFiles:PBJ:"], delete: ["deleteDataFiles:PBJ:"] },
350
384
  connections: { "": ["getDataFilesConnections:GQ:"], "{id}": ["getDataFileConnection:G:"] },
351
385
  quotas: ["getDataFilesQuotas:G:"],
352
386
  "{id}": {
353
- "": ["deleteDataFile:D:", "getDataFile:G:", "reuploadDataFile:UB:"],
354
- 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:"] }
355
389
  }
356
390
  }
357
391
  }
@@ -361,9 +395,9 @@ var extensions = apiDefToApi("extensions", {
361
395
  api: {
362
396
  v1: {
363
397
  extensions: {
364
- "": ["getExtensions:G:", "uploadExtension:PB:"],
398
+ "": ["getExtensions:G:", "uploadExtension:PBM:"],
365
399
  "{id}": {
366
- "": ["deleteExtension:D:", "getExtension:G:", "patchExtension:AB:"],
400
+ "": ["deleteExtension:D:", "getExtension:G:", "patchExtension:ABM:"],
367
401
  file: { "": ["downloadExtension:G:"], "{filepath}": ["downloadFileFromExtension:G:"] }
368
402
  }
369
403
  }
@@ -374,26 +408,26 @@ var glossaries = apiDefToApi("glossaries", {
374
408
  api: {
375
409
  v1: {
376
410
  glossaries: {
377
- "": ["getGlossaries:GQ:", "createGlossary:PB:"],
378
- actions: { import: ["importGlossary:PQB:"] },
411
+ "": ["getGlossaries:GQ:", "createGlossary:PBJ:"],
412
+ actions: { import: ["importGlossary:PQBJ:"] },
379
413
  "{id}": {
380
- "": ["deleteGlossary:D:", "getGlossary:G:", "patchGlossary:AB:", "updateGlossary:UB:"],
414
+ "": ["deleteGlossary:D:", "getGlossary:G:", "patchGlossary:ABJ:", "updateGlossary:UBJ:"],
381
415
  actions: { export: ["exportGlossary:G:"] },
382
416
  categories: {
383
- "": ["getGlossaryCategories:GQ:", "createGlossaryCategory:PB:"],
417
+ "": ["getGlossaryCategories:GQ:", "createGlossaryCategory:PBJ:"],
384
418
  "{categoryId}": [
385
419
  "deleteGlossaryCategory:D:",
386
420
  "getGlossaryCategory:G:",
387
- "patchGlossaryCategory:AB:",
388
- "updateGlossaryCategory:UB:"
421
+ "patchGlossaryCategory:ABJ:",
422
+ "updateGlossaryCategory:UBJ:"
389
423
  ]
390
424
  },
391
425
  terms: {
392
- "": ["getGlossaryTerms:GQ:", "createGlossaryTerm:PB:"],
426
+ "": ["getGlossaryTerms:GQ:", "createGlossaryTerm:PBJ:"],
393
427
  "{termId}": {
394
- "": ["deleteGlossaryTerm:D:", "getGlossaryTerm:G:", "patchGlossaryTerm:AB:", "updateGlossaryTerm:UB:"],
428
+ "": ["deleteGlossaryTerm:D:", "getGlossaryTerm:G:", "patchGlossaryTerm:ABJ:", "updateGlossaryTerm:UBJ:"],
395
429
  actions: { "change-status": ["changeGlossaryTermStatus:PQ:"] },
396
- links: ["getGlossaryTermLinks:GQ:", "createGlossaryTermLink:PB:"],
430
+ links: ["getGlossaryTermLinks:GQ:", "createGlossaryTermLink:PBJ:"],
397
431
  revisions: ["getGlossaryTermRevisions:GQ:"]
398
432
  }
399
433
  }
@@ -406,10 +440,10 @@ var groups = apiDefToApi("groups", {
406
440
  api: {
407
441
  v1: {
408
442
  groups: {
409
- "": ["getGroups:GQ:", "createGroup:PB:"],
410
- actions: { filter: ["filterGroups:PQB:"] },
411
- settings: ["getGroupsSettings:G:", "patchGroupsSettings:AB:"],
412
- "{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:"]
413
447
  }
414
448
  }
415
449
  }
@@ -418,11 +452,11 @@ var identityProviders = apiDefToApi("identity-providers", {
418
452
  api: {
419
453
  v1: {
420
454
  "identity-providers": {
421
- "": ["getIdps:GQ:", "createIdp:PB:"],
455
+ "": ["getIdps:GQ:", "createIdp:PBJ:"],
422
456
  ".well-known": { "metadata.json": ["getIdpWellKnownMetaData:G:"] },
423
457
  me: { meta: ["getMyIdpMeta:G:"] },
424
458
  status: ["getIdpStatuses:G:"],
425
- "{id}": ["deleteIdp:D:", "getIdp:G:", "patchIdp:AB:"]
459
+ "{id}": ["deleteIdp:D:", "getIdp:G:", "patchIdp:ABJ:"]
426
460
  }
427
461
  }
428
462
  }
@@ -432,9 +466,9 @@ var items = apiDefToApi("items", {
432
466
  v1: {
433
467
  items: {
434
468
  "": ["getItems:GQ:"],
435
- settings: ["getItemsSettings:G:", "patchItemsSettings:AB:"],
469
+ settings: ["getItemsSettings:G:", "patchItemsSettings:ABJ:"],
436
470
  "{itemId}": {
437
- "": ["deleteItem:D:", "getItem:G:", "updateItem:UB:"],
471
+ "": ["deleteItem:D:", "getItem:G:", "updateItem:UBJ:"],
438
472
  collections: ["getItemCollections:GQ:"],
439
473
  publisheditems: ["getPublishedItems:GQ:"]
440
474
  }
@@ -449,14 +483,14 @@ var licenses = apiDefToApi("licenses", {
449
483
  assignments: {
450
484
  "": ["getLicenseAssignments:GQ:"],
451
485
  actions: {
452
- add: ["addLicenseAssignments:PB:"],
453
- delete: ["deleteLicenseAssignments:PB:"],
454
- update: ["updateLicenseAssignments:PB:"]
486
+ add: ["addLicenseAssignments:PBJ:"],
487
+ delete: ["deleteLicenseAssignments:PBJ:"],
488
+ update: ["updateLicenseAssignments:PBJ:"]
455
489
  }
456
490
  },
457
491
  consumption: ["getLicenseConsumption:GQ:"],
458
492
  overview: ["getLicenseOverview:G:"],
459
- settings: ["getLicenseSettings:G:", "updateLicenseSettings:UB:"],
493
+ settings: ["getLicenseSettings:G:", "updateLicenseSettings:UBJ:"],
460
494
  status: ["getLicenseStatus:G:"]
461
495
  }
462
496
  }
@@ -470,8 +504,8 @@ var reloadTasks = apiDefToApi("reload-tasks", {
470
504
  api: {
471
505
  v1: {
472
506
  "reload-tasks": {
473
- "": ["getReloadTasks:GQ:", "createReloadTask:PB:"],
474
- "{taskId}": ["deleteReloadTask:D:", "getReloadTask:G:", "updateReloadTask:UB:"]
507
+ "": ["getReloadTasks:GQ:", "createReloadTask:PBJ:"],
508
+ "{taskId}": ["deleteReloadTask:D:", "getReloadTask:G:", "updateReloadTask:UBJ:"]
475
509
  }
476
510
  }
477
511
  }
@@ -480,7 +514,7 @@ var reloads = apiDefToApi("reloads", {
480
514
  api: {
481
515
  v1: {
482
516
  reloads: {
483
- "": ["getReloads:GQ:", "queueReload:PB:"],
517
+ "": ["getReloads:GQ:", "queueReload:PBJ:"],
484
518
  "{reloadId}": { "": ["getReload:G:"], actions: { cancel: ["cancelReload:P:"] } }
485
519
  }
486
520
  }
@@ -493,13 +527,13 @@ var spaces = apiDefToApi("spaces", {
493
527
  api: {
494
528
  v1: {
495
529
  spaces: {
496
- "": ["getSpaces:GQ:", "createSpace:PB:"],
530
+ "": ["getSpaces:GQ:", "createSpace:PBJ:"],
497
531
  types: ["getSpaceTypes:G:"],
498
532
  "{spaceId}": {
499
- "": ["deleteSpace:D:", "getSpace:G:", "patchSpace:AB:", "updateSpace:UB:"],
533
+ "": ["deleteSpace:D:", "getSpace:G:", "patchSpace:ABJ:", "updateSpace:UBJ:"],
500
534
  assignments: {
501
- "": ["getSpaceAssignments:GQ:", "createSpaceAssignment:PB:"],
502
- "{assignmentId}": ["deleteSpaceAssignment:D:", "getSpaceAssignment:G:", "updateSpaceAssignment:UB:"]
535
+ "": ["getSpaceAssignments:GQ:", "createSpaceAssignment:PBJ:"],
536
+ "{assignmentId}": ["deleteSpaceAssignment:D:", "getSpaceAssignment:G:", "updateSpaceAssignment:UBJ:"]
503
537
  }
504
538
  }
505
539
  }
@@ -510,7 +544,7 @@ var tempContents = apiDefToApi("temp-contents", {
510
544
  api: {
511
545
  v1: {
512
546
  "temp-contents": {
513
- "": ["uploadTempFile:PQB:"],
547
+ "": ["uploadTempFile:PQBO:"],
514
548
  "{id}": { "": ["downloadTempFile:GQ:"], details: ["getTempFileDetails:G:"] }
515
549
  }
516
550
  }
@@ -520,11 +554,11 @@ var tenants = apiDefToApi("tenants", {
520
554
  api: {
521
555
  v1: {
522
556
  tenants: {
523
- "": ["createTenant:PB:"],
557
+ "": ["createTenant:PBJ:"],
524
558
  me: ["getMyTenant:G:"],
525
559
  "{tenantId}": {
526
- "": ["getTenant:G:", "patchTenant:AB:"],
527
- actions: { deactivate: ["deactivateTenant:PB:"], reactivate: ["reactivateTenant:PB:"] }
560
+ "": ["getTenant:G:", "patchTenant:ABJ:"],
561
+ actions: { deactivate: ["deactivateTenant:PBJ:"], reactivate: ["reactivateTenant:PBJ:"] }
528
562
  }
529
563
  }
530
564
  }
@@ -534,9 +568,9 @@ var themes = apiDefToApi("themes", {
534
568
  api: {
535
569
  v1: {
536
570
  themes: {
537
- "": ["getThemes:G:", "uploadTheme:PB:"],
571
+ "": ["getThemes:G:", "uploadTheme:PBM:"],
538
572
  "{id}": {
539
- "": ["deleteTheme:D:", "getTheme:G:", "patchTheme:AB:"],
573
+ "": ["deleteTheme:D:", "getTheme:G:", "patchTheme:ABM:"],
540
574
  file: { "": ["downloadTheme:G:"], "{filepath}": ["downloadFileFromTheme:G:"] }
541
575
  }
542
576
  }
@@ -548,9 +582,9 @@ var transports = apiDefToApi("transports", {
548
582
  v1: {
549
583
  transports: {
550
584
  "email-config": {
551
- "": ["deleteEmailConfig:D:", "getEmailConfig:G:", "patchEmailConfig:AB:"],
585
+ "": ["deleteEmailConfig:D:", "getEmailConfig:G:", "patchEmailConfig:ABJ:"],
552
586
  actions: {
553
- "send-test-email": ["sendTestEmail:PB:"],
587
+ "send-test-email": ["sendTestEmail:PBJ:"],
554
588
  validate: ["validateEmailConfig:P:"],
555
589
  "verify-connection": ["verifyEmailConfigConnection:P:"]
556
590
  }
@@ -563,11 +597,11 @@ var users = apiDefToApi("users", {
563
597
  api: {
564
598
  v1: {
565
599
  users: {
566
- "": ["getUsers:GQ:", "createUser:PB:"],
567
- 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:"] },
568
602
  me: ["getMyUser:G:"],
569
603
  metadata: ["getUsersMetadata:G:"],
570
- "{userId}": ["deleteUser:D:", "getUser:GQ:", "patchUser:AB:"]
604
+ "{userId}": ["deleteUser:D:", "getUser:GQ:", "patchUser:ABJ:"]
571
605
  }
572
606
  }
573
607
  }
@@ -576,8 +610,8 @@ var webIntegrations = apiDefToApi("web-integrations", {
576
610
  api: {
577
611
  v1: {
578
612
  "web-integrations": {
579
- "": ["getWebIntegrations:GQ:", "createWebIntegration:PB:"],
580
- "{id}": ["deleteWebIntegration:D:", "getWebIntegration:G:", "patchWebIntegration:AB:"]
613
+ "": ["getWebIntegrations:GQ:", "createWebIntegration:PBJ:"],
614
+ "{id}": ["deleteWebIntegration:D:", "getWebIntegration:G:", "patchWebIntegration:ABJ:"]
581
615
  }
582
616
  }
583
617
  }
@@ -587,8 +621,8 @@ var webNotifications = apiDefToApi("web-notifications", {
587
621
  v1: {
588
622
  "web-notifications": {
589
623
  "": ["getNotifications:GQ:"],
590
- all: ["deleteNotifications:D:", "patchNotifications:AB:"],
591
- "{notificationId}": ["deleteNotification:D:", "getNotification:G:", "patchNotification:AB:"]
624
+ all: ["deleteNotifications:D:", "patchNotifications:ABJ:"],
625
+ "{notificationId}": ["deleteNotification:D:", "getNotification:G:", "patchNotification:ABJ:"]
592
626
  }
593
627
  }
594
628
  }
@@ -597,10 +631,10 @@ var webhooks = apiDefToApi("webhooks", {
597
631
  api: {
598
632
  v1: {
599
633
  webhooks: {
600
- "": ["getWebhooks:GQ:", "createWebhook:PB:"],
634
+ "": ["getWebhooks:GQ:", "createWebhook:PBJ:"],
601
635
  "event-types": ["getWebhookEventTypes:G:"],
602
636
  "{id}": {
603
- "": ["deleteWebhook:D:", "getWebhook:G:", "patchWebhook:AB:", "updateWebhook:UB:"],
637
+ "": ["deleteWebhook:D:", "getWebhook:G:", "patchWebhook:ABJ:", "updateWebhook:UBJ:"],
604
638
  deliveries: {
605
639
  "": ["getWebhookDeliveries:GQ:"],
606
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-NALKLKZS.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;
package/items.d.mts CHANGED
@@ -18,8 +18,7 @@ type ItemsSettingsPatch = {
18
18
  op: "replace";
19
19
  /** Field of Settings to be patched (updated). */
20
20
  path: "/usageMetricsEnabled";
21
- /** The value to be used within the operations.
22
- // */
21
+ /** The value to be used within the operations. */
23
22
  value: boolean;
24
23
  }[];
25
24
  type ItemsSettingsResponseBody = {
@@ -235,8 +234,7 @@ declare const getItems: (query: {
235
234
  name?: string | undefined;
236
235
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
237
236
  next?: string | undefined;
238
- /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time).
239
- // */
237
+ /** If set to true, the user's available actions for each item will not be evaluated meaning the actions-array will be omitted from the response (reduces response time). */
240
238
  noActions?: boolean | undefined;
241
239
  /** User's unique identifier. */
242
240
  notCreatedByUserId?: string | undefined;
@@ -261,7 +259,7 @@ declare const getItems: (query: {
261
259
  /** Whether or not to return items in a shared space. */
262
260
  shared?: boolean | undefined;
263
261
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
264
- sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
262
+ sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
265
263
  /** The space's unique identifier (supports \'personal\' as spaceId). */
266
264
  spaceId?: string | undefined;
267
265
  /** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
@@ -297,6 +295,7 @@ type GetItemsSettingsHttpError = {
297
295
  };
298
296
  /**
299
297
  * Updates the settings provided in the patch body.
298
+ *
300
299
  * @param body an object with the body content
301
300
  * @throws PatchItemsSettingsHttpError
302
301
  */
@@ -382,7 +381,7 @@ declare const getItemCollections: (itemId: string, query: {
382
381
  /** The case-insensitive string used to search for a resource by name or description. */
383
382
  query?: string | undefined;
384
383
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
385
- sort?: "+name" | "+createdAt" | "+updatedAt" | "-name" | "-createdAt" | "-updatedAt" | undefined;
384
+ sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
386
385
  /** The case-sensitive string used to search for a collection by type. */
387
386
  type?: CollectionTypes | undefined;
388
387
  }, options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
@@ -449,6 +448,7 @@ interface ItemsAPI {
449
448
  getItemsSettings: typeof getItemsSettings;
450
449
  /**
451
450
  * Updates the settings provided in the patch body.
451
+ *
452
452
  * @param body an object with the body content
453
453
  * @throws PatchItemsSettingsHttpError
454
454
  */