@qlik/api 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/api-keys.d.mts +10 -1
  2. package/api-keys.d.ts +10 -1
  3. package/api-keys.js +11 -11
  4. package/api-keys.mjs +3 -3
  5. package/apps.d.mts +134 -8
  6. package/apps.d.ts +134 -8
  7. package/apps.js +47 -47
  8. package/apps.mjs +3 -3
  9. package/audits.d.mts +14 -1
  10. package/audits.d.ts +14 -1
  11. package/audits.js +10 -10
  12. package/audits.mjs +3 -3
  13. package/auth.js +4 -4
  14. package/auth.mjs +3 -3
  15. package/automations.d.mts +9 -1
  16. package/automations.d.ts +9 -1
  17. package/automations.js +22 -22
  18. package/automations.mjs +3 -3
  19. package/brands.d.mts +19 -4
  20. package/brands.d.ts +19 -4
  21. package/brands.js +16 -16
  22. package/brands.mjs +3 -3
  23. package/{enigma-session-VSFGLOYW.mjs → chunks/34FMVD4C.mjs} +165 -21
  24. package/{chunk-QTCDGPKS.js → chunks/37PLWNAN.js} +82 -60
  25. package/{chunk-GY2TAYQH.js → chunks/3MHXEHLQ.js} +2 -2
  26. package/{invoke-fetch-X42FV2FS.mjs → chunks/42LZKDDD.mjs} +2 -2
  27. package/{enigma-session-VTHT4O6N.js → chunks/AVQ3WHH7.js} +168 -24
  28. package/{chunk-BRDPNGQ7.js → chunks/FG5GDUSZ.js} +3 -3
  29. package/{chunk-4R2XCEVK.mjs → chunks/FUU5VIC4.mjs} +1 -1
  30. package/{esm-HMY2LVVZ.mjs → chunks/H32EGPZN.mjs} +1 -1
  31. package/{qix-57OF6A7B.mjs → chunks/HFNJ3ERI.mjs} +3 -3
  32. package/{chunk-4MWB2T3C.mjs → chunks/HWZC3PIL.mjs} +1 -1
  33. package/{chunk-RYBRKLOY.js → chunks/ILOY5QEA.js} +4 -4
  34. package/{chunk-YILVC32M.mjs → chunks/KEPPVUY3.mjs} +1 -1
  35. package/{auth-U6QTT3H4.mjs → chunks/MMUU2CQM.mjs} +2 -2
  36. package/{chunk-LLLEO6K6.mjs → chunks/O5POHH2Q.mjs} +3 -3
  37. package/{chunk-EALMXU6S.js → chunks/QMWU5E4D.js} +3 -3
  38. package/chunks/RMNAO4DP.js +17 -0
  39. package/chunks/SUYUL6MB.js +41 -0
  40. package/{chunk-F24SLAYP.mjs → chunks/VMS4MOCI.mjs} +79 -57
  41. package/{qix-QWSMFPQY.js → chunks/WCJ4JQHA.js} +9 -9
  42. package/{esm-PXQUPJYJ.js → chunks/WM2VCN4G.js} +1 -1
  43. package/collections.d.mts +34 -22
  44. package/collections.d.ts +34 -22
  45. package/collections.js +15 -15
  46. package/collections.mjs +3 -3
  47. package/csp-origins.d.mts +1 -1
  48. package/csp-origins.d.ts +1 -1
  49. package/csp-origins.js +10 -10
  50. package/csp-origins.mjs +3 -3
  51. package/data-assets.d.mts +1 -1
  52. package/data-assets.d.ts +1 -1
  53. package/data-assets.js +9 -9
  54. package/data-assets.mjs +3 -3
  55. package/data-connections.d.mts +13 -2
  56. package/data-connections.d.ts +13 -2
  57. package/data-connections.js +13 -13
  58. package/data-connections.mjs +3 -3
  59. package/data-credentials.d.mts +6 -1
  60. package/data-credentials.d.ts +6 -1
  61. package/data-credentials.js +8 -8
  62. package/data-credentials.mjs +3 -3
  63. package/data-files.d.mts +7 -1
  64. package/data-files.d.ts +7 -1
  65. package/data-files.js +16 -16
  66. package/data-files.mjs +3 -3
  67. package/extensions.d.mts +13 -1
  68. package/extensions.d.ts +13 -1
  69. package/extensions.js +11 -11
  70. package/extensions.mjs +3 -3
  71. package/{global.types-4jzAvW7R.d.mts → global.types-5iFvFJvX.d.mts} +5 -1
  72. package/{global.types-1rNhDH7j.d.ts → global.types-TzVhFPid.d.ts} +5 -1
  73. package/glossaries.d.mts +51 -1
  74. package/glossaries.d.ts +51 -1
  75. package/glossaries.js +28 -28
  76. package/glossaries.mjs +3 -3
  77. package/groups.d.mts +40 -1
  78. package/groups.d.ts +40 -1
  79. package/groups.js +12 -12
  80. package/groups.mjs +3 -3
  81. package/identity-providers.d.mts +43 -1
  82. package/identity-providers.d.ts +43 -1
  83. package/identity-providers.js +12 -12
  84. package/identity-providers.mjs +3 -3
  85. package/index.d.mts +1 -1
  86. package/index.d.ts +1 -1
  87. package/index.js +9 -9
  88. package/index.mjs +5 -5
  89. package/items.d.mts +33 -2
  90. package/items.d.ts +33 -2
  91. package/items.js +12 -12
  92. package/items.mjs +3 -3
  93. package/licenses.d.mts +8 -5
  94. package/licenses.d.ts +8 -5
  95. package/licenses.js +13 -13
  96. package/licenses.mjs +3 -3
  97. package/package.json +4 -1
  98. package/qix.d.mts +20 -2
  99. package/qix.d.ts +20 -2
  100. package/qix.js +4 -4
  101. package/qix.mjs +3 -3
  102. package/quotas.d.mts +4 -1
  103. package/quotas.d.ts +4 -1
  104. package/quotas.js +6 -6
  105. package/quotas.mjs +3 -3
  106. package/reload-tasks.d.mts +7 -4
  107. package/reload-tasks.d.ts +7 -4
  108. package/reload-tasks.js +9 -9
  109. package/reload-tasks.mjs +3 -3
  110. package/reloads.d.mts +10 -1
  111. package/reloads.d.ts +10 -1
  112. package/reloads.js +8 -8
  113. package/reloads.mjs +3 -3
  114. package/roles.d.mts +11 -2
  115. package/roles.d.ts +11 -2
  116. package/roles.js +6 -6
  117. package/roles.mjs +3 -3
  118. package/spaces.d.mts +38 -6
  119. package/spaces.d.ts +38 -6
  120. package/spaces.js +16 -16
  121. package/spaces.mjs +3 -3
  122. package/temp-contents.d.mts +7 -1
  123. package/temp-contents.d.ts +7 -1
  124. package/temp-contents.js +7 -7
  125. package/temp-contents.mjs +3 -3
  126. package/tenants.d.mts +18 -6
  127. package/tenants.d.ts +18 -6
  128. package/tenants.js +10 -10
  129. package/tenants.mjs +3 -3
  130. package/themes.d.mts +10 -1
  131. package/themes.d.ts +10 -1
  132. package/themes.js +11 -11
  133. package/themes.mjs +3 -3
  134. package/transports.d.mts +21 -12
  135. package/transports.d.ts +21 -12
  136. package/transports.js +10 -10
  137. package/transports.mjs +3 -3
  138. package/users.d.mts +90 -25
  139. package/users.d.ts +90 -25
  140. package/users.js +14 -14
  141. package/users.mjs +3 -3
  142. package/web-integrations.d.mts +19 -1
  143. package/web-integrations.d.ts +19 -1
  144. package/web-integrations.js +9 -9
  145. package/web-integrations.mjs +3 -3
  146. package/web-notifications.d.mts +19 -1
  147. package/web-notifications.d.ts +19 -1
  148. package/web-notifications.js +10 -10
  149. package/web-notifications.mjs +3 -3
  150. package/webhooks.d.mts +4 -1
  151. package/webhooks.d.ts +4 -1
  152. package/webhooks.js +14 -14
  153. package/webhooks.mjs +3 -3
  154. package/auth-XY6FVSVM.js +0 -41
  155. package/invoke-fetch-FRLO3CK6.js +0 -17
  156. /package/{chunk-P57PW2II.js → chunks/4HB3TAEO.js} +0 -0
  157. /package/{chunk-ZFXKCRJC.mjs → chunks/VSY5YIQY.mjs} +0 -0
package/audits.d.mts CHANGED
@@ -1,7 +1,8 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type ErrorResponse = {
5
+ /** @deprecated */
5
6
  error?: string;
6
7
  errors?: {
7
8
  code?: string;
@@ -10,6 +11,9 @@ type ErrorResponse = {
10
11
  }[];
11
12
  traceId?: string;
12
13
  };
14
+ /**
15
+ * The availability of the properties depends on the event and the context it was triggered in.
16
+ */
13
17
  type EventExtensions = {
14
18
  /** Specifies the entity performing the action on behalf of another party listed as triggering the action. */
15
19
  actor?: {
@@ -57,6 +61,7 @@ type GetByIDResult = {
57
61
  userId?: string;
58
62
  };
59
63
  type GetLinks = {
64
+ /** @deprecated */
60
65
  Self?: Href;
61
66
  self?: Href;
62
67
  };
@@ -79,12 +84,20 @@ type GetSettingsResult = {
79
84
  EventTTL?: number;
80
85
  };
81
86
  };
87
+ /**
88
+ * @deprecated
89
+ *
90
+ */
82
91
  type Href = {
92
+ /** @deprecated */
83
93
  Href?: string;
84
94
  };
85
95
  type ListLinks = {
96
+ /** @deprecated */
86
97
  Next?: Href;
98
+ /** @deprecated */
87
99
  Prev?: Href;
100
+ /** @deprecated */
88
101
  Self?: Href;
89
102
  next?: Href;
90
103
  prev?: Href;
package/audits.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type ErrorResponse = {
5
+ /** @deprecated */
5
6
  error?: string;
6
7
  errors?: {
7
8
  code?: string;
@@ -10,6 +11,9 @@ type ErrorResponse = {
10
11
  }[];
11
12
  traceId?: string;
12
13
  };
14
+ /**
15
+ * The availability of the properties depends on the event and the context it was triggered in.
16
+ */
13
17
  type EventExtensions = {
14
18
  /** Specifies the entity performing the action on behalf of another party listed as triggering the action. */
15
19
  actor?: {
@@ -57,6 +61,7 @@ type GetByIDResult = {
57
61
  userId?: string;
58
62
  };
59
63
  type GetLinks = {
64
+ /** @deprecated */
60
65
  Self?: Href;
61
66
  self?: Href;
62
67
  };
@@ -79,12 +84,20 @@ type GetSettingsResult = {
79
84
  EventTTL?: number;
80
85
  };
81
86
  };
87
+ /**
88
+ * @deprecated
89
+ *
90
+ */
82
91
  type Href = {
92
+ /** @deprecated */
83
93
  Href?: string;
84
94
  };
85
95
  type ListLinks = {
96
+ /** @deprecated */
86
97
  Next?: Href;
98
+ /** @deprecated */
87
99
  Prev?: Href;
100
+ /** @deprecated */
88
101
  Self?: Href;
89
102
  next?: Href;
90
103
  prev?: Href;
package/audits.js CHANGED
@@ -1,46 +1,46 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/audits.ts
9
- var getAudits = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
9
+ var getAudits = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/audits",
12
12
  query,
13
13
  options
14
14
  });
15
- var getArchivedAudits = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
15
+ var getArchivedAudits = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/audits/archive",
18
18
  query,
19
19
  options
20
20
  });
21
- var getAuditsSettings = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
21
+ var getAuditsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
22
22
  method: "get",
23
23
  pathTemplate: "/api/v1/audits/settings",
24
24
  options
25
25
  });
26
- var getAuditSources = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
26
+ var getAuditSources = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
27
27
  method: "get",
28
28
  pathTemplate: "/api/v1/audits/sources",
29
29
  options
30
30
  });
31
- var getAuditTypes = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
31
+ var getAuditTypes = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
32
32
  method: "get",
33
33
  pathTemplate: "/api/v1/audits/types",
34
34
  options
35
35
  });
36
- var getAudit = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "audits", {
36
+ var getAudit = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "audits", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/audits/{id}",
39
39
  pathVariables: { id },
40
40
  options
41
41
  });
42
42
  function clearCache() {
43
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "audits");
43
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "audits");
44
44
  }
45
45
  var auditsExport = {
46
46
  getAudits,
package/audits.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/audits.ts
9
9
  var getAudits = async (query, options) => invokeFetch("audits", {
package/auth.js CHANGED
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkRYBRKLOYjs = require('./chunk-RYBRKLOY.js');
7
- require('./chunk-BRDPNGQ7.js');
8
- require('./chunk-P57PW2II.js');
6
+ var _ILOY5QEAjs = require('./chunks/ILOY5QEA.js');
7
+ require('./chunks/FG5GDUSZ.js');
8
+ require('./chunks/4HB3TAEO.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.default = _chunkRYBRKLOYjs.auth_default; exports.logout = _chunkRYBRKLOYjs.logout; exports.registerAuthModule = _chunkRYBRKLOYjs.registerAuthModule; exports.setDefaultHostConfig = _chunkRYBRKLOYjs.setDefaultHostConfig;
14
+ exports.default = _ILOY5QEAjs.auth_default; exports.logout = _ILOY5QEAjs.logout; exports.registerAuthModule = _ILOY5QEAjs.registerAuthModule; exports.setDefaultHostConfig = _ILOY5QEAjs.setDefaultHostConfig;
package/auth.mjs CHANGED
@@ -3,9 +3,9 @@ import {
3
3
  logout,
4
4
  registerAuthModule,
5
5
  setDefaultHostConfig
6
- } from "./chunk-4R2XCEVK.mjs";
7
- import "./chunk-LLLEO6K6.mjs";
8
- import "./chunk-ZFXKCRJC.mjs";
6
+ } from "./chunks/FUU5VIC4.mjs";
7
+ import "./chunks/O5POHH2Q.mjs";
8
+ import "./chunks/VSY5YIQY.mjs";
9
9
  export {
10
10
  auth_default as default,
11
11
  logout,
package/automations.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type AutomationDetailRequestObject = {
@@ -217,6 +217,8 @@ type CreateAutomationHttpError = {
217
217
  status: number;
218
218
  };
219
219
  /**
220
+ * @deprecated
221
+ *
220
222
  * Retrieves the automation settings.
221
223
  *
222
224
  * @throws GetAutomationsSettingsHttpError
@@ -233,6 +235,8 @@ type GetAutomationsSettingsHttpError = {
233
235
  status: number;
234
236
  };
235
237
  /**
238
+ * @deprecated
239
+ *
236
240
  * Update the automation settings.
237
241
  *
238
242
  * @param body an object with the body content
@@ -541,12 +545,16 @@ interface AutomationsAPI {
541
545
  */
542
546
  createAutomation: typeof createAutomation;
543
547
  /**
548
+ * @deprecated
549
+ *
544
550
  * Retrieves the automation settings.
545
551
  *
546
552
  * @throws GetAutomationsSettingsHttpError
547
553
  */
548
554
  getAutomationsSettings: typeof getAutomationsSettings;
549
555
  /**
556
+ * @deprecated
557
+ *
550
558
  * Update the automation settings.
551
559
  *
552
560
  * @param body an object with the body content
package/automations.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type AutomationDetailRequestObject = {
@@ -217,6 +217,8 @@ type CreateAutomationHttpError = {
217
217
  status: number;
218
218
  };
219
219
  /**
220
+ * @deprecated
221
+ *
220
222
  * Retrieves the automation settings.
221
223
  *
222
224
  * @throws GetAutomationsSettingsHttpError
@@ -233,6 +235,8 @@ type GetAutomationsSettingsHttpError = {
233
235
  status: number;
234
236
  };
235
237
  /**
238
+ * @deprecated
239
+ *
236
240
  * Update the automation settings.
237
241
  *
238
242
  * @param body an object with the body content
@@ -541,12 +545,16 @@ interface AutomationsAPI {
541
545
  */
542
546
  createAutomation: typeof createAutomation;
543
547
  /**
548
+ * @deprecated
549
+ *
544
550
  * Retrieves the automation settings.
545
551
  *
546
552
  * @throws GetAutomationsSettingsHttpError
547
553
  */
548
554
  getAutomationsSettings: typeof getAutomationsSettings;
549
555
  /**
556
+ * @deprecated
557
+ *
550
558
  * Update the automation settings.
551
559
  *
552
560
  * @param body an object with the body content
package/automations.js CHANGED
@@ -1,55 +1,55 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
- require('./chunk-BRDPNGQ7.js');
6
- require('./chunk-P57PW2II.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
+ require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/automations.ts
9
- var getAutomations = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
9
+ var getAutomations = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/automations",
12
12
  query,
13
13
  options
14
14
  });
15
- var createAutomation = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
15
+ var createAutomation = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/automations",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getAutomationsSettings = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
22
+ var getAutomationsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/automations/settings",
25
25
  options
26
26
  });
27
- var updateAutomationsSettings = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
27
+ var updateAutomationsSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
28
28
  method: "put",
29
29
  pathTemplate: "/api/v1/automations/settings",
30
30
  body,
31
31
  contentType: "application/json",
32
32
  options
33
33
  });
34
- var getAutomationsUsageMetrics = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
34
+ var getAutomationsUsageMetrics = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
35
35
  method: "get",
36
36
  pathTemplate: "/api/v1/automations/usage",
37
37
  query,
38
38
  options
39
39
  });
40
- var deleteAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
40
+ var deleteAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
41
41
  method: "delete",
42
42
  pathTemplate: "/api/v1/automations/{id}",
43
43
  pathVariables: { id },
44
44
  options
45
45
  });
46
- var getAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
46
+ var getAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
47
47
  method: "get",
48
48
  pathTemplate: "/api/v1/automations/{id}",
49
49
  pathVariables: { id },
50
50
  options
51
51
  });
52
- var updateAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
52
+ var updateAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
53
53
  method: "put",
54
54
  pathTemplate: "/api/v1/automations/{id}",
55
55
  pathVariables: { id },
@@ -57,7 +57,7 @@ var updateAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch
57
57
  contentType: "application/json",
58
58
  options
59
59
  });
60
- var copyAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
60
+ var copyAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
61
61
  method: "post",
62
62
  pathTemplate: "/api/v1/automations/{id}/actions/copy",
63
63
  pathVariables: { id },
@@ -65,19 +65,19 @@ var copyAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.c
65
65
  contentType: "application/json",
66
66
  options
67
67
  });
68
- var disableAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
68
+ var disableAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
69
69
  method: "post",
70
70
  pathTemplate: "/api/v1/automations/{id}/actions/disable",
71
71
  pathVariables: { id },
72
72
  options
73
73
  });
74
- var enableAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
74
+ var enableAutomation = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
75
75
  method: "post",
76
76
  pathTemplate: "/api/v1/automations/{id}/actions/enable",
77
77
  pathVariables: { id },
78
78
  options
79
79
  });
80
- var moveAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
80
+ var moveAutomation = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
81
81
  method: "post",
82
82
  pathTemplate: "/api/v1/automations/{id}/actions/move",
83
83
  pathVariables: { id },
@@ -85,14 +85,14 @@ var moveAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.c
85
85
  contentType: "application/json",
86
86
  options
87
87
  });
88
- var getAutomationRuns = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
88
+ var getAutomationRuns = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
89
89
  method: "get",
90
90
  pathTemplate: "/api/v1/automations/{id}/runs",
91
91
  pathVariables: { id },
92
92
  query,
93
93
  options
94
94
  });
95
- var queueAutomationRun = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
95
+ var queueAutomationRun = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
96
96
  method: "post",
97
97
  pathTemplate: "/api/v1/automations/{id}/runs",
98
98
  pathVariables: { id },
@@ -100,32 +100,32 @@ var queueAutomationRun = async (id, body, options) => _chunkEALMXU6Sjs.invokeFet
100
100
  contentType: "application/json",
101
101
  options
102
102
  });
103
- var getAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
103
+ var getAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
104
104
  method: "get",
105
105
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
106
106
  pathVariables: { id, runId },
107
107
  options
108
108
  });
109
- var getAutomationRunDetails = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
109
+ var getAutomationRunDetails = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
110
110
  method: "post",
111
111
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
112
112
  pathVariables: { id, runId },
113
113
  options
114
114
  });
115
- var retryAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
115
+ var retryAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
116
116
  method: "post",
117
117
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
118
118
  pathVariables: { id, runId },
119
119
  options
120
120
  });
121
- var stopAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
121
+ var stopAutomationRun = async (id, runId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "automations", {
122
122
  method: "post",
123
123
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
124
124
  pathVariables: { id, runId },
125
125
  options
126
126
  });
127
127
  function clearCache() {
128
- return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "automations");
128
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "automations");
129
129
  }
130
130
  var automationsExport = {
131
131
  getAutomations,
package/automations.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-4MWB2T3C.mjs";
5
- import "./chunk-LLLEO6K6.mjs";
6
- import "./chunk-ZFXKCRJC.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
+ import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/automations.ts
9
9
  var getAutomations = async (query, options) => invokeFetch("automations", {
package/brands.d.mts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-4jzAvW7R.mjs';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * A brand is a collection of assets for applying custom branding. Only a single brand can be active in a tenant.
6
+ */
4
7
  type Brand = {
5
8
  readonly active?: boolean;
6
9
  /** The UTC timestamp when the brand was created. */
@@ -17,12 +20,18 @@ type Brand = {
17
20
  /** ID of a user that last updated the brand. */
18
21
  readonly updatedBy?: string;
19
22
  };
23
+ /**
24
+ * Represents one of the assets used as part of the brand. These include logos, favicons, and some styles.
25
+ */
20
26
  type BrandFile = {
21
27
  contentType?: string;
22
28
  eTag?: string;
23
29
  id?: "logo" | "favIcon" | "styles";
24
30
  path?: string;
25
31
  };
32
+ /**
33
+ * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
34
+ */
26
35
  type BrandPatch = {
27
36
  /** The operation to be performed. */
28
37
  op: "add" | "remove" | "replace";
@@ -31,6 +40,9 @@ type BrandPatch = {
31
40
  /** The value to be used for this operation. */
32
41
  value?: string;
33
42
  };
43
+ /**
44
+ * A collection of brands.
45
+ */
34
46
  type BrandsList = {
35
47
  data?: Brand[];
36
48
  links?: {
@@ -83,6 +95,9 @@ type Link = {
83
95
  /** URL of a resource request. */
84
96
  href: string;
85
97
  };
98
+ /**
99
+ * Empty object inferring lack of active branding.
100
+ */
86
101
  type NoActiveBrand = unknown;
87
102
  /**
88
103
  * Lists all brand entries for a tenant
@@ -179,12 +194,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
179
194
  */
180
195
  declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
181
196
  type GetActiveBrandHttpResponse = {
182
- data: NoActiveBrand;
197
+ data: Brand | NoActiveBrand;
183
198
  headers: Headers;
184
199
  status: number;
185
200
  };
186
201
  type GetActiveBrandHttpError = {
187
- data: void;
202
+ data: unknown;
188
203
  headers: Headers;
189
204
  status: number;
190
205
  };
@@ -429,7 +444,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
429
444
  */
430
445
  declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
431
446
  type GetBrandFileHttpResponse = {
432
- data: BodyInit;
447
+ data: DownloadableBlob;
433
448
  headers: Headers;
434
449
  status: number;
435
450
  };
package/brands.d.ts CHANGED
@@ -1,6 +1,9 @@
1
- import { A as ApiCallOptions } from './global.types-1rNhDH7j.js';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * A brand is a collection of assets for applying custom branding. Only a single brand can be active in a tenant.
6
+ */
4
7
  type Brand = {
5
8
  readonly active?: boolean;
6
9
  /** The UTC timestamp when the brand was created. */
@@ -17,12 +20,18 @@ type Brand = {
17
20
  /** ID of a user that last updated the brand. */
18
21
  readonly updatedBy?: string;
19
22
  };
23
+ /**
24
+ * Represents one of the assets used as part of the brand. These include logos, favicons, and some styles.
25
+ */
20
26
  type BrandFile = {
21
27
  contentType?: string;
22
28
  eTag?: string;
23
29
  id?: "logo" | "favIcon" | "styles";
24
30
  path?: string;
25
31
  };
32
+ /**
33
+ * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
34
+ */
26
35
  type BrandPatch = {
27
36
  /** The operation to be performed. */
28
37
  op: "add" | "remove" | "replace";
@@ -31,6 +40,9 @@ type BrandPatch = {
31
40
  /** The value to be used for this operation. */
32
41
  value?: string;
33
42
  };
43
+ /**
44
+ * A collection of brands.
45
+ */
34
46
  type BrandsList = {
35
47
  data?: Brand[];
36
48
  links?: {
@@ -83,6 +95,9 @@ type Link = {
83
95
  /** URL of a resource request. */
84
96
  href: string;
85
97
  };
98
+ /**
99
+ * Empty object inferring lack of active branding.
100
+ */
86
101
  type NoActiveBrand = unknown;
87
102
  /**
88
103
  * Lists all brand entries for a tenant
@@ -179,12 +194,12 @@ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError |
179
194
  */
180
195
  declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBrandHttpResponse>;
181
196
  type GetActiveBrandHttpResponse = {
182
- data: NoActiveBrand;
197
+ data: Brand | NoActiveBrand;
183
198
  headers: Headers;
184
199
  status: number;
185
200
  };
186
201
  type GetActiveBrandHttpError = {
187
- data: void;
202
+ data: unknown;
188
203
  headers: Headers;
189
204
  status: number;
190
205
  };
@@ -429,7 +444,7 @@ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401
429
444
  */
430
445
  declare const getBrandFile: (brandId: string, brandFileId: string, options?: ApiCallOptions) => Promise<GetBrandFileHttpResponse>;
431
446
  type GetBrandFileHttpResponse = {
432
- data: BodyInit;
447
+ data: DownloadableBlob;
433
448
  headers: Headers;
434
449
  status: number;
435
450
  };