@qlik/api 1.32.0 → 1.33.0

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 (142) hide show
  1. package/api-keys.d.ts +10 -10
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +34 -34
  6. package/assistants.js +257 -201
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +12 -12
  13. package/automation-connections.js +75 -59
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +4 -4
  17. package/automl-deployments.js +14 -12
  18. package/automl-predictions.d.ts +13 -13
  19. package/automl-predictions.js +56 -44
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +13 -13
  36. package/conditions.js +97 -75
  37. package/consumption.d.ts +4 -4
  38. package/consumption.js +11 -9
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +3 -3
  42. package/csrf-token.js +10 -8
  43. package/data-alerts.d.ts +22 -22
  44. package/data-alerts.js +139 -107
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +6 -6
  54. package/data-qualities.js +28 -22
  55. package/data-sets.d.ts +10 -10
  56. package/data-sets.js +59 -47
  57. package/data-sources.d.ts +7 -7
  58. package/data-sources.js +28 -22
  59. package/data-stores.d.ts +16 -16
  60. package/data-stores.js +92 -72
  61. package/dcaas.d.ts +6 -6
  62. package/dcaas.js +28 -22
  63. package/di-projects.d.ts +22 -22
  64. package/di-projects.js +148 -116
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +12 -12
  68. package/encryption.js +82 -62
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +9 -4
  78. package/index.js +101 -67
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +23 -23
  85. package/knowledgebases.js +153 -119
  86. package/licenses.d.ts +13 -13
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +17 -17
  89. package/lineage-graphs.js +76 -60
  90. package/ml.d.ts +100 -52
  91. package/ml.js +379 -286
  92. package/notes.d.ts +4 -4
  93. package/notes.js +19 -15
  94. package/notifications.d.ts +4 -4
  95. package/notifications.js +11 -9
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +5 -5
  99. package/oauth-tokens.js +19 -15
  100. package/package.json +8 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +5 -5
  104. package/questions.js +22 -18
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +10 -10
  112. package/report-templates.js +64 -50
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +14 -14
  118. package/sharing-tasks.js +89 -69
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +17 -17
  122. package/tasks.js +90 -70
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +9 -9
  132. package/ui-config.js +61 -47
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
@@ -0,0 +1,108 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
+
8
+ // src/public/rest/direct-access-agents.ts
9
+ async function restartDirectAccessAgent(agentId, agentAction, options) {
10
+ return invokeFetch("direct-access-agents", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/actions/{agentAction}",
13
+ pathVariables: { agentId, agentAction },
14
+ options
15
+ });
16
+ }
17
+ async function getDirectAccessAgentConfiguration(agentId, query, options) {
18
+ return invokeFetch("direct-access-agents", {
19
+ method: "get",
20
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/configurations",
21
+ pathVariables: { agentId },
22
+ query,
23
+ options
24
+ });
25
+ }
26
+ async function patchDirectAccessAgentConfiguration(agentId, body, options) {
27
+ return invokeFetch("direct-access-agents", {
28
+ method: "patch",
29
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/configurations",
30
+ pathVariables: { agentId },
31
+ body,
32
+ contentType: "application/json",
33
+ options
34
+ });
35
+ }
36
+ async function getDirectAccessAgentConnectorFiles(agentId, connectorType, query, options) {
37
+ return invokeFetch("direct-access-agents", {
38
+ method: "get",
39
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files",
40
+ pathVariables: { agentId, connectorType },
41
+ query,
42
+ options
43
+ });
44
+ }
45
+ async function getDirectAccessAgentConnectorFilesWithoutQuery(agentId, connectorType, options) {
46
+ return invokeFetch("direct-access-agents", {
47
+ method: "get",
48
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files",
49
+ pathVariables: { agentId, connectorType },
50
+ options
51
+ });
52
+ }
53
+ async function getDirectAccessAgentConnectorFile(agentId, connectorType, fileType, options) {
54
+ return invokeFetch("direct-access-agents", {
55
+ method: "get",
56
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
57
+ pathVariables: { agentId, connectorType, fileType },
58
+ options
59
+ });
60
+ }
61
+ async function updateDirectAccessAgentConnectorFile(agentId, connectorType, fileType, query, body, options) {
62
+ return invokeFetch("direct-access-agents", {
63
+ method: "put",
64
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
65
+ pathVariables: { agentId, connectorType, fileType },
66
+ query,
67
+ body,
68
+ contentType: "application/json",
69
+ options
70
+ });
71
+ }
72
+ async function updateDirectAccessAgentConnectorFileWithoutQuery(agentId, connectorType, fileType, body, options) {
73
+ return invokeFetch("direct-access-agents", {
74
+ method: "put",
75
+ pathTemplate: "/api/v1/direct-access-agents/{agentId}/connectors/{connectorType}/files/{fileType}",
76
+ pathVariables: { agentId, connectorType, fileType },
77
+ body,
78
+ contentType: "application/json",
79
+ options
80
+ });
81
+ }
82
+ function clearCache() {
83
+ return clearApiCache("direct-access-agents");
84
+ }
85
+ var directAccessAgentsExport = {
86
+ restartDirectAccessAgent,
87
+ getDirectAccessAgentConfiguration,
88
+ patchDirectAccessAgentConfiguration,
89
+ getDirectAccessAgentConnectorFiles,
90
+ getDirectAccessAgentConnectorFilesWithoutQuery,
91
+ getDirectAccessAgentConnectorFile,
92
+ updateDirectAccessAgentConnectorFile,
93
+ updateDirectAccessAgentConnectorFileWithoutQuery,
94
+ clearCache
95
+ };
96
+ var direct_access_agents_default = directAccessAgentsExport;
97
+ export {
98
+ clearCache,
99
+ direct_access_agents_default as default,
100
+ getDirectAccessAgentConfiguration,
101
+ getDirectAccessAgentConnectorFile,
102
+ getDirectAccessAgentConnectorFiles,
103
+ getDirectAccessAgentConnectorFilesWithoutQuery,
104
+ patchDirectAccessAgentConfiguration,
105
+ restartDirectAccessAgent,
106
+ updateDirectAccessAgentConnectorFile,
107
+ updateDirectAccessAgentConnectorFileWithoutQuery
108
+ };
package/encryption.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * @example
@@ -117,7 +117,7 @@ type StandardErrorItem = {
117
117
  *
118
118
  * @throws GetEncryptionKeyprovidersHttpError
119
119
  */
120
- declare const getEncryptionKeyproviders: (options?: ApiCallOptions) => Promise<GetEncryptionKeyprovidersHttpResponse>;
120
+ declare function getEncryptionKeyproviders(options?: ApiCallOptions): Promise<GetEncryptionKeyprovidersHttpResponse>;
121
121
  type GetEncryptionKeyprovidersHttpResponse = {
122
122
  data: KeyProviders;
123
123
  headers: Headers;
@@ -134,7 +134,7 @@ type GetEncryptionKeyprovidersHttpError = {
134
134
  * @param body an object with the body content
135
135
  * @throws CreateEncryptionKeyproviderHttpError
136
136
  */
137
- declare const createEncryptionKeyprovider: (body: KeyProvider, options?: ApiCallOptions) => Promise<CreateEncryptionKeyproviderHttpResponse>;
137
+ declare function createEncryptionKeyprovider(body: KeyProvider, options?: ApiCallOptions): Promise<CreateEncryptionKeyproviderHttpResponse>;
138
138
  type CreateEncryptionKeyproviderHttpResponse = {
139
139
  data: KeyProvider;
140
140
  headers: Headers;
@@ -150,7 +150,7 @@ type CreateEncryptionKeyproviderHttpError = {
150
150
  *
151
151
  * @throws ListEncryptionKeyprovidersHttpError
152
152
  */
153
- declare const listEncryptionKeyproviders: (options?: ApiCallOptions) => Promise<ListEncryptionKeyprovidersHttpResponse>;
153
+ declare function listEncryptionKeyproviders(options?: ApiCallOptions): Promise<ListEncryptionKeyprovidersHttpResponse>;
154
154
  type ListEncryptionKeyprovidersHttpResponse = {
155
155
  data: ListKeyProviders;
156
156
  headers: Headers;
@@ -166,7 +166,7 @@ type ListEncryptionKeyprovidersHttpError = {
166
166
  *
167
167
  * @throws ResetEncryptionKeyprovidersHttpError
168
168
  */
169
- declare const resetEncryptionKeyproviders: (options?: ApiCallOptions) => Promise<ResetEncryptionKeyprovidersHttpResponse>;
169
+ declare function resetEncryptionKeyproviders(options?: ApiCallOptions): Promise<ResetEncryptionKeyprovidersHttpResponse>;
170
170
  type ResetEncryptionKeyprovidersHttpResponse = ResetEncryptionKeyproviders200HttpResponse | ResetEncryptionKeyproviders205HttpResponse;
171
171
  type ResetEncryptionKeyproviders200HttpResponse = {
172
172
  data: ResetMigrationNotNeeded;
@@ -188,7 +188,7 @@ type ResetEncryptionKeyprovidersHttpError = {
188
188
  *
189
189
  * @throws GetEncryptionKeyprovidersMigrationDetailsHttpError
190
190
  */
191
- declare const getEncryptionKeyprovidersMigrationDetails: (options?: ApiCallOptions) => Promise<GetEncryptionKeyprovidersMigrationDetailsHttpResponse>;
191
+ declare function getEncryptionKeyprovidersMigrationDetails(options?: ApiCallOptions): Promise<GetEncryptionKeyprovidersMigrationDetailsHttpResponse>;
192
192
  type GetEncryptionKeyprovidersMigrationDetailsHttpResponse = {
193
193
  data: MigrationInformation;
194
194
  headers: Headers;
@@ -205,7 +205,7 @@ type GetEncryptionKeyprovidersMigrationDetailsHttpError = {
205
205
  * @param arnFingerPrint The fingerprint of the key provider you wish to delete.
206
206
  * @throws DeleteEncryptionKeyproviderHttpError
207
207
  */
208
- declare const deleteEncryptionKeyprovider: (arnFingerPrint: string, options?: ApiCallOptions) => Promise<DeleteEncryptionKeyproviderHttpResponse>;
208
+ declare function deleteEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<DeleteEncryptionKeyproviderHttpResponse>;
209
209
  type DeleteEncryptionKeyproviderHttpResponse = {
210
210
  data: KeyProvidersDeleteResponseBody;
211
211
  headers: Headers;
@@ -222,7 +222,7 @@ type DeleteEncryptionKeyproviderHttpError = {
222
222
  * @param arnFingerPrint The fingerprint of the requested provider key.
223
223
  * @throws GetEncryptionKeyproviderHttpError
224
224
  */
225
- declare const getEncryptionKeyprovider: (arnFingerPrint: string, options?: ApiCallOptions) => Promise<GetEncryptionKeyproviderHttpResponse>;
225
+ declare function getEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<GetEncryptionKeyproviderHttpResponse>;
226
226
  type GetEncryptionKeyproviderHttpResponse = {
227
227
  data: KeyProvider;
228
228
  headers: Headers;
@@ -240,7 +240,7 @@ type GetEncryptionKeyproviderHttpError = {
240
240
  * @param body an object with the body content
241
241
  * @throws PatchEncryptionKeyproviderHttpError
242
242
  */
243
- declare const patchEncryptionKeyprovider: (arnFingerPrint: string, body: KeyProviderPatchSchema, options?: ApiCallOptions) => Promise<PatchEncryptionKeyproviderHttpResponse>;
243
+ declare function patchEncryptionKeyprovider(arnFingerPrint: string, body: KeyProviderPatchSchema, options?: ApiCallOptions): Promise<PatchEncryptionKeyproviderHttpResponse>;
244
244
  type PatchEncryptionKeyproviderHttpResponse = {
245
245
  data: void;
246
246
  headers: Headers;
@@ -257,7 +257,7 @@ type PatchEncryptionKeyproviderHttpError = {
257
257
  * @param arnFingerPrint The fingerprint of an existing key provider key.
258
258
  * @throws MigrateEncryptionKeyproviderHttpError
259
259
  */
260
- declare const migrateEncryptionKeyprovider: (arnFingerPrint: string, options?: ApiCallOptions) => Promise<MigrateEncryptionKeyproviderHttpResponse>;
260
+ declare function migrateEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<MigrateEncryptionKeyproviderHttpResponse>;
261
261
  type MigrateEncryptionKeyproviderHttpResponse = {
262
262
  data: MigrationInformation;
263
263
  headers: Headers;
@@ -274,7 +274,7 @@ type MigrateEncryptionKeyproviderHttpError = {
274
274
  * @param arnFingerPrint The fingerprint of an existing key provider key.
275
275
  * @throws TestEncryptionKeyproviderHttpError
276
276
  */
277
- declare const testEncryptionKeyprovider: (arnFingerPrint: string, options?: ApiCallOptions) => Promise<TestEncryptionKeyproviderHttpResponse>;
277
+ declare function testEncryptionKeyprovider(arnFingerPrint: string, options?: ApiCallOptions): Promise<TestEncryptionKeyproviderHttpResponse>;
278
278
  type TestEncryptionKeyproviderHttpResponse = {
279
279
  data: KeyProvider;
280
280
  headers: Headers;
package/encryption.js CHANGED
@@ -1,70 +1,90 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/encryption.ts
9
- var getEncryptionKeyproviders = async (options) => invokeFetch("encryption", {
10
- method: "get",
11
- pathTemplate: "/api/v1/encryption/keyproviders",
12
- options
13
- });
14
- var createEncryptionKeyprovider = async (body, options) => invokeFetch("encryption", {
15
- method: "post",
16
- pathTemplate: "/api/v1/encryption/keyproviders",
17
- body,
18
- contentType: "application/json",
19
- options
20
- });
21
- var listEncryptionKeyproviders = async (options) => invokeFetch("encryption", {
22
- method: "get",
23
- pathTemplate: "/api/v1/encryption/keyproviders/actions/list",
24
- options
25
- });
26
- var resetEncryptionKeyproviders = async (options) => invokeFetch("encryption", {
27
- method: "post",
28
- pathTemplate: "/api/v1/encryption/keyproviders/actions/reset-to-default-provider",
29
- options
30
- });
31
- var getEncryptionKeyprovidersMigrationDetails = async (options) => invokeFetch("encryption", {
32
- method: "get",
33
- pathTemplate: "/api/v1/encryption/keyproviders/migration/actions/details",
34
- options
35
- });
36
- var deleteEncryptionKeyprovider = async (arnFingerPrint, options) => invokeFetch("encryption", {
37
- method: "delete",
38
- pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
39
- pathVariables: { arnFingerPrint },
40
- options
41
- });
42
- var getEncryptionKeyprovider = async (arnFingerPrint, options) => invokeFetch("encryption", {
43
- method: "get",
44
- pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
45
- pathVariables: { arnFingerPrint },
46
- options
47
- });
48
- var patchEncryptionKeyprovider = async (arnFingerPrint, body, options) => invokeFetch("encryption", {
49
- method: "patch",
50
- pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
51
- pathVariables: { arnFingerPrint },
52
- body,
53
- contentType: "application/json",
54
- options
55
- });
56
- var migrateEncryptionKeyprovider = async (arnFingerPrint, options) => invokeFetch("encryption", {
57
- method: "post",
58
- pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/migrate",
59
- pathVariables: { arnFingerPrint },
60
- options
61
- });
62
- var testEncryptionKeyprovider = async (arnFingerPrint, options) => invokeFetch("encryption", {
63
- method: "post",
64
- pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/test",
65
- pathVariables: { arnFingerPrint },
66
- options
67
- });
9
+ async function getEncryptionKeyproviders(options) {
10
+ return invokeFetch("encryption", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/encryption/keyproviders",
13
+ options
14
+ });
15
+ }
16
+ async function createEncryptionKeyprovider(body, options) {
17
+ return invokeFetch("encryption", {
18
+ method: "post",
19
+ pathTemplate: "/api/v1/encryption/keyproviders",
20
+ body,
21
+ contentType: "application/json",
22
+ options
23
+ });
24
+ }
25
+ async function listEncryptionKeyproviders(options) {
26
+ return invokeFetch("encryption", {
27
+ method: "get",
28
+ pathTemplate: "/api/v1/encryption/keyproviders/actions/list",
29
+ options
30
+ });
31
+ }
32
+ async function resetEncryptionKeyproviders(options) {
33
+ return invokeFetch("encryption", {
34
+ method: "post",
35
+ pathTemplate: "/api/v1/encryption/keyproviders/actions/reset-to-default-provider",
36
+ options
37
+ });
38
+ }
39
+ async function getEncryptionKeyprovidersMigrationDetails(options) {
40
+ return invokeFetch("encryption", {
41
+ method: "get",
42
+ pathTemplate: "/api/v1/encryption/keyproviders/migration/actions/details",
43
+ options
44
+ });
45
+ }
46
+ async function deleteEncryptionKeyprovider(arnFingerPrint, options) {
47
+ return invokeFetch("encryption", {
48
+ method: "delete",
49
+ pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
50
+ pathVariables: { arnFingerPrint },
51
+ options
52
+ });
53
+ }
54
+ async function getEncryptionKeyprovider(arnFingerPrint, options) {
55
+ return invokeFetch("encryption", {
56
+ method: "get",
57
+ pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
58
+ pathVariables: { arnFingerPrint },
59
+ options
60
+ });
61
+ }
62
+ async function patchEncryptionKeyprovider(arnFingerPrint, body, options) {
63
+ return invokeFetch("encryption", {
64
+ method: "patch",
65
+ pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}",
66
+ pathVariables: { arnFingerPrint },
67
+ body,
68
+ contentType: "application/json",
69
+ options
70
+ });
71
+ }
72
+ async function migrateEncryptionKeyprovider(arnFingerPrint, options) {
73
+ return invokeFetch("encryption", {
74
+ method: "post",
75
+ pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/migrate",
76
+ pathVariables: { arnFingerPrint },
77
+ options
78
+ });
79
+ }
80
+ async function testEncryptionKeyprovider(arnFingerPrint, options) {
81
+ return invokeFetch("encryption", {
82
+ method: "post",
83
+ pathTemplate: "/api/v1/encryption/keyproviders/{arnFingerPrint}/actions/test",
84
+ pathVariables: { arnFingerPrint },
85
+ options
86
+ });
87
+ }
68
88
  function clearCache() {
69
89
  return clearApiCache("encryption");
70
90
  }
package/extensions.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * Object containing meta data regarding the bundle the extension belongs to. If it does not belong to a bundle, this object is not defined.
@@ -100,7 +100,7 @@ type Meta = {
100
100
  *
101
101
  * @throws GetExtensionsHttpError
102
102
  */
103
- declare const getExtensions: (options?: ApiCallOptions) => Promise<GetExtensionsHttpResponse>;
103
+ declare function getExtensions(options?: ApiCallOptions): Promise<GetExtensionsHttpResponse>;
104
104
  type GetExtensionsHttpResponse = {
105
105
  data: Extensions;
106
106
  headers: Headers;
@@ -117,12 +117,12 @@ type GetExtensionsHttpError = {
117
117
  * @param body an object with the body content
118
118
  * @throws UploadExtensionHttpError
119
119
  */
120
- declare const uploadExtension: (body: {
120
+ declare function uploadExtension(body: {
121
121
  /** The extension model. */
122
122
  data?: Extension;
123
123
  /** Extension archive. */
124
124
  file?: BodyInit;
125
- }, options?: ApiCallOptions) => Promise<UploadExtensionHttpResponse>;
125
+ }, options?: ApiCallOptions): Promise<UploadExtensionHttpResponse>;
126
126
  type UploadExtensionHttpResponse = {
127
127
  data: Extension;
128
128
  headers: Headers;
@@ -139,7 +139,7 @@ type UploadExtensionHttpError = {
139
139
  * @param id Extension identifier or its qextFilename.
140
140
  * @throws DeleteExtensionHttpError
141
141
  */
142
- declare const deleteExtension: (id: string, options?: ApiCallOptions) => Promise<DeleteExtensionHttpResponse>;
142
+ declare function deleteExtension(id: string, options?: ApiCallOptions): Promise<DeleteExtensionHttpResponse>;
143
143
  type DeleteExtensionHttpResponse = {
144
144
  data: void;
145
145
  headers: Headers;
@@ -156,7 +156,7 @@ type DeleteExtensionHttpError = {
156
156
  * @param id Extension identifier or its qextFilename.
157
157
  * @throws GetExtensionHttpError
158
158
  */
159
- declare const getExtension: (id: string, options?: ApiCallOptions) => Promise<GetExtensionHttpResponse>;
159
+ declare function getExtension(id: string, options?: ApiCallOptions): Promise<GetExtensionHttpResponse>;
160
160
  type GetExtensionHttpResponse = {
161
161
  data: Extension;
162
162
  headers: Headers;
@@ -174,12 +174,12 @@ type GetExtensionHttpError = {
174
174
  * @param body an object with the body content
175
175
  * @throws PatchExtensionHttpError
176
176
  */
177
- declare const patchExtension: (id: string, body: {
177
+ declare function patchExtension(id: string, body: {
178
178
  /** The extension model. */
179
179
  data?: Extension;
180
180
  /** Extension archive. */
181
181
  file?: BodyInit;
182
- }, options?: ApiCallOptions) => Promise<PatchExtensionHttpResponse>;
182
+ }, options?: ApiCallOptions): Promise<PatchExtensionHttpResponse>;
183
183
  type PatchExtensionHttpResponse = {
184
184
  data: Extension;
185
185
  headers: Headers;
@@ -196,7 +196,7 @@ type PatchExtensionHttpError = {
196
196
  * @param id Extension identifier or its qextFilename.
197
197
  * @throws DownloadExtensionHttpError
198
198
  */
199
- declare const downloadExtension: (id: string, options?: ApiCallOptions) => Promise<DownloadExtensionHttpResponse>;
199
+ declare function downloadExtension(id: string, options?: ApiCallOptions): Promise<DownloadExtensionHttpResponse>;
200
200
  type DownloadExtensionHttpResponse = {
201
201
  data: void;
202
202
  headers: Headers;
@@ -214,7 +214,7 @@ type DownloadExtensionHttpError = {
214
214
  * @param filepath Path to the file location within the specified extension archive. Folders separated with forward slashes.
215
215
  * @throws DownloadFileFromExtensionHttpError
216
216
  */
217
- declare const downloadFileFromExtension: (id: string, filepath: string, options?: ApiCallOptions) => Promise<DownloadFileFromExtensionHttpResponse>;
217
+ declare function downloadFileFromExtension(id: string, filepath: string, options?: ApiCallOptions): Promise<DownloadFileFromExtensionHttpResponse>;
218
218
  type DownloadFileFromExtensionHttpResponse = {
219
219
  data: void;
220
220
  headers: Headers;
package/extensions.js CHANGED
@@ -1,55 +1,69 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/extensions.ts
9
- var getExtensions = async (options) => invokeFetch("extensions", {
10
- method: "get",
11
- pathTemplate: "/api/v1/extensions",
12
- options
13
- });
14
- var uploadExtension = async (body, options) => invokeFetch("extensions", {
15
- method: "post",
16
- pathTemplate: "/api/v1/extensions",
17
- body,
18
- contentType: "multipart/form-data",
19
- options
20
- });
21
- var deleteExtension = async (id, options) => invokeFetch("extensions", {
22
- method: "delete",
23
- pathTemplate: "/api/v1/extensions/{id}",
24
- pathVariables: { id },
25
- options
26
- });
27
- var getExtension = async (id, options) => invokeFetch("extensions", {
28
- method: "get",
29
- pathTemplate: "/api/v1/extensions/{id}",
30
- pathVariables: { id },
31
- options
32
- });
33
- var patchExtension = async (id, body, options) => invokeFetch("extensions", {
34
- method: "patch",
35
- pathTemplate: "/api/v1/extensions/{id}",
36
- pathVariables: { id },
37
- body,
38
- contentType: "multipart/form-data",
39
- options
40
- });
41
- var downloadExtension = async (id, options) => invokeFetch("extensions", {
42
- method: "get",
43
- pathTemplate: "/api/v1/extensions/{id}/file",
44
- pathVariables: { id },
45
- options
46
- });
47
- var downloadFileFromExtension = async (id, filepath, options) => invokeFetch("extensions", {
48
- method: "get",
49
- pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
50
- pathVariables: { id, filepath },
51
- options
52
- });
9
+ async function getExtensions(options) {
10
+ return invokeFetch("extensions", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/extensions",
13
+ options
14
+ });
15
+ }
16
+ async function uploadExtension(body, options) {
17
+ return invokeFetch("extensions", {
18
+ method: "post",
19
+ pathTemplate: "/api/v1/extensions",
20
+ body,
21
+ contentType: "multipart/form-data",
22
+ options
23
+ });
24
+ }
25
+ async function deleteExtension(id, options) {
26
+ return invokeFetch("extensions", {
27
+ method: "delete",
28
+ pathTemplate: "/api/v1/extensions/{id}",
29
+ pathVariables: { id },
30
+ options
31
+ });
32
+ }
33
+ async function getExtension(id, options) {
34
+ return invokeFetch("extensions", {
35
+ method: "get",
36
+ pathTemplate: "/api/v1/extensions/{id}",
37
+ pathVariables: { id },
38
+ options
39
+ });
40
+ }
41
+ async function patchExtension(id, body, options) {
42
+ return invokeFetch("extensions", {
43
+ method: "patch",
44
+ pathTemplate: "/api/v1/extensions/{id}",
45
+ pathVariables: { id },
46
+ body,
47
+ contentType: "multipart/form-data",
48
+ options
49
+ });
50
+ }
51
+ async function downloadExtension(id, options) {
52
+ return invokeFetch("extensions", {
53
+ method: "get",
54
+ pathTemplate: "/api/v1/extensions/{id}/file",
55
+ pathVariables: { id },
56
+ options
57
+ });
58
+ }
59
+ async function downloadFileFromExtension(id, filepath, options) {
60
+ return invokeFetch("extensions", {
61
+ method: "get",
62
+ pathTemplate: "/api/v1/extensions/{id}/file/{filepath}",
63
+ pathVariables: { id, filepath },
64
+ options
65
+ });
66
+ }
53
67
  function clearCache() {
54
68
  return clearApiCache("extensions");
55
69
  }