@qlik/api 0.0.1 → 0.0.2

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 (126) 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 +13 -13
  5. package/api-keys.d.ts +13 -13
  6. package/api-keys.js +13 -13
  7. package/api-keys.mjs +8 -8
  8. package/apps.d.mts +104 -19
  9. package/apps.d.ts +104 -19
  10. package/apps.js +53 -44
  11. package/apps.mjs +20 -11
  12. package/audits.d.mts +8 -8
  13. package/audits.d.ts +8 -8
  14. package/audits.js +11 -11
  15. package/audits.mjs +6 -6
  16. package/auth-OU7OTB7Y.js +38 -0
  17. package/auth-RTFXVSSK.mjs +38 -0
  18. package/auth.js +3 -3
  19. package/auth.mjs +2 -2
  20. package/automations.d.mts +20 -20
  21. package/automations.d.ts +20 -20
  22. package/automations.js +25 -25
  23. package/automations.mjs +11 -11
  24. package/brands.js +15 -15
  25. package/brands.mjs +2 -2
  26. package/chunk-6JERR27K.js +17 -0
  27. package/chunk-7REWEWCX.mjs +21 -0
  28. package/chunk-E42WUFCK.mjs +57 -0
  29. package/chunk-H7SAZYEE.js +21 -0
  30. package/chunk-KMMWJZHM.mjs +25 -0
  31. package/chunk-M7F4JFOB.js +57 -0
  32. package/chunk-NALKLKZS.mjs +1342 -0
  33. package/chunk-QN23TPIE.js +25 -0
  34. package/chunk-RMKP2BDX.js +1342 -0
  35. package/chunk-W4J34XGA.mjs +17 -0
  36. package/collections.d.mts +1 -1
  37. package/collections.d.ts +1 -1
  38. package/collections.js +13 -13
  39. package/collections.mjs +2 -2
  40. package/csp-origins.js +9 -9
  41. package/csp-origins.mjs +2 -2
  42. package/data-assets.js +8 -8
  43. package/data-assets.mjs +2 -2
  44. package/data-connections.d.mts +2 -0
  45. package/data-connections.d.ts +2 -0
  46. package/data-connections.js +12 -12
  47. package/data-connections.mjs +2 -2
  48. package/data-credentials.d.mts +2 -0
  49. package/data-credentials.d.ts +2 -0
  50. package/data-credentials.js +7 -7
  51. package/data-credentials.mjs +2 -2
  52. package/data-files.d.mts +16 -16
  53. package/data-files.d.ts +16 -16
  54. package/data-files.js +18 -18
  55. package/data-files.mjs +8 -8
  56. package/enigma-session-HGXKZJVO.mjs +10200 -0
  57. package/enigma-session-VPPJMBEM.js +10200 -0
  58. package/esm-M5ZBFTVD.mjs +65 -0
  59. package/esm-RX7B2TUN.js +65 -0
  60. package/extensions.js +10 -10
  61. package/extensions.mjs +2 -2
  62. package/glossaries.js +27 -27
  63. package/glossaries.mjs +2 -2
  64. package/groups.d.mts +13 -13
  65. package/groups.d.ts +13 -13
  66. package/groups.js +14 -14
  67. package/groups.mjs +8 -8
  68. package/identity-providers.d.mts +7 -7
  69. package/identity-providers.d.ts +7 -7
  70. package/identity-providers.js +13 -13
  71. package/identity-providers.mjs +5 -5
  72. package/index.js +27 -23
  73. package/index.mjs +23 -19
  74. package/invoke-fetch-7PKPQ3FD.js +14 -0
  75. package/invoke-fetch-IMO4AMA3.mjs +14 -0
  76. package/items.d.mts +19 -16
  77. package/items.d.ts +19 -16
  78. package/items.js +14 -14
  79. package/items.mjs +8 -8
  80. package/licenses.d.mts +2 -0
  81. package/licenses.d.ts +2 -0
  82. package/licenses.js +12 -12
  83. package/licenses.mjs +2 -2
  84. package/package.json +6 -17
  85. package/qix-57WD2ZE6.mjs +573 -0
  86. package/qix-K22VHZRH.js +573 -0
  87. package/qix.d.mts +1066 -1017
  88. package/qix.d.ts +1066 -1017
  89. package/qix.js +3 -3
  90. package/qix.mjs +2 -2
  91. package/quotas.js +5 -5
  92. package/quotas.mjs +2 -2
  93. package/reload-tasks.d.mts +2 -0
  94. package/reload-tasks.d.ts +2 -0
  95. package/reload-tasks.js +8 -8
  96. package/reload-tasks.mjs +2 -2
  97. package/reloads.d.mts +4 -2
  98. package/reloads.d.ts +4 -2
  99. package/reloads.js +7 -7
  100. package/reloads.mjs +2 -2
  101. package/roles.js +5 -5
  102. package/roles.mjs +2 -2
  103. package/spaces.d.mts +9 -26
  104. package/spaces.d.ts +9 -26
  105. package/spaces.js +15 -15
  106. package/spaces.mjs +2 -2
  107. package/temp-contents.d.mts +1 -67
  108. package/temp-contents.d.ts +1 -67
  109. package/temp-contents.js +8 -29
  110. package/temp-contents.mjs +3 -24
  111. package/tenants.js +9 -9
  112. package/tenants.mjs +2 -2
  113. package/themes.js +10 -10
  114. package/themes.mjs +2 -2
  115. package/transports.js +9 -9
  116. package/transports.mjs +2 -2
  117. package/users.js +13 -13
  118. package/users.mjs +2 -2
  119. package/web-integrations.js +8 -8
  120. package/web-integrations.mjs +2 -2
  121. package/web-notifications.js +9 -9
  122. package/web-notifications.mjs +2 -2
  123. package/webhooks.d.mts +2 -2
  124. package/webhooks.d.ts +2 -2
  125. package/webhooks.js +13 -13
  126. package/webhooks.mjs +2 -2
package/apps.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-W4J34XGA.mjs";
5
+ import "./chunk-7REWEWCX.mjs";
6
6
 
7
7
  // src/public/rest/apps.ts
8
8
  var createApp = async (body, options) => invokeFetch("apps", {
@@ -18,7 +18,7 @@ var getAppEvaluationComparison = async (baseid, comparisonid, query, options) =>
18
18
  query,
19
19
  options
20
20
  });
21
- var getAppEvaluationComparisonXML = async (baseid, comparisonid, options) => invokeFetch("apps", {
21
+ var getAppEvaluationComparisonXml = async (baseid, comparisonid, options) => invokeFetch("apps", {
22
22
  method: "get",
23
23
  pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}/actions/download",
24
24
  pathVariables: { baseid, comparisonid },
@@ -31,7 +31,7 @@ var getAppEvaluation = async (id, query, options) => invokeFetch("apps", {
31
31
  query,
32
32
  options
33
33
  });
34
- var getAppEvaluationXML = async (id, options) => invokeFetch("apps", {
34
+ var getAppEvaluationXml = async (id, options) => invokeFetch("apps", {
35
35
  method: "get",
36
36
  pathTemplate: "/api/v1/apps/evaluations/{id}/actions/download",
37
37
  pathVariables: { id },
@@ -44,7 +44,7 @@ var importApp = async (query, body, options) => invokeFetch("apps", {
44
44
  body,
45
45
  options
46
46
  });
47
- var getAppPrivileges = async (options) => invokeFetch("apps", {
47
+ var getAppsPrivileges = async (options) => invokeFetch("apps", {
48
48
  method: "get",
49
49
  pathTemplate: "/api/v1/apps/privileges",
50
50
  options
@@ -185,6 +185,13 @@ var getAppReloadLog = async (appId, reloadId, options) => invokeFetch("apps", {
185
185
  pathVariables: { appId, reloadId },
186
186
  options
187
187
  });
188
+ var getAppReloadMetadata = async (appId, reloadId, query, options) => invokeFetch("apps", {
189
+ method: "get",
190
+ pathTemplate: "/api/v1/apps/{appId}/reloads/metadata/{reloadId}",
191
+ pathVariables: { appId, reloadId },
192
+ query,
193
+ options
194
+ });
188
195
  var getAppScriptHistory = async (appId, query, options) => invokeFetch("apps", {
189
196
  method: "get",
190
197
  pathTemplate: "/api/v1/apps/{appId}/scripts",
@@ -250,11 +257,11 @@ function clearCache() {
250
257
  var appsExport = {
251
258
  createApp,
252
259
  getAppEvaluationComparison,
253
- getAppEvaluationComparisonXML,
260
+ getAppEvaluationComparisonXml,
254
261
  getAppEvaluation,
255
- getAppEvaluationXML,
262
+ getAppEvaluationXml,
256
263
  importApp,
257
- getAppPrivileges,
264
+ getAppsPrivileges,
258
265
  deleteApp,
259
266
  getAppInfo,
260
267
  updateAppInfo,
@@ -276,6 +283,7 @@ var appsExport = {
276
283
  republishApp,
277
284
  getAppReloadLogs,
278
285
  getAppReloadLog,
286
+ getAppReloadMetadata,
279
287
  getAppScriptHistory,
280
288
  updateAppScript,
281
289
  deleteAppScript,
@@ -301,8 +309,8 @@ export {
301
309
  getAppDataMetadata,
302
310
  getAppEvaluation,
303
311
  getAppEvaluationComparison,
304
- getAppEvaluationComparisonXML,
305
- getAppEvaluationXML,
312
+ getAppEvaluationComparisonXml,
313
+ getAppEvaluationXml,
306
314
  getAppEvaluations,
307
315
  getAppInfo,
308
316
  getAppInsightAnalyses,
@@ -310,12 +318,13 @@ export {
310
318
  getAppInsightAnalysisRecommendations,
311
319
  getAppMedia,
312
320
  getAppMediaList,
313
- getAppPrivileges,
314
321
  getAppReloadLog,
315
322
  getAppReloadLogs,
323
+ getAppReloadMetadata,
316
324
  getAppScript,
317
325
  getAppScriptHistory,
318
326
  getAppThumbnail,
327
+ getAppsPrivileges,
319
328
  importApp,
320
329
  moveAppToSpace,
321
330
  patchAppScript,
package/audits.d.mts CHANGED
@@ -102,7 +102,7 @@ declare const getAudits: (query: {
102
102
  eventType?: string;
103
103
  /** The comma separated list of audit unique identifiers. */
104
104
  id?: string;
105
- /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
105
+ /** The maximum number of resources to return for a request. */
106
106
  limit?: number;
107
107
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
108
108
  next?: string;
@@ -148,15 +148,15 @@ type GetArchivedAuditsHttpError = {
148
148
  };
149
149
  /**
150
150
  * It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
151
- * @throws GetAuditSettingsHttpError
151
+ * @throws GetAuditsSettingsHttpError
152
152
  */
153
- declare const getAuditSettings: (options?: ApiCallOptions) => Promise<GetAuditSettingsHttpResponse>;
154
- type GetAuditSettingsHttpResponse = {
153
+ declare const getAuditsSettings: (options?: ApiCallOptions) => Promise<GetAuditsSettingsHttpResponse>;
154
+ type GetAuditsSettingsHttpResponse = {
155
155
  data: GetSettingsResult;
156
156
  headers: Headers;
157
157
  status: number;
158
158
  };
159
- type GetAuditSettingsHttpError = {
159
+ type GetAuditsSettingsHttpError = {
160
160
  data: ErrorResponse;
161
161
  headers: Headers;
162
162
  status: number;
@@ -230,9 +230,9 @@ interface AuditsAPI {
230
230
  getArchivedAudits: typeof getArchivedAudits;
231
231
  /**
232
232
  * It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
233
- * @throws GetAuditSettingsHttpError
233
+ * @throws GetAuditsSettingsHttpError
234
234
  */
235
- getAuditSettings: typeof getAuditSettings;
235
+ getAuditsSettings: typeof getAuditsSettings;
236
236
  /**
237
237
  * Finds and returns the distinct list of unique event sources.
238
238
  * @throws GetAuditSourcesHttpError
@@ -259,4 +259,4 @@ interface AuditsAPI {
259
259
  */
260
260
  declare const auditsExport: AuditsAPI;
261
261
 
262
- export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSettingsHttpError, type GetAuditSettingsHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSettings, getAuditSources, getAuditTypes, getAudits };
262
+ export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
package/audits.d.ts CHANGED
@@ -102,7 +102,7 @@ declare const getAudits: (query: {
102
102
  eventType?: string;
103
103
  /** The comma separated list of audit unique identifiers. */
104
104
  id?: string;
105
- /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
105
+ /** The maximum number of resources to return for a request. */
106
106
  limit?: number;
107
107
  /** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
108
108
  next?: string;
@@ -148,15 +148,15 @@ type GetArchivedAuditsHttpError = {
148
148
  };
149
149
  /**
150
150
  * It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
151
- * @throws GetAuditSettingsHttpError
151
+ * @throws GetAuditsSettingsHttpError
152
152
  */
153
- declare const getAuditSettings: (options?: ApiCallOptions) => Promise<GetAuditSettingsHttpResponse>;
154
- type GetAuditSettingsHttpResponse = {
153
+ declare const getAuditsSettings: (options?: ApiCallOptions) => Promise<GetAuditsSettingsHttpResponse>;
154
+ type GetAuditsSettingsHttpResponse = {
155
155
  data: GetSettingsResult;
156
156
  headers: Headers;
157
157
  status: number;
158
158
  };
159
- type GetAuditSettingsHttpError = {
159
+ type GetAuditsSettingsHttpError = {
160
160
  data: ErrorResponse;
161
161
  headers: Headers;
162
162
  status: number;
@@ -230,9 +230,9 @@ interface AuditsAPI {
230
230
  getArchivedAudits: typeof getArchivedAudits;
231
231
  /**
232
232
  * It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
233
- * @throws GetAuditSettingsHttpError
233
+ * @throws GetAuditsSettingsHttpError
234
234
  */
235
- getAuditSettings: typeof getAuditSettings;
235
+ getAuditsSettings: typeof getAuditsSettings;
236
236
  /**
237
237
  * Finds and returns the distinct list of unique event sources.
238
238
  * @throws GetAuditSourcesHttpError
@@ -259,4 +259,4 @@ interface AuditsAPI {
259
259
  */
260
260
  declare const auditsExport: AuditsAPI;
261
261
 
262
- export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSettingsHttpError, type GetAuditSettingsHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSettings, getAuditSources, getAuditTypes, getAudits };
262
+ export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
package/audits.js CHANGED
@@ -1,50 +1,50 @@
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 _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
+ require('./chunk-H7SAZYEE.js');
6
6
 
7
7
  // src/public/rest/audits.ts
8
- var getAudits = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
8
+ var getAudits = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/audits",
11
11
  query,
12
12
  options
13
13
  });
14
- var getArchivedAudits = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
14
+ var getArchivedAudits = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
15
15
  method: "get",
16
16
  pathTemplate: "/api/v1/audits/archive",
17
17
  query,
18
18
  options
19
19
  });
20
- var getAuditSettings = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
20
+ var getAuditsSettings = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
21
21
  method: "get",
22
22
  pathTemplate: "/api/v1/audits/settings",
23
23
  options
24
24
  });
25
- var getAuditSources = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
25
+ var getAuditSources = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
26
26
  method: "get",
27
27
  pathTemplate: "/api/v1/audits/sources",
28
28
  options
29
29
  });
30
- var getAuditTypes = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
30
+ var getAuditTypes = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
31
31
  method: "get",
32
32
  pathTemplate: "/api/v1/audits/types",
33
33
  options
34
34
  });
35
- var getAudit = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "audits", {
35
+ var getAudit = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "audits", {
36
36
  method: "get",
37
37
  pathTemplate: "/api/v1/audits/{id}",
38
38
  pathVariables: { id },
39
39
  options
40
40
  });
41
41
  function clearCache() {
42
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "audits");
42
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "audits");
43
43
  }
44
44
  var auditsExport = {
45
45
  getAudits,
46
46
  getArchivedAudits,
47
- getAuditSettings,
47
+ getAuditsSettings,
48
48
  getAuditSources,
49
49
  getAuditTypes,
50
50
  getAudit,
@@ -60,4 +60,4 @@ var audits_default = auditsExport;
60
60
 
61
61
 
62
62
 
63
- exports.clearCache = clearCache; exports.default = audits_default; exports.getArchivedAudits = getArchivedAudits; exports.getAudit = getAudit; exports.getAuditSettings = getAuditSettings; exports.getAuditSources = getAuditSources; exports.getAuditTypes = getAuditTypes; exports.getAudits = getAudits;
63
+ exports.clearCache = clearCache; exports.default = audits_default; exports.getArchivedAudits = getArchivedAudits; exports.getAudit = getAudit; exports.getAuditSources = getAuditSources; exports.getAuditTypes = getAuditTypes; exports.getAudits = getAudits; exports.getAuditsSettings = getAuditsSettings;
package/audits.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-3YE7EI7I.mjs";
5
- import "./chunk-WM7FQU2U.mjs";
4
+ } from "./chunk-W4J34XGA.mjs";
5
+ import "./chunk-7REWEWCX.mjs";
6
6
 
7
7
  // src/public/rest/audits.ts
8
8
  var getAudits = async (query, options) => invokeFetch("audits", {
@@ -17,7 +17,7 @@ var getArchivedAudits = async (query, options) => invokeFetch("audits", {
17
17
  query,
18
18
  options
19
19
  });
20
- var getAuditSettings = async (options) => invokeFetch("audits", {
20
+ var getAuditsSettings = async (options) => invokeFetch("audits", {
21
21
  method: "get",
22
22
  pathTemplate: "/api/v1/audits/settings",
23
23
  options
@@ -44,7 +44,7 @@ function clearCache() {
44
44
  var auditsExport = {
45
45
  getAudits,
46
46
  getArchivedAudits,
47
- getAuditSettings,
47
+ getAuditsSettings,
48
48
  getAuditSources,
49
49
  getAuditTypes,
50
50
  getAudit,
@@ -56,8 +56,8 @@ export {
56
56
  audits_default as default,
57
57
  getArchivedAudits,
58
58
  getAudit,
59
- getAuditSettings,
60
59
  getAuditSources,
61
60
  getAuditTypes,
62
- getAudits
61
+ getAudits,
62
+ getAuditsSettings
63
63
  };
@@ -0,0 +1,38 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+ var _chunkRMKP2BDXjs = require('./chunk-RMKP2BDX.js');
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ exports.InvalidAuthTypeError = _chunkRMKP2BDXjs.InvalidAuthTypeError; exports.InvalidHostConfigError = _chunkRMKP2BDXjs.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _chunkRMKP2BDXjs.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _chunkRMKP2BDXjs.checkForCrossDomainRequest; exports.default = _chunkRMKP2BDXjs.auth_default; exports.getRestCallAuthParams = _chunkRMKP2BDXjs.getRestCallAuthParams; exports.getWebResourceAuthParams = _chunkRMKP2BDXjs.getWebResourceAuthParams; exports.getWebSocketAuthParams = _chunkRMKP2BDXjs.getWebSocketAuthParams; exports.handleAuthenticationError = _chunkRMKP2BDXjs.handleAuthenticationError; exports.isHostCrossOrigin = _chunkRMKP2BDXjs.isHostCrossOrigin; exports.isWindows = _chunkRMKP2BDXjs.isWindows; exports.logout = _chunkRMKP2BDXjs.logout; exports.registerAuthModule = _chunkRMKP2BDXjs.registerAuthModule; exports.setDefaultHostConfig = _chunkRMKP2BDXjs.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _chunkRMKP2BDXjs.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _chunkRMKP2BDXjs.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _chunkRMKP2BDXjs.toValidWebsocketLocationUrl;
@@ -0,0 +1,38 @@
1
+ import {
2
+ InvalidAuthTypeError,
3
+ InvalidHostConfigError,
4
+ UnexpectedAuthTypeError,
5
+ auth_default,
6
+ checkForCrossDomainRequest,
7
+ getRestCallAuthParams,
8
+ getWebResourceAuthParams,
9
+ getWebSocketAuthParams,
10
+ handleAuthenticationError,
11
+ isHostCrossOrigin,
12
+ isWindows,
13
+ logout,
14
+ registerAuthModule,
15
+ setDefaultHostConfig,
16
+ toValidEnigmaLocationUrl,
17
+ toValidLocationUrl,
18
+ toValidWebsocketLocationUrl
19
+ } from "./chunk-NALKLKZS.mjs";
20
+ export {
21
+ InvalidAuthTypeError,
22
+ InvalidHostConfigError,
23
+ UnexpectedAuthTypeError,
24
+ checkForCrossDomainRequest,
25
+ auth_default as default,
26
+ getRestCallAuthParams,
27
+ getWebResourceAuthParams,
28
+ getWebSocketAuthParams,
29
+ handleAuthenticationError,
30
+ isHostCrossOrigin,
31
+ isWindows,
32
+ logout,
33
+ registerAuthModule,
34
+ setDefaultHostConfig,
35
+ toValidEnigmaLocationUrl,
36
+ toValidLocationUrl,
37
+ toValidWebsocketLocationUrl
38
+ };
package/auth.js CHANGED
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk4FLMND6Tjs = require('./chunk-4FLMND6T.js');
7
- require('./chunk-ZT4C7KCQ.js');
6
+ var _chunkQN23TPIEjs = require('./chunk-QN23TPIE.js');
7
+ require('./chunk-H7SAZYEE.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- exports.default = _chunk4FLMND6Tjs.auth_default; exports.logout = _chunk4FLMND6Tjs.logout; exports.registerAuthModule = _chunk4FLMND6Tjs.registerAuthModule; exports.setDefaultHostConfig = _chunk4FLMND6Tjs.setDefaultHostConfig;
13
+ exports.default = _chunkQN23TPIEjs.auth_default; exports.logout = _chunkQN23TPIEjs.logout; exports.registerAuthModule = _chunkQN23TPIEjs.registerAuthModule; exports.setDefaultHostConfig = _chunkQN23TPIEjs.setDefaultHostConfig;
package/auth.mjs CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  logout,
4
4
  registerAuthModule,
5
5
  setDefaultHostConfig
6
- } from "./chunk-GUQBHY3H.mjs";
7
- import "./chunk-WM7FQU2U.mjs";
6
+ } from "./chunk-KMMWJZHM.mjs";
7
+ import "./chunk-7REWEWCX.mjs";
8
8
  export {
9
9
  auth_default as default,
10
10
  logout,
package/automations.d.mts CHANGED
@@ -216,15 +216,15 @@ type CreateAutomationHttpError = {
216
216
  };
217
217
  /**
218
218
  * Retrieves the automation settings.
219
- * @throws GetAutomationSettingsHttpError
219
+ * @throws GetAutomationsSettingsHttpError
220
220
  */
221
- declare const getAutomationSettings: (options?: ApiCallOptions) => Promise<GetAutomationSettingsHttpResponse>;
222
- type GetAutomationSettingsHttpResponse = {
221
+ declare const getAutomationsSettings: (options?: ApiCallOptions) => Promise<GetAutomationsSettingsHttpResponse>;
222
+ type GetAutomationsSettingsHttpResponse = {
223
223
  data: SettingsObject;
224
224
  headers: Headers;
225
225
  status: number;
226
226
  };
227
- type GetAutomationSettingsHttpError = {
227
+ type GetAutomationsSettingsHttpError = {
228
228
  data: ErrorResponse;
229
229
  headers: Headers;
230
230
  status: number;
@@ -232,15 +232,15 @@ type GetAutomationSettingsHttpError = {
232
232
  /**
233
233
  * Update the automation settings.
234
234
  * @param body an object with the body content
235
- * @throws UpdateAutomationSettingsHttpError
235
+ * @throws UpdateAutomationsSettingsHttpError
236
236
  */
237
- declare const updateAutomationSettings: (body: SettingsObject, options?: ApiCallOptions) => Promise<UpdateAutomationSettingsHttpResponse>;
238
- type UpdateAutomationSettingsHttpResponse = {
237
+ declare const updateAutomationsSettings: (body: SettingsObject, options?: ApiCallOptions) => Promise<UpdateAutomationsSettingsHttpResponse>;
238
+ type UpdateAutomationsSettingsHttpResponse = {
239
239
  data: SettingsObject;
240
240
  headers: Headers;
241
241
  status: number;
242
242
  };
243
- type UpdateAutomationSettingsHttpError = {
243
+ type UpdateAutomationsSettingsHttpError = {
244
244
  data: ErrorResponse;
245
245
  headers: Headers;
246
246
  status: number;
@@ -249,20 +249,20 @@ type UpdateAutomationSettingsHttpError = {
249
249
  * **Limitations:**
250
250
  * * **Maximum 1000 metrics per API call**
251
251
  * @param query an object with query parameters
252
- * @throws GetAutomationUsageMetricsHttpError
252
+ * @throws GetAutomationsUsageMetricsHttpError
253
253
  */
254
- declare const getAutomationUsageMetrics: (query: {
254
+ declare const getAutomationsUsageMetrics: (query: {
255
255
  /** If specified, result will be broken apart for each automation */
256
256
  breakdownBy?: string;
257
257
  /** Indicates how the metrics should be filtered */
258
258
  filter?: string;
259
- }, options?: ApiCallOptions) => Promise<GetAutomationUsageMetricsHttpResponse>;
260
- type GetAutomationUsageMetricsHttpResponse = {
259
+ }, options?: ApiCallOptions) => Promise<GetAutomationsUsageMetricsHttpResponse>;
260
+ type GetAutomationsUsageMetricsHttpResponse = {
261
261
  data: UsageList;
262
262
  headers: Headers;
263
263
  status: number;
264
264
  };
265
- type GetAutomationUsageMetricsHttpError = {
265
+ type GetAutomationsUsageMetricsHttpError = {
266
266
  data: ErrorResponse;
267
267
  headers: Headers;
268
268
  status: number;
@@ -522,22 +522,22 @@ interface AutomationsAPI {
522
522
  createAutomation: typeof createAutomation;
523
523
  /**
524
524
  * Retrieves the automation settings.
525
- * @throws GetAutomationSettingsHttpError
525
+ * @throws GetAutomationsSettingsHttpError
526
526
  */
527
- getAutomationSettings: typeof getAutomationSettings;
527
+ getAutomationsSettings: typeof getAutomationsSettings;
528
528
  /**
529
529
  * Update the automation settings.
530
530
  * @param body an object with the body content
531
- * @throws UpdateAutomationSettingsHttpError
531
+ * @throws UpdateAutomationsSettingsHttpError
532
532
  */
533
- updateAutomationSettings: typeof updateAutomationSettings;
533
+ updateAutomationsSettings: typeof updateAutomationsSettings;
534
534
  /**
535
535
  * **Limitations:**
536
536
  * * **Maximum 1000 metrics per API call**
537
537
  * @param query an object with query parameters
538
- * @throws GetAutomationUsageMetricsHttpError
538
+ * @throws GetAutomationsUsageMetricsHttpError
539
539
  */
540
- getAutomationUsageMetrics: typeof getAutomationUsageMetrics;
540
+ getAutomationsUsageMetrics: typeof getAutomationsUsageMetrics;
541
541
  /**
542
542
  * Delete an automation
543
543
  * @param id The unique identifier for the automation.
@@ -635,4 +635,4 @@ interface AutomationsAPI {
635
635
  */
636
636
  declare const automationsExport: AutomationsAPI;
637
637
 
638
- export { type AutomationDetailRequestObject, type AutomationDetailResponseObject, type AutomationList, type AutomationListObject, type AutomationUsageObject, type AutomationsAPI, type CopyAutomationHttpError, type CopyAutomationHttpResponse, type CreateAutomationHttpError, type CreateAutomationHttpResponse, type DeleteAutomationHttpError, type DeleteAutomationHttpResponse, type DisableAutomationHttpError, type DisableAutomationHttpResponse, type EnableAutomationHttpError, type EnableAutomationHttpResponse, type Error, type ErrorResponse, type GetAutomationHttpError, type GetAutomationHttpResponse, type GetAutomationRunDetailsHttpError, type GetAutomationRunDetailsHttpResponse, type GetAutomationRunHttpError, type GetAutomationRunHttpResponse, type GetAutomationRunsHttpError, type GetAutomationRunsHttpResponse, type GetAutomationSettingsHttpError, type GetAutomationSettingsHttpResponse, type GetAutomationUsageMetricsHttpError, type GetAutomationUsageMetricsHttpResponse, type GetAutomationsHttpError, type GetAutomationsHttpResponse, type Links, type MoveAutomationHttpError, type MoveAutomationHttpResponse, type PaginationLink, type QueueAutomationRunHttpError, type QueueAutomationRunHttpResponse, type RetryAutomationRunHttpError, type RetryAutomationRunHttpResponse, type RunDetailRequestObject, type RunDetailResponseObject, type RunList, type RunListObject, type ScheduleRequestObject, type ScheduleResponseObject, type SettingsObject, type StopAutomationRunHttpError, type StopAutomationRunHttpResponse, type UpdateAutomationHttpError, type UpdateAutomationHttpResponse, type UpdateAutomationSettingsHttpError, type UpdateAutomationSettingsHttpResponse, type UsageList, type UsageObject, clearCache, copyAutomation, createAutomation, automationsExport as default, deleteAutomation, disableAutomation, enableAutomation, getAutomation, getAutomationRun, getAutomationRunDetails, getAutomationRuns, getAutomationSettings, getAutomationUsageMetrics, getAutomations, moveAutomation, queueAutomationRun, retryAutomationRun, stopAutomationRun, updateAutomation, updateAutomationSettings };
638
+ export { type AutomationDetailRequestObject, type AutomationDetailResponseObject, type AutomationList, type AutomationListObject, type AutomationUsageObject, type AutomationsAPI, type CopyAutomationHttpError, type CopyAutomationHttpResponse, type CreateAutomationHttpError, type CreateAutomationHttpResponse, type DeleteAutomationHttpError, type DeleteAutomationHttpResponse, type DisableAutomationHttpError, type DisableAutomationHttpResponse, type EnableAutomationHttpError, type EnableAutomationHttpResponse, type Error, type ErrorResponse, type GetAutomationHttpError, type GetAutomationHttpResponse, type GetAutomationRunDetailsHttpError, type GetAutomationRunDetailsHttpResponse, type GetAutomationRunHttpError, type GetAutomationRunHttpResponse, type GetAutomationRunsHttpError, type GetAutomationRunsHttpResponse, type GetAutomationsHttpError, type GetAutomationsHttpResponse, type GetAutomationsSettingsHttpError, type GetAutomationsSettingsHttpResponse, type GetAutomationsUsageMetricsHttpError, type GetAutomationsUsageMetricsHttpResponse, type Links, type MoveAutomationHttpError, type MoveAutomationHttpResponse, type PaginationLink, type QueueAutomationRunHttpError, type QueueAutomationRunHttpResponse, type RetryAutomationRunHttpError, type RetryAutomationRunHttpResponse, type RunDetailRequestObject, type RunDetailResponseObject, type RunList, type RunListObject, type ScheduleRequestObject, type ScheduleResponseObject, type SettingsObject, type StopAutomationRunHttpError, type StopAutomationRunHttpResponse, type UpdateAutomationHttpError, type UpdateAutomationHttpResponse, type UpdateAutomationsSettingsHttpError, type UpdateAutomationsSettingsHttpResponse, type UsageList, type UsageObject, clearCache, copyAutomation, createAutomation, automationsExport as default, deleteAutomation, disableAutomation, enableAutomation, getAutomation, getAutomationRun, getAutomationRunDetails, getAutomationRuns, getAutomations, getAutomationsSettings, getAutomationsUsageMetrics, moveAutomation, queueAutomationRun, retryAutomationRun, stopAutomationRun, updateAutomation, updateAutomationsSettings };
package/automations.d.ts CHANGED
@@ -216,15 +216,15 @@ type CreateAutomationHttpError = {
216
216
  };
217
217
  /**
218
218
  * Retrieves the automation settings.
219
- * @throws GetAutomationSettingsHttpError
219
+ * @throws GetAutomationsSettingsHttpError
220
220
  */
221
- declare const getAutomationSettings: (options?: ApiCallOptions) => Promise<GetAutomationSettingsHttpResponse>;
222
- type GetAutomationSettingsHttpResponse = {
221
+ declare const getAutomationsSettings: (options?: ApiCallOptions) => Promise<GetAutomationsSettingsHttpResponse>;
222
+ type GetAutomationsSettingsHttpResponse = {
223
223
  data: SettingsObject;
224
224
  headers: Headers;
225
225
  status: number;
226
226
  };
227
- type GetAutomationSettingsHttpError = {
227
+ type GetAutomationsSettingsHttpError = {
228
228
  data: ErrorResponse;
229
229
  headers: Headers;
230
230
  status: number;
@@ -232,15 +232,15 @@ type GetAutomationSettingsHttpError = {
232
232
  /**
233
233
  * Update the automation settings.
234
234
  * @param body an object with the body content
235
- * @throws UpdateAutomationSettingsHttpError
235
+ * @throws UpdateAutomationsSettingsHttpError
236
236
  */
237
- declare const updateAutomationSettings: (body: SettingsObject, options?: ApiCallOptions) => Promise<UpdateAutomationSettingsHttpResponse>;
238
- type UpdateAutomationSettingsHttpResponse = {
237
+ declare const updateAutomationsSettings: (body: SettingsObject, options?: ApiCallOptions) => Promise<UpdateAutomationsSettingsHttpResponse>;
238
+ type UpdateAutomationsSettingsHttpResponse = {
239
239
  data: SettingsObject;
240
240
  headers: Headers;
241
241
  status: number;
242
242
  };
243
- type UpdateAutomationSettingsHttpError = {
243
+ type UpdateAutomationsSettingsHttpError = {
244
244
  data: ErrorResponse;
245
245
  headers: Headers;
246
246
  status: number;
@@ -249,20 +249,20 @@ type UpdateAutomationSettingsHttpError = {
249
249
  * **Limitations:**
250
250
  * * **Maximum 1000 metrics per API call**
251
251
  * @param query an object with query parameters
252
- * @throws GetAutomationUsageMetricsHttpError
252
+ * @throws GetAutomationsUsageMetricsHttpError
253
253
  */
254
- declare const getAutomationUsageMetrics: (query: {
254
+ declare const getAutomationsUsageMetrics: (query: {
255
255
  /** If specified, result will be broken apart for each automation */
256
256
  breakdownBy?: string;
257
257
  /** Indicates how the metrics should be filtered */
258
258
  filter?: string;
259
- }, options?: ApiCallOptions) => Promise<GetAutomationUsageMetricsHttpResponse>;
260
- type GetAutomationUsageMetricsHttpResponse = {
259
+ }, options?: ApiCallOptions) => Promise<GetAutomationsUsageMetricsHttpResponse>;
260
+ type GetAutomationsUsageMetricsHttpResponse = {
261
261
  data: UsageList;
262
262
  headers: Headers;
263
263
  status: number;
264
264
  };
265
- type GetAutomationUsageMetricsHttpError = {
265
+ type GetAutomationsUsageMetricsHttpError = {
266
266
  data: ErrorResponse;
267
267
  headers: Headers;
268
268
  status: number;
@@ -522,22 +522,22 @@ interface AutomationsAPI {
522
522
  createAutomation: typeof createAutomation;
523
523
  /**
524
524
  * Retrieves the automation settings.
525
- * @throws GetAutomationSettingsHttpError
525
+ * @throws GetAutomationsSettingsHttpError
526
526
  */
527
- getAutomationSettings: typeof getAutomationSettings;
527
+ getAutomationsSettings: typeof getAutomationsSettings;
528
528
  /**
529
529
  * Update the automation settings.
530
530
  * @param body an object with the body content
531
- * @throws UpdateAutomationSettingsHttpError
531
+ * @throws UpdateAutomationsSettingsHttpError
532
532
  */
533
- updateAutomationSettings: typeof updateAutomationSettings;
533
+ updateAutomationsSettings: typeof updateAutomationsSettings;
534
534
  /**
535
535
  * **Limitations:**
536
536
  * * **Maximum 1000 metrics per API call**
537
537
  * @param query an object with query parameters
538
- * @throws GetAutomationUsageMetricsHttpError
538
+ * @throws GetAutomationsUsageMetricsHttpError
539
539
  */
540
- getAutomationUsageMetrics: typeof getAutomationUsageMetrics;
540
+ getAutomationsUsageMetrics: typeof getAutomationsUsageMetrics;
541
541
  /**
542
542
  * Delete an automation
543
543
  * @param id The unique identifier for the automation.
@@ -635,4 +635,4 @@ interface AutomationsAPI {
635
635
  */
636
636
  declare const automationsExport: AutomationsAPI;
637
637
 
638
- export { type AutomationDetailRequestObject, type AutomationDetailResponseObject, type AutomationList, type AutomationListObject, type AutomationUsageObject, type AutomationsAPI, type CopyAutomationHttpError, type CopyAutomationHttpResponse, type CreateAutomationHttpError, type CreateAutomationHttpResponse, type DeleteAutomationHttpError, type DeleteAutomationHttpResponse, type DisableAutomationHttpError, type DisableAutomationHttpResponse, type EnableAutomationHttpError, type EnableAutomationHttpResponse, type Error, type ErrorResponse, type GetAutomationHttpError, type GetAutomationHttpResponse, type GetAutomationRunDetailsHttpError, type GetAutomationRunDetailsHttpResponse, type GetAutomationRunHttpError, type GetAutomationRunHttpResponse, type GetAutomationRunsHttpError, type GetAutomationRunsHttpResponse, type GetAutomationSettingsHttpError, type GetAutomationSettingsHttpResponse, type GetAutomationUsageMetricsHttpError, type GetAutomationUsageMetricsHttpResponse, type GetAutomationsHttpError, type GetAutomationsHttpResponse, type Links, type MoveAutomationHttpError, type MoveAutomationHttpResponse, type PaginationLink, type QueueAutomationRunHttpError, type QueueAutomationRunHttpResponse, type RetryAutomationRunHttpError, type RetryAutomationRunHttpResponse, type RunDetailRequestObject, type RunDetailResponseObject, type RunList, type RunListObject, type ScheduleRequestObject, type ScheduleResponseObject, type SettingsObject, type StopAutomationRunHttpError, type StopAutomationRunHttpResponse, type UpdateAutomationHttpError, type UpdateAutomationHttpResponse, type UpdateAutomationSettingsHttpError, type UpdateAutomationSettingsHttpResponse, type UsageList, type UsageObject, clearCache, copyAutomation, createAutomation, automationsExport as default, deleteAutomation, disableAutomation, enableAutomation, getAutomation, getAutomationRun, getAutomationRunDetails, getAutomationRuns, getAutomationSettings, getAutomationUsageMetrics, getAutomations, moveAutomation, queueAutomationRun, retryAutomationRun, stopAutomationRun, updateAutomation, updateAutomationSettings };
638
+ export { type AutomationDetailRequestObject, type AutomationDetailResponseObject, type AutomationList, type AutomationListObject, type AutomationUsageObject, type AutomationsAPI, type CopyAutomationHttpError, type CopyAutomationHttpResponse, type CreateAutomationHttpError, type CreateAutomationHttpResponse, type DeleteAutomationHttpError, type DeleteAutomationHttpResponse, type DisableAutomationHttpError, type DisableAutomationHttpResponse, type EnableAutomationHttpError, type EnableAutomationHttpResponse, type Error, type ErrorResponse, type GetAutomationHttpError, type GetAutomationHttpResponse, type GetAutomationRunDetailsHttpError, type GetAutomationRunDetailsHttpResponse, type GetAutomationRunHttpError, type GetAutomationRunHttpResponse, type GetAutomationRunsHttpError, type GetAutomationRunsHttpResponse, type GetAutomationsHttpError, type GetAutomationsHttpResponse, type GetAutomationsSettingsHttpError, type GetAutomationsSettingsHttpResponse, type GetAutomationsUsageMetricsHttpError, type GetAutomationsUsageMetricsHttpResponse, type Links, type MoveAutomationHttpError, type MoveAutomationHttpResponse, type PaginationLink, type QueueAutomationRunHttpError, type QueueAutomationRunHttpResponse, type RetryAutomationRunHttpError, type RetryAutomationRunHttpResponse, type RunDetailRequestObject, type RunDetailResponseObject, type RunList, type RunListObject, type ScheduleRequestObject, type ScheduleResponseObject, type SettingsObject, type StopAutomationRunHttpError, type StopAutomationRunHttpResponse, type UpdateAutomationHttpError, type UpdateAutomationHttpResponse, type UpdateAutomationsSettingsHttpError, type UpdateAutomationsSettingsHttpResponse, type UsageList, type UsageObject, clearCache, copyAutomation, createAutomation, automationsExport as default, deleteAutomation, disableAutomation, enableAutomation, getAutomation, getAutomationRun, getAutomationRunDetails, getAutomationRuns, getAutomations, getAutomationsSettings, getAutomationsUsageMetrics, moveAutomation, queueAutomationRun, retryAutomationRun, stopAutomationRun, updateAutomation, updateAutomationsSettings };