@qlik/api 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/api-keys.d.mts +14 -0
  2. package/api-keys.d.ts +14 -0
  3. package/api-keys.js +14 -10
  4. package/api-keys.mjs +6 -2
  5. package/apps.d.mts +478 -148
  6. package/apps.d.ts +478 -148
  7. package/apps.js +100 -42
  8. package/apps.mjs +60 -2
  9. package/audits.d.mts +12 -0
  10. package/audits.d.ts +12 -0
  11. package/audits.js +10 -9
  12. package/audits.mjs +3 -2
  13. package/auth-AWZV4DPP.js +41 -0
  14. package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
  15. package/auth.js +4 -3
  16. package/auth.mjs +3 -2
  17. package/automations.d.mts +36 -0
  18. package/automations.d.ts +36 -0
  19. package/automations.js +28 -21
  20. package/automations.mjs +9 -2
  21. package/brands.d.mts +45 -4
  22. package/brands.d.ts +45 -4
  23. package/brands.js +20 -15
  24. package/brands.mjs +7 -2
  25. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  26. package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
  27. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  28. package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
  29. package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
  30. package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
  31. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  32. package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
  33. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  34. package/chunk-P57PW2II.js +11 -0
  35. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  36. package/chunk-ZFXKCRJC.mjs +11 -0
  37. package/collections.d.mts +51 -17
  38. package/collections.d.ts +51 -17
  39. package/collections.js +28 -14
  40. package/collections.mjs +16 -2
  41. package/csp-origins.d.mts +12 -0
  42. package/csp-origins.d.ts +12 -0
  43. package/csp-origins.js +12 -9
  44. package/csp-origins.mjs +5 -2
  45. package/data-assets.d.mts +10 -0
  46. package/data-assets.d.ts +10 -0
  47. package/data-assets.js +13 -8
  48. package/data-assets.mjs +7 -2
  49. package/data-connections.d.mts +18 -0
  50. package/data-connections.d.ts +18 -0
  51. package/data-connections.js +19 -12
  52. package/data-connections.mjs +9 -2
  53. package/data-credentials.d.mts +8 -0
  54. package/data-credentials.d.ts +8 -0
  55. package/data-credentials.js +10 -7
  56. package/data-credentials.mjs +5 -2
  57. package/data-files.d.mts +98 -13
  58. package/data-files.d.ts +98 -13
  59. package/data-files.js +22 -15
  60. package/data-files.mjs +9 -2
  61. package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
  62. package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
  63. package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
  64. package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
  65. package/extensions.d.mts +26 -2
  66. package/extensions.d.ts +26 -2
  67. package/extensions.js +13 -10
  68. package/extensions.mjs +5 -2
  69. package/glossaries.d.mts +55 -20
  70. package/glossaries.d.ts +55 -20
  71. package/glossaries.js +39 -27
  72. package/glossaries.mjs +14 -2
  73. package/groups.d.mts +16 -0
  74. package/groups.d.ts +16 -0
  75. package/groups.js +16 -11
  76. package/groups.mjs +7 -2
  77. package/identity-providers.d.mts +16 -0
  78. package/identity-providers.d.ts +16 -0
  79. package/identity-providers.js +14 -11
  80. package/identity-providers.mjs +5 -2
  81. package/index.js +135 -101
  82. package/index.mjs +131 -97
  83. package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  84. package/invoke-fetch-UNTAUR7O.js +17 -0
  85. package/items.d.mts +6 -6
  86. package/items.d.ts +6 -6
  87. package/items.js +14 -11
  88. package/items.mjs +5 -2
  89. package/licenses.d.mts +18 -0
  90. package/licenses.d.ts +18 -0
  91. package/licenses.js +17 -12
  92. package/licenses.mjs +7 -2
  93. package/package.json +4 -4
  94. package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
  95. package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
  96. package/qix.d.mts +1 -1
  97. package/qix.d.ts +1 -1
  98. package/qix.js +4 -3
  99. package/qix.mjs +3 -2
  100. package/quotas.d.mts +4 -0
  101. package/quotas.d.ts +4 -0
  102. package/quotas.js +6 -5
  103. package/quotas.mjs +3 -2
  104. package/reload-tasks.js +11 -8
  105. package/reload-tasks.mjs +5 -2
  106. package/reloads.d.mts +17 -10
  107. package/reloads.d.ts +17 -10
  108. package/reloads.js +9 -7
  109. package/reloads.mjs +4 -2
  110. package/roles.d.mts +4 -0
  111. package/roles.d.ts +4 -0
  112. package/roles.js +6 -5
  113. package/roles.mjs +3 -2
  114. package/spaces.d.mts +27 -4
  115. package/spaces.d.ts +27 -4
  116. package/spaces.js +21 -15
  117. package/spaces.mjs +8 -2
  118. package/temp-contents.d.mts +8 -3
  119. package/temp-contents.d.ts +8 -3
  120. package/temp-contents.js +8 -6
  121. package/temp-contents.mjs +4 -2
  122. package/tenants.d.mts +12 -0
  123. package/tenants.d.ts +12 -0
  124. package/tenants.js +14 -9
  125. package/tenants.mjs +7 -2
  126. package/themes.d.mts +26 -2
  127. package/themes.d.ts +26 -2
  128. package/themes.js +13 -10
  129. package/themes.mjs +5 -2
  130. package/transports.d.mts +12 -0
  131. package/transports.d.ts +12 -0
  132. package/transports.js +12 -9
  133. package/transports.mjs +5 -2
  134. package/users.d.mts +48 -29
  135. package/users.d.ts +48 -29
  136. package/users.js +18 -13
  137. package/users.mjs +7 -2
  138. package/web-integrations.d.mts +10 -0
  139. package/web-integrations.d.ts +10 -0
  140. package/web-integrations.js +11 -8
  141. package/web-integrations.mjs +5 -2
  142. package/web-notifications.d.mts +12 -0
  143. package/web-notifications.d.ts +12 -0
  144. package/web-notifications.js +12 -9
  145. package/web-notifications.mjs +5 -2
  146. package/webhooks.d.mts +25 -5
  147. package/webhooks.d.ts +25 -5
  148. package/webhooks.js +17 -13
  149. package/webhooks.mjs +6 -2
  150. package/auth-CSVTXOZX.js +0 -36
  151. package/auth-OU7OTB7Y.js +0 -38
  152. package/auth-TE272Q34.mjs +0 -36
  153. package/chunk-4ES65KO3.js +0 -57
  154. package/chunk-4FLMND6T.js +0 -25
  155. package/chunk-4OMEH5SW.mjs +0 -1337
  156. package/chunk-6JERR27K.js +0 -17
  157. package/chunk-E42WUFCK.mjs +0 -57
  158. package/chunk-H7SAZYEE.js +0 -21
  159. package/chunk-KMMWJZHM.mjs +0 -25
  160. package/chunk-W4J34XGA.mjs +0 -17
  161. package/chunk-WM7FQU2U.mjs +0 -21
  162. package/chunk-XASXL2NC.js +0 -1337
  163. package/enigma-session-4L373ALV.mjs +0 -10196
  164. package/enigma-session-TEB53FAF.js +0 -10196
  165. package/esm-4X3DKK5D.js +0 -63
  166. package/esm-SOWVJKOQ.mjs +0 -63
  167. package/invoke-fetch-7PKPQ3FD.js +0 -14
  168. package/invoke-fetch-MSSJAZ7K.mjs +0 -14
  169. package/invoke-fetch-PEI54KZO.js +0 -14
  170. package/qix-EU7PXRZ6.mjs +0 -573
  171. package/qix-RLTISYTB.js +0 -573
package/qix.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkM7F4JFOBjs = require('./chunk-M7F4JFOB.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunk7RY3NO6Njs = require('./chunk-7RY3NO6N.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
 
8
9
 
9
- exports.default = _chunkM7F4JFOBjs.qix_default; exports.openAppSession = _chunkM7F4JFOBjs.openAppSession;
10
+ exports.default = _chunk7RY3NO6Njs.qix_default; exports.openAppSession = _chunk7RY3NO6Njs.openAppSession;
package/qix.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  openAppSession,
3
3
  qix_default
4
- } from "./chunk-E42WUFCK.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-67GJTTPV.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
  export {
7
8
  qix_default as default,
8
9
  openAppSession
package/quotas.d.mts CHANGED
@@ -37,6 +37,7 @@ type Quota = {
37
37
  };
38
38
  /**
39
39
  * Returns all quota items for the tenant (provided in JWT).
40
+ *
40
41
  * @param query an object with query parameters
41
42
  * @throws GetQuotasHttpError
42
43
  */
@@ -56,6 +57,7 @@ type GetQuotasHttpError = {
56
57
  };
57
58
  /**
58
59
  * Returns a specific quota item for the tenant (provided in JWT).
60
+ *
59
61
  * @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
60
62
  * @param query an object with query parameters
61
63
  * @throws GetQuotaHttpError
@@ -81,12 +83,14 @@ declare function clearCache(): void;
81
83
  interface QuotasAPI {
82
84
  /**
83
85
  * Returns all quota items for the tenant (provided in JWT).
86
+ *
84
87
  * @param query an object with query parameters
85
88
  * @throws GetQuotasHttpError
86
89
  */
87
90
  getQuotas: typeof getQuotas;
88
91
  /**
89
92
  * Returns a specific quota item for the tenant (provided in JWT).
93
+ *
90
94
  * @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
91
95
  * @param query an object with query parameters
92
96
  * @throws GetQuotaHttpError
package/quotas.d.ts CHANGED
@@ -37,6 +37,7 @@ type Quota = {
37
37
  };
38
38
  /**
39
39
  * Returns all quota items for the tenant (provided in JWT).
40
+ *
40
41
  * @param query an object with query parameters
41
42
  * @throws GetQuotasHttpError
42
43
  */
@@ -56,6 +57,7 @@ type GetQuotasHttpError = {
56
57
  };
57
58
  /**
58
59
  * Returns a specific quota item for the tenant (provided in JWT).
60
+ *
59
61
  * @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
60
62
  * @param query an object with query parameters
61
63
  * @throws GetQuotaHttpError
@@ -81,12 +83,14 @@ declare function clearCache(): void;
81
83
  interface QuotasAPI {
82
84
  /**
83
85
  * Returns all quota items for the tenant (provided in JWT).
86
+ *
84
87
  * @param query an object with query parameters
85
88
  * @throws GetQuotasHttpError
86
89
  */
87
90
  getQuotas: typeof getQuotas;
88
91
  /**
89
92
  * Returns a specific quota item for the tenant (provided in JWT).
93
+ *
90
94
  * @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
91
95
  * @param query an object with query parameters
92
96
  * @throws GetQuotaHttpError
package/quotas.js CHANGED
@@ -1,17 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/quotas.ts
8
- var getQuotas = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "quotas", {
9
+ var getQuotas = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "quotas", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/quotas",
11
12
  query,
12
13
  options
13
14
  });
14
- var getQuota = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "quotas", {
15
+ var getQuota = async (id, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "quotas", {
15
16
  method: "get",
16
17
  pathTemplate: "/api/v1/quotas/{id}",
17
18
  pathVariables: { id },
@@ -19,7 +20,7 @@ var getQuota = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(v
19
20
  options
20
21
  });
21
22
  function clearCache() {
22
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "quotas");
23
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "quotas");
23
24
  }
24
25
  var quotasExport = { getQuotas, getQuota, clearCache };
25
26
  var quotas_default = quotasExport;
package/quotas.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/quotas.ts
8
9
  var getQuotas = async (query, options) => invokeFetch("quotas", {
package/reload-tasks.js CHANGED
@@ -1,43 +1,46 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/reload-tasks.ts
8
- var getReloadTasks = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
9
+ var getReloadTasks = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reload-tasks", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/reload-tasks",
11
12
  query,
12
13
  options
13
14
  });
14
- var createReloadTask = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
15
+ var createReloadTask = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reload-tasks", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/reload-tasks",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var deleteReloadTask = async (taskId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
22
+ var deleteReloadTask = async (taskId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reload-tasks", {
21
23
  method: "delete",
22
24
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
23
25
  pathVariables: { taskId },
24
26
  options
25
27
  });
26
- var getReloadTask = async (taskId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
28
+ var getReloadTask = async (taskId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reload-tasks", {
27
29
  method: "get",
28
30
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
29
31
  pathVariables: { taskId },
30
32
  options
31
33
  });
32
- var updateReloadTask = async (taskId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reload-tasks", {
34
+ var updateReloadTask = async (taskId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reload-tasks", {
33
35
  method: "put",
34
36
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
35
37
  pathVariables: { taskId },
36
38
  body,
39
+ contentType: "application/json",
37
40
  options
38
41
  });
39
42
  function clearCache() {
40
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "reload-tasks");
43
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "reload-tasks");
41
44
  }
42
45
  var reloadTasksExport = {
43
46
  getReloadTasks,
package/reload-tasks.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/reload-tasks.ts
8
9
  var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
@@ -15,6 +16,7 @@ var createReloadTask = async (body, options) => invokeFetch("reload-tasks", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/reload-tasks",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var deleteReloadTask = async (taskId, options) => invokeFetch("reload-tasks", {
@@ -34,6 +36,7 @@ var updateReloadTask = async (taskId, body, options) => invokeFetch("reload-task
34
36
  pathTemplate: "/api/v1/reload-tasks/{taskId}",
35
37
  pathVariables: { taskId },
36
38
  body,
39
+ contentType: "application/json",
37
40
  options
38
41
  });
39
42
  function clearCache() {
package/reloads.d.mts CHANGED
@@ -62,6 +62,7 @@ type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "C
62
62
  type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
63
63
  /**
64
64
  * Finds and returns the reloads that the user has access to.
65
+ *
65
66
  * @param query an object with query parameters
66
67
  * @throws GetReloadsHttpError
67
68
  */
@@ -69,16 +70,15 @@ declare const getReloads: (query: {
69
70
  /** The UUID formatted string used to search for an app's reload history entries. TenantAdmin users may omit this parameter to list all reload history in the tenant. */
70
71
  appId?: string;
71
72
  /** SCIM filter expression used to search for reloads.
72
- // The filter syntax is defined in RFC 7644 section 3.4.2.2
73
- //
74
- // Supported attributes:
75
- // - status: see #schemas/Status
76
- // - partial: see #schemas/Partial
77
- // - type: see #schemas/Type
78
- //
79
- // Supported operators:
80
- // - eq
81
- // */
73
+ * The filter syntax is defined in RFC 7644 section 3.4.2.2
74
+ *
75
+ * Supported attributes:
76
+ * - status: see #schemas/Status
77
+ * - partial: see #schemas/Partial
78
+ * - type: see #schemas/Type
79
+ *
80
+ * Supported operators:
81
+ * - eq */
82
82
  filter?: string;
83
83
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
84
84
  limit?: number;
@@ -103,6 +103,7 @@ type GetReloadsHttpError = {
103
103
  };
104
104
  /**
105
105
  * Reloads an app specified by an app ID.
106
+ *
106
107
  * @param body an object with the body content
107
108
  * @throws QueueReloadHttpError
108
109
  */
@@ -119,6 +120,7 @@ type QueueReloadHttpError = {
119
120
  };
120
121
  /**
121
122
  * Finds and returns a reload record
123
+ *
122
124
  * @param reloadId The unique identifier of the reload.
123
125
  * @throws GetReloadHttpError
124
126
  */
@@ -135,6 +137,7 @@ type GetReloadHttpError = {
135
137
  };
136
138
  /**
137
139
  * Cancels a reload that is in progress or has been queued
140
+ *
138
141
  * @param reloadId The unique identifier of the reload.
139
142
  * @throws CancelReloadHttpError
140
143
  */
@@ -156,24 +159,28 @@ declare function clearCache(): void;
156
159
  interface ReloadsAPI {
157
160
  /**
158
161
  * Finds and returns the reloads that the user has access to.
162
+ *
159
163
  * @param query an object with query parameters
160
164
  * @throws GetReloadsHttpError
161
165
  */
162
166
  getReloads: typeof getReloads;
163
167
  /**
164
168
  * Reloads an app specified by an app ID.
169
+ *
165
170
  * @param body an object with the body content
166
171
  * @throws QueueReloadHttpError
167
172
  */
168
173
  queueReload: typeof queueReload;
169
174
  /**
170
175
  * Finds and returns a reload record
176
+ *
171
177
  * @param reloadId The unique identifier of the reload.
172
178
  * @throws GetReloadHttpError
173
179
  */
174
180
  getReload: typeof getReload;
175
181
  /**
176
182
  * Cancels a reload that is in progress or has been queued
183
+ *
177
184
  * @param reloadId The unique identifier of the reload.
178
185
  * @throws CancelReloadHttpError
179
186
  */
package/reloads.d.ts CHANGED
@@ -62,6 +62,7 @@ type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "C
62
62
  type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
63
63
  /**
64
64
  * Finds and returns the reloads that the user has access to.
65
+ *
65
66
  * @param query an object with query parameters
66
67
  * @throws GetReloadsHttpError
67
68
  */
@@ -69,16 +70,15 @@ declare const getReloads: (query: {
69
70
  /** The UUID formatted string used to search for an app's reload history entries. TenantAdmin users may omit this parameter to list all reload history in the tenant. */
70
71
  appId?: string;
71
72
  /** SCIM filter expression used to search for reloads.
72
- // The filter syntax is defined in RFC 7644 section 3.4.2.2
73
- //
74
- // Supported attributes:
75
- // - status: see #schemas/Status
76
- // - partial: see #schemas/Partial
77
- // - type: see #schemas/Type
78
- //
79
- // Supported operators:
80
- // - eq
81
- // */
73
+ * The filter syntax is defined in RFC 7644 section 3.4.2.2
74
+ *
75
+ * Supported attributes:
76
+ * - status: see #schemas/Status
77
+ * - partial: see #schemas/Partial
78
+ * - type: see #schemas/Type
79
+ *
80
+ * Supported operators:
81
+ * - eq */
82
82
  filter?: string;
83
83
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
84
84
  limit?: number;
@@ -103,6 +103,7 @@ type GetReloadsHttpError = {
103
103
  };
104
104
  /**
105
105
  * Reloads an app specified by an app ID.
106
+ *
106
107
  * @param body an object with the body content
107
108
  * @throws QueueReloadHttpError
108
109
  */
@@ -119,6 +120,7 @@ type QueueReloadHttpError = {
119
120
  };
120
121
  /**
121
122
  * Finds and returns a reload record
123
+ *
122
124
  * @param reloadId The unique identifier of the reload.
123
125
  * @throws GetReloadHttpError
124
126
  */
@@ -135,6 +137,7 @@ type GetReloadHttpError = {
135
137
  };
136
138
  /**
137
139
  * Cancels a reload that is in progress or has been queued
140
+ *
138
141
  * @param reloadId The unique identifier of the reload.
139
142
  * @throws CancelReloadHttpError
140
143
  */
@@ -156,24 +159,28 @@ declare function clearCache(): void;
156
159
  interface ReloadsAPI {
157
160
  /**
158
161
  * Finds and returns the reloads that the user has access to.
162
+ *
159
163
  * @param query an object with query parameters
160
164
  * @throws GetReloadsHttpError
161
165
  */
162
166
  getReloads: typeof getReloads;
163
167
  /**
164
168
  * Reloads an app specified by an app ID.
169
+ *
165
170
  * @param body an object with the body content
166
171
  * @throws QueueReloadHttpError
167
172
  */
168
173
  queueReload: typeof queueReload;
169
174
  /**
170
175
  * Finds and returns a reload record
176
+ *
171
177
  * @param reloadId The unique identifier of the reload.
172
178
  * @throws GetReloadHttpError
173
179
  */
174
180
  getReload: typeof getReload;
175
181
  /**
176
182
  * Cancels a reload that is in progress or has been queued
183
+ *
177
184
  * @param reloadId The unique identifier of the reload.
178
185
  * @throws CancelReloadHttpError
179
186
  */
package/reloads.js CHANGED
@@ -1,36 +1,38 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/reloads.ts
8
- var getReloads = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
9
+ var getReloads = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reloads", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/reloads",
11
12
  query,
12
13
  options
13
14
  });
14
- var queueReload = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
15
+ var queueReload = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reloads", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/reloads",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var getReload = async (reloadId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
22
+ var getReload = async (reloadId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reloads", {
21
23
  method: "get",
22
24
  pathTemplate: "/api/v1/reloads/{reloadId}",
23
25
  pathVariables: { reloadId },
24
26
  options
25
27
  });
26
- var cancelReload = async (reloadId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "reloads", {
28
+ var cancelReload = async (reloadId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "reloads", {
27
29
  method: "post",
28
30
  pathTemplate: "/api/v1/reloads/{reloadId}/actions/cancel",
29
31
  pathVariables: { reloadId },
30
32
  options
31
33
  });
32
34
  function clearCache() {
33
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "reloads");
35
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "reloads");
34
36
  }
35
37
  var reloadsExport = { getReloads, queueReload, getReload, cancelReload, clearCache };
36
38
  var reloads_default = reloadsExport;
package/reloads.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/reloads.ts
8
9
  var getReloads = async (query, options) => invokeFetch("reloads", {
@@ -15,6 +16,7 @@ var queueReload = async (body, options) => invokeFetch("reloads", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/reloads",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var getReload = async (reloadId, options) => invokeFetch("reloads", {
package/roles.d.mts CHANGED
@@ -75,6 +75,7 @@ type Role = {
75
75
  };
76
76
  /**
77
77
  * Returns a list of roles using cursor-based pagination.
78
+ *
78
79
  * @param query an object with query parameters
79
80
  * @throws GetRolesHttpError
80
81
  */
@@ -106,6 +107,7 @@ type GetRolesHttpError = {
106
107
  };
107
108
  /**
108
109
  * Returns the requested role.
110
+ *
109
111
  * @param id The role's unique identifier
110
112
  * @throws GetRoleHttpError
111
113
  */
@@ -127,12 +129,14 @@ declare function clearCache(): void;
127
129
  interface RolesAPI {
128
130
  /**
129
131
  * Returns a list of roles using cursor-based pagination.
132
+ *
130
133
  * @param query an object with query parameters
131
134
  * @throws GetRolesHttpError
132
135
  */
133
136
  getRoles: typeof getRoles;
134
137
  /**
135
138
  * Returns the requested role.
139
+ *
136
140
  * @param id The role's unique identifier
137
141
  * @throws GetRoleHttpError
138
142
  */
package/roles.d.ts CHANGED
@@ -75,6 +75,7 @@ type Role = {
75
75
  };
76
76
  /**
77
77
  * Returns a list of roles using cursor-based pagination.
78
+ *
78
79
  * @param query an object with query parameters
79
80
  * @throws GetRolesHttpError
80
81
  */
@@ -106,6 +107,7 @@ type GetRolesHttpError = {
106
107
  };
107
108
  /**
108
109
  * Returns the requested role.
110
+ *
109
111
  * @param id The role's unique identifier
110
112
  * @throws GetRoleHttpError
111
113
  */
@@ -127,12 +129,14 @@ declare function clearCache(): void;
127
129
  interface RolesAPI {
128
130
  /**
129
131
  * Returns a list of roles using cursor-based pagination.
132
+ *
130
133
  * @param query an object with query parameters
131
134
  * @throws GetRolesHttpError
132
135
  */
133
136
  getRoles: typeof getRoles;
134
137
  /**
135
138
  * Returns the requested role.
139
+ *
136
140
  * @param id The role's unique identifier
137
141
  * @throws GetRoleHttpError
138
142
  */
package/roles.js CHANGED
@@ -1,24 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/roles.ts
8
- var getRoles = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "roles", {
9
+ var getRoles = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "roles", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/roles",
11
12
  query,
12
13
  options
13
14
  });
14
- var getRole = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "roles", {
15
+ var getRole = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "roles", {
15
16
  method: "get",
16
17
  pathTemplate: "/api/v1/roles/{id}",
17
18
  pathVariables: { id },
18
19
  options
19
20
  });
20
21
  function clearCache() {
21
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "roles");
22
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "roles");
22
23
  }
23
24
  var rolesExport = { getRoles, getRole, clearCache };
24
25
  var roles_default = rolesExport;
package/roles.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/roles.ts
8
9
  var getRoles = async (query, options) => invokeFetch("roles", {