@qlik/api 0.0.8 → 0.0.10

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 (157) hide show
  1. package/api-keys.d.mts +10 -1
  2. package/api-keys.d.ts +10 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +134 -8
  6. package/apps.d.ts +134 -8
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +14 -1
  10. package/audits.d.ts +14 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +9 -1
  16. package/automations.d.ts +9 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +19 -4
  20. package/brands.d.ts +19 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
  24. package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
  25. package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
  26. package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
  27. package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
  28. package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
  29. package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
  32. package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
  33. package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
  34. package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
  35. package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
  36. package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
  37. package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
  38. package/chunks/RMNAO4DP.js +17 -0
  39. package/chunks/SUYUL6MB.js +41 -0
  40. package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
  41. package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
  42. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  43. package/collections.d.mts +34 -22
  44. package/collections.d.ts +34 -22
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +13 -2
  56. package/data-connections.d.ts +13 -2
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +6 -1
  60. package/data-credentials.d.ts +6 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +7 -1
  64. package/data-files.d.ts +7 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +13 -1
  68. package/extensions.d.ts +13 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +51 -1
  74. package/glossaries.d.ts +51 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +40 -1
  78. package/groups.d.ts +40 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +43 -1
  82. package/identity-providers.d.ts +43 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +33 -2
  90. package/items.d.ts +33 -2
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +8 -5
  94. package/licenses.d.ts +8 -5
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +4 -1
  103. package/quotas.d.ts +4 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +7 -4
  107. package/reload-tasks.d.ts +7 -4
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +10 -1
  111. package/reloads.d.ts +10 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +11 -2
  115. package/roles.d.ts +11 -2
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +38 -6
  119. package/spaces.d.ts +38 -6
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +7 -1
  123. package/temp-contents.d.ts +7 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +18 -6
  127. package/tenants.d.ts +18 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +10 -1
  131. package/themes.d.ts +10 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +21 -12
  135. package/transports.d.ts +21 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +90 -25
  139. package/users.d.ts +90 -25
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +19 -1
  143. package/web-integrations.d.ts +19 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +19 -1
  147. package/web-notifications.d.ts +19 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +4 -1
  151. package/webhooks.d.ts +4 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-XY6FVSVM.js +0 -41
  155. package/invoke-fetch-FRLO3CK6.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/qix.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import './global.types-1rNhDH7j.js';
1
+ import './global.types-TzVhFPid.js';
2
2
  import { H as HostConfig } from './auth-types-nnUcWhuU.js';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.1951.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.1958.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
@@ -9038,6 +9038,13 @@ type NativeGenericDimensionFunctions = {
9038
9038
  * Stability: *locked*
9039
9039
  */
9040
9040
  approve: () => Promise<void>;
9041
+ /**
9042
+ * Get a cyclic dimension's active field.
9043
+ * <div class=tip>This operation is only possible for cyclic dimensions.</div>
9044
+ *
9045
+ * Stability: *experimental*
9046
+ */
9047
+ getActiveField: () => Promise<number>;
9041
9048
  /**
9042
9049
  * Returns the definition of a dimension.
9043
9050
  *
@@ -9079,6 +9086,17 @@ type NativeGenericDimensionFunctions = {
9079
9086
  * Stability: *locked*
9080
9087
  */
9081
9088
  publish: () => Promise<void>;
9089
+ /**
9090
+ * Set a cyclic dimension's active field directly.
9091
+ * <div class=tip>This operation is only possible for cyclic dimensions.</div>
9092
+ *
9093
+ * Parameters:
9094
+ *
9095
+ * - `ix` - Index of the new active field.
9096
+ *
9097
+ * Stability: *experimental*
9098
+ */
9099
+ setActiveField: (ix: number) => Promise<void>;
9082
9100
  /**
9083
9101
  * Sets some properties for a dimension.
9084
9102
  *
package/qix.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkGY2TAYQHjs = require('./chunk-GY2TAYQH.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _3MHXEHLQjs = require('./chunks/3MHXEHLQ.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkGY2TAYQHjs.qix_default; exports.openAppSession = _chunkGY2TAYQHjs.openAppSession;
10
+ exports.default = _3MHXEHLQjs.qix_default; exports.openAppSession = _3MHXEHLQjs.openAppSession;
package/qix.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  openAppSession,
3
3
  qix_default
4
- } from "./chunk-YILVC32M.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/KEPPVUY3.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
  export {
8
8
  qix_default as default,
9
9
  openAppSession
package/quotas.d.mts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * A specific error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
package/quotas.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * A specific error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
package/quotas.js CHANGED
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/quotas.ts
9
- var getQuotas = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "quotas", {
9
+ var getQuotas = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "quotas", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/quotas",
12
12
  query,
13
13
  options
14
14
  });
15
- var getQuota = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "quotas", {
15
+ var getQuota = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "quotas", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/quotas/{id}",
18
18
  pathVariables: { id },
@@ -20,7 +20,7 @@ var getQuota = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(v
20
20
  options
21
21
  });
22
22
  function clearCache() {
23
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "quotas");
23
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "quotas");
24
24
  }
25
25
  var quotasExport = { getQuotas, getQuota, clearCache };
26
26
  var quotas_default = quotasExport;
package/quotas.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/quotas.ts
9
9
  var getQuotas = async (query, options) => invokeFetch("quotas", {
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Error = {
@@ -18,7 +18,8 @@ type PaginationLinks = SelfLink & {
18
18
  prev?: Href;
19
19
  };
20
20
  type PostTaskBody = TaskBase & {
21
- /** Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
21
+ /** @deprecated
22
+ * Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
22
23
  type?: "scheduled_reload";
23
24
  };
24
25
  type PutTaskBody = TaskBase & {
@@ -31,14 +32,16 @@ type SelfLink = {
31
32
  type Task = TaskBase & {
32
33
  /** The reason why the task was disabled. */
33
34
  disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
34
- /** The fortress ID of the application */
35
+ /** @deprecated
36
+ * The fortress ID of the application */
35
37
  fortressId?: string;
36
38
  /** The ID of the task. */
37
39
  id: string;
38
40
  /** The last time the task executed. */
39
41
  lastExecutionTime?: string;
40
42
  links: SelfLink;
41
- /** The reason why the task was disabled. */
43
+ /** @deprecated
44
+ * The reason why the task was disabled. */
42
45
  log?: string;
43
46
  /** The next time the task will execute. */
44
47
  nextExecutionTime?: string;
package/reload-tasks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Error = {
@@ -18,7 +18,8 @@ type PaginationLinks = SelfLink & {
18
18
  prev?: Href;
19
19
  };
20
20
  type PostTaskBody = TaskBase & {
21
- /** Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
21
+ /** @deprecated
22
+ * Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
22
23
  type?: "scheduled_reload";
23
24
  };
24
25
  type PutTaskBody = TaskBase & {
@@ -31,14 +32,16 @@ type SelfLink = {
31
32
  type Task = TaskBase & {
32
33
  /** The reason why the task was disabled. */
33
34
  disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
34
- /** The fortress ID of the application */
35
+ /** @deprecated
36
+ * The fortress ID of the application */
35
37
  fortressId?: string;
36
38
  /** The ID of the task. */
37
39
  id: string;
38
40
  /** The last time the task executed. */
39
41
  lastExecutionTime?: string;
40
42
  links: SelfLink;
41
- /** The reason why the task was disabled. */
43
+ /** @deprecated
44
+ * The reason why the task was disabled. */
42
45
  log?: string;
43
46
  /** The next time the task will execute. */
44
47
  nextExecutionTime?: string;
package/reload-tasks.js CHANGED
@@ -1,37 +1,37 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
9
- var getReloadTasks = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reload-tasks", {
9
+ var getReloadTasks = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reload-tasks", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/reload-tasks",
12
12
  query,
13
13
  options
14
14
  });
15
- var createReloadTask = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reload-tasks", {
15
+ var createReloadTask = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reload-tasks", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/reload-tasks",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var deleteReloadTask = async (taskId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reload-tasks", {
22
+ var deleteReloadTask = async (taskId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reload-tasks", {
23
23
  method: "delete",
24
24
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
25
25
  pathVariables: { taskId },
26
26
  options
27
27
  });
28
- var getReloadTask = async (taskId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reload-tasks", {
28
+ var getReloadTask = async (taskId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reload-tasks", {
29
29
  method: "get",
30
30
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
31
31
  pathVariables: { taskId },
32
32
  options
33
33
  });
34
- var updateReloadTask = async (taskId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reload-tasks", {
34
+ var updateReloadTask = async (taskId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reload-tasks", {
35
35
  method: "put",
36
36
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
37
37
  pathVariables: { taskId },
@@ -40,7 +40,7 @@ var updateReloadTask = async (taskId, body, options) => _chunkEALMXU6Sjs.invokeF
40
40
  options
41
41
  });
42
42
  function clearCache() {
43
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "reload-tasks");
43
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "reload-tasks");
44
44
  }
45
45
  var reloadTasksExport = {
46
46
  getReloadTasks,
package/reload-tasks.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
9
9
  var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
package/reloads.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Error = {
@@ -13,6 +13,9 @@ type Errors = {
13
13
  type Href = {
14
14
  href?: string;
15
15
  };
16
+ /**
17
+ * The boolean value used to present the reload is partial or not.
18
+ */
16
19
  type Partial = boolean;
17
20
  type Reload = {
18
21
  /** The ID of the app. */
@@ -58,7 +61,13 @@ type ReloadsLinks = ReloadLinks & {
58
61
  next?: Href;
59
62
  prev?: Href;
60
63
  };
64
+ /**
65
+ * The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses.
66
+ */
61
67
  type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
68
+ /**
69
+ * What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data.
70
+ */
62
71
  type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
63
72
  /**
64
73
  * Finds and returns the reloads that the user has access to.
package/reloads.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Error = {
@@ -13,6 +13,9 @@ type Errors = {
13
13
  type Href = {
14
14
  href?: string;
15
15
  };
16
+ /**
17
+ * The boolean value used to present the reload is partial or not.
18
+ */
16
19
  type Partial = boolean;
17
20
  type Reload = {
18
21
  /** The ID of the app. */
@@ -58,7 +61,13 @@ type ReloadsLinks = ReloadLinks & {
58
61
  next?: Href;
59
62
  prev?: Href;
60
63
  };
64
+ /**
65
+ * The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses.
66
+ */
61
67
  type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
68
+ /**
69
+ * What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data.
70
+ */
62
71
  type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
63
72
  /**
64
73
  * Finds and returns the reloads that the user has access to.
package/reloads.js CHANGED
@@ -1,38 +1,38 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/reloads.ts
9
- var getReloads = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reloads", {
9
+ var getReloads = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reloads", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/reloads",
12
12
  query,
13
13
  options
14
14
  });
15
- var queueReload = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reloads", {
15
+ var queueReload = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reloads", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/reloads",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getReload = async (reloadId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reloads", {
22
+ var getReload = async (reloadId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reloads", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/reloads/{reloadId}",
25
25
  pathVariables: { reloadId },
26
26
  options
27
27
  });
28
- var cancelReload = async (reloadId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "reloads", {
28
+ var cancelReload = async (reloadId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "reloads", {
29
29
  method: "post",
30
30
  pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
31
31
  pathVariables: { reloadId },
32
32
  options
33
33
  });
34
34
  function clearCache() {
35
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "reloads");
35
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "reloads");
36
36
  }
37
37
  var reloadsExport = { getReloads, queueReload, getReload, cancelReload, clearCache };
38
38
  var reloads_default = reloadsExport;
package/reloads.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/reloads.ts
9
9
  var getReloads = async (query, options) => invokeFetch("reloads", {
package/roles.d.mts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * An error object describing the error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -18,12 +21,18 @@ type Error = {
18
21
  /** Summary of the problem. */
19
22
  title: string;
20
23
  };
24
+ /**
25
+ * The error response object describing the error from the handling of an HTTP request.
26
+ */
21
27
  type Errors = {
22
28
  /** An array of errors related to the operation. */
23
29
  errors?: Error[];
24
30
  /** A unique identifier for tracing the error. */
25
31
  traceId?: string;
26
32
  };
33
+ /**
34
+ * Contains pagination links
35
+ */
27
36
  type Links = {
28
37
  /** Link to the next page of items */
29
38
  next?: {
@@ -59,7 +68,7 @@ type Role = {
59
68
  readonly createdBy?: string;
60
69
  /** Descriptive text for the role. */
61
70
  description: string;
62
- /** Indicate if this role will trigger promotion to full user in STP */
71
+ /** Indicate whether this role will trigger promotion of a user from a basic to a full user on tenants with a capacity-based subscription. Does not apply to tenants with a user-based subscription. */
63
72
  readonly fullUser?: boolean;
64
73
  /** The unique identifier for the role. */
65
74
  readonly id: string;
package/roles.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * An error object describing the error.
6
+ */
4
7
  type Error = {
5
8
  /** The error code. */
6
9
  code: string;
@@ -18,12 +21,18 @@ type Error = {
18
21
  /** Summary of the problem. */
19
22
  title: string;
20
23
  };
24
+ /**
25
+ * The error response object describing the error from the handling of an HTTP request.
26
+ */
21
27
  type Errors = {
22
28
  /** An array of errors related to the operation. */
23
29
  errors?: Error[];
24
30
  /** A unique identifier for tracing the error. */
25
31
  traceId?: string;
26
32
  };
33
+ /**
34
+ * Contains pagination links
35
+ */
27
36
  type Links = {
28
37
  /** Link to the next page of items */
29
38
  next?: {
@@ -59,7 +68,7 @@ type Role = {
59
68
  readonly createdBy?: string;
60
69
  /** Descriptive text for the role. */
61
70
  description: string;
62
- /** Indicate if this role will trigger promotion to full user in STP */
71
+ /** Indicate whether this role will trigger promotion of a user from a basic to a full user on tenants with a capacity-based subscription. Does not apply to tenants with a user-based subscription. */
63
72
  readonly fullUser?: boolean;
64
73
  /** The unique identifier for the role. */
65
74
  readonly id: string;
package/roles.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/roles.ts
9
- var getRoles = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "roles", {
9
+ var getRoles = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "roles", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/roles",
12
12
  query,
13
13
  options
14
14
  });
15
- var getRole = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "roles", {
15
+ var getRole = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "roles", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/roles/{id}",
18
18
  pathVariables: { id },
19
19
  options
20
20
  });
21
21
  function clearCache() {
22
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "roles");
22
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "roles");
23
23
  }
24
24
  var rolesExport = { getRoles, getRole, clearCache };
25
25
  var roles_default = rolesExport;
package/roles.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/roles.ts
9
9
  var getRoles = async (query, options) => invokeFetch("roles", {
package/spaces.d.mts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * The supported actions for user-created spaces like Shared or Managed spaces.
6
+ */
4
7
  type ActionName = "create" | "read" | "update" | "delete" | "publish";
5
8
  type Assignment = {
6
9
  /** The userId or groupId based on the type. */
@@ -35,6 +38,9 @@ type AssignmentCreate = {
35
38
  /** The type of assignment such as user or group */
36
39
  type: AssignmentType;
37
40
  };
41
+ /**
42
+ * The type of assignment such as user or group
43
+ */
38
44
  type AssignmentType = "user" | "group";
39
45
  type AssignmentUpdate = {
40
46
  /** The roles assigned to the assigneeId. */
@@ -52,6 +58,9 @@ type Assignments = {
52
58
  count: number;
53
59
  };
54
60
  };
61
+ /**
62
+ * An error object.
63
+ */
55
64
  type Error = {
56
65
  /** The error code. */
57
66
  code: string;
@@ -71,21 +80,26 @@ type Error = {
71
80
  title: string;
72
81
  };
73
82
  type Errors = {
74
- /** The error code. */
83
+ /** @deprecated
84
+ * The error code. */
75
85
  code?: string;
76
- /** A human-readable explanation specific to the occurrence of this problem. */
86
+ /** @deprecated
87
+ * A human-readable explanation specific to the occurrence of this problem. */
77
88
  detail?: string;
78
89
  errors?: Error[];
79
- /** Additional properties relating to the error. */
90
+ /** @deprecated
91
+ * Additional properties relating to the error. */
80
92
  meta?: unknown;
81
- /** References to the source of the error. */
93
+ /** @deprecated
94
+ * References to the source of the error. */
82
95
  source?: {
83
96
  /** The URI query parameter that caused the error. */
84
97
  parameter?: string;
85
98
  /** A JSON pointer to the property that caused the error. */
86
99
  pointer?: string;
87
100
  };
88
- /** Summary of the problem. */
101
+ /** @deprecated
102
+ * Summary of the problem. */
89
103
  title?: string;
90
104
  traceId?: string;
91
105
  };
@@ -93,8 +107,20 @@ type Link = {
93
107
  /** URL that defines the resource. */
94
108
  href: string;
95
109
  };
110
+ /**
111
+ * Supported roles by space type:
112
+ * - Shared: codeveloper, consumer, dataconsumer, facilitator, producer
113
+ * - Managed: consumer, contributor, dataconsumer, facilitator, publisher, basicconsumer
114
+ * - Data: consumer, dataconsumer, facilitator, operator, producer, publisher
115
+ */
96
116
  type RoleType = "consumer" | "contributor" | "dataconsumer" | "facilitator" | "operator" | "producer" | "publisher" | "basicconsumer" | "codeveloper";
117
+ /**
118
+ * The supported roles for Shared spaces.
119
+ */
97
120
  type SharedSpaceRoleType = "facilitator" | "consumer" | "producer" | "dataconsumer" | "codeveloper";
121
+ /**
122
+ * A space is a security context simplifying the management of access control by allowing users to control it on the containers instead of on the resources themselves.
123
+ */
98
124
  type Space = {
99
125
  /** The date and time when the space was created. */
100
126
  readonly createdAt?: string;
@@ -147,7 +173,13 @@ type SpacePatch = {
147
173
  * - ownerId: The user ID in uid format (string) of the space owner. */
148
174
  value: string;
149
175
  }[];
176
+ /**
177
+ * The name of the type.
178
+ */
150
179
  type SpaceType = "shared" | "managed" | "data";
180
+ /**
181
+ * The distinct types of spaces (shared, managed, and so on).
182
+ */
151
183
  type SpaceTypes = {
152
184
  readonly data?: SpaceType[];
153
185
  };