@qlik/api 0.0.9 → 0.0.11

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 (145) hide show
  1. package/api-keys.d.mts +9 -0
  2. package/api-keys.d.ts +9 -0
  3. package/api-keys.js +10 -10
  4. package/api-keys.mjs +2 -2
  5. package/apps.d.mts +125 -1
  6. package/apps.d.ts +125 -1
  7. package/apps.js +46 -46
  8. package/apps.mjs +2 -2
  9. package/audits.d.mts +13 -0
  10. package/audits.d.ts +13 -0
  11. package/audits.js +9 -9
  12. package/audits.mjs +2 -2
  13. package/auth.js +3 -3
  14. package/auth.mjs +2 -2
  15. package/automations.d.mts +8 -0
  16. package/automations.d.ts +8 -0
  17. package/automations.js +21 -21
  18. package/automations.mjs +2 -2
  19. package/brands.d.mts +15 -0
  20. package/brands.d.ts +15 -0
  21. package/brands.js +15 -15
  22. package/brands.mjs +2 -2
  23. package/chunks/{XY3AC335.js → 277NFGPR.js} +4 -4
  24. package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
  25. package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
  26. package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
  27. package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
  28. package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
  29. package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
  30. package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
  31. package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
  32. package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
  33. package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
  34. package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
  35. package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
  36. package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
  37. package/chunks/SPJKF5VW.js +17 -0
  38. package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
  39. package/chunks/X3YDQVZ6.js +41 -0
  40. package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
  41. package/collections.d.mts +29 -1
  42. package/collections.d.ts +29 -1
  43. package/collections.js +14 -14
  44. package/collections.mjs +2 -2
  45. package/csp-origins.js +9 -9
  46. package/csp-origins.mjs +2 -2
  47. package/data-assets.js +8 -8
  48. package/data-assets.mjs +2 -2
  49. package/data-connections.d.mts +12 -1
  50. package/data-connections.d.ts +12 -1
  51. package/data-connections.js +12 -12
  52. package/data-connections.mjs +2 -2
  53. package/data-credentials.d.mts +5 -0
  54. package/data-credentials.d.ts +5 -0
  55. package/data-credentials.js +7 -7
  56. package/data-credentials.mjs +2 -2
  57. package/data-files.d.mts +6 -0
  58. package/data-files.d.ts +6 -0
  59. package/data-files.js +15 -15
  60. package/data-files.mjs +2 -2
  61. package/extensions.d.mts +12 -0
  62. package/extensions.d.ts +12 -0
  63. package/extensions.js +10 -10
  64. package/extensions.mjs +2 -2
  65. package/glossaries.d.mts +50 -0
  66. package/glossaries.d.ts +50 -0
  67. package/glossaries.js +27 -27
  68. package/glossaries.mjs +2 -2
  69. package/groups.d.mts +39 -0
  70. package/groups.d.ts +39 -0
  71. package/groups.js +11 -11
  72. package/groups.mjs +2 -2
  73. package/identity-providers.d.mts +42 -0
  74. package/identity-providers.d.ts +42 -0
  75. package/identity-providers.js +11 -11
  76. package/identity-providers.mjs +2 -2
  77. package/index.js +8 -8
  78. package/index.mjs +4 -4
  79. package/items.d.mts +32 -1
  80. package/items.d.ts +32 -1
  81. package/items.js +11 -11
  82. package/items.mjs +2 -2
  83. package/licenses.d.mts +7 -4
  84. package/licenses.d.ts +7 -4
  85. package/licenses.js +12 -12
  86. package/licenses.mjs +2 -2
  87. package/package.json +1 -1
  88. package/qix.d.mts +1 -1
  89. package/qix.d.ts +1 -1
  90. package/qix.js +3 -3
  91. package/qix.mjs +2 -2
  92. package/quotas.d.mts +3 -0
  93. package/quotas.d.ts +3 -0
  94. package/quotas.js +5 -5
  95. package/quotas.mjs +2 -2
  96. package/reload-tasks.d.mts +6 -3
  97. package/reload-tasks.d.ts +6 -3
  98. package/reload-tasks.js +8 -8
  99. package/reload-tasks.mjs +2 -2
  100. package/reloads.d.mts +9 -0
  101. package/reloads.d.ts +9 -0
  102. package/reloads.js +7 -7
  103. package/reloads.mjs +2 -2
  104. package/roles.d.mts +10 -1
  105. package/roles.d.ts +10 -1
  106. package/roles.js +5 -5
  107. package/roles.mjs +2 -2
  108. package/spaces.d.mts +37 -5
  109. package/spaces.d.ts +37 -5
  110. package/spaces.js +15 -15
  111. package/spaces.mjs +2 -2
  112. package/temp-contents.d.mts +6 -0
  113. package/temp-contents.d.ts +6 -0
  114. package/temp-contents.js +6 -6
  115. package/temp-contents.mjs +2 -2
  116. package/tenants.d.mts +12 -0
  117. package/tenants.d.ts +12 -0
  118. package/tenants.js +9 -9
  119. package/tenants.mjs +2 -2
  120. package/themes.d.mts +9 -0
  121. package/themes.d.ts +9 -0
  122. package/themes.js +10 -10
  123. package/themes.mjs +2 -2
  124. package/transports.d.mts +9 -0
  125. package/transports.d.ts +9 -0
  126. package/transports.js +9 -9
  127. package/transports.mjs +2 -2
  128. package/users.d.mts +85 -14
  129. package/users.d.ts +85 -14
  130. package/users.js +13 -13
  131. package/users.mjs +2 -2
  132. package/web-integrations.d.mts +18 -0
  133. package/web-integrations.d.ts +18 -0
  134. package/web-integrations.js +8 -8
  135. package/web-integrations.mjs +2 -2
  136. package/web-notifications.d.mts +18 -0
  137. package/web-notifications.d.ts +18 -0
  138. package/web-notifications.js +9 -9
  139. package/web-notifications.mjs +2 -2
  140. package/webhooks.d.mts +3 -0
  141. package/webhooks.d.ts +3 -0
  142. package/webhooks.js +13 -13
  143. package/webhooks.mjs +2 -2
  144. package/chunks/37STYSYC.js +0 -41
  145. package/chunks/VC2LAFLZ.js +0 -17
package/licenses.js CHANGED
@@ -1,68 +1,68 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/licenses.ts
9
- var getLicenseAssignments = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
9
+ var getLicenseAssignments = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/licenses/assignments",
12
12
  query,
13
13
  options
14
14
  });
15
- var addLicenseAssignments = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
15
+ var addLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/licenses/assignments/actions/add",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var deleteLicenseAssignments = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
22
+ var deleteLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/licenses/assignments/actions/delete",
25
25
  body,
26
26
  contentType: "application/json",
27
27
  options
28
28
  });
29
- var updateLicenseAssignments = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
29
+ var updateLicenseAssignments = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
30
30
  method: "post",
31
31
  pathTemplate: "/api/v1/licenses/assignments/actions/update",
32
32
  body,
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var getLicenseConsumption = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
36
+ var getLicenseConsumption = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/licenses/consumption",
39
39
  query,
40
40
  options
41
41
  });
42
- var getLicenseOverview = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
42
+ var getLicenseOverview = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
43
43
  method: "get",
44
44
  pathTemplate: "/api/v1/licenses/overview",
45
45
  options
46
46
  });
47
- var getLicenseSettings = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
47
+ var getLicenseSettings = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
48
48
  method: "get",
49
49
  pathTemplate: "/api/v1/licenses/settings",
50
50
  options
51
51
  });
52
- var updateLicenseSettings = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
52
+ var updateLicenseSettings = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
53
53
  method: "put",
54
54
  pathTemplate: "/api/v1/licenses/settings",
55
55
  body,
56
56
  contentType: "application/json",
57
57
  options
58
58
  });
59
- var getLicenseStatus = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "licenses", {
59
+ var getLicenseStatus = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "licenses", {
60
60
  method: "get",
61
61
  pathTemplate: "/api/v1/licenses/status",
62
62
  options
63
63
  });
64
64
  function clearCache() {
65
- return _EL2GSPZZjs.clearApiCache.call(void 0, "licenses");
65
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "licenses");
66
66
  }
67
67
  var licensesExport = {
68
68
  getLicenseAssignments,
package/licenses.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/licenses.ts
package/package.json CHANGED
@@ -252,5 +252,5 @@
252
252
  "import": "./auth.mjs"
253
253
  }
254
254
  },
255
- "version": "0.0.9"
255
+ "version": "0.0.11"
256
256
  }
package/qix.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import './global.types-5iFvFJvX.mjs';
2
2
  import { H as HostConfig } from './auth-types-nnUcWhuU.mjs';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.1954.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.1958.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
package/qix.d.ts CHANGED
@@ -1,7 +1,7 @@
1
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.1954.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.1958.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
package/qix.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _AULTUQC4js = require('./chunks/AULTUQC4.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _XP7ALS4Ojs = require('./chunks/XP7ALS4O.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _AULTUQC4js.qix_default; exports.openAppSession = _AULTUQC4js.openAppSession;
10
+ exports.default = _XP7ALS4Ojs.qix_default; exports.openAppSession = _XP7ALS4Ojs.openAppSession;
package/qix.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  openAppSession,
3
3
  qix_default
4
- } from "./chunks/K4YCNLTC.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/4E3AP3QF.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
  export {
8
8
  qix_default as default,
package/quotas.d.mts CHANGED
@@ -1,6 +1,9 @@
1
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
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 _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/quotas.ts
9
- var getQuotas = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "quotas", {
9
+ var getQuotas = async (query, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "quotas", {
15
+ var getQuota = async (id, query, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0
20
20
  options
21
21
  });
22
22
  function clearCache() {
23
- return _EL2GSPZZjs.clearApiCache.call(void 0, "quotas");
23
+ return _NZ6E5ZHOjs.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,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/quotas.ts
@@ -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
@@ -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 _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
9
- var getReloadTasks = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "reload-tasks", {
9
+ var getReloadTasks = async (query, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reload-tasks", {
15
+ var createReloadTask = async (body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reload-tasks", {
22
+ var deleteReloadTask = async (taskId, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reload-tasks", {
28
+ var getReloadTask = async (taskId, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reload-tasks", {
34
+ var updateReloadTask = async (taskId, body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.
40
40
  options
41
41
  });
42
42
  function clearCache() {
43
- return _EL2GSPZZjs.clearApiCache.call(void 0, "reload-tasks");
43
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "reload-tasks");
44
44
  }
45
45
  var reloadTasksExport = {
46
46
  getReloadTasks,
package/reload-tasks.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
package/reloads.d.mts CHANGED
@@ -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
@@ -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 _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/reloads.ts
9
- var getReloads = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "reloads", {
9
+ var getReloads = async (query, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reloads", {
15
+ var queueReload = async (body, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reloads", {
22
+ var getReload = async (reloadId, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "reloads", {
28
+ var cancelReload = async (reloadId, options) => _NZ6E5ZHOjs.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 _EL2GSPZZjs.clearApiCache.call(void 0, "reloads");
35
+ return _NZ6E5ZHOjs.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,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/reloads.ts
package/roles.d.mts CHANGED
@@ -1,6 +1,9 @@
1
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
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 _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/roles.ts
9
- var getRoles = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "roles", {
9
+ var getRoles = async (query, options) => _NZ6E5ZHOjs.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) => _EL2GSPZZjs.invokeFetch.call(void 0, "roles", {
15
+ var getRole = async (id, options) => _NZ6E5ZHOjs.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 _EL2GSPZZjs.clearApiCache.call(void 0, "roles");
22
+ return _NZ6E5ZHOjs.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,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/roles.ts