@qlik/api 0.0.14 → 0.0.15

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 (98) hide show
  1. package/api-keys.js +10 -10
  2. package/api-keys.mjs +2 -2
  3. package/apps.d.mts +20 -10
  4. package/apps.d.ts +20 -10
  5. package/apps.js +46 -46
  6. package/apps.mjs +2 -2
  7. package/audits.d.mts +0 -1
  8. package/audits.d.ts +0 -1
  9. package/audits.js +9 -9
  10. package/audits.mjs +2 -2
  11. package/auth.js +3 -3
  12. package/auth.mjs +2 -2
  13. package/automations.js +21 -21
  14. package/automations.mjs +2 -2
  15. package/brands.js +15 -15
  16. package/brands.mjs +2 -2
  17. package/chunks/{SEXEAWEC.js → 2YWCEGTS.js} +3 -3
  18. package/chunks/34ZKUFEA.js +41 -0
  19. package/chunks/{VCYQUP4Y.mjs → 3YV6X7S6.mjs} +1 -1
  20. package/chunks/{ICTODCOL.js → 4WHZ4EIW.js} +2 -2
  21. package/chunks/{M7UTYYGM.mjs → 6AD3HYSF.mjs} +1 -1
  22. package/chunks/{3INB42LZ.mjs → 6WX5AGKQ.mjs} +1 -1
  23. package/chunks/{JYRPLJUL.js → B4VPD3ZT.js} +11 -11
  24. package/chunks/BM4OSDRZ.js +17 -0
  25. package/chunks/{JZOX7DKF.mjs → BYD63JCG.mjs} +43 -41
  26. package/chunks/{H32EGPZN.mjs → DCXUEDOW.mjs} +1 -1
  27. package/chunks/{X474LM7J.mjs → EHAANYDL.mjs} +3 -3
  28. package/chunks/{3SBSHHRV.mjs → HHOVS7QC.mjs} +5 -5
  29. package/chunks/{IJNQAGVX.mjs → HOCTJESP.mjs} +70 -4
  30. package/chunks/{HHMKNG2O.js → MTAQE4WC.js} +75 -9
  31. package/chunks/{CX7TY2FM.mjs → O4EAKEIN.mjs} +1 -1
  32. package/chunks/{WM2VCN4G.js → OPRGGO4C.js} +1 -1
  33. package/chunks/{SMKHFJJF.js → PLOSYUG2.js} +4 -4
  34. package/chunks/{J3ZWASEK.mjs → UKVTBYP6.mjs} +1 -1
  35. package/chunks/{TH75GYUY.js → URIW2U5M.js} +3 -3
  36. package/chunks/{6KX2ETIK.js → WOYJLK4Y.js} +43 -41
  37. package/collections.js +14 -14
  38. package/collections.mjs +2 -2
  39. package/csp-origins.js +9 -9
  40. package/csp-origins.mjs +2 -2
  41. package/data-assets.js +8 -8
  42. package/data-assets.mjs +2 -2
  43. package/data-connections.js +12 -12
  44. package/data-connections.mjs +2 -2
  45. package/data-credentials.js +7 -7
  46. package/data-credentials.mjs +2 -2
  47. package/data-files.js +15 -15
  48. package/data-files.mjs +2 -2
  49. package/docs/examples/open-without-data.md +40 -0
  50. package/docs/examples.md +1 -0
  51. package/docs/qix.md +21 -2
  52. package/extensions.js +10 -10
  53. package/extensions.mjs +2 -2
  54. package/glossaries.js +27 -27
  55. package/glossaries.mjs +2 -2
  56. package/groups.js +11 -11
  57. package/groups.mjs +2 -2
  58. package/identity-providers.js +11 -11
  59. package/identity-providers.mjs +2 -2
  60. package/index.js +8 -8
  61. package/index.mjs +4 -4
  62. package/items.js +11 -11
  63. package/items.mjs +2 -2
  64. package/licenses.js +12 -12
  65. package/licenses.mjs +2 -2
  66. package/package.json +3 -3
  67. package/qix.d.mts +6 -1
  68. package/qix.d.ts +6 -1
  69. package/qix.js +3 -3
  70. package/qix.mjs +2 -2
  71. package/quotas.js +5 -5
  72. package/quotas.mjs +2 -2
  73. package/reload-tasks.js +8 -8
  74. package/reload-tasks.mjs +2 -2
  75. package/reloads.js +7 -7
  76. package/reloads.mjs +2 -2
  77. package/roles.js +5 -5
  78. package/roles.mjs +2 -2
  79. package/spaces.js +15 -15
  80. package/spaces.mjs +2 -2
  81. package/temp-contents.js +6 -6
  82. package/temp-contents.mjs +2 -2
  83. package/tenants.js +9 -9
  84. package/tenants.mjs +2 -2
  85. package/themes.js +10 -10
  86. package/themes.mjs +2 -2
  87. package/transports.js +9 -9
  88. package/transports.mjs +2 -2
  89. package/users.js +13 -13
  90. package/users.mjs +2 -2
  91. package/web-integrations.js +8 -8
  92. package/web-integrations.mjs +2 -2
  93. package/web-notifications.js +9 -9
  94. package/web-notifications.mjs +2 -2
  95. package/webhooks.js +13 -13
  96. package/webhooks.mjs +2 -2
  97. package/chunks/GMCMKY65.js +0 -41
  98. package/chunks/ME4LNBI3.js +0 -17
package/data-files.js CHANGED
@@ -1,68 +1,68 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-files.ts
9
- var getDataFiles = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
9
+ var getDataFiles = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/data-files",
12
12
  query,
13
13
  options
14
14
  });
15
- var uploadDataFile = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
15
+ var uploadDataFile = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/data-files",
18
18
  body,
19
19
  contentType: "multipart/form-data",
20
20
  options
21
21
  });
22
- var moveDataFiles = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
22
+ var moveDataFiles = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/data-files/actions/change-space",
25
25
  body,
26
26
  contentType: "application/json",
27
27
  options
28
28
  });
29
- var deleteDataFiles = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
29
+ var deleteDataFiles = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
30
30
  method: "post",
31
31
  pathTemplate: "/api/v1/data-files/actions/delete",
32
32
  body,
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var getDataFilesConnections = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
36
+ var getDataFilesConnections = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/data-files/connections",
39
39
  query,
40
40
  options
41
41
  });
42
- var getDataFileConnection = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
42
+ var getDataFileConnection = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
43
43
  method: "get",
44
44
  pathTemplate: "/api/v1/data-files/connections/{id}",
45
45
  pathVariables: { id },
46
46
  options
47
47
  });
48
- var getDataFilesQuotas = async (options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
48
+ var getDataFilesQuotas = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/data-files/quotas",
51
51
  options
52
52
  });
53
- var deleteDataFile = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
53
+ var deleteDataFile = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
54
54
  method: "delete",
55
55
  pathTemplate: "/api/v1/data-files/{id}",
56
56
  pathVariables: { id },
57
57
  options
58
58
  });
59
- var getDataFile = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
59
+ var getDataFile = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
60
60
  method: "get",
61
61
  pathTemplate: "/api/v1/data-files/{id}",
62
62
  pathVariables: { id },
63
63
  options
64
64
  });
65
- var reuploadDataFile = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
65
+ var reuploadDataFile = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
66
66
  method: "put",
67
67
  pathTemplate: "/api/v1/data-files/{id}",
68
68
  pathVariables: { id },
@@ -70,7 +70,7 @@ var reuploadDataFile = async (id, body, options) => _TH75GYUYjs.invokeFetch.call
70
70
  contentType: "multipart/form-data",
71
71
  options
72
72
  });
73
- var changeDataFileOwner = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
73
+ var changeDataFileOwner = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
74
74
  method: "post",
75
75
  pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
76
76
  pathVariables: { id },
@@ -78,7 +78,7 @@ var changeDataFileOwner = async (id, body, options) => _TH75GYUYjs.invokeFetch.c
78
78
  contentType: "application/json",
79
79
  options
80
80
  });
81
- var moveDataFile = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "data-files", {
81
+ var moveDataFile = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "data-files", {
82
82
  method: "post",
83
83
  pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
84
84
  pathVariables: { id },
@@ -87,7 +87,7 @@ var moveDataFile = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(voi
87
87
  options
88
88
  });
89
89
  function clearCache() {
90
- return _TH75GYUYjs.clearApiCache.call(void 0, "data-files");
90
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "data-files");
91
91
  }
92
92
  var dataFilesExport = {
93
93
  getDataFiles,
package/data-files.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-files.ts
@@ -0,0 +1,40 @@
1
+ # Create an app and add some data
2
+
3
+ ◁ [Back to examples](../examples.md)
4
+
5
+ This examples shows how to:
6
+
7
+ - Open an app without data
8
+
9
+ Sometimes when apps are big they open slowly in qix engine and if you only want to read or write some metadata in the app it's faster to open the app without the data.
10
+
11
+ ```ts
12
+ import { apps, auth, qix } from "@qlik/api";
13
+
14
+ const hostConfig = {
15
+ host: "your-tenant.region.qlikcloud.com",
16
+ authType: "apikey",
17
+ apiKey: "<api-key>",
18
+ };
19
+
20
+ auth.setDefaultHostConfig(hostConfig);
21
+
22
+ async function main() {
23
+ try {
24
+ const appId = "<app-id>"; // <- replace this with an appid
25
+
26
+ const session = qix.openAppSession({ appId, withoutData: true });
27
+ const app = await session.getDoc();
28
+ const appLayout = await app.getLayout();
29
+ console.log(appLayout);
30
+ } catch (e) {
31
+ console.error(e);
32
+ } finally {
33
+ session.close();
34
+ }
35
+ }
36
+
37
+ await main();
38
+ ```
39
+
40
+ ◁ [Back to examples](../examples.md)
package/docs/examples.md CHANGED
@@ -10,3 +10,4 @@ The code in the examples use ES Module Syntax. It is possible to use CommonJS fo
10
10
  - [Show Sheet List in an app](./examples/show-sheet-list.md)
11
11
  - [Create an app](./examples/create-app.md)
12
12
  - [Create session app](./examples/create-session-app.md)
13
+ - [Open app without data](./examples/open-without-data.md)
package/docs/qix.md CHANGED
@@ -20,6 +20,23 @@ The `@qlik/api/qix` module gives you a fully typed API to the QIX engine and to
20
20
 
21
21
  When a session gets a suspend event `@qlik/api` will automatically handle the suspend/resume logic and attempt to re-connect to the same engine session. Hopefully a user will never even notice that the websocket was closed for a little while.
22
22
 
23
+ ## The App session
24
+
25
+ An app session in qix means a websocket connected to one app by one user in qix engine.
26
+
27
+ ```js
28
+ qix.openAppSession({ ...appSessionProps });
29
+ ```
30
+
31
+ The app sesssion settings have the following properties.
32
+
33
+ - `appId` - Required string to open an App
34
+ - `identity` - Optional string to open an individual session to the same app that is different from the default. Useful if different selection states are needed simultaneously.
35
+ - `hostConfig` - Optional Hostconfig to connect to a URL and authenticate an app session. Only needed if default HostConfig has not been set, or if connection should be different from the default.
36
+ - `withoutData` - Optional boolean, set to true if app should be opened without loading the data blob
37
+
38
+ **_note_** - when using `withoutData: true` and no `identity` the websocket url will include `/identity/no_data` to prevent that engine throws error "App is opened in a different mode".
39
+
23
40
  ## Usage example
24
41
 
25
42
  ```ts
@@ -28,8 +45,10 @@ import { setDefaultHostConfig } from "@qlik/api/auth";
28
45
 
29
46
  setDefaultHostConfig({ ... });
30
47
 
31
- // sets up a websocket to engine
32
- appSession = openAppSession({ appId: "<app-id>" });
48
+ // sets up a session to a Qix Engine App
49
+ appSession = openAppSession({ appId: <app-id>, identity: <empty-or-anystring>, hostConfig: <only-if-different-from-default>, withoutData: <default to false>" });
50
+ // or use the shorthand
51
+ // appSession = openAppSession(<app-id>);
33
52
 
34
53
  // get the "qix document (qlik app)"
35
54
  const app = await appSession.getDoc();
package/extensions.js CHANGED
@@ -1,36 +1,36 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/extensions.ts
9
- var getExtensions = async (options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
9
+ var getExtensions = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/extensions",
12
12
  options
13
13
  });
14
- var uploadExtension = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
14
+ var uploadExtension = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/extensions",
17
17
  body,
18
18
  contentType: "multipart/form-data",
19
19
  options
20
20
  });
21
- var deleteExtension = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
21
+ var deleteExtension = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
22
22
  method: "delete",
23
23
  pathTemplate: "/api/v1/extensions/{id}",
24
24
  pathVariables: { id },
25
25
  options
26
26
  });
27
- var getExtension = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
27
+ var getExtension = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
28
28
  method: "get",
29
29
  pathTemplate: "/api/v1/extensions/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var patchExtension = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
33
+ var patchExtension = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
34
34
  method: "patch",
35
35
  pathTemplate: "/api/v1/extensions/{id}",
36
36
  pathVariables: { id },
@@ -38,20 +38,20 @@ var patchExtension = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(v
38
38
  contentType: "multipart/form-data",
39
39
  options
40
40
  });
41
- var downloadExtension = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
41
+ var downloadExtension = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
42
42
  method: "get",
43
43
  pathTemplate: "/api/v1/extensions/{id}/file",
44
44
  pathVariables: { id },
45
45
  options
46
46
  });
47
- var downloadFileFromExtension = async (id, filepath, options) => _TH75GYUYjs.invokeFetch.call(void 0, "extensions", {
47
+ var downloadFileFromExtension = async (id, filepath, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "extensions", {
48
48
  method: "get",
49
49
  pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
50
50
  pathVariables: { id, filepath },
51
51
  options
52
52
  });
53
53
  function clearCache() {
54
- return _TH75GYUYjs.clearApiCache.call(void 0, "extensions");
54
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "extensions");
55
55
  }
56
56
  var extensionsExport = {
57
57
  getExtensions,
package/extensions.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/extensions.ts
package/glossaries.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/glossaries.ts
9
- var getGlossaries = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
9
+ var getGlossaries = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/glossaries",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGlossary = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
15
+ var createGlossary = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/glossaries",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var importGlossary = async (query, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
22
+ var importGlossary = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/glossaries/actions/import",
25
25
  query,
@@ -27,19 +27,19 @@ var importGlossary = async (query, body, options) => _TH75GYUYjs.invokeFetch.cal
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var deleteGlossary = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
30
+ var deleteGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
31
31
  method: "delete",
32
32
  pathTemplate: "/api/v1/glossaries/{id}",
33
33
  pathVariables: { id },
34
34
  options
35
35
  });
36
- var getGlossary = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
36
+ var getGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/glossaries/{id}",
39
39
  pathVariables: { id },
40
40
  options
41
41
  });
42
- var patchGlossary = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
42
+ var patchGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
43
43
  method: "patch",
44
44
  pathTemplate: "/api/v1/glossaries/{id}",
45
45
  pathVariables: { id },
@@ -47,7 +47,7 @@ var patchGlossary = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(vo
47
47
  contentType: "application/json",
48
48
  options
49
49
  });
50
- var updateGlossary = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
50
+ var updateGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
51
51
  method: "put",
52
52
  pathTemplate: "/api/v1/glossaries/{id}",
53
53
  pathVariables: { id },
@@ -55,20 +55,20 @@ var updateGlossary = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(v
55
55
  contentType: "application/json",
56
56
  options
57
57
  });
58
- var exportGlossary = async (id, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
58
+ var exportGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
59
59
  method: "get",
60
60
  pathTemplate: "/api/v1/glossaries/{id}/actions/export",
61
61
  pathVariables: { id },
62
62
  options
63
63
  });
64
- var getGlossaryCategories = async (id, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
64
+ var getGlossaryCategories = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
65
65
  method: "get",
66
66
  pathTemplate: "/api/v1/glossaries/{id}/categories",
67
67
  pathVariables: { id },
68
68
  query,
69
69
  options
70
70
  });
71
- var createGlossaryCategory = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
71
+ var createGlossaryCategory = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
72
72
  method: "post",
73
73
  pathTemplate: "/api/v1/glossaries/{id}/categories",
74
74
  pathVariables: { id },
@@ -76,19 +76,19 @@ var createGlossaryCategory = async (id, body, options) => _TH75GYUYjs.invokeFetc
76
76
  contentType: "application/json",
77
77
  options
78
78
  });
79
- var deleteGlossaryCategory = async (id, categoryId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
79
+ var deleteGlossaryCategory = async (id, categoryId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
80
80
  method: "delete",
81
81
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
82
82
  pathVariables: { id, categoryId },
83
83
  options
84
84
  });
85
- var getGlossaryCategory = async (id, categoryId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
85
+ var getGlossaryCategory = async (id, categoryId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
86
86
  method: "get",
87
87
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
88
88
  pathVariables: { id, categoryId },
89
89
  options
90
90
  });
91
- var patchGlossaryCategory = async (id, categoryId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
91
+ var patchGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
92
92
  method: "patch",
93
93
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
94
94
  pathVariables: { id, categoryId },
@@ -96,7 +96,7 @@ var patchGlossaryCategory = async (id, categoryId, body, options) => _TH75GYUYjs
96
96
  contentType: "application/json",
97
97
  options
98
98
  });
99
- var updateGlossaryCategory = async (id, categoryId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
99
+ var updateGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
100
100
  method: "put",
101
101
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
102
102
  pathVariables: { id, categoryId },
@@ -104,14 +104,14 @@ var updateGlossaryCategory = async (id, categoryId, body, options) => _TH75GYUYj
104
104
  contentType: "application/json",
105
105
  options
106
106
  });
107
- var getGlossaryTerms = async (id, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
107
+ var getGlossaryTerms = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
108
108
  method: "get",
109
109
  pathTemplate: "/api/v1/glossaries/{id}/terms",
110
110
  pathVariables: { id },
111
111
  query,
112
112
  options
113
113
  });
114
- var createGlossaryTerm = async (id, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
114
+ var createGlossaryTerm = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
115
115
  method: "post",
116
116
  pathTemplate: "/api/v1/glossaries/{id}/terms",
117
117
  pathVariables: { id },
@@ -119,19 +119,19 @@ var createGlossaryTerm = async (id, body, options) => _TH75GYUYjs.invokeFetch.ca
119
119
  contentType: "application/json",
120
120
  options
121
121
  });
122
- var deleteGlossaryTerm = async (id, termId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
122
+ var deleteGlossaryTerm = async (id, termId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
123
123
  method: "delete",
124
124
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
125
125
  pathVariables: { id, termId },
126
126
  options
127
127
  });
128
- var getGlossaryTerm = async (id, termId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
128
+ var getGlossaryTerm = async (id, termId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
129
129
  method: "get",
130
130
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
131
131
  pathVariables: { id, termId },
132
132
  options
133
133
  });
134
- var patchGlossaryTerm = async (id, termId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
134
+ var patchGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
135
135
  method: "patch",
136
136
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
137
137
  pathVariables: { id, termId },
@@ -139,7 +139,7 @@ var patchGlossaryTerm = async (id, termId, body, options) => _TH75GYUYjs.invokeF
139
139
  contentType: "application/json",
140
140
  options
141
141
  });
142
- var updateGlossaryTerm = async (id, termId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
142
+ var updateGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
143
143
  method: "put",
144
144
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
145
145
  pathVariables: { id, termId },
@@ -147,21 +147,21 @@ var updateGlossaryTerm = async (id, termId, body, options) => _TH75GYUYjs.invoke
147
147
  contentType: "application/json",
148
148
  options
149
149
  });
150
- var changeGlossaryTermStatus = async (id, termId, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
150
+ var changeGlossaryTermStatus = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
151
151
  method: "post",
152
152
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
153
153
  pathVariables: { id, termId },
154
154
  query,
155
155
  options
156
156
  });
157
- var getGlossaryTermLinks = async (id, termId, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
157
+ var getGlossaryTermLinks = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
158
158
  method: "get",
159
159
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
160
160
  pathVariables: { id, termId },
161
161
  query,
162
162
  options
163
163
  });
164
- var createGlossaryTermLink = async (id, termId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
164
+ var createGlossaryTermLink = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
165
165
  method: "post",
166
166
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
167
167
  pathVariables: { id, termId },
@@ -169,7 +169,7 @@ var createGlossaryTermLink = async (id, termId, body, options) => _TH75GYUYjs.in
169
169
  contentType: "application/json",
170
170
  options
171
171
  });
172
- var getGlossaryTermRevisions = async (id, termId, query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "glossaries", {
172
+ var getGlossaryTermRevisions = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
173
173
  method: "get",
174
174
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
175
175
  pathVariables: { id, termId },
@@ -177,7 +177,7 @@ var getGlossaryTermRevisions = async (id, termId, query, options) => _TH75GYUYjs
177
177
  options
178
178
  });
179
179
  function clearCache() {
180
- return _TH75GYUYjs.clearApiCache.call(void 0, "glossaries");
180
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "glossaries");
181
181
  }
182
182
  var glossariesExport = {
183
183
  getGlossaries,
package/glossaries.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _TH75GYUYjs = require('./chunks/TH75GYUY.js');
5
- require('./chunks/SEXEAWEC.js');
4
+ var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
+ require('./chunks/2YWCEGTS.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/groups.ts
9
- var getGroups = async (query, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
9
+ var getGroups = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/groups",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGroup = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
15
+ var createGroup = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/groups",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var filterGroups = async (query, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
22
+ var filterGroups = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/groups/actions/filter",
25
25
  query,
@@ -27,31 +27,31 @@ var filterGroups = async (query, body, options) => _TH75GYUYjs.invokeFetch.call(
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var getGroupsSettings = async (options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
30
+ var getGroupsSettings = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
31
31
  method: "get",
32
32
  pathTemplate: "/api/v1/groups/settings",
33
33
  options
34
34
  });
35
- var patchGroupsSettings = async (body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
35
+ var patchGroupsSettings = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
36
36
  method: "patch",
37
37
  pathTemplate: "/api/v1/groups/settings",
38
38
  body,
39
39
  contentType: "application/json",
40
40
  options
41
41
  });
42
- var deleteGroup = async (groupId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
42
+ var deleteGroup = async (groupId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
43
43
  method: "delete",
44
44
  pathTemplate: "/api/v1/groups/{groupId}",
45
45
  pathVariables: { groupId },
46
46
  options
47
47
  });
48
- var getGroup = async (groupId, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
48
+ var getGroup = async (groupId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/groups/{groupId}",
51
51
  pathVariables: { groupId },
52
52
  options
53
53
  });
54
- var patchGroup = async (groupId, body, options) => _TH75GYUYjs.invokeFetch.call(void 0, "groups", {
54
+ var patchGroup = async (groupId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
55
55
  method: "patch",
56
56
  pathTemplate: "/api/v1/groups/{groupId}",
57
57
  pathVariables: { groupId },
@@ -60,7 +60,7 @@ var patchGroup = async (groupId, body, options) => _TH75GYUYjs.invokeFetch.call(
60
60
  options
61
61
  });
62
62
  function clearCache() {
63
- return _TH75GYUYjs.clearApiCache.call(void 0, "groups");
63
+ return _URIW2U5Mjs.clearApiCache.call(void 0, "groups");
64
64
  }
65
65
  var groupsExport = {
66
66
  getGroups,
package/groups.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VCYQUP4Y.mjs";
5
- import "./chunks/X474LM7J.mjs";
4
+ } from "./chunks/3YV6X7S6.mjs";
5
+ import "./chunks/EHAANYDL.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/groups.ts