@qlik/api 0.0.1 → 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 (156) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +27 -13
  5. package/api-keys.d.ts +27 -13
  6. package/api-keys.js +17 -13
  7. package/api-keys.mjs +12 -8
  8. package/apps.d.mts +580 -165
  9. package/apps.d.ts +580 -165
  10. package/apps.js +111 -44
  11. package/apps.mjs +78 -11
  12. package/audits.d.mts +20 -8
  13. package/audits.d.ts +20 -8
  14. package/audits.js +12 -11
  15. package/audits.mjs +7 -6
  16. package/auth-AWZV4DPP.js +41 -0
  17. package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
  18. package/auth.js +4 -3
  19. package/auth.mjs +3 -2
  20. package/automations.d.mts +56 -20
  21. package/automations.d.ts +56 -20
  22. package/automations.js +32 -25
  23. package/automations.mjs +18 -11
  24. package/brands.d.mts +45 -4
  25. package/brands.d.ts +45 -4
  26. package/brands.js +20 -15
  27. package/brands.mjs +7 -2
  28. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  29. package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
  30. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  31. package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
  32. package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
  33. package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
  34. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  35. package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
  36. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  37. package/chunk-P57PW2II.js +11 -0
  38. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  39. package/chunk-ZFXKCRJC.mjs +11 -0
  40. package/collections.d.mts +52 -18
  41. package/collections.d.ts +52 -18
  42. package/collections.js +28 -14
  43. package/collections.mjs +16 -2
  44. package/csp-origins.d.mts +12 -0
  45. package/csp-origins.d.ts +12 -0
  46. package/csp-origins.js +12 -9
  47. package/csp-origins.mjs +5 -2
  48. package/data-assets.d.mts +10 -0
  49. package/data-assets.d.ts +10 -0
  50. package/data-assets.js +13 -8
  51. package/data-assets.mjs +7 -2
  52. package/data-connections.d.mts +20 -0
  53. package/data-connections.d.ts +20 -0
  54. package/data-connections.js +19 -12
  55. package/data-connections.mjs +9 -2
  56. package/data-credentials.d.mts +10 -0
  57. package/data-credentials.d.ts +10 -0
  58. package/data-credentials.js +10 -7
  59. package/data-credentials.mjs +5 -2
  60. package/data-files.d.mts +114 -29
  61. package/data-files.d.ts +114 -29
  62. package/data-files.js +25 -18
  63. package/data-files.mjs +15 -8
  64. package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
  65. package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
  66. package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
  67. package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
  68. package/extensions.d.mts +26 -2
  69. package/extensions.d.ts +26 -2
  70. package/extensions.js +13 -10
  71. package/extensions.mjs +5 -2
  72. package/glossaries.d.mts +55 -20
  73. package/glossaries.d.ts +55 -20
  74. package/glossaries.js +39 -27
  75. package/glossaries.mjs +14 -2
  76. package/groups.d.mts +29 -13
  77. package/groups.d.ts +29 -13
  78. package/groups.js +19 -14
  79. package/groups.mjs +13 -8
  80. package/identity-providers.d.mts +23 -7
  81. package/identity-providers.d.ts +23 -7
  82. package/identity-providers.js +16 -13
  83. package/identity-providers.mjs +8 -5
  84. package/index.js +150 -112
  85. package/index.mjs +146 -108
  86. package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  87. package/invoke-fetch-UNTAUR7O.js +17 -0
  88. package/items.d.mts +25 -22
  89. package/items.d.ts +25 -22
  90. package/items.js +17 -14
  91. package/items.mjs +11 -8
  92. package/licenses.d.mts +20 -0
  93. package/licenses.d.ts +20 -0
  94. package/licenses.js +17 -12
  95. package/licenses.mjs +7 -2
  96. package/package.json +7 -18
  97. package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
  98. package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
  99. package/qix.d.mts +1066 -1017
  100. package/qix.d.ts +1066 -1017
  101. package/qix.js +4 -3
  102. package/qix.mjs +3 -2
  103. package/quotas.d.mts +4 -0
  104. package/quotas.d.ts +4 -0
  105. package/quotas.js +6 -5
  106. package/quotas.mjs +3 -2
  107. package/reload-tasks.d.mts +2 -0
  108. package/reload-tasks.d.ts +2 -0
  109. package/reload-tasks.js +11 -8
  110. package/reload-tasks.mjs +5 -2
  111. package/reloads.d.mts +20 -11
  112. package/reloads.d.ts +20 -11
  113. package/reloads.js +9 -7
  114. package/reloads.mjs +4 -2
  115. package/roles.d.mts +4 -0
  116. package/roles.d.ts +4 -0
  117. package/roles.js +6 -5
  118. package/roles.mjs +3 -2
  119. package/spaces.d.mts +36 -30
  120. package/spaces.d.ts +36 -30
  121. package/spaces.js +21 -15
  122. package/spaces.mjs +8 -2
  123. package/temp-contents.d.mts +9 -70
  124. package/temp-contents.d.ts +9 -70
  125. package/temp-contents.js +10 -29
  126. package/temp-contents.mjs +5 -24
  127. package/tenants.d.mts +12 -0
  128. package/tenants.d.ts +12 -0
  129. package/tenants.js +14 -9
  130. package/tenants.mjs +7 -2
  131. package/themes.d.mts +26 -2
  132. package/themes.d.ts +26 -2
  133. package/themes.js +13 -10
  134. package/themes.mjs +5 -2
  135. package/transports.d.mts +12 -0
  136. package/transports.d.ts +12 -0
  137. package/transports.js +12 -9
  138. package/transports.mjs +5 -2
  139. package/users.d.mts +48 -29
  140. package/users.d.ts +48 -29
  141. package/users.js +18 -13
  142. package/users.mjs +7 -2
  143. package/web-integrations.d.mts +10 -0
  144. package/web-integrations.d.ts +10 -0
  145. package/web-integrations.js +11 -8
  146. package/web-integrations.mjs +5 -2
  147. package/web-notifications.d.mts +12 -0
  148. package/web-notifications.d.ts +12 -0
  149. package/web-notifications.js +12 -9
  150. package/web-notifications.mjs +5 -2
  151. package/webhooks.d.mts +27 -7
  152. package/webhooks.d.ts +27 -7
  153. package/webhooks.js +17 -13
  154. package/webhooks.mjs +6 -2
  155. package/auth-CSVTXOZX.js +0 -36
  156. package/invoke-fetch-PEI54KZO.js +0 -14
package/qix.js CHANGED
@@ -1,9 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4ES65KO3js = require('./chunk-4ES65KO3.js');
5
- require('./chunk-ZT4C7KCQ.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 = _chunk4ES65KO3js.qix_default; exports.openAppSession = _chunk4ES65KO3js.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-CKPJE4IA.mjs";
5
- import "./chunk-WM7FQU2U.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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.invokeFetch.call(v
19
20
  options
20
21
  });
21
22
  function clearCache() {
22
- return _chunkOULT3V2Ujs.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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.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", {
@@ -29,6 +29,8 @@ type SelfLink = {
29
29
  self: Href;
30
30
  };
31
31
  type Task = TaskBase & {
32
+ /** The reason why the task was disabled. */
33
+ disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
32
34
  /** The fortress ID of the application */
33
35
  fortressId?: string;
34
36
  /** The ID of the task. */
package/reload-tasks.d.ts CHANGED
@@ -29,6 +29,8 @@ type SelfLink = {
29
29
  self: Href;
30
30
  };
31
31
  type Task = TaskBase & {
32
+ /** The reason why the task was disabled. */
33
+ disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
32
34
  /** The fortress ID of the application */
33
35
  fortressId?: string;
34
36
  /** The ID of the task. */
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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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 _chunkOULT3V2Ujs.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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.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
@@ -37,7 +37,7 @@ type Reload = {
37
37
  /** The ID of the tenant who owns the reload. */
38
38
  tenantId: string;
39
39
  /** 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. */
40
- type: "hub" | "chronos" | "external" | "automations" | "data-refresh";
40
+ type: Type;
41
41
  /** The ID of the user who created the reload. */
42
42
  userId: string;
43
43
  };
@@ -59,8 +59,10 @@ type ReloadsLinks = ReloadLinks & {
59
59
  prev?: Href;
60
60
  };
61
61
  type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
62
+ type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
62
63
  /**
63
64
  * Finds and returns the reloads that the user has access to.
65
+ *
64
66
  * @param query an object with query parameters
65
67
  * @throws GetReloadsHttpError
66
68
  */
@@ -68,15 +70,15 @@ declare const getReloads: (query: {
68
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. */
69
71
  appId?: string;
70
72
  /** SCIM filter expression used to search for reloads.
71
- // The filter syntax is defined in RFC 7644 section 3.4.2.2
72
- //
73
- // Supported attributes:
74
- // - status: see #schemas/Status
75
- // - partial: see #schemas/Partial
76
- //
77
- // Supported operators:
78
- // - eq
79
- // */
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 */
80
82
  filter?: string;
81
83
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
82
84
  limit?: number;
@@ -101,6 +103,7 @@ type GetReloadsHttpError = {
101
103
  };
102
104
  /**
103
105
  * Reloads an app specified by an app ID.
106
+ *
104
107
  * @param body an object with the body content
105
108
  * @throws QueueReloadHttpError
106
109
  */
@@ -117,6 +120,7 @@ type QueueReloadHttpError = {
117
120
  };
118
121
  /**
119
122
  * Finds and returns a reload record
123
+ *
120
124
  * @param reloadId The unique identifier of the reload.
121
125
  * @throws GetReloadHttpError
122
126
  */
@@ -133,6 +137,7 @@ type GetReloadHttpError = {
133
137
  };
134
138
  /**
135
139
  * Cancels a reload that is in progress or has been queued
140
+ *
136
141
  * @param reloadId The unique identifier of the reload.
137
142
  * @throws CancelReloadHttpError
138
143
  */
@@ -154,24 +159,28 @@ declare function clearCache(): void;
154
159
  interface ReloadsAPI {
155
160
  /**
156
161
  * Finds and returns the reloads that the user has access to.
162
+ *
157
163
  * @param query an object with query parameters
158
164
  * @throws GetReloadsHttpError
159
165
  */
160
166
  getReloads: typeof getReloads;
161
167
  /**
162
168
  * Reloads an app specified by an app ID.
169
+ *
163
170
  * @param body an object with the body content
164
171
  * @throws QueueReloadHttpError
165
172
  */
166
173
  queueReload: typeof queueReload;
167
174
  /**
168
175
  * Finds and returns a reload record
176
+ *
169
177
  * @param reloadId The unique identifier of the reload.
170
178
  * @throws GetReloadHttpError
171
179
  */
172
180
  getReload: typeof getReload;
173
181
  /**
174
182
  * Cancels a reload that is in progress or has been queued
183
+ *
175
184
  * @param reloadId The unique identifier of the reload.
176
185
  * @throws CancelReloadHttpError
177
186
  */
@@ -186,4 +195,4 @@ interface ReloadsAPI {
186
195
  */
187
196
  declare const reloadsExport: ReloadsAPI;
188
197
 
189
- export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
198
+ export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, type Type, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
package/reloads.d.ts CHANGED
@@ -37,7 +37,7 @@ type Reload = {
37
37
  /** The ID of the tenant who owns the reload. */
38
38
  tenantId: string;
39
39
  /** 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. */
40
- type: "hub" | "chronos" | "external" | "automations" | "data-refresh";
40
+ type: Type;
41
41
  /** The ID of the user who created the reload. */
42
42
  userId: string;
43
43
  };
@@ -59,8 +59,10 @@ type ReloadsLinks = ReloadLinks & {
59
59
  prev?: Href;
60
60
  };
61
61
  type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
62
+ type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh";
62
63
  /**
63
64
  * Finds and returns the reloads that the user has access to.
65
+ *
64
66
  * @param query an object with query parameters
65
67
  * @throws GetReloadsHttpError
66
68
  */
@@ -68,15 +70,15 @@ declare const getReloads: (query: {
68
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. */
69
71
  appId?: string;
70
72
  /** SCIM filter expression used to search for reloads.
71
- // The filter syntax is defined in RFC 7644 section 3.4.2.2
72
- //
73
- // Supported attributes:
74
- // - status: see #schemas/Status
75
- // - partial: see #schemas/Partial
76
- //
77
- // Supported operators:
78
- // - eq
79
- // */
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 */
80
82
  filter?: string;
81
83
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
82
84
  limit?: number;
@@ -101,6 +103,7 @@ type GetReloadsHttpError = {
101
103
  };
102
104
  /**
103
105
  * Reloads an app specified by an app ID.
106
+ *
104
107
  * @param body an object with the body content
105
108
  * @throws QueueReloadHttpError
106
109
  */
@@ -117,6 +120,7 @@ type QueueReloadHttpError = {
117
120
  };
118
121
  /**
119
122
  * Finds and returns a reload record
123
+ *
120
124
  * @param reloadId The unique identifier of the reload.
121
125
  * @throws GetReloadHttpError
122
126
  */
@@ -133,6 +137,7 @@ type GetReloadHttpError = {
133
137
  };
134
138
  /**
135
139
  * Cancels a reload that is in progress or has been queued
140
+ *
136
141
  * @param reloadId The unique identifier of the reload.
137
142
  * @throws CancelReloadHttpError
138
143
  */
@@ -154,24 +159,28 @@ declare function clearCache(): void;
154
159
  interface ReloadsAPI {
155
160
  /**
156
161
  * Finds and returns the reloads that the user has access to.
162
+ *
157
163
  * @param query an object with query parameters
158
164
  * @throws GetReloadsHttpError
159
165
  */
160
166
  getReloads: typeof getReloads;
161
167
  /**
162
168
  * Reloads an app specified by an app ID.
169
+ *
163
170
  * @param body an object with the body content
164
171
  * @throws QueueReloadHttpError
165
172
  */
166
173
  queueReload: typeof queueReload;
167
174
  /**
168
175
  * Finds and returns a reload record
176
+ *
169
177
  * @param reloadId The unique identifier of the reload.
170
178
  * @throws GetReloadHttpError
171
179
  */
172
180
  getReload: typeof getReload;
173
181
  /**
174
182
  * Cancels a reload that is in progress or has been queued
183
+ *
175
184
  * @param reloadId The unique identifier of the reload.
176
185
  * @throws CancelReloadHttpError
177
186
  */
@@ -186,4 +195,4 @@ interface ReloadsAPI {
186
195
  */
187
196
  declare const reloadsExport: ReloadsAPI;
188
197
 
189
- export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
198
+ export { type CancelReloadHttpError, type CancelReloadHttpResponse, type Error, type Errors, type GetReloadHttpError, type GetReloadHttpResponse, type GetReloadsHttpError, type GetReloadsHttpResponse, type Href, type Partial, type QueueReloadHttpError, type QueueReloadHttpResponse, type Reload, type ReloadLinks, type ReloadRequest, type Reloads, type ReloadsAPI, type ReloadsLinks, type Status, type Type, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
package/reloads.js CHANGED
@@ -1,36 +1,38 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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 _chunkOULT3V2Ujs.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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.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 _chunkOULT3V2Ujs = require('./chunk-OULT3V2U.js');
5
- require('./chunk-ZT4C7KCQ.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) => _chunkOULT3V2Ujs.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) => _chunkOULT3V2Ujs.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 _chunkOULT3V2Ujs.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-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.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", {