@qlik/api 0.0.9 → 0.0.11

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 (145) hide show
  1. package/api-keys.d.mts +9 -0
  2. package/api-keys.d.ts +9 -0
  3. package/api-keys.js +10 -10
  4. package/api-keys.mjs +2 -2
  5. package/apps.d.mts +125 -1
  6. package/apps.d.ts +125 -1
  7. package/apps.js +46 -46
  8. package/apps.mjs +2 -2
  9. package/audits.d.mts +13 -0
  10. package/audits.d.ts +13 -0
  11. package/audits.js +9 -9
  12. package/audits.mjs +2 -2
  13. package/auth.js +3 -3
  14. package/auth.mjs +2 -2
  15. package/automations.d.mts +8 -0
  16. package/automations.d.ts +8 -0
  17. package/automations.js +21 -21
  18. package/automations.mjs +2 -2
  19. package/brands.d.mts +15 -0
  20. package/brands.d.ts +15 -0
  21. package/brands.js +15 -15
  22. package/brands.mjs +2 -2
  23. package/chunks/{XY3AC335.js → 277NFGPR.js} +4 -4
  24. package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
  25. package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
  26. package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
  27. package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
  28. package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
  29. package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
  30. package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
  31. package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
  32. package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
  33. package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
  34. package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
  35. package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
  36. package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
  37. package/chunks/SPJKF5VW.js +17 -0
  38. package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
  39. package/chunks/X3YDQVZ6.js +41 -0
  40. package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
  41. package/collections.d.mts +29 -1
  42. package/collections.d.ts +29 -1
  43. package/collections.js +14 -14
  44. package/collections.mjs +2 -2
  45. package/csp-origins.js +9 -9
  46. package/csp-origins.mjs +2 -2
  47. package/data-assets.js +8 -8
  48. package/data-assets.mjs +2 -2
  49. package/data-connections.d.mts +12 -1
  50. package/data-connections.d.ts +12 -1
  51. package/data-connections.js +12 -12
  52. package/data-connections.mjs +2 -2
  53. package/data-credentials.d.mts +5 -0
  54. package/data-credentials.d.ts +5 -0
  55. package/data-credentials.js +7 -7
  56. package/data-credentials.mjs +2 -2
  57. package/data-files.d.mts +6 -0
  58. package/data-files.d.ts +6 -0
  59. package/data-files.js +15 -15
  60. package/data-files.mjs +2 -2
  61. package/extensions.d.mts +12 -0
  62. package/extensions.d.ts +12 -0
  63. package/extensions.js +10 -10
  64. package/extensions.mjs +2 -2
  65. package/glossaries.d.mts +50 -0
  66. package/glossaries.d.ts +50 -0
  67. package/glossaries.js +27 -27
  68. package/glossaries.mjs +2 -2
  69. package/groups.d.mts +39 -0
  70. package/groups.d.ts +39 -0
  71. package/groups.js +11 -11
  72. package/groups.mjs +2 -2
  73. package/identity-providers.d.mts +42 -0
  74. package/identity-providers.d.ts +42 -0
  75. package/identity-providers.js +11 -11
  76. package/identity-providers.mjs +2 -2
  77. package/index.js +8 -8
  78. package/index.mjs +4 -4
  79. package/items.d.mts +32 -1
  80. package/items.d.ts +32 -1
  81. package/items.js +11 -11
  82. package/items.mjs +2 -2
  83. package/licenses.d.mts +7 -4
  84. package/licenses.d.ts +7 -4
  85. package/licenses.js +12 -12
  86. package/licenses.mjs +2 -2
  87. package/package.json +1 -1
  88. package/qix.d.mts +1 -1
  89. package/qix.d.ts +1 -1
  90. package/qix.js +3 -3
  91. package/qix.mjs +2 -2
  92. package/quotas.d.mts +3 -0
  93. package/quotas.d.ts +3 -0
  94. package/quotas.js +5 -5
  95. package/quotas.mjs +2 -2
  96. package/reload-tasks.d.mts +6 -3
  97. package/reload-tasks.d.ts +6 -3
  98. package/reload-tasks.js +8 -8
  99. package/reload-tasks.mjs +2 -2
  100. package/reloads.d.mts +9 -0
  101. package/reloads.d.ts +9 -0
  102. package/reloads.js +7 -7
  103. package/reloads.mjs +2 -2
  104. package/roles.d.mts +10 -1
  105. package/roles.d.ts +10 -1
  106. package/roles.js +5 -5
  107. package/roles.mjs +2 -2
  108. package/spaces.d.mts +37 -5
  109. package/spaces.d.ts +37 -5
  110. package/spaces.js +15 -15
  111. package/spaces.mjs +2 -2
  112. package/temp-contents.d.mts +6 -0
  113. package/temp-contents.d.ts +6 -0
  114. package/temp-contents.js +6 -6
  115. package/temp-contents.mjs +2 -2
  116. package/tenants.d.mts +12 -0
  117. package/tenants.d.ts +12 -0
  118. package/tenants.js +9 -9
  119. package/tenants.mjs +2 -2
  120. package/themes.d.mts +9 -0
  121. package/themes.d.ts +9 -0
  122. package/themes.js +10 -10
  123. package/themes.mjs +2 -2
  124. package/transports.d.mts +9 -0
  125. package/transports.d.ts +9 -0
  126. package/transports.js +9 -9
  127. package/transports.mjs +2 -2
  128. package/users.d.mts +85 -14
  129. package/users.d.ts +85 -14
  130. package/users.js +13 -13
  131. package/users.mjs +2 -2
  132. package/web-integrations.d.mts +18 -0
  133. package/web-integrations.d.ts +18 -0
  134. package/web-integrations.js +8 -8
  135. package/web-integrations.mjs +2 -2
  136. package/web-notifications.d.mts +18 -0
  137. package/web-notifications.d.ts +18 -0
  138. package/web-notifications.js +9 -9
  139. package/web-notifications.mjs +2 -2
  140. package/webhooks.d.mts +3 -0
  141. package/webhooks.d.ts +3 -0
  142. package/webhooks.js +13 -13
  143. package/webhooks.mjs +2 -2
  144. package/chunks/37STYSYC.js +0 -41
  145. package/chunks/VC2LAFLZ.js +0 -17
package/collections.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/collections.ts
9
- var getCollections = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
9
+ var getCollections = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/collections",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCollection = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
15
+ var createCollection = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/collections",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getFavoritesCollection = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
22
+ var getFavoritesCollection = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/collections/favorites",
25
25
  options
26
26
  });
27
- var deleteCollection = async (collectionId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
27
+ var deleteCollection = async (collectionId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/collections/{collectionId}",
30
30
  pathVariables: { collectionId },
31
31
  options
32
32
  });
33
- var getCollection = async (collectionId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
33
+ var getCollection = async (collectionId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/collections/{collectionId}",
36
36
  pathVariables: { collectionId },
37
37
  options
38
38
  });
39
- var patchCollection = async (collectionId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
39
+ var patchCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/collections/{collectionId}",
42
42
  pathVariables: { collectionId },
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _EL2GSPZZjs.invokeF
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateCollection = async (collectionId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
47
+ var updateCollection = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
48
48
  method: "put",
49
49
  pathTemplate: "/api/v1/collections/{collectionId}",
50
50
  pathVariables: { collectionId },
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _EL2GSPZZjs.invoke
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getCollectionItems = async (collectionId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
55
+ var getCollectionItems = async (collectionId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
56
56
  method: "get",
57
57
  pathTemplate: "/api/v1/collections/{collectionId}/items",
58
58
  pathVariables: { collectionId },
59
59
  query,
60
60
  options
61
61
  });
62
- var addCollectionItem = async (collectionId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
62
+ var addCollectionItem = async (collectionId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
63
63
  method: "post",
64
64
  pathTemplate: "/api/v1/collections/{collectionId}/items",
65
65
  pathVariables: { collectionId },
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _EL2GSPZZjs.invok
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteCollectionItem = async (collectionId, itemId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
70
+ var deleteCollectionItem = async (collectionId, itemId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
71
71
  method: "delete",
72
72
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
73
73
  pathVariables: { collectionId, itemId },
74
74
  options
75
75
  });
76
- var getCollectionItem = async (collectionId, itemId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "collections", {
76
+ var getCollectionItem = async (collectionId, itemId, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "collections", {
77
77
  method: "get",
78
78
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
79
79
  pathVariables: { collectionId, itemId },
80
80
  options
81
81
  });
82
82
  function clearCache() {
83
- return _EL2GSPZZjs.clearApiCache.call(void 0, "collections");
83
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "collections");
84
84
  }
85
85
  var collectionsExport = {
86
86
  getCollections,
package/collections.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/collections.ts
package/csp-origins.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/csp-origins.ts
9
- var getCSPEntries = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
9
+ var getCSPEntries = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/csp-origins",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCSPEntry = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
15
+ var createCSPEntry = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/csp-origins",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getCSPHeader = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
22
+ var getCSPHeader = async (options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/csp-origins/actions/generate-header",
25
25
  options
26
26
  });
27
- var deleteCSPEntry = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
27
+ var deleteCSPEntry = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/csp-origins/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var getCSPEntry = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
33
+ var getCSPEntry = async (id, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/csp-origins/{id}",
36
36
  pathVariables: { id },
37
37
  options
38
38
  });
39
- var updateCSPEntry = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "csp-origins", {
39
+ var updateCSPEntry = async (id, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "csp-origins", {
40
40
  method: "put",
41
41
  pathTemplate: "/api/v1/csp-origins/{id}",
42
42
  pathVariables: { id },
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(v
45
45
  options
46
46
  });
47
47
  function clearCache() {
48
- return _EL2GSPZZjs.clearApiCache.call(void 0, "csp-origins");
48
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "csp-origins");
49
49
  }
50
50
  var cspOriginsExport = {
51
51
  getCSPEntries,
package/csp-origins.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/csp-origins.ts
package/data-assets.js CHANGED
@@ -1,33 +1,33 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-assets.ts
9
- var deleteDataAssets = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-assets", {
9
+ var deleteDataAssets = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/data-assets",
12
12
  body,
13
13
  contentType: "application/json",
14
14
  options
15
15
  });
16
- var createDataAsset = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-assets", {
16
+ var createDataAsset = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
17
17
  method: "post",
18
18
  pathTemplate: "/api/v1/data-assets",
19
19
  body,
20
20
  contentType: "application/json",
21
21
  options
22
22
  });
23
- var getDataAsset = async (dataAssetId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-assets", {
23
+ var getDataAsset = async (dataAssetId, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
24
24
  method: "get",
25
25
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
26
26
  pathVariables: { "data-asset-id": dataAssetId },
27
27
  query,
28
28
  options
29
29
  });
30
- var patchDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-assets", {
30
+ var patchDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
31
31
  method: "patch",
32
32
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
33
33
  pathVariables: { "data-asset-id": dataAssetId },
@@ -35,7 +35,7 @@ var patchDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFet
35
35
  contentType: "application/json",
36
36
  options
37
37
  });
38
- var updateDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-assets", {
38
+ var updateDataAsset = async (dataAssetId, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-assets", {
39
39
  method: "put",
40
40
  pathTemplate: "/api/v1/data-assets/{data-asset-id}",
41
41
  pathVariables: { "data-asset-id": dataAssetId },
@@ -44,7 +44,7 @@ var updateDataAsset = async (dataAssetId, body, options) => _EL2GSPZZjs.invokeFe
44
44
  options
45
45
  });
46
46
  function clearCache() {
47
- return _EL2GSPZZjs.clearApiCache.call(void 0, "data-assets");
47
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "data-assets");
48
48
  }
49
49
  var dataAssetsExport = {
50
50
  deleteDataAssets,
package/data-assets.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -44,6 +44,9 @@ type BulkResponse = {
44
44
  status: number;
45
45
  }[];
46
46
  };
47
+ /**
48
+ * Essential fields of a connection
49
+ */
47
50
  type Connection = {
48
51
  /** Datetime when the connection was created */
49
52
  created: string;
@@ -56,7 +59,7 @@ type Connection = {
56
59
  qArchitecture: 0 | 1;
57
60
  /** Connection string for the data connection */
58
61
  qConnectStatement: string;
59
- /** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data0connections/{qID} */
62
+ /** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
60
63
  qConnectionSecret?: string;
61
64
  /** ID of the credential associated with the connection */
62
65
  qCredentialsID?: string;
@@ -123,6 +126,9 @@ type ConnectionCreate = {
123
126
  /** ID of the space to which the connection belongs */
124
127
  space?: string;
125
128
  };
129
+ /**
130
+ * Essential fields of a connection
131
+ */
126
132
  type ConnectionCreateResponse = {
127
133
  /** Datetime when the connection was created */
128
134
  created?: string;
@@ -226,6 +232,9 @@ type PatchRequest = {
226
232
  value?: string;
227
233
  }[];
228
234
  };
235
+ /**
236
+ * Access type allowed on associated data connection
237
+ */
229
238
  type Privilege = "list" | "update" | "delete" | "read";
230
239
  type ResponseErrors = {
231
240
  errors?: Errors;
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
257
266
  dataName?: string;
258
267
  /** Returns extended list of properties when set to true. */
259
268
  extended?: boolean;
269
+ /** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
270
+ filter?: string;
260
271
  /** Base Qri (encrypted) will be returned when the query is set to true, default is false */
261
272
  includeQris?: boolean;
262
273
  /** Number of resources to be returned */
@@ -44,6 +44,9 @@ type BulkResponse = {
44
44
  status: number;
45
45
  }[];
46
46
  };
47
+ /**
48
+ * Essential fields of a connection
49
+ */
47
50
  type Connection = {
48
51
  /** Datetime when the connection was created */
49
52
  created: string;
@@ -56,7 +59,7 @@ type Connection = {
56
59
  qArchitecture: 0 | 1;
57
60
  /** Connection string for the data connection */
58
61
  qConnectStatement: string;
59
- /** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data0connections/{qID} */
62
+ /** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
60
63
  qConnectionSecret?: string;
61
64
  /** ID of the credential associated with the connection */
62
65
  qCredentialsID?: string;
@@ -123,6 +126,9 @@ type ConnectionCreate = {
123
126
  /** ID of the space to which the connection belongs */
124
127
  space?: string;
125
128
  };
129
+ /**
130
+ * Essential fields of a connection
131
+ */
126
132
  type ConnectionCreateResponse = {
127
133
  /** Datetime when the connection was created */
128
134
  created?: string;
@@ -226,6 +232,9 @@ type PatchRequest = {
226
232
  value?: string;
227
233
  }[];
228
234
  };
235
+ /**
236
+ * Access type allowed on associated data connection
237
+ */
229
238
  type Privilege = "list" | "update" | "delete" | "read";
230
239
  type ResponseErrors = {
231
240
  errors?: Errors;
@@ -257,6 +266,8 @@ declare const getDataConnections: (query: {
257
266
  dataName?: string;
258
267
  /** Returns extended list of properties when set to true. */
259
268
  extended?: boolean;
269
+ /** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */
270
+ filter?: string;
260
271
  /** Base Qri (encrypted) will be returned when the query is set to true, default is false */
261
272
  includeQris?: boolean;
262
273
  /** Number of resources to be returned */
@@ -1,60 +1,60 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-connections.ts
9
- var getDataConnections = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
9
+ var getDataConnections = async (query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/data-connections",
12
12
  query,
13
13
  options
14
14
  });
15
- var createDataConnection = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
15
+ var createDataConnection = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/data-connections",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var deleteDataConnections = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
22
+ var deleteDataConnections = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/data-connections/actions/delete",
25
25
  body,
26
26
  contentType: "application/json",
27
27
  options
28
28
  });
29
- var duplicateDataAConnection = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
29
+ var duplicateDataAConnection = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
30
30
  method: "post",
31
31
  pathTemplate: "/api/v1/data-connections/actions/duplicate",
32
32
  body,
33
33
  contentType: "application/json",
34
34
  options
35
35
  });
36
- var updateDataConnections = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
36
+ var updateDataConnections = async (body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
37
37
  method: "post",
38
38
  pathTemplate: "/api/v1/data-connections/actions/update",
39
39
  body,
40
40
  contentType: "application/json",
41
41
  options
42
42
  });
43
- var deleteDataConnection = async (qID, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
43
+ var deleteDataConnection = async (qID, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
44
44
  method: "delete",
45
45
  pathTemplate: "/api/v1/data-connections/{qID}",
46
46
  pathVariables: { qID },
47
47
  query,
48
48
  options
49
49
  });
50
- var getDataConnection = async (qID, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
50
+ var getDataConnection = async (qID, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
51
51
  method: "get",
52
52
  pathTemplate: "/api/v1/data-connections/{qID}",
53
53
  pathVariables: { qID },
54
54
  query,
55
55
  options
56
56
  });
57
- var patchDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
57
+ var patchDataConnection = async (qID, query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
58
58
  method: "patch",
59
59
  pathTemplate: "/api/v1/data-connections/{qID}",
60
60
  pathVariables: { qID },
@@ -63,7 +63,7 @@ var patchDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invok
63
63
  contentType: "application/json",
64
64
  options
65
65
  });
66
- var updateDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-connections", {
66
+ var updateDataConnection = async (qID, query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-connections", {
67
67
  method: "put",
68
68
  pathTemplate: "/api/v1/data-connections/{qID}",
69
69
  pathVariables: { qID },
@@ -73,7 +73,7 @@ var updateDataConnection = async (qID, query, body, options) => _EL2GSPZZjs.invo
73
73
  options
74
74
  });
75
75
  function clearCache() {
76
- return _EL2GSPZZjs.clearApiCache.call(void 0, "data-connections");
76
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "data-connections");
77
77
  }
78
78
  var dataConnectionsExport = {
79
79
  getDataConnections,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -2,6 +2,8 @@ import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
4
  type Credential = {
5
+ /** ID datasource that the credential is created for */
6
+ datasourceID?: string;
5
7
  links?: Link;
6
8
  /** Number of linked connections */
7
9
  qConnCount: number;
@@ -14,6 +16,9 @@ type Credential = {
14
16
  /** Type of credential */
15
17
  qType: string;
16
18
  };
19
+ /**
20
+ * Credential
21
+ */
17
22
  type CredentialCreate = {
18
23
  /** ID of connection that will be associated with the credential */
19
24
  connectionId?: string;
@@ -2,6 +2,8 @@ import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
4
  type Credential = {
5
+ /** ID datasource that the credential is created for */
6
+ datasourceID?: string;
5
7
  links?: Link;
6
8
  /** Number of linked connections */
7
9
  qConnCount: number;
@@ -14,6 +16,9 @@ type Credential = {
14
16
  /** Type of credential */
15
17
  qType: string;
16
18
  };
19
+ /**
20
+ * Credential
21
+ */
17
22
  type CredentialCreate = {
18
23
  /** ID of connection that will be associated with the credential */
19
24
  connectionId?: string;
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _NZ6E5ZHOjs = require('./chunks/NZ6E5ZHO.js');
5
+ require('./chunks/NBNOAZT5.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/data-credentials.ts
9
- var deleteDataCredential = async (qID, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-credentials", {
9
+ var deleteDataCredential = async (qID, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-credentials", {
10
10
  method: "delete",
11
11
  pathTemplate: "/api/v1/data-credentials/{qID}",
12
12
  pathVariables: { qID },
13
13
  query,
14
14
  options
15
15
  });
16
- var getDataCredential = async (qID, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-credentials", {
16
+ var getDataCredential = async (qID, query, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-credentials", {
17
17
  method: "get",
18
18
  pathTemplate: "/api/v1/data-credentials/{qID}",
19
19
  pathVariables: { qID },
20
20
  query,
21
21
  options
22
22
  });
23
- var patchDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-credentials", {
23
+ var patchDataCredential = async (qID, query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-credentials", {
24
24
  method: "patch",
25
25
  pathTemplate: "/api/v1/data-credentials/{qID}",
26
26
  pathVariables: { qID },
@@ -29,7 +29,7 @@ var patchDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invok
29
29
  contentType: "application/json",
30
30
  options
31
31
  });
32
- var updateDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "data-credentials", {
32
+ var updateDataCredential = async (qID, query, body, options) => _NZ6E5ZHOjs.invokeFetch.call(void 0, "data-credentials", {
33
33
  method: "put",
34
34
  pathTemplate: "/api/v1/data-credentials/{qID}",
35
35
  pathVariables: { qID },
@@ -39,7 +39,7 @@ var updateDataCredential = async (qID, query, body, options) => _EL2GSPZZjs.invo
39
39
  options
40
40
  });
41
41
  function clearCache() {
42
- return _EL2GSPZZjs.clearApiCache.call(void 0, "data-credentials");
42
+ return _NZ6E5ZHOjs.clearApiCache.call(void 0, "data-credentials");
43
43
  }
44
44
  var dataCredentialsExport = {
45
45
  deleteDataCredential,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/J3UXBHGX.mjs";
5
+ import "./chunks/E3HDOP72.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/data-credentials.ts
package/data-files.d.mts CHANGED
@@ -33,10 +33,16 @@ type ConnectionsResponse = {
33
33
  /** The type of the connection. */
34
34
  type: string;
35
35
  };
36
+ /**
37
+ * Specifies the list of data file change space operations in a single batch.
38
+ */
36
39
  type DataFileBatchChangeSpaceRequest = {
37
40
  /** The list of data files to delete. */
38
41
  "change-space": BatchChangeSpaceItem[];
39
42
  };
43
+ /**
44
+ * Specifies the list of data files to be deleted in a single batch.
45
+ */
40
46
  type DataFileBatchDeleteRequest = {
41
47
  /** The list of data files to delete. */
42
48
  delete: BatchDeleteItem[];
package/data-files.d.ts CHANGED
@@ -33,10 +33,16 @@ type ConnectionsResponse = {
33
33
  /** The type of the connection. */
34
34
  type: string;
35
35
  };
36
+ /**
37
+ * Specifies the list of data file change space operations in a single batch.
38
+ */
36
39
  type DataFileBatchChangeSpaceRequest = {
37
40
  /** The list of data files to delete. */
38
41
  "change-space": BatchChangeSpaceItem[];
39
42
  };
43
+ /**
44
+ * Specifies the list of data files to be deleted in a single batch.
45
+ */
40
46
  type DataFileBatchDeleteRequest = {
41
47
  /** The list of data files to delete. */
42
48
  delete: BatchDeleteItem[];