@qlik/api 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/api-keys.d.mts +14 -0
  2. package/api-keys.d.ts +14 -0
  3. package/api-keys.js +14 -10
  4. package/api-keys.mjs +6 -2
  5. package/apps.d.mts +479 -149
  6. package/apps.d.ts +479 -149
  7. package/apps.js +100 -42
  8. package/apps.mjs +60 -2
  9. package/audits.d.mts +12 -0
  10. package/audits.d.ts +12 -0
  11. package/audits.js +10 -9
  12. package/audits.mjs +3 -2
  13. package/auth-AWZV4DPP.js +41 -0
  14. package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
  15. package/auth.js +4 -3
  16. package/auth.mjs +3 -2
  17. package/automations.d.mts +36 -0
  18. package/automations.d.ts +36 -0
  19. package/automations.js +28 -21
  20. package/automations.mjs +9 -2
  21. package/brands.d.mts +45 -4
  22. package/brands.d.ts +45 -4
  23. package/brands.js +20 -15
  24. package/brands.mjs +7 -2
  25. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  26. package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
  27. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  28. package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
  29. package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
  30. package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
  31. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  32. package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
  33. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  34. package/chunk-P57PW2II.js +11 -0
  35. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  36. package/chunk-ZFXKCRJC.mjs +11 -0
  37. package/collections.d.mts +51 -17
  38. package/collections.d.ts +51 -17
  39. package/collections.js +28 -14
  40. package/collections.mjs +16 -2
  41. package/csp-origins.d.mts +16 -1
  42. package/csp-origins.d.ts +16 -1
  43. package/csp-origins.js +12 -9
  44. package/csp-origins.mjs +5 -2
  45. package/data-assets.d.mts +10 -0
  46. package/data-assets.d.ts +10 -0
  47. package/data-assets.js +13 -8
  48. package/data-assets.mjs +7 -2
  49. package/data-connections.d.mts +18 -0
  50. package/data-connections.d.ts +18 -0
  51. package/data-connections.js +19 -12
  52. package/data-connections.mjs +9 -2
  53. package/data-credentials.d.mts +8 -0
  54. package/data-credentials.d.ts +8 -0
  55. package/data-credentials.js +10 -7
  56. package/data-credentials.mjs +5 -2
  57. package/data-files.d.mts +98 -13
  58. package/data-files.d.ts +98 -13
  59. package/data-files.js +22 -15
  60. package/data-files.mjs +9 -2
  61. package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
  62. package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
  63. package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
  64. package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
  65. package/extensions.d.mts +26 -2
  66. package/extensions.d.ts +26 -2
  67. package/extensions.js +13 -10
  68. package/extensions.mjs +5 -2
  69. package/glossaries.d.mts +55 -20
  70. package/glossaries.d.ts +55 -20
  71. package/glossaries.js +39 -27
  72. package/glossaries.mjs +14 -2
  73. package/groups.d.mts +16 -0
  74. package/groups.d.ts +16 -0
  75. package/groups.js +16 -11
  76. package/groups.mjs +7 -2
  77. package/identity-providers.d.mts +16 -0
  78. package/identity-providers.d.ts +16 -0
  79. package/identity-providers.js +14 -11
  80. package/identity-providers.mjs +5 -2
  81. package/index.js +135 -101
  82. package/index.mjs +131 -97
  83. package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  84. package/invoke-fetch-UNTAUR7O.js +17 -0
  85. package/items.d.mts +6 -6
  86. package/items.d.ts +6 -6
  87. package/items.js +14 -11
  88. package/items.mjs +5 -2
  89. package/licenses.d.mts +18 -0
  90. package/licenses.d.ts +18 -0
  91. package/licenses.js +17 -12
  92. package/licenses.mjs +7 -2
  93. package/package.json +4 -4
  94. package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
  95. package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
  96. package/qix.d.mts +1 -1
  97. package/qix.d.ts +1 -1
  98. package/qix.js +4 -3
  99. package/qix.mjs +3 -2
  100. package/quotas.d.mts +4 -0
  101. package/quotas.d.ts +4 -0
  102. package/quotas.js +6 -5
  103. package/quotas.mjs +3 -2
  104. package/reload-tasks.js +11 -8
  105. package/reload-tasks.mjs +5 -2
  106. package/reloads.d.mts +17 -10
  107. package/reloads.d.ts +17 -10
  108. package/reloads.js +9 -7
  109. package/reloads.mjs +4 -2
  110. package/roles.d.mts +4 -0
  111. package/roles.d.ts +4 -0
  112. package/roles.js +6 -5
  113. package/roles.mjs +3 -2
  114. package/spaces.d.mts +27 -4
  115. package/spaces.d.ts +27 -4
  116. package/spaces.js +21 -15
  117. package/spaces.mjs +8 -2
  118. package/temp-contents.d.mts +8 -3
  119. package/temp-contents.d.ts +8 -3
  120. package/temp-contents.js +8 -6
  121. package/temp-contents.mjs +4 -2
  122. package/tenants.d.mts +12 -0
  123. package/tenants.d.ts +12 -0
  124. package/tenants.js +14 -9
  125. package/tenants.mjs +7 -2
  126. package/themes.d.mts +26 -2
  127. package/themes.d.ts +26 -2
  128. package/themes.js +13 -10
  129. package/themes.mjs +5 -2
  130. package/transports.d.mts +12 -0
  131. package/transports.d.ts +12 -0
  132. package/transports.js +12 -9
  133. package/transports.mjs +5 -2
  134. package/users.d.mts +48 -29
  135. package/users.d.ts +48 -29
  136. package/users.js +18 -13
  137. package/users.mjs +7 -2
  138. package/web-integrations.d.mts +10 -0
  139. package/web-integrations.d.ts +10 -0
  140. package/web-integrations.js +11 -8
  141. package/web-integrations.mjs +5 -2
  142. package/web-notifications.d.mts +12 -0
  143. package/web-notifications.d.ts +12 -0
  144. package/web-notifications.js +12 -9
  145. package/web-notifications.mjs +5 -2
  146. package/webhooks.d.mts +25 -5
  147. package/webhooks.d.ts +25 -5
  148. package/webhooks.js +17 -13
  149. package/webhooks.mjs +6 -2
  150. package/auth-CSVTXOZX.js +0 -36
  151. package/auth-OU7OTB7Y.js +0 -38
  152. package/auth-TE272Q34.mjs +0 -36
  153. package/chunk-4ES65KO3.js +0 -57
  154. package/chunk-4FLMND6T.js +0 -25
  155. package/chunk-4OMEH5SW.mjs +0 -1337
  156. package/chunk-6JERR27K.js +0 -17
  157. package/chunk-E42WUFCK.mjs +0 -57
  158. package/chunk-H7SAZYEE.js +0 -21
  159. package/chunk-KMMWJZHM.mjs +0 -25
  160. package/chunk-W4J34XGA.mjs +0 -17
  161. package/chunk-WM7FQU2U.mjs +0 -21
  162. package/chunk-XASXL2NC.js +0 -1337
  163. package/enigma-session-4L373ALV.mjs +0 -10196
  164. package/enigma-session-TEB53FAF.js +0 -10196
  165. package/esm-4X3DKK5D.js +0 -63
  166. package/esm-SOWVJKOQ.mjs +0 -63
  167. package/invoke-fetch-7PKPQ3FD.js +0 -14
  168. package/invoke-fetch-MSSJAZ7K.mjs +0 -14
  169. package/invoke-fetch-PEI54KZO.js +0 -14
  170. package/qix-EU7PXRZ6.mjs +0 -573
  171. package/qix-RLTISYTB.js +0 -573
package/csp-origins.js CHANGED
@@ -1,48 +1,51 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/csp-origins.ts
8
- var getCSPEntries = async (query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
9
+ var getCSPEntries = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
9
10
  method: "get",
10
11
  pathTemplate: "/api/v1/csp-origins",
11
12
  query,
12
13
  options
13
14
  });
14
- var createCSPEntry = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
15
+ var createCSPEntry = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/csp-origins",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
- var getCSPHeader = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
22
+ var getCSPHeader = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
21
23
  method: "get",
22
24
  pathTemplate: "/api/v1/csp-origins/actions/generate-header",
23
25
  options
24
26
  });
25
- var deleteCSPEntry = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
27
+ var deleteCSPEntry = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
26
28
  method: "delete",
27
29
  pathTemplate: "/api/v1/csp-origins/{id}",
28
30
  pathVariables: { id },
29
31
  options
30
32
  });
31
- var getCSPEntry = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
33
+ var getCSPEntry = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
32
34
  method: "get",
33
35
  pathTemplate: "/api/v1/csp-origins/{id}",
34
36
  pathVariables: { id },
35
37
  options
36
38
  });
37
- var updateCSPEntry = async (id, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "csp-origins", {
39
+ var updateCSPEntry = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "csp-origins", {
38
40
  method: "put",
39
41
  pathTemplate: "/api/v1/csp-origins/{id}",
40
42
  pathVariables: { id },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
47
  function clearCache() {
45
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "csp-origins");
48
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "csp-origins");
46
49
  }
47
50
  var cspOriginsExport = {
48
51
  getCSPEntries,
package/csp-origins.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/csp-origins.ts
8
9
  var getCSPEntries = async (query, options) => invokeFetch("csp-origins", {
@@ -15,6 +16,7 @@ var createCSPEntry = async (body, options) => invokeFetch("csp-origins", {
15
16
  method: "post",
16
17
  pathTemplate: "/api/v1/csp-origins",
17
18
  body,
19
+ contentType: "application/json",
18
20
  options
19
21
  });
20
22
  var getCSPHeader = async (options) => invokeFetch("csp-origins", {
@@ -39,6 +41,7 @@ var updateCSPEntry = async (id, body, options) => invokeFetch("csp-origins", {
39
41
  pathTemplate: "/api/v1/csp-origins/{id}",
40
42
  pathVariables: { id },
41
43
  body,
44
+ contentType: "application/json",
42
45
  options
43
46
  });
44
47
  function clearCache() {
package/data-assets.d.mts CHANGED
@@ -60,6 +60,7 @@ type JsonPatch = {
60
60
  };
61
61
  /**
62
62
  * Batch delete data assets by IDs.
63
+ *
63
64
  * @param body an object with the body content
64
65
  * @throws DeleteDataAssetsHttpError
65
66
  */
@@ -76,6 +77,7 @@ type DeleteDataAssetsHttpError = {
76
77
  };
77
78
  /**
78
79
  * Save new data asset.
80
+ *
79
81
  * @param body an object with the body content
80
82
  * @throws CreateDataAssetHttpError
81
83
  */
@@ -92,6 +94,7 @@ type CreateDataAssetHttpError = {
92
94
  };
93
95
  /**
94
96
  * Get data asset by ID.
97
+ *
95
98
  * @param dataAssetId
96
99
  * @param query an object with query parameters
97
100
  * @throws GetDataAssetHttpError
@@ -112,6 +115,7 @@ type GetDataAssetHttpError = {
112
115
  };
113
116
  /**
114
117
  * Patch data asset.
118
+ *
115
119
  * @param dataAssetId
116
120
  * @param body an object with the body content
117
121
  * @throws PatchDataAssetHttpError
@@ -129,6 +133,7 @@ type PatchDataAssetHttpError = {
129
133
  };
130
134
  /**
131
135
  * Update data asset.
136
+ *
132
137
  * @param dataAssetId
133
138
  * @param body an object with the body content
134
139
  * @throws UpdateDataAssetHttpError
@@ -151,18 +156,21 @@ declare function clearCache(): void;
151
156
  interface DataAssetsAPI {
152
157
  /**
153
158
  * Batch delete data assets by IDs.
159
+ *
154
160
  * @param body an object with the body content
155
161
  * @throws DeleteDataAssetsHttpError
156
162
  */
157
163
  deleteDataAssets: typeof deleteDataAssets;
158
164
  /**
159
165
  * Save new data asset.
166
+ *
160
167
  * @param body an object with the body content
161
168
  * @throws CreateDataAssetHttpError
162
169
  */
163
170
  createDataAsset: typeof createDataAsset;
164
171
  /**
165
172
  * Get data asset by ID.
173
+ *
166
174
  * @param dataAssetId
167
175
  * @param query an object with query parameters
168
176
  * @throws GetDataAssetHttpError
@@ -170,6 +178,7 @@ interface DataAssetsAPI {
170
178
  getDataAsset: typeof getDataAsset;
171
179
  /**
172
180
  * Patch data asset.
181
+ *
173
182
  * @param dataAssetId
174
183
  * @param body an object with the body content
175
184
  * @throws PatchDataAssetHttpError
@@ -177,6 +186,7 @@ interface DataAssetsAPI {
177
186
  patchDataAsset: typeof patchDataAsset;
178
187
  /**
179
188
  * Update data asset.
189
+ *
180
190
  * @param dataAssetId
181
191
  * @param body an object with the body content
182
192
  * @throws UpdateDataAssetHttpError
package/data-assets.d.ts CHANGED
@@ -60,6 +60,7 @@ type JsonPatch = {
60
60
  };
61
61
  /**
62
62
  * Batch delete data assets by IDs.
63
+ *
63
64
  * @param body an object with the body content
64
65
  * @throws DeleteDataAssetsHttpError
65
66
  */
@@ -76,6 +77,7 @@ type DeleteDataAssetsHttpError = {
76
77
  };
77
78
  /**
78
79
  * Save new data asset.
80
+ *
79
81
  * @param body an object with the body content
80
82
  * @throws CreateDataAssetHttpError
81
83
  */
@@ -92,6 +94,7 @@ type CreateDataAssetHttpError = {
92
94
  };
93
95
  /**
94
96
  * Get data asset by ID.
97
+ *
95
98
  * @param dataAssetId
96
99
  * @param query an object with query parameters
97
100
  * @throws GetDataAssetHttpError
@@ -112,6 +115,7 @@ type GetDataAssetHttpError = {
112
115
  };
113
116
  /**
114
117
  * Patch data asset.
118
+ *
115
119
  * @param dataAssetId
116
120
  * @param body an object with the body content
117
121
  * @throws PatchDataAssetHttpError
@@ -129,6 +133,7 @@ type PatchDataAssetHttpError = {
129
133
  };
130
134
  /**
131
135
  * Update data asset.
136
+ *
132
137
  * @param dataAssetId
133
138
  * @param body an object with the body content
134
139
  * @throws UpdateDataAssetHttpError
@@ -151,18 +156,21 @@ declare function clearCache(): void;
151
156
  interface DataAssetsAPI {
152
157
  /**
153
158
  * Batch delete data assets by IDs.
159
+ *
154
160
  * @param body an object with the body content
155
161
  * @throws DeleteDataAssetsHttpError
156
162
  */
157
163
  deleteDataAssets: typeof deleteDataAssets;
158
164
  /**
159
165
  * Save new data asset.
166
+ *
160
167
  * @param body an object with the body content
161
168
  * @throws CreateDataAssetHttpError
162
169
  */
163
170
  createDataAsset: typeof createDataAsset;
164
171
  /**
165
172
  * Get data asset by ID.
173
+ *
166
174
  * @param dataAssetId
167
175
  * @param query an object with query parameters
168
176
  * @throws GetDataAssetHttpError
@@ -170,6 +178,7 @@ interface DataAssetsAPI {
170
178
  getDataAsset: typeof getDataAsset;
171
179
  /**
172
180
  * Patch data asset.
181
+ *
173
182
  * @param dataAssetId
174
183
  * @param body an object with the body content
175
184
  * @throws PatchDataAssetHttpError
@@ -177,6 +186,7 @@ interface DataAssetsAPI {
177
186
  patchDataAsset: typeof patchDataAsset;
178
187
  /**
179
188
  * Update data asset.
189
+ *
180
190
  * @param dataAssetId
181
191
  * @param body an object with the body content
182
192
  * @throws UpdateDataAssetHttpError
package/data-assets.js CHANGED
@@ -1,45 +1,50 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
5
- require('./chunk-H7SAZYEE.js');
4
+ var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
5
+ require('./chunk-2STFUQKQ.js');
6
+ require('./chunk-P57PW2II.js');
6
7
 
7
8
  // src/public/rest/data-assets.ts
8
- var deleteDataAssets = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
9
+ var deleteDataAssets = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
9
10
  method: "delete",
10
11
  pathTemplate: "/api/v1/data-assets",
11
12
  body,
13
+ contentType: "application/json",
12
14
  options
13
15
  });
14
- var createDataAsset = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
16
+ var createDataAsset = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
15
17
  method: "post",
16
18
  pathTemplate: "/api/v1/data-assets",
17
19
  body,
20
+ contentType: "application/json",
18
21
  options
19
22
  });
20
- var getDataAsset = async (dataAssetId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
23
+ var getDataAsset = async (dataAssetId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
21
24
  method: "get",
22
25
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
23
26
  pathVariables: { "data-asset-id": dataAssetId },
24
27
  query,
25
28
  options
26
29
  });
27
- var patchDataAsset = async (dataAssetId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
30
+ var patchDataAsset = async (dataAssetId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
28
31
  method: "patch",
29
32
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
30
33
  pathVariables: { "data-asset-id": dataAssetId },
31
34
  body,
35
+ contentType: "application/json",
32
36
  options
33
37
  });
34
- var updateDataAsset = async (dataAssetId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "data-assets", {
38
+ var updateDataAsset = async (dataAssetId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "data-assets", {
35
39
  method: "put",
36
40
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
37
41
  pathVariables: { "data-asset-id": dataAssetId },
38
42
  body,
43
+ contentType: "application/json",
39
44
  options
40
45
  });
41
46
  function clearCache() {
42
- return _chunk6JERR27Kjs.clearApiCache.call(void 0, "data-assets");
47
+ return _chunkJNGURO23js.clearApiCache.call(void 0, "data-assets");
43
48
  }
44
49
  var dataAssetsExport = {
45
50
  deleteDataAssets,
package/data-assets.mjs CHANGED
@@ -1,20 +1,23 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-W4J34XGA.mjs";
5
- import "./chunk-7REWEWCX.mjs";
4
+ } from "./chunk-TE7XMBT5.mjs";
5
+ import "./chunk-3SVRHJII.mjs";
6
+ import "./chunk-ZFXKCRJC.mjs";
6
7
 
7
8
  // src/public/rest/data-assets.ts
8
9
  var deleteDataAssets = async (body, options) => invokeFetch("data-assets", {
9
10
  method: "delete",
10
11
  pathTemplate: "/api/v1/data-assets",
11
12
  body,
13
+ contentType: "application/json",
12
14
  options
13
15
  });
14
16
  var createDataAsset = async (body, options) => invokeFetch("data-assets", {
15
17
  method: "post",
16
18
  pathTemplate: "/api/v1/data-assets",
17
19
  body,
20
+ contentType: "application/json",
18
21
  options
19
22
  });
20
23
  var getDataAsset = async (dataAssetId, query, options) => invokeFetch("data-assets", {
@@ -29,6 +32,7 @@ var patchDataAsset = async (dataAssetId, body, options) => invokeFetch("data-ass
29
32
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
30
33
  pathVariables: { "data-asset-id": dataAssetId },
31
34
  body,
35
+ contentType: "application/json",
32
36
  options
33
37
  });
34
38
  var updateDataAsset = async (dataAssetId, body, options) => invokeFetch("data-assets", {
@@ -36,6 +40,7 @@ var updateDataAsset = async (dataAssetId, body, options) => invokeFetch("data-as
36
40
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
37
41
  pathVariables: { "data-asset-id": dataAssetId },
38
42
  body,
43
+ contentType: "application/json",
39
44
  options
40
45
  });
41
46
  function clearCache() {
@@ -246,6 +246,7 @@ type TopLevelLink = {
246
246
  };
247
247
  /**
248
248
  * Gets a list of connections
249
+ *
249
250
  * @param query an object with query parameters
250
251
  * @throws GetDataConnectionsHttpError
251
252
  */
@@ -293,6 +294,7 @@ type GetDataConnectionsHttpError = {
293
294
  };
294
295
  /**
295
296
  * Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
297
+ *
296
298
  * @param body an object with the body content
297
299
  * @throws CreateDataConnectionHttpError
298
300
  */
@@ -309,6 +311,7 @@ type CreateDataConnectionHttpError = {
309
311
  };
310
312
  /**
311
313
  * Delete multiple connections, only available to Admin
314
+ *
312
315
  * @param body an object with the body content
313
316
  * @throws DeleteDataConnectionsHttpError
314
317
  */
@@ -325,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
325
328
  };
326
329
  /**
327
330
  * Duplicate a connection
331
+ *
328
332
  * @param body an object with the body content
329
333
  * @throws DuplicateDataAConnectionHttpError
330
334
  */
@@ -341,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
341
345
  };
342
346
  /**
343
347
  * Update multiple connections, only available to Admin
348
+ *
344
349
  * @param body an object with the body content
345
350
  * @throws UpdateDataConnectionsHttpError
346
351
  */
@@ -357,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
357
362
  };
358
363
  /**
359
364
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
365
+ *
360
366
  * @param qID Connection ID
361
367
  * @param query an object with query parameters
362
368
  * @throws DeleteDataConnectionHttpError
@@ -379,6 +385,7 @@ type DeleteDataConnectionHttpError = {
379
385
  };
380
386
  /**
381
387
  * Gets a connection by connection ID (or by name when type=connectionname is set in query)
388
+ *
382
389
  * @param qID Connection ID
383
390
  * @param query an object with query parameters
384
391
  * @throws GetDataConnectionHttpError
@@ -409,6 +416,7 @@ type GetDataConnectionHttpError = {
409
416
  };
410
417
  /**
411
418
  * Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
419
+ *
412
420
  * @param qID Connection ID
413
421
  * @param query an object with query parameters
414
422
  * @param body an object with the body content
@@ -430,6 +438,7 @@ type PatchDataConnectionHttpError = {
430
438
  };
431
439
  /**
432
440
  * Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
441
+ *
433
442
  * @param qID Connection ID
434
443
  * @param query an object with query parameters
435
444
  * @param body an object with the body content
@@ -458,36 +467,42 @@ declare function clearCache(): void;
458
467
  interface DataConnectionsAPI {
459
468
  /**
460
469
  * Gets a list of connections
470
+ *
461
471
  * @param query an object with query parameters
462
472
  * @throws GetDataConnectionsHttpError
463
473
  */
464
474
  getDataConnections: typeof getDataConnections;
465
475
  /**
466
476
  * Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
477
+ *
467
478
  * @param body an object with the body content
468
479
  * @throws CreateDataConnectionHttpError
469
480
  */
470
481
  createDataConnection: typeof createDataConnection;
471
482
  /**
472
483
  * Delete multiple connections, only available to Admin
484
+ *
473
485
  * @param body an object with the body content
474
486
  * @throws DeleteDataConnectionsHttpError
475
487
  */
476
488
  deleteDataConnections: typeof deleteDataConnections;
477
489
  /**
478
490
  * Duplicate a connection
491
+ *
479
492
  * @param body an object with the body content
480
493
  * @throws DuplicateDataAConnectionHttpError
481
494
  */
482
495
  duplicateDataAConnection: typeof duplicateDataAConnection;
483
496
  /**
484
497
  * Update multiple connections, only available to Admin
498
+ *
485
499
  * @param body an object with the body content
486
500
  * @throws UpdateDataConnectionsHttpError
487
501
  */
488
502
  updateDataConnections: typeof updateDataConnections;
489
503
  /**
490
504
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
505
+ *
491
506
  * @param qID Connection ID
492
507
  * @param query an object with query parameters
493
508
  * @throws DeleteDataConnectionHttpError
@@ -495,6 +510,7 @@ interface DataConnectionsAPI {
495
510
  deleteDataConnection: typeof deleteDataConnection;
496
511
  /**
497
512
  * Gets a connection by connection ID (or by name when type=connectionname is set in query)
513
+ *
498
514
  * @param qID Connection ID
499
515
  * @param query an object with query parameters
500
516
  * @throws GetDataConnectionHttpError
@@ -502,6 +518,7 @@ interface DataConnectionsAPI {
502
518
  getDataConnection: typeof getDataConnection;
503
519
  /**
504
520
  * Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
521
+ *
505
522
  * @param qID Connection ID
506
523
  * @param query an object with query parameters
507
524
  * @param body an object with the body content
@@ -510,6 +527,7 @@ interface DataConnectionsAPI {
510
527
  patchDataConnection: typeof patchDataConnection;
511
528
  /**
512
529
  * Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
530
+ *
513
531
  * @param qID Connection ID
514
532
  * @param query an object with query parameters
515
533
  * @param body an object with the body content
@@ -246,6 +246,7 @@ type TopLevelLink = {
246
246
  };
247
247
  /**
248
248
  * Gets a list of connections
249
+ *
249
250
  * @param query an object with query parameters
250
251
  * @throws GetDataConnectionsHttpError
251
252
  */
@@ -293,6 +294,7 @@ type GetDataConnectionsHttpError = {
293
294
  };
294
295
  /**
295
296
  * Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
297
+ *
296
298
  * @param body an object with the body content
297
299
  * @throws CreateDataConnectionHttpError
298
300
  */
@@ -309,6 +311,7 @@ type CreateDataConnectionHttpError = {
309
311
  };
310
312
  /**
311
313
  * Delete multiple connections, only available to Admin
314
+ *
312
315
  * @param body an object with the body content
313
316
  * @throws DeleteDataConnectionsHttpError
314
317
  */
@@ -325,6 +328,7 @@ type DeleteDataConnectionsHttpError = {
325
328
  };
326
329
  /**
327
330
  * Duplicate a connection
331
+ *
328
332
  * @param body an object with the body content
329
333
  * @throws DuplicateDataAConnectionHttpError
330
334
  */
@@ -341,6 +345,7 @@ type DuplicateDataAConnectionHttpError = {
341
345
  };
342
346
  /**
343
347
  * Update multiple connections, only available to Admin
348
+ *
344
349
  * @param body an object with the body content
345
350
  * @throws UpdateDataConnectionsHttpError
346
351
  */
@@ -357,6 +362,7 @@ type UpdateDataConnectionsHttpError = {
357
362
  };
358
363
  /**
359
364
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
365
+ *
360
366
  * @param qID Connection ID
361
367
  * @param query an object with query parameters
362
368
  * @throws DeleteDataConnectionHttpError
@@ -379,6 +385,7 @@ type DeleteDataConnectionHttpError = {
379
385
  };
380
386
  /**
381
387
  * Gets a connection by connection ID (or by name when type=connectionname is set in query)
388
+ *
382
389
  * @param qID Connection ID
383
390
  * @param query an object with query parameters
384
391
  * @throws GetDataConnectionHttpError
@@ -409,6 +416,7 @@ type GetDataConnectionHttpError = {
409
416
  };
410
417
  /**
411
418
  * Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
419
+ *
412
420
  * @param qID Connection ID
413
421
  * @param query an object with query parameters
414
422
  * @param body an object with the body content
@@ -430,6 +438,7 @@ type PatchDataConnectionHttpError = {
430
438
  };
431
439
  /**
432
440
  * Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
441
+ *
433
442
  * @param qID Connection ID
434
443
  * @param query an object with query parameters
435
444
  * @param body an object with the body content
@@ -458,36 +467,42 @@ declare function clearCache(): void;
458
467
  interface DataConnectionsAPI {
459
468
  /**
460
469
  * Gets a list of connections
470
+ *
461
471
  * @param query an object with query parameters
462
472
  * @throws GetDataConnectionsHttpError
463
473
  */
464
474
  getDataConnections: typeof getDataConnections;
465
475
  /**
466
476
  * Creates a connection. Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
477
+ *
467
478
  * @param body an object with the body content
468
479
  * @throws CreateDataConnectionHttpError
469
480
  */
470
481
  createDataConnection: typeof createDataConnection;
471
482
  /**
472
483
  * Delete multiple connections, only available to Admin
484
+ *
473
485
  * @param body an object with the body content
474
486
  * @throws DeleteDataConnectionsHttpError
475
487
  */
476
488
  deleteDataConnections: typeof deleteDataConnections;
477
489
  /**
478
490
  * Duplicate a connection
491
+ *
479
492
  * @param body an object with the body content
480
493
  * @throws DuplicateDataAConnectionHttpError
481
494
  */
482
495
  duplicateDataAConnection: typeof duplicateDataAConnection;
483
496
  /**
484
497
  * Update multiple connections, only available to Admin
498
+ *
485
499
  * @param body an object with the body content
486
500
  * @throws UpdateDataConnectionsHttpError
487
501
  */
488
502
  updateDataConnections: typeof updateDataConnections;
489
503
  /**
490
504
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
505
+ *
491
506
  * @param qID Connection ID
492
507
  * @param query an object with query parameters
493
508
  * @throws DeleteDataConnectionHttpError
@@ -495,6 +510,7 @@ interface DataConnectionsAPI {
495
510
  deleteDataConnection: typeof deleteDataConnection;
496
511
  /**
497
512
  * Gets a connection by connection ID (or by name when type=connectionname is set in query)
513
+ *
498
514
  * @param qID Connection ID
499
515
  * @param query an object with query parameters
500
516
  * @throws GetDataConnectionHttpError
@@ -502,6 +518,7 @@ interface DataConnectionsAPI {
502
518
  getDataConnection: typeof getDataConnection;
503
519
  /**
504
520
  * Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
521
+ *
505
522
  * @param qID Connection ID
506
523
  * @param query an object with query parameters
507
524
  * @param body an object with the body content
@@ -510,6 +527,7 @@ interface DataConnectionsAPI {
510
527
  patchDataConnection: typeof patchDataConnection;
511
528
  /**
512
529
  * Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
530
+ *
513
531
  * @param qID Connection ID
514
532
  * @param query an object with query parameters
515
533
  * @param body an object with the body content