@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
@@ -0,0 +1,17 @@
1
+ import {
2
+ getInvokeFetchRuntimeModule
3
+ } from "./chunk-7REWEWCX.mjs";
4
+
5
+ // src/public/invoke-fetch.ts
6
+ async function invokeFetch(api, props) {
7
+ const hostConfig = props.options?.hostConfig;
8
+ return (await getInvokeFetchRuntimeModule(hostConfig)).invokeFetch(api, props);
9
+ }
10
+ function clearApiCache(api) {
11
+ void getInvokeFetchRuntimeModule().then((runtimeModule) => runtimeModule.clearApiCache(api));
12
+ }
13
+
14
+ export {
15
+ invokeFetch,
16
+ clearApiCache
17
+ };
package/collections.d.mts CHANGED
@@ -152,7 +152,7 @@ type ItemTagResponseBody = {
152
152
  type ItemViewsResponseBody = {
153
153
  /** Total number of views the resource got during the last 28 days. */
154
154
  total?: number;
155
- /** Trend in views over the last 4 weeks. */
155
+ /** Trend in views over the last 4 weeks. The trend value is a float number representing a linear regression slope (the x-coefficient) calculated from the weekly unique users views in the preceding 4 weeks. */
156
156
  trend?: number;
157
157
  /** Number of unique users who viewed the resource during the last 28 days. */
158
158
  unique?: number;
package/collections.d.ts CHANGED
@@ -152,7 +152,7 @@ type ItemTagResponseBody = {
152
152
  type ItemViewsResponseBody = {
153
153
  /** Total number of views the resource got during the last 28 days. */
154
154
  total?: number;
155
- /** Trend in views over the last 4 weeks. */
155
+ /** Trend in views over the last 4 weeks. The trend value is a float number representing a linear regression slope (the x-coefficient) calculated from the weekly unique users views in the preceding 4 weeks. */
156
156
  trend?: number;
157
157
  /** Number of unique users who viewed the resource during the last 28 days. */
158
158
  unique?: number;
package/collections.js CHANGED
@@ -1,74 +1,74 @@
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/collections.ts
8
- var getCollections = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
8
+ var getCollections = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/collections",
11
11
  query,
12
12
  options
13
13
  });
14
- var createCollection = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
14
+ var createCollection = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/collections",
17
17
  body,
18
18
  options
19
19
  });
20
- var getFavoritesCollection = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
20
+ var getFavoritesCollection = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
21
21
  method: "get",
22
22
  pathTemplate: "/api/v1/collections/favorites",
23
23
  options
24
24
  });
25
- var deleteCollection = async (collectionId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
25
+ var deleteCollection = async (collectionId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
26
26
  method: "delete",
27
27
  pathTemplate: "/api/v1/collections/{collectionId}",
28
28
  pathVariables: { collectionId },
29
29
  options
30
30
  });
31
- var getCollection = async (collectionId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
31
+ var getCollection = async (collectionId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
32
32
  method: "get",
33
33
  pathTemplate: "/api/v1/collections/{collectionId}",
34
34
  pathVariables: { collectionId },
35
35
  options
36
36
  });
37
- var updateCollection = async (collectionId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
37
+ var updateCollection = async (collectionId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
38
38
  method: "put",
39
39
  pathTemplate: "/api/v1/collections/{collectionId}",
40
40
  pathVariables: { collectionId },
41
41
  body,
42
42
  options
43
43
  });
44
- var getCollectionItems = async (collectionId, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
44
+ var getCollectionItems = async (collectionId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
45
45
  method: "get",
46
46
  pathTemplate: "/api/v1/collections/{collectionId}/items",
47
47
  pathVariables: { collectionId },
48
48
  query,
49
49
  options
50
50
  });
51
- var addCollectionItem = async (collectionId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
51
+ var addCollectionItem = async (collectionId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
52
52
  method: "post",
53
53
  pathTemplate: "/api/v1/collections/{collectionId}/items",
54
54
  pathVariables: { collectionId },
55
55
  body,
56
56
  options
57
57
  });
58
- var deleteCollectionItem = async (collectionId, itemId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
58
+ var deleteCollectionItem = async (collectionId, itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
59
59
  method: "delete",
60
60
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
61
61
  pathVariables: { collectionId, itemId },
62
62
  options
63
63
  });
64
- var getCollectionItem = async (collectionId, itemId, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "collections", {
64
+ var getCollectionItem = async (collectionId, itemId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "collections", {
65
65
  method: "get",
66
66
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
67
67
  pathVariables: { collectionId, itemId },
68
68
  options
69
69
  });
70
70
  function clearCache() {
71
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "collections");
71
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "collections");
72
72
  }
73
73
  var collectionsExport = {
74
74
  getCollections,
package/collections.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/collections.ts
8
8
  var getCollections = async (query, options) => invokeFetch("collections", {
package/csp-origins.js CHANGED
@@ -1,40 +1,40 @@
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/csp-origins.ts
8
- var getCSPEntries = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
8
+ var getCSPEntries = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/csp-origins",
11
11
  query,
12
12
  options
13
13
  });
14
- var createCSPEntry = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
14
+ var createCSPEntry = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/csp-origins",
17
17
  body,
18
18
  options
19
19
  });
20
- var getCSPHeader = async (options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
20
+ var getCSPHeader = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
21
21
  method: "get",
22
22
  pathTemplate: "/api/v1/csp-origins/actions/generate-header",
23
23
  options
24
24
  });
25
- var deleteCSPEntry = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
25
+ var deleteCSPEntry = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
26
26
  method: "delete",
27
27
  pathTemplate: "/api/v1/csp-origins/{id}",
28
28
  pathVariables: { id },
29
29
  options
30
30
  });
31
- var getCSPEntry = async (id, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
31
+ var getCSPEntry = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
32
32
  method: "get",
33
33
  pathTemplate: "/api/v1/csp-origins/{id}",
34
34
  pathVariables: { id },
35
35
  options
36
36
  });
37
- var updateCSPEntry = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "csp-origins", {
37
+ var updateCSPEntry = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
38
38
  method: "put",
39
39
  pathTemplate: "/api/v1/csp-origins/{id}",
40
40
  pathVariables: { id },
@@ -42,7 +42,7 @@ var updateCSPEntry = async (id, body, options) => _chunkOULT3V2Ujs.invokeFetch.c
42
42
  options
43
43
  });
44
44
  function clearCache() {
45
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "csp-origins");
45
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "csp-origins");
46
46
  }
47
47
  var cspOriginsExport = {
48
48
  getCSPEntries,
package/csp-origins.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/csp-origins.ts
8
8
  var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
package/data-assets.js CHANGED
@@ -1,37 +1,37 @@
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/data-assets.ts
8
- var deleteDataAssets = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-assets", {
8
+ var deleteDataAssets = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
9
9
  method: "delete",
10
10
  pathTemplate: "/api/v1/data-assets",
11
11
  body,
12
12
  options
13
13
  });
14
- var createDataAsset = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-assets", {
14
+ var createDataAsset = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/data-assets",
17
17
  body,
18
18
  options
19
19
  });
20
- var getDataAsset = async (dataAssetId, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-assets", {
20
+ var getDataAsset = async (dataAssetId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
21
21
  method: "get",
22
22
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
23
23
  pathVariables: { "data-asset-id": dataAssetId },
24
24
  query,
25
25
  options
26
26
  });
27
- var patchDataAsset = async (dataAssetId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-assets", {
27
+ var patchDataAsset = async (dataAssetId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
28
28
  method: "patch",
29
29
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
30
30
  pathVariables: { "data-asset-id": dataAssetId },
31
31
  body,
32
32
  options
33
33
  });
34
- var updateDataAsset = async (dataAssetId, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-assets", {
34
+ var updateDataAsset = async (dataAssetId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
35
35
  method: "put",
36
36
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
37
37
  pathVariables: { "data-asset-id": dataAssetId },
@@ -39,7 +39,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _chunkOULT3V2Ujs.inv
39
39
  options
40
40
  });
41
41
  function clearCache() {
42
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "data-assets");
42
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "data-assets");
43
43
  }
44
44
  var dataAssetsExport = {
45
45
  deleteDataAssets,
package/data-assets.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/data-assets.ts
8
8
  var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
@@ -200,6 +200,8 @@ type Error = {
200
200
  code?: string;
201
201
  /** More concrete details */
202
202
  detail?: string;
203
+ /** HTTP status code */
204
+ status?: number;
203
205
  /** A summary in english explaining what went wrong */
204
206
  title?: string;
205
207
  };
@@ -200,6 +200,8 @@ type Error = {
200
200
  code?: string;
201
201
  /** More concrete details */
202
202
  detail?: string;
203
+ /** HTTP status code */
204
+ status?: number;
203
205
  /** A summary in english explaining what went wrong */
204
206
  title?: string;
205
207
  };
@@ -1,55 +1,55 @@
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/data-connections.ts
8
- var getDataConnections = async (query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
8
+ var getDataConnections = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
9
9
  method: "get",
10
10
  pathTemplate: "/api/v1/data-connections",
11
11
  query,
12
12
  options
13
13
  });
14
- var createDataConnection = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
14
+ var createDataConnection = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
15
15
  method: "post",
16
16
  pathTemplate: "/api/v1/data-connections",
17
17
  body,
18
18
  options
19
19
  });
20
- var deleteDataConnections = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
20
+ var deleteDataConnections = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
21
21
  method: "post",
22
22
  pathTemplate: "/api/v1/data-connections/actions/delete",
23
23
  body,
24
24
  options
25
25
  });
26
- var duplicateDataAConnection = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
26
+ var duplicateDataAConnection = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
27
27
  method: "post",
28
28
  pathTemplate: "/api/v1/data-connections/actions/duplicate",
29
29
  body,
30
30
  options
31
31
  });
32
- var updateDataConnections = async (body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
32
+ var updateDataConnections = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
33
33
  method: "post",
34
34
  pathTemplate: "/api/v1/data-connections/actions/update",
35
35
  body,
36
36
  options
37
37
  });
38
- var deleteDataConnection = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
38
+ var deleteDataConnection = async (qID, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
39
39
  method: "delete",
40
40
  pathTemplate: "/api/v1/data-connections/{qID}",
41
41
  pathVariables: { qID },
42
42
  query,
43
43
  options
44
44
  });
45
- var getDataConnection = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
45
+ var getDataConnection = async (qID, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
46
46
  method: "get",
47
47
  pathTemplate: "/api/v1/data-connections/{qID}",
48
48
  pathVariables: { qID },
49
49
  query,
50
50
  options
51
51
  });
52
- var patchDataConnection = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
52
+ var patchDataConnection = async (qID, query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
53
53
  method: "patch",
54
54
  pathTemplate: "/api/v1/data-connections/{qID}",
55
55
  pathVariables: { qID },
@@ -57,7 +57,7 @@ var patchDataConnection = async (qID, query, body, options) => _chunkOULT3V2Ujs.
57
57
  body,
58
58
  options
59
59
  });
60
- var updateDataConnection = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-connections", {
60
+ var updateDataConnection = async (qID, query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-connections", {
61
61
  method: "put",
62
62
  pathTemplate: "/api/v1/data-connections/{qID}",
63
63
  pathVariables: { qID },
@@ -66,7 +66,7 @@ var updateDataConnection = async (qID, query, body, options) => _chunkOULT3V2Ujs
66
66
  options
67
67
  });
68
68
  function clearCache() {
69
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "data-connections");
69
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "data-connections");
70
70
  }
71
71
  var dataConnectionsExport = {
72
72
  getDataConnections,
@@ -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/data-connections.ts
8
8
  var getDataConnections = async (query, options) => invokeFetch("data-connections", {
@@ -35,6 +35,8 @@ type Error = {
35
35
  code?: string;
36
36
  /** More concrete details */
37
37
  detail?: string;
38
+ /** HTTP status code */
39
+ status?: number;
38
40
  /** A summary in english explaining what went wrong */
39
41
  title?: string;
40
42
  };
@@ -35,6 +35,8 @@ type Error = {
35
35
  code?: string;
36
36
  /** More concrete details */
37
37
  detail?: string;
38
+ /** HTTP status code */
39
+ status?: number;
38
40
  /** A summary in english explaining what went wrong */
39
41
  title?: string;
40
42
  };
@@ -1,25 +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 _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
+ require('./chunk-H7SAZYEE.js');
6
6
 
7
7
  // src/public/rest/data-credentials.ts
8
- var deleteDataCredential = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
8
+ var deleteDataCredential = async (qID, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-credentials", {
9
9
  method: "delete",
10
10
  pathTemplate: "/api/v1/data-credentials/{qID}",
11
11
  pathVariables: { qID },
12
12
  query,
13
13
  options
14
14
  });
15
- var getDataCredential = async (qID, query, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
15
+ var getDataCredential = async (qID, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-credentials", {
16
16
  method: "get",
17
17
  pathTemplate: "/api/v1/data-credentials/{qID}",
18
18
  pathVariables: { qID },
19
19
  query,
20
20
  options
21
21
  });
22
- var patchDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
22
+ var patchDataCredential = async (qID, query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-credentials", {
23
23
  method: "patch",
24
24
  pathTemplate: "/api/v1/data-credentials/{qID}",
25
25
  pathVariables: { qID },
@@ -27,7 +27,7 @@ var patchDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs.
27
27
  body,
28
28
  options
29
29
  });
30
- var updateDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs.invokeFetch.call(void 0, "data-credentials", {
30
+ var updateDataCredential = async (qID, query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-credentials", {
31
31
  method: "put",
32
32
  pathTemplate: "/api/v1/data-credentials/{qID}",
33
33
  pathVariables: { qID },
@@ -36,7 +36,7 @@ var updateDataCredential = async (qID, query, body, options) => _chunkOULT3V2Ujs
36
36
  options
37
37
  });
38
38
  function clearCache() {
39
- return _chunkOULT3V2Ujs.clearApiCache.call(void 0, "data-credentials");
39
+ return _chunk6JERR27Kjs.clearApiCache.call(void 0, "data-credentials");
40
40
  }
41
41
  var dataCredentialsExport = {
42
42
  deleteDataCredential,
@@ -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/data-credentials.ts
8
8
  var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
package/data-files.d.mts CHANGED
@@ -220,9 +220,9 @@ type DeleteDataFilesHttpError = {
220
220
  * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
221
221
  * the given user has access to.
222
222
  * @param query an object with query parameters
223
- * @throws GetDataFileConnectionsHttpError
223
+ * @throws GetDataFilesConnectionsHttpError
224
224
  */
225
- declare const getDataFileConnections: (query: {
225
+ declare const getDataFilesConnections: (query: {
226
226
  /** If present, get connections with connection strings that are scoped to the given app ID. */
227
227
  appId?: string;
228
228
  /** If present, the maximum number of data file connection records to return. */
@@ -238,15 +238,15 @@ declare const getDataFileConnections: (query: {
238
238
  sort?: GetConnectionsSortField;
239
239
  /** If present, only return the connection that accesses data files in the specified space. */
240
240
  spaceId?: string;
241
- }, options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
242
- type GetDataFileConnectionsHttpResponse = {
241
+ }, options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
242
+ type GetDataFilesConnectionsHttpResponse = {
243
243
  data: GetConnectionsResponse;
244
244
  headers: Headers;
245
245
  status: number;
246
- prev?: (options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
247
- next?: (options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
246
+ prev?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
247
+ next?: (options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
248
248
  };
249
- type GetDataFileConnectionsHttpError = {
249
+ type GetDataFilesConnectionsHttpError = {
250
250
  data: ErrorResponse;
251
251
  headers: Headers;
252
252
  status: number;
@@ -269,15 +269,15 @@ type GetDataFileConnectionHttpError = {
269
269
  };
270
270
  /**
271
271
  * Get quota information for the calling user.
272
- * @throws GetDataFileQuotasHttpError
272
+ * @throws GetDataFilesQuotasHttpError
273
273
  */
274
- declare const getDataFileQuotas: (options?: ApiCallOptions) => Promise<GetDataFileQuotasHttpResponse>;
275
- type GetDataFileQuotasHttpResponse = {
274
+ declare const getDataFilesQuotas: (options?: ApiCallOptions) => Promise<GetDataFilesQuotasHttpResponse>;
275
+ type GetDataFilesQuotasHttpResponse = {
276
276
  data: QuotaResponse;
277
277
  headers: Headers;
278
278
  status: number;
279
279
  };
280
- type GetDataFileQuotasHttpError = {
280
+ type GetDataFilesQuotasHttpError = {
281
281
  data: ErrorResponse;
282
282
  headers: Headers;
283
283
  status: number;
@@ -406,9 +406,9 @@ interface DataFilesAPI {
406
406
  * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
407
407
  * the given user has access to.
408
408
  * @param query an object with query parameters
409
- * @throws GetDataFileConnectionsHttpError
409
+ * @throws GetDataFilesConnectionsHttpError
410
410
  */
411
- getDataFileConnections: typeof getDataFileConnections;
411
+ getDataFilesConnections: typeof getDataFilesConnections;
412
412
  /**
413
413
  * Get the built-in connection used by the engine to load/write data files given a connection ID.
414
414
  * @param id The ID of the connection.
@@ -417,9 +417,9 @@ interface DataFilesAPI {
417
417
  getDataFileConnection: typeof getDataFileConnection;
418
418
  /**
419
419
  * Get quota information for the calling user.
420
- * @throws GetDataFileQuotasHttpError
420
+ * @throws GetDataFilesQuotasHttpError
421
421
  */
422
- getDataFileQuotas: typeof getDataFileQuotas;
422
+ getDataFilesQuotas: typeof getDataFilesQuotas;
423
423
  /**
424
424
  * Delete the specified data file.
425
425
  * @param id The ID of the data file to delete.
@@ -468,4 +468,4 @@ interface DataFilesAPI {
468
468
  */
469
469
  declare const dataFilesExport: DataFilesAPI;
470
470
 
471
- export { type BatchChangeSpaceItem, type BatchDeleteItem, type ChangeDataFileOwnerHttpError, type ChangeDataFileOwnerHttpResponse, type ChangeDataFileOwnerRequest, type ChangeDataFileSpaceRequest, type ConnectionsResponse, type DataFileBatchChangeSpaceRequest, type DataFileBatchDeleteRequest, type DataFileUploadResponse, type DataFilesAPI, type DeleteDataFileHttpError, type DeleteDataFileHttpResponse, type DeleteDataFilesHttpError, type DeleteDataFilesHttpResponse, type ErrorResponse, type ErrorResponseItem, type GetConnectionsResponse, type GetConnectionsSortField, type GetDataFileConnectionHttpError, type GetDataFileConnectionHttpResponse, type GetDataFileConnectionsHttpError, type GetDataFileConnectionsHttpResponse, type GetDataFileHttpError, type GetDataFileHttpResponse, type GetDataFileInfosResponse, type GetDataFileInfosSortField, type GetDataFileQuotasHttpError, type GetDataFileQuotasHttpResponse, type GetDataFilesHttpError, type GetDataFilesHttpResponse, type LinkResponse, type LinksResponse, type MoveDataFileHttpError, type MoveDataFileHttpResponse, type MoveDataFilesHttpError, type MoveDataFilesHttpResponse, type MultiStatusResponse, type MultiStatusResponseItem, type QuotaResponse, type ReuploadDataFileHttpError, type ReuploadDataFileHttpResponse, type UploadDataFileHttpError, type UploadDataFileHttpResponse, changeDataFileOwner, clearCache, dataFilesExport as default, deleteDataFile, deleteDataFiles, getDataFile, getDataFileConnection, getDataFileConnections, getDataFileQuotas, getDataFiles, moveDataFile, moveDataFiles, reuploadDataFile, uploadDataFile };
471
+ export { type BatchChangeSpaceItem, type BatchDeleteItem, type ChangeDataFileOwnerHttpError, type ChangeDataFileOwnerHttpResponse, type ChangeDataFileOwnerRequest, type ChangeDataFileSpaceRequest, type ConnectionsResponse, type DataFileBatchChangeSpaceRequest, type DataFileBatchDeleteRequest, type DataFileUploadResponse, type DataFilesAPI, type DeleteDataFileHttpError, type DeleteDataFileHttpResponse, type DeleteDataFilesHttpError, type DeleteDataFilesHttpResponse, type ErrorResponse, type ErrorResponseItem, type GetConnectionsResponse, type GetConnectionsSortField, type GetDataFileConnectionHttpError, type GetDataFileConnectionHttpResponse, type GetDataFileHttpError, type GetDataFileHttpResponse, type GetDataFileInfosResponse, type GetDataFileInfosSortField, type GetDataFilesConnectionsHttpError, type GetDataFilesConnectionsHttpResponse, type GetDataFilesHttpError, type GetDataFilesHttpResponse, type GetDataFilesQuotasHttpError, type GetDataFilesQuotasHttpResponse, type LinkResponse, type LinksResponse, type MoveDataFileHttpError, type MoveDataFileHttpResponse, type MoveDataFilesHttpError, type MoveDataFilesHttpResponse, type MultiStatusResponse, type MultiStatusResponseItem, type QuotaResponse, type ReuploadDataFileHttpError, type ReuploadDataFileHttpResponse, type UploadDataFileHttpError, type UploadDataFileHttpResponse, changeDataFileOwner, clearCache, dataFilesExport as default, deleteDataFile, deleteDataFiles, getDataFile, getDataFileConnection, getDataFiles, getDataFilesConnections, getDataFilesQuotas, moveDataFile, moveDataFiles, reuploadDataFile, uploadDataFile };