@qlik/api 1.31.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 +1301 -0
  6. package/assistants.js +329 -0
  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 +366 -0
  13. package/automation-connections.js +107 -0
  14. package/automations.d.ts +27 -27
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +97 -0
  17. package/automl-deployments.js +29 -0
  18. package/automl-predictions.d.ts +214 -0
  19. package/automl-predictions.js +84 -0
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{KBSD75QL.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{DLKLPD7T.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{YKZ2QYHN.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/{GUU3KZGK.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 +662 -0
  36. package/conditions.js +135 -0
  37. package/consumption.d.ts +182 -0
  38. package/consumption.js +26 -0
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +62 -0
  42. package/csrf-token.js +25 -0
  43. package/data-alerts.d.ts +1004 -0
  44. package/data-alerts.js +187 -0
  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 +175 -0
  54. package/data-qualities.js +50 -0
  55. package/data-sets.d.ts +424 -0
  56. package/data-sets.js +87 -0
  57. package/data-sources.d.ts +268 -0
  58. package/data-sources.js +45 -0
  59. package/data-stores.d.ts +537 -0
  60. package/data-stores.js +128 -0
  61. package/dcaas.d.ts +192 -0
  62. package/dcaas.js +45 -0
  63. package/di-projects.d.ts +673 -0
  64. package/di-projects.js +196 -0
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +370 -0
  68. package/encryption.js +118 -0
  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 +113 -4
  78. package/index.js +626 -40
  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 +890 -0
  85. package/knowledgebases.js +203 -0
  86. package/licenses.d.ts +14 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +712 -0
  89. package/lineage-graphs.js +108 -0
  90. package/ml.d.ts +2676 -0
  91. package/ml.js +477 -0
  92. package/notes.d.ts +110 -0
  93. package/notes.js +35 -0
  94. package/notifications.d.ts +98 -0
  95. package/notifications.js +26 -0
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +126 -0
  99. package/oauth-tokens.js +35 -0
  100. package/package.json +34 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +364 -0
  104. package/questions.js +38 -0
  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 +287 -0
  112. package/report-templates.js +94 -0
  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 +952 -0
  118. package/sharing-tasks.js +125 -0
  119. package/spaces.d.ts +22 -22
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +564 -0
  122. package/tasks.js +126 -0
  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 +274 -0
  132. package/ui-config.js +91 -0
  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
@@ -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
  type ActionFilterOrphanRequest = {
5
5
  /** Filtering on datasource ID of credentials */
@@ -110,7 +110,7 @@ type ResponseErrors = {
110
110
  * @param body an object with the body content
111
111
  * @throws FilterOrphanedDataCredentialsHttpError
112
112
  */
113
- declare const filterOrphanedDataCredentials: (body: ActionFilterOrphanRequest, options?: ApiCallOptions) => Promise<FilterOrphanedDataCredentialsHttpResponse>;
113
+ declare function filterOrphanedDataCredentials(body: ActionFilterOrphanRequest, options?: ApiCallOptions): Promise<FilterOrphanedDataCredentialsHttpResponse>;
114
114
  type FilterOrphanedDataCredentialsHttpResponse = {
115
115
  data: ActionFilterOrphanResponse;
116
116
  headers: Headers;
@@ -135,10 +135,10 @@ type FilterOrphanedDataCredentialsHttpError = {
135
135
  * @param query an object with query parameters
136
136
  * @throws DeleteDataCredentialHttpError
137
137
  */
138
- declare const deleteDataCredential: (qID: string, query: {
138
+ declare function deleteDataCredential(qID: string, query: {
139
139
  /** If set to true, credentialId in the query will be interpreted as credential's name */
140
140
  byCredentialName?: boolean;
141
- }, options?: ApiCallOptions) => Promise<DeleteDataCredentialHttpResponse>;
141
+ }, options?: ApiCallOptions): Promise<DeleteDataCredentialHttpResponse>;
142
142
  type DeleteDataCredentialHttpResponse = {
143
143
  data: void;
144
144
  headers: Headers;
@@ -163,10 +163,10 @@ type DeleteDataCredentialHttpError = {
163
163
  * @param query an object with query parameters
164
164
  * @throws GetDataCredentialHttpError
165
165
  */
166
- declare const getDataCredential: (qID: string, query: {
166
+ declare function getDataCredential(qID: string, query: {
167
167
  /** If set to true, credentialId in the query will be interpreted as credential's name */
168
168
  byCredentialName?: boolean;
169
- }, options?: ApiCallOptions) => Promise<GetDataCredentialHttpResponse>;
169
+ }, options?: ApiCallOptions): Promise<GetDataCredentialHttpResponse>;
170
170
  type GetDataCredentialHttpResponse = {
171
171
  data: Credential;
172
172
  headers: Headers;
@@ -185,10 +185,10 @@ type GetDataCredentialHttpError = {
185
185
  * @param body an object with the body content
186
186
  * @throws PatchDataCredentialHttpError
187
187
  */
188
- declare const patchDataCredential: (qID: string, query: {
188
+ declare function patchDataCredential(qID: string, query: {
189
189
  /** If set to true, credentialId in the query will be interpreted as credential's name */
190
190
  byCredentialName?: boolean;
191
- }, body: PatchRequest, options?: ApiCallOptions) => Promise<PatchDataCredentialHttpResponse>;
191
+ }, body: PatchRequest, options?: ApiCallOptions): Promise<PatchDataCredentialHttpResponse>;
192
192
  type PatchDataCredentialHttpResponse = {
193
193
  data: void;
194
194
  headers: Headers;
@@ -207,10 +207,10 @@ type PatchDataCredentialHttpError = {
207
207
  * @param body an object with the body content
208
208
  * @throws UpdateDataCredentialHttpError
209
209
  */
210
- declare const updateDataCredential: (qID: string, query: {
210
+ declare function updateDataCredential(qID: string, query: {
211
211
  /** If set to true, credentialId in the query will be interpreted as credential's name */
212
212
  byCredentialName?: boolean;
213
- }, body: CredentialCreate, options?: ApiCallOptions) => Promise<UpdateDataCredentialHttpResponse>;
213
+ }, body: CredentialCreate, options?: ApiCallOptions): Promise<UpdateDataCredentialHttpResponse>;
214
214
  type UpdateDataCredentialHttpResponse = {
215
215
  data: void;
216
216
  headers: Headers;
@@ -1,50 +1,60 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.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/data-credentials.ts
9
- var filterOrphanedDataCredentials = async (body, options) => invokeFetch("data-credentials", {
10
- method: "post",
11
- pathTemplate: "/api/v1/data-credentials/actions/filter-orphan",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
17
- method: "delete",
18
- pathTemplate: "/api/v1/data-credentials/{qID}",
19
- pathVariables: { qID },
20
- query,
21
- options
22
- });
23
- var getDataCredential = async (qID, query, options) => invokeFetch("data-credentials", {
24
- method: "get",
25
- pathTemplate: "/api/v1/data-credentials/{qID}",
26
- pathVariables: { qID },
27
- query,
28
- options
29
- });
30
- var patchDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
31
- method: "patch",
32
- pathTemplate: "/api/v1/data-credentials/{qID}",
33
- pathVariables: { qID },
34
- query,
35
- body,
36
- contentType: "application/json",
37
- options
38
- });
39
- var updateDataCredential = async (qID, query, body, options) => invokeFetch("data-credentials", {
40
- method: "put",
41
- pathTemplate: "/api/v1/data-credentials/{qID}",
42
- pathVariables: { qID },
43
- query,
44
- body,
45
- contentType: "application/json",
46
- options
47
- });
9
+ async function filterOrphanedDataCredentials(body, options) {
10
+ return invokeFetch("data-credentials", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/data-credentials/actions/filter-orphan",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function deleteDataCredential(qID, query, options) {
19
+ return invokeFetch("data-credentials", {
20
+ method: "delete",
21
+ pathTemplate: "/api/v1/data-credentials/{qID}",
22
+ pathVariables: { qID },
23
+ query,
24
+ options
25
+ });
26
+ }
27
+ async function getDataCredential(qID, query, options) {
28
+ return invokeFetch("data-credentials", {
29
+ method: "get",
30
+ pathTemplate: "/api/v1/data-credentials/{qID}",
31
+ pathVariables: { qID },
32
+ query,
33
+ options
34
+ });
35
+ }
36
+ async function patchDataCredential(qID, query, body, options) {
37
+ return invokeFetch("data-credentials", {
38
+ method: "patch",
39
+ pathTemplate: "/api/v1/data-credentials/{qID}",
40
+ pathVariables: { qID },
41
+ query,
42
+ body,
43
+ contentType: "application/json",
44
+ options
45
+ });
46
+ }
47
+ async function updateDataCredential(qID, query, body, options) {
48
+ return invokeFetch("data-credentials", {
49
+ method: "put",
50
+ pathTemplate: "/api/v1/data-credentials/{qID}",
51
+ pathVariables: { qID },
52
+ query,
53
+ body,
54
+ contentType: "application/json",
55
+ options
56
+ });
57
+ }
48
58
  function clearCache() {
49
59
  return clearApiCache("data-credentials");
50
60
  }
package/data-files.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
  type BatchChangeSpaceItem = {
5
5
  /** The ID of the data file whose space will be changed. */
@@ -278,7 +278,7 @@ type SpaceStatsResponse = {
278
278
  * @param query an object with query parameters
279
279
  * @throws GetDataFilesHttpError
280
280
  */
281
- declare const getDataFiles: (query: {
281
+ declare function getDataFiles(query: {
282
282
  /** If set to false, do not return data files with internal extensions else return all the data files. */
283
283
  allowInternalFiles?: boolean;
284
284
  /** Only return files scoped to the specified app. If this parameter is not specified, only files that are not
@@ -330,7 +330,7 @@ declare const getDataFiles: (query: {
330
330
  /** The name of the field used to sort the result. By default, the sort order is ascending. Putting a '+' prefix on
331
331
  * the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order. */
332
332
  sort?: GetDataFileInfosSortField;
333
- }, options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
333
+ }, options?: ApiCallOptions): Promise<GetDataFilesHttpResponse>;
334
334
  type GetDataFilesHttpResponse = {
335
335
  data: GetDataFileInfosResponse;
336
336
  headers: Headers;
@@ -349,7 +349,7 @@ type GetDataFilesHttpError = {
349
349
  * @param body an object with the body content
350
350
  * @throws UploadDataFileHttpError
351
351
  */
352
- declare const uploadDataFile: (body: {
352
+ declare function uploadDataFile(body: {
353
353
  /** IFormFile form multipart/form-data */
354
354
  File?: BodyInit;
355
355
  /** See PostDataFileRequest schema which defines request structure.
@@ -387,7 +387,7 @@ declare const uploadDataFile: (body: {
387
387
  * the one returned from the temp content upload request. This option does not apply when POSTing a folder. */
388
388
  tempContentFileId?: string;
389
389
  };
390
- }, options?: ApiCallOptions) => Promise<UploadDataFileHttpResponse>;
390
+ }, options?: ApiCallOptions): Promise<UploadDataFileHttpResponse>;
391
391
  type UploadDataFileHttpResponse = {
392
392
  data: DataFileUploadResponse;
393
393
  headers: Headers;
@@ -407,7 +407,7 @@ type UploadDataFileHttpError = {
407
407
  * @param body an object with the body content
408
408
  * @throws MoveDataFilesHttpError
409
409
  */
410
- declare const moveDataFiles: (body: DataFileBatchChangeSpaceRequest, options?: ApiCallOptions) => Promise<MoveDataFilesHttpResponse>;
410
+ declare function moveDataFiles(body: DataFileBatchChangeSpaceRequest, options?: ApiCallOptions): Promise<MoveDataFilesHttpResponse>;
411
411
  type MoveDataFilesHttpResponse = {
412
412
  data: MultiStatusResponse;
413
413
  headers: Headers;
@@ -424,7 +424,7 @@ type MoveDataFilesHttpError = {
424
424
  * @param body an object with the body content
425
425
  * @throws DeleteDataFilesHttpError
426
426
  */
427
- declare const deleteDataFiles: (body: DataFileBatchDeleteRequest, options?: ApiCallOptions) => Promise<DeleteDataFilesHttpResponse>;
427
+ declare function deleteDataFiles(body: DataFileBatchDeleteRequest, options?: ApiCallOptions): Promise<DeleteDataFilesHttpResponse>;
428
428
  type DeleteDataFilesHttpResponse = {
429
429
  data: MultiStatusResponse;
430
430
  headers: Headers;
@@ -454,7 +454,7 @@ type DeleteDataFilesHttpError = {
454
454
  * @param query an object with query parameters
455
455
  * @throws GetDataFilesConnectionsHttpError
456
456
  */
457
- declare const getDataFilesConnections: (query: {
457
+ declare function getDataFilesConnections(query: {
458
458
  /** If present, get connections with connection strings that are scoped to the given app ID. */
459
459
  appId?: string;
460
460
  /** If set to true, include computed space-level statistics for the spaces represented by the connections in the
@@ -473,7 +473,7 @@ declare const getDataFilesConnections: (query: {
473
473
  sort?: GetConnectionsSortField;
474
474
  /** If present, only return the connection that accesses data files in the specified space. */
475
475
  spaceId?: string;
476
- }, options?: ApiCallOptions) => Promise<GetDataFilesConnectionsHttpResponse>;
476
+ }, options?: ApiCallOptions): Promise<GetDataFilesConnectionsHttpResponse>;
477
477
  type GetDataFilesConnectionsHttpResponse = {
478
478
  data: GetConnectionsResponse;
479
479
  headers: Headers;
@@ -496,7 +496,7 @@ type GetDataFilesConnectionsHttpError = {
496
496
  * @param id The ID of the connection.
497
497
  * @throws GetDataFileConnectionHttpError
498
498
  */
499
- declare const getDataFileConnection: (id: string, options?: ApiCallOptions) => Promise<GetDataFileConnectionHttpResponse>;
499
+ declare function getDataFileConnection(id: string, options?: ApiCallOptions): Promise<GetDataFileConnectionHttpResponse>;
500
500
  type GetDataFileConnectionHttpResponse = {
501
501
  data: ConnectionsResponse;
502
502
  headers: Headers;
@@ -512,7 +512,7 @@ type GetDataFileConnectionHttpError = {
512
512
  *
513
513
  * @throws GetDataFilesQuotasHttpError
514
514
  */
515
- declare const getDataFilesQuotas: (options?: ApiCallOptions) => Promise<GetDataFilesQuotasHttpResponse>;
515
+ declare function getDataFilesQuotas(options?: ApiCallOptions): Promise<GetDataFilesQuotasHttpResponse>;
516
516
  type GetDataFilesQuotasHttpResponse = {
517
517
  data: QuotaResponse;
518
518
  headers: Headers;
@@ -534,7 +534,7 @@ type GetDataFilesQuotasHttpError = {
534
534
  * @param id The ID of the data file or folder to delete.
535
535
  * @throws DeleteDataFileHttpError
536
536
  */
537
- declare const deleteDataFile: (id: string, options?: ApiCallOptions) => Promise<DeleteDataFileHttpResponse>;
537
+ declare function deleteDataFile(id: string, options?: ApiCallOptions): Promise<DeleteDataFileHttpResponse>;
538
538
  type DeleteDataFileHttpResponse = {
539
539
  data: void;
540
540
  headers: Headers;
@@ -555,7 +555,7 @@ type DeleteDataFileHttpError = {
555
555
  * @param id The ID of the data file.
556
556
  * @throws GetDataFileHttpError
557
557
  */
558
- declare const getDataFile: (id: string, options?: ApiCallOptions) => Promise<GetDataFileHttpResponse>;
558
+ declare function getDataFile(id: string, options?: ApiCallOptions): Promise<GetDataFileHttpResponse>;
559
559
  type GetDataFileHttpResponse = {
560
560
  data: DataFileUploadResponse;
561
561
  headers: Headers;
@@ -573,7 +573,7 @@ type GetDataFileHttpError = {
573
573
  * @param body an object with the body content
574
574
  * @throws ReuploadDataFileHttpError
575
575
  */
576
- declare const reuploadDataFile: (id: string, body: {
576
+ declare function reuploadDataFile(id: string, body: {
577
577
  /** IFormFile form multipart/form-data */
578
578
  File?: BodyInit;
579
579
  /** See PutDataFileRequest schema which defines request structure.
@@ -623,7 +623,7 @@ declare const reuploadDataFile: (id: string, body: {
623
623
  * the one returned from the temp content upload request. */
624
624
  tempContentFileId?: string;
625
625
  };
626
- }, options?: ApiCallOptions) => Promise<ReuploadDataFileHttpResponse>;
626
+ }, options?: ApiCallOptions): Promise<ReuploadDataFileHttpResponse>;
627
627
  type ReuploadDataFileHttpResponse = {
628
628
  data: DataFileUploadResponse;
629
629
  headers: Headers;
@@ -647,7 +647,7 @@ type ReuploadDataFileHttpError = {
647
647
  * @param body an object with the body content
648
648
  * @throws ChangeDataFileOwnerHttpError
649
649
  */
650
- declare const changeDataFileOwner: (id: string, body: ChangeDataFileOwnerRequest, options?: ApiCallOptions) => Promise<ChangeDataFileOwnerHttpResponse>;
650
+ declare function changeDataFileOwner(id: string, body: ChangeDataFileOwnerRequest, options?: ApiCallOptions): Promise<ChangeDataFileOwnerHttpResponse>;
651
651
  type ChangeDataFileOwnerHttpResponse = {
652
652
  data: void;
653
653
  headers: Headers;
@@ -672,7 +672,7 @@ type ChangeDataFileOwnerHttpError = {
672
672
  * @param body an object with the body content
673
673
  * @throws MoveDataFileHttpError
674
674
  */
675
- declare const moveDataFile: (id: string, body: ChangeDataFileSpaceRequest, options?: ApiCallOptions) => Promise<MoveDataFileHttpResponse>;
675
+ declare function moveDataFile(id: string, body: ChangeDataFileSpaceRequest, options?: ApiCallOptions): Promise<MoveDataFileHttpResponse>;
676
676
  type MoveDataFileHttpResponse = {
677
677
  data: void;
678
678
  headers: Headers;
package/data-files.js CHANGED
@@ -1,91 +1,115 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/YKZ2QYHN.js";
5
- import "./chunks/DLKLPD7T.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/data-files.ts
9
- var getDataFiles = async (query, options) => invokeFetch("data-files", {
10
- method: "get",
11
- pathTemplate: "/api/v1/data-files",
12
- query,
13
- options
14
- });
15
- var uploadDataFile = async (body, options) => invokeFetch("data-files", {
16
- method: "post",
17
- pathTemplate: "/api/v1/data-files",
18
- body,
19
- contentType: "multipart/form-data",
20
- options
21
- });
22
- var moveDataFiles = async (body, options) => invokeFetch("data-files", {
23
- method: "post",
24
- pathTemplate: "/api/v1/data-files/actions/change-space",
25
- body,
26
- contentType: "application/json",
27
- options
28
- });
29
- var deleteDataFiles = async (body, options) => invokeFetch("data-files", {
30
- method: "post",
31
- pathTemplate: "/api/v1/data-files/actions/delete",
32
- body,
33
- contentType: "application/json",
34
- options
35
- });
36
- var getDataFilesConnections = async (query, options) => invokeFetch("data-files", {
37
- method: "get",
38
- pathTemplate: "/api/v1/data-files/connections",
39
- query,
40
- options
41
- });
42
- var getDataFileConnection = async (id, options) => invokeFetch("data-files", {
43
- method: "get",
44
- pathTemplate: "/api/v1/data-files/connections/{id}",
45
- pathVariables: { id },
46
- options
47
- });
48
- var getDataFilesQuotas = async (options) => invokeFetch("data-files", {
49
- method: "get",
50
- pathTemplate: "/api/v1/data-files/quotas",
51
- options
52
- });
53
- var deleteDataFile = async (id, options) => invokeFetch("data-files", {
54
- method: "delete",
55
- pathTemplate: "/api/v1/data-files/{id}",
56
- pathVariables: { id },
57
- options
58
- });
59
- var getDataFile = async (id, options) => invokeFetch("data-files", {
60
- method: "get",
61
- pathTemplate: "/api/v1/data-files/{id}",
62
- pathVariables: { id },
63
- options
64
- });
65
- var reuploadDataFile = async (id, body, options) => invokeFetch("data-files", {
66
- method: "put",
67
- pathTemplate: "/api/v1/data-files/{id}",
68
- pathVariables: { id },
69
- body,
70
- contentType: "multipart/form-data",
71
- options
72
- });
73
- var changeDataFileOwner = async (id, body, options) => invokeFetch("data-files", {
74
- method: "post",
75
- pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
76
- pathVariables: { id },
77
- body,
78
- contentType: "application/json",
79
- options
80
- });
81
- var moveDataFile = async (id, body, options) => invokeFetch("data-files", {
82
- method: "post",
83
- pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
84
- pathVariables: { id },
85
- body,
86
- contentType: "application/json",
87
- options
88
- });
9
+ async function getDataFiles(query, options) {
10
+ return invokeFetch("data-files", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/data-files",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function uploadDataFile(body, options) {
18
+ return invokeFetch("data-files", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/data-files",
21
+ body,
22
+ contentType: "multipart/form-data",
23
+ options
24
+ });
25
+ }
26
+ async function moveDataFiles(body, options) {
27
+ return invokeFetch("data-files", {
28
+ method: "post",
29
+ pathTemplate: "/api/v1/data-files/actions/change-space",
30
+ body,
31
+ contentType: "application/json",
32
+ options
33
+ });
34
+ }
35
+ async function deleteDataFiles(body, options) {
36
+ return invokeFetch("data-files", {
37
+ method: "post",
38
+ pathTemplate: "/api/v1/data-files/actions/delete",
39
+ body,
40
+ contentType: "application/json",
41
+ options
42
+ });
43
+ }
44
+ async function getDataFilesConnections(query, options) {
45
+ return invokeFetch("data-files", {
46
+ method: "get",
47
+ pathTemplate: "/api/v1/data-files/connections",
48
+ query,
49
+ options
50
+ });
51
+ }
52
+ async function getDataFileConnection(id, options) {
53
+ return invokeFetch("data-files", {
54
+ method: "get",
55
+ pathTemplate: "/api/v1/data-files/connections/{id}",
56
+ pathVariables: { id },
57
+ options
58
+ });
59
+ }
60
+ async function getDataFilesQuotas(options) {
61
+ return invokeFetch("data-files", {
62
+ method: "get",
63
+ pathTemplate: "/api/v1/data-files/quotas",
64
+ options
65
+ });
66
+ }
67
+ async function deleteDataFile(id, options) {
68
+ return invokeFetch("data-files", {
69
+ method: "delete",
70
+ pathTemplate: "/api/v1/data-files/{id}",
71
+ pathVariables: { id },
72
+ options
73
+ });
74
+ }
75
+ async function getDataFile(id, options) {
76
+ return invokeFetch("data-files", {
77
+ method: "get",
78
+ pathTemplate: "/api/v1/data-files/{id}",
79
+ pathVariables: { id },
80
+ options
81
+ });
82
+ }
83
+ async function reuploadDataFile(id, body, options) {
84
+ return invokeFetch("data-files", {
85
+ method: "put",
86
+ pathTemplate: "/api/v1/data-files/{id}",
87
+ pathVariables: { id },
88
+ body,
89
+ contentType: "multipart/form-data",
90
+ options
91
+ });
92
+ }
93
+ async function changeDataFileOwner(id, body, options) {
94
+ return invokeFetch("data-files", {
95
+ method: "post",
96
+ pathTemplate: "/api/v1/data-files/{id}/actions/change-owner",
97
+ pathVariables: { id },
98
+ body,
99
+ contentType: "application/json",
100
+ options
101
+ });
102
+ }
103
+ async function moveDataFile(id, body, options) {
104
+ return invokeFetch("data-files", {
105
+ method: "post",
106
+ pathTemplate: "/api/v1/data-files/{id}/actions/change-space",
107
+ pathVariables: { id },
108
+ body,
109
+ contentType: "application/json",
110
+ options
111
+ });
112
+ }
89
113
  function clearCache() {
90
114
  return clearApiCache("data-files");
91
115
  }