@qlik/api 0.0.1

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 (160) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +8 -0
  3. package/api-keys.d.mts +313 -0
  4. package/api-keys.d.ts +313 -0
  5. package/api-keys.js +76 -0
  6. package/api-keys.mjs +76 -0
  7. package/apps.d.mts +1921 -0
  8. package/apps.d.ts +1921 -0
  9. package/apps.js +331 -0
  10. package/apps.mjs +331 -0
  11. package/audits.d.mts +262 -0
  12. package/audits.d.ts +262 -0
  13. package/audits.js +63 -0
  14. package/audits.mjs +63 -0
  15. package/auth-CSVTXOZX.js +36 -0
  16. package/auth-TE272Q34.mjs +36 -0
  17. package/auth-types-nnUcWhuU.d.mts +98 -0
  18. package/auth-types-nnUcWhuU.d.ts +98 -0
  19. package/auth.d.mts +26 -0
  20. package/auth.d.ts +26 -0
  21. package/auth.js +13 -0
  22. package/auth.mjs +13 -0
  23. package/automations.d.mts +638 -0
  24. package/automations.d.ts +638 -0
  25. package/automations.js +166 -0
  26. package/automations.mjs +166 -0
  27. package/brands.d.mts +614 -0
  28. package/brands.d.ts +614 -0
  29. package/brands.js +118 -0
  30. package/brands.mjs +118 -0
  31. package/chunk-3YE7EI7I.mjs +17 -0
  32. package/chunk-4ES65KO3.js +57 -0
  33. package/chunk-4FLMND6T.js +25 -0
  34. package/chunk-4OMEH5SW.mjs +1337 -0
  35. package/chunk-CKPJE4IA.mjs +57 -0
  36. package/chunk-GUQBHY3H.mjs +25 -0
  37. package/chunk-OULT3V2U.js +17 -0
  38. package/chunk-WM7FQU2U.mjs +21 -0
  39. package/chunk-XASXL2NC.js +1337 -0
  40. package/chunk-ZT4C7KCQ.js +21 -0
  41. package/collections.d.mts +535 -0
  42. package/collections.d.ts +535 -0
  43. package/collections.js +100 -0
  44. package/collections.mjs +100 -0
  45. package/csp-origins.d.mts +258 -0
  46. package/csp-origins.d.ts +258 -0
  47. package/csp-origins.js +66 -0
  48. package/csp-origins.mjs +66 -0
  49. package/data-assets.d.mts +195 -0
  50. package/data-assets.d.ts +195 -0
  51. package/data-assets.js +61 -0
  52. package/data-assets.mjs +61 -0
  53. package/data-connections.d.mts +527 -0
  54. package/data-connections.d.ts +527 -0
  55. package/data-connections.js +96 -0
  56. package/data-connections.mjs +96 -0
  57. package/data-credentials.d.mts +188 -0
  58. package/data-credentials.d.ts +188 -0
  59. package/data-credentials.js +56 -0
  60. package/data-credentials.mjs +56 -0
  61. package/data-files.d.mts +471 -0
  62. package/data-files.d.ts +471 -0
  63. package/data-files.js +116 -0
  64. package/data-files.mjs +116 -0
  65. package/docs/examples.md +4 -0
  66. package/enigma-session-4L373ALV.mjs +10196 -0
  67. package/enigma-session-TEB53FAF.js +10196 -0
  68. package/esm-4X3DKK5D.js +63 -0
  69. package/esm-SOWVJKOQ.mjs +63 -0
  70. package/extensions.d.mts +257 -0
  71. package/extensions.d.ts +257 -0
  72. package/extensions.js +74 -0
  73. package/extensions.mjs +74 -0
  74. package/global.types-Eto4uYwy.d.mts +102 -0
  75. package/global.types-hIvp-WdX.d.ts +102 -0
  76. package/glossaries.d.mts +1041 -0
  77. package/glossaries.d.ts +1041 -0
  78. package/glossaries.js +225 -0
  79. package/glossaries.mjs +225 -0
  80. package/groups.d.mts +379 -0
  81. package/groups.d.ts +379 -0
  82. package/groups.js +83 -0
  83. package/groups.mjs +83 -0
  84. package/identity-providers.d.mts +492 -0
  85. package/identity-providers.d.ts +492 -0
  86. package/identity-providers.js +80 -0
  87. package/identity-providers.mjs +80 -0
  88. package/index.d.mts +142 -0
  89. package/index.d.ts +142 -0
  90. package/index.js +678 -0
  91. package/index.mjs +678 -0
  92. package/invoke-fetch-MSSJAZ7K.mjs +14 -0
  93. package/invoke-fetch-PEI54KZO.js +14 -0
  94. package/items.d.mts +501 -0
  95. package/items.d.ts +501 -0
  96. package/items.js +84 -0
  97. package/items.mjs +84 -0
  98. package/licenses.d.mts +436 -0
  99. package/licenses.d.ts +436 -0
  100. package/licenses.js +87 -0
  101. package/licenses.mjs +87 -0
  102. package/package.json +264 -0
  103. package/qix-EU7PXRZ6.mjs +573 -0
  104. package/qix-RLTISYTB.js +573 -0
  105. package/qix.d.mts +11543 -0
  106. package/qix.d.ts +11543 -0
  107. package/qix.js +9 -0
  108. package/qix.mjs +9 -0
  109. package/quotas.d.mts +105 -0
  110. package/quotas.d.ts +105 -0
  111. package/quotas.js +31 -0
  112. package/quotas.mjs +31 -0
  113. package/reload-tasks.d.mts +222 -0
  114. package/reload-tasks.d.ts +222 -0
  115. package/reload-tasks.js +59 -0
  116. package/reload-tasks.mjs +59 -0
  117. package/reloads.d.mts +189 -0
  118. package/reloads.d.ts +189 -0
  119. package/reloads.js +44 -0
  120. package/reloads.mjs +44 -0
  121. package/roles.d.mts +150 -0
  122. package/roles.d.ts +150 -0
  123. package/roles.js +30 -0
  124. package/roles.mjs +30 -0
  125. package/spaces.d.mts +524 -0
  126. package/spaces.d.ts +524 -0
  127. package/spaces.js +118 -0
  128. package/spaces.mjs +118 -0
  129. package/temp-contents.d.mts +222 -0
  130. package/temp-contents.d.ts +222 -0
  131. package/temp-contents.js +60 -0
  132. package/temp-contents.mjs +60 -0
  133. package/tenants.d.mts +276 -0
  134. package/tenants.d.ts +276 -0
  135. package/tenants.js +68 -0
  136. package/tenants.mjs +68 -0
  137. package/themes.d.mts +235 -0
  138. package/themes.d.ts +235 -0
  139. package/themes.js +74 -0
  140. package/themes.mjs +74 -0
  141. package/transports.d.mts +298 -0
  142. package/transports.d.ts +298 -0
  143. package/transports.js +62 -0
  144. package/transports.mjs +62 -0
  145. package/users.d.mts +544 -0
  146. package/users.d.ts +544 -0
  147. package/users.js +99 -0
  148. package/users.mjs +99 -0
  149. package/web-integrations.d.mts +246 -0
  150. package/web-integrations.d.ts +246 -0
  151. package/web-integrations.js +59 -0
  152. package/web-integrations.mjs +59 -0
  153. package/web-notifications.d.mts +220 -0
  154. package/web-notifications.d.ts +220 -0
  155. package/web-notifications.js +66 -0
  156. package/web-notifications.mjs +66 -0
  157. package/webhooks.d.mts +422 -0
  158. package/webhooks.d.ts +422 -0
  159. package/webhooks.js +100 -0
  160. package/webhooks.mjs +100 -0
@@ -0,0 +1,471 @@
1
+ import { A as ApiCallOptions } from './global.types-Eto4uYwy.mjs';
2
+ import './auth-types-nnUcWhuU.mjs';
3
+
4
+ type BatchChangeSpaceItem = {
5
+ /** The ID of the data file whose space will be changed. */
6
+ id: string;
7
+ /** The ID of the new space. Passing in a null will result in the data file being moved to the user's
8
+ // personal space. */
9
+ spaceId?: string;
10
+ };
11
+ type BatchDeleteItem = {
12
+ /** The ID of the data file to delete. */
13
+ id: string;
14
+ };
15
+ type ChangeDataFileOwnerRequest = {
16
+ /** The ID of the new owner. */
17
+ ownerId: string;
18
+ };
19
+ type ChangeDataFileSpaceRequest = {
20
+ /** The ID of the space. If null, this data file will be moved to the user's personal space. */
21
+ spaceId?: string;
22
+ };
23
+ type ConnectionsResponse = {
24
+ /** The connect statement that will be passed to the connector when invoked. */
25
+ connectStatement: string;
26
+ /** The unique identifier of the connection. */
27
+ id: string;
28
+ /** The name of the connection. */
29
+ name: string;
30
+ /** The team space that the given connection is associated with. If null, the connection is not associated
31
+ // with any specific team space. */
32
+ spaceId?: string;
33
+ /** The type of the connection. */
34
+ type: string;
35
+ };
36
+ type DataFileBatchChangeSpaceRequest = {
37
+ /** The list of data files to delete. */
38
+ "change-space": BatchChangeSpaceItem[];
39
+ };
40
+ type DataFileBatchDeleteRequest = {
41
+ /** The list of data files to delete. */
42
+ delete: BatchDeleteItem[];
43
+ };
44
+ type DataFileUploadResponse = {
45
+ /** If this file is bound to the lifecycle of a specific app, this is the ID of this app. */
46
+ appId?: string;
47
+ /** The date that the uploaded file was created. */
48
+ createdDate: string;
49
+ /** The ID for the uploaded file. */
50
+ id: string;
51
+ /** The date that the updated file was last modified. */
52
+ modifiedDate?: string;
53
+ /** The name of the uploaded file. */
54
+ name: string;
55
+ /** The 'owner' of a file is the user who last uploaded the file's content. */
56
+ ownerId: string;
57
+ /** The size of the uploaded file, in bytes. */
58
+ size: number;
59
+ /** If the file was uploaded to a team space, this is the ID of that space. */
60
+ spaceId?: string;
61
+ };
62
+ type ErrorResponse = {
63
+ /** List of errors and their properties. */
64
+ errors: ErrorResponseItem[];
65
+ };
66
+ type ErrorResponseItem = {
67
+ /** The error code. */
68
+ code: string;
69
+ /** A human-readable explanation specific to this occurrence of the problem. */
70
+ detail?: string;
71
+ /** Summary of the problem. */
72
+ title?: string;
73
+ };
74
+ type GetConnectionsResponse = {
75
+ /** Properties of the connections to the tenant spaces. */
76
+ data: ConnectionsResponse[];
77
+ links: LinksResponse;
78
+ };
79
+ type GetConnectionsSortField = "spaceId" | "+spaceId" | "-spaceId";
80
+ type GetDataFileInfosResponse = {
81
+ /** Properties of the uploaded data files. */
82
+ data: DataFileUploadResponse[];
83
+ links: LinksResponse;
84
+ };
85
+ type GetDataFileInfosSortField = "name" | "+name" | "-name" | "size" | "+size" | "-size" | "modifiedDate" | "+modifiedDate" | "-modifiedDate";
86
+ type LinkResponse = {
87
+ /** The URL for the link. */
88
+ href?: string;
89
+ };
90
+ type LinksResponse = {
91
+ next: LinkResponse;
92
+ prev: LinkResponse;
93
+ self: LinkResponse;
94
+ };
95
+ type MultiStatusResponse = {
96
+ /** List of individual results for the items in the specified batch. */
97
+ data: MultiStatusResponseItem[];
98
+ };
99
+ type MultiStatusResponseItem = {
100
+ /** The error code. */
101
+ code: string;
102
+ /** A human-readable explanation specific to this occurrence of the problem. */
103
+ detail?: string;
104
+ /** The unique identifier of the file. */
105
+ id: string;
106
+ /** The HTTP status code. */
107
+ status: number;
108
+ /** Summary of the problem. */
109
+ title?: string;
110
+ };
111
+ type QuotaResponse = {
112
+ /** The allowed file extensions on files that are uploaded. */
113
+ allowedExtensions: string[];
114
+ /** The allowed file extensions for files that are only used internally by the system (and thus not typically
115
+ // shown to end users). */
116
+ allowedInternalExtensions: string[];
117
+ /** Maximum allowable size of an uploaded file. */
118
+ maxFileSize: number;
119
+ /** Maximum allowable size for a single uploaded large data file (in bytes). This is a file that was indirectly
120
+ // uploaded using the temp content service chunked upload capability. */
121
+ maxLargeFileSize: number;
122
+ /** The maximum aggregate size of all files uploaded by a given user. */
123
+ maxSize: number;
124
+ /** The current aggregate size of all files uploaded by a given user. If the current aggregate size is greater
125
+ // than the maximum aggregate size, this is a quota violation. */
126
+ size: number;
127
+ };
128
+ /**
129
+ * Get descriptive info for the specified data files.
130
+ * @param query an object with query parameters
131
+ * @throws GetDataFilesHttpError
132
+ */
133
+ declare const getDataFiles: (query: {
134
+ /** If set to false, do not return data files with internal extensions else return all the data files. */
135
+ allowInternalFiles?: boolean;
136
+ /** Only return files scoped to the specified app. If this parameter is not specified, only files that are not
137
+ // scoped to any app are returned. "*" implies all app-scoped files are returned. */
138
+ appId?: string;
139
+ /** Return files that reside in the space referenced by the specified DataFiles connection. If this parameter
140
+ // is not specified, the user's personal space is implied. */
141
+ connectionId?: string;
142
+ /** If present, the maximum number of data files to return. */
143
+ limit?: number;
144
+ /** Filter the list of files returned to the given file name. */
145
+ name?: string;
146
+ /** If present, fetch the data files for the specified owner. If a connectionId is specified in this case, the
147
+ // returned list is constrained to the specified space. If connectionId is not specified, then all files owned
148
+ // by the specified user are returned regardless of the personal space that a given file resides in. */
149
+ ownerId?: string;
150
+ /** If present, the cursor that starts the page of data that is returned. */
151
+ page?: string;
152
+ /** The name of the field used to sort the result. By default, the sort order is ascending. Putting a '+' prefix on
153
+ // the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order. */
154
+ sort?: GetDataFileInfosSortField;
155
+ }, options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
156
+ type GetDataFilesHttpResponse = {
157
+ data: GetDataFileInfosResponse;
158
+ headers: Headers;
159
+ status: number;
160
+ prev?: (options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
161
+ next?: (options?: ApiCallOptions) => Promise<GetDataFilesHttpResponse>;
162
+ };
163
+ type GetDataFilesHttpError = {
164
+ data: ErrorResponse;
165
+ headers: Headers;
166
+ status: number;
167
+ };
168
+ /**
169
+ * Upload a new data file.
170
+ * @param body an object with the body content
171
+ * @throws UploadDataFileHttpError
172
+ */
173
+ declare const uploadDataFile: (body: unknown, options?: ApiCallOptions) => Promise<UploadDataFileHttpResponse>;
174
+ type UploadDataFileHttpResponse = {
175
+ data: DataFileUploadResponse;
176
+ headers: Headers;
177
+ status: number;
178
+ };
179
+ type UploadDataFileHttpError = {
180
+ data: ErrorResponse;
181
+ headers: Headers;
182
+ status: number;
183
+ };
184
+ /**
185
+ * This is to allow for a separate admin type of operation that is more global in terms of access in cases
186
+ * where admin users may not explicitly have been granted full access to a given space within the declared
187
+ * space-level permissions. If the space ID is set to null, then the data file will end up residing in the
188
+ * personal space of the user who is the owner of the file.
189
+ * @param body an object with the body content
190
+ * @throws MoveDataFilesHttpError
191
+ */
192
+ declare const moveDataFiles: (body: DataFileBatchChangeSpaceRequest, options?: ApiCallOptions) => Promise<MoveDataFilesHttpResponse>;
193
+ type MoveDataFilesHttpResponse = {
194
+ data: MultiStatusResponse;
195
+ headers: Headers;
196
+ status: number;
197
+ };
198
+ type MoveDataFilesHttpError = {
199
+ data: ErrorResponse;
200
+ headers: Headers;
201
+ status: number;
202
+ };
203
+ /**
204
+ * Delete the specified set of data files as a single batch.
205
+ * @param body an object with the body content
206
+ * @throws DeleteDataFilesHttpError
207
+ */
208
+ declare const deleteDataFiles: (body: DataFileBatchDeleteRequest, options?: ApiCallOptions) => Promise<DeleteDataFilesHttpResponse>;
209
+ type DeleteDataFilesHttpResponse = {
210
+ data: MultiStatusResponse;
211
+ headers: Headers;
212
+ status: number;
213
+ };
214
+ type DeleteDataFilesHttpError = {
215
+ data: ErrorResponse;
216
+ headers: Headers;
217
+ status: number;
218
+ };
219
+ /**
220
+ * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
221
+ * the given user has access to.
222
+ * @param query an object with query parameters
223
+ * @throws GetDataFileConnectionsHttpError
224
+ */
225
+ declare const getDataFileConnections: (query: {
226
+ /** If present, get connections with connection strings that are scoped to the given app ID. */
227
+ appId?: string;
228
+ /** If present, the maximum number of data file connection records to return. */
229
+ limit?: number;
230
+ /** If present, only return connections with the given name. */
231
+ name?: string;
232
+ /** If present, the cursor that starts the page of data that is returned. */
233
+ page?: string;
234
+ /** If true, only return the connections that access data in a personal space. Default is false. */
235
+ personal?: boolean;
236
+ /** The name of the field used to sort the result. By default, the sort is ascending. Putting a '+' prefix on
237
+ // the sort field name explicitly indicates ascending sort order. A '-' prefix indicates a descending sort order. */
238
+ sort?: GetConnectionsSortField;
239
+ /** If present, only return the connection that accesses data files in the specified space. */
240
+ spaceId?: string;
241
+ }, options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
242
+ type GetDataFileConnectionsHttpResponse = {
243
+ data: GetConnectionsResponse;
244
+ headers: Headers;
245
+ status: number;
246
+ prev?: (options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
247
+ next?: (options?: ApiCallOptions) => Promise<GetDataFileConnectionsHttpResponse>;
248
+ };
249
+ type GetDataFileConnectionsHttpError = {
250
+ data: ErrorResponse;
251
+ headers: Headers;
252
+ status: number;
253
+ };
254
+ /**
255
+ * Get the built-in connection used by the engine to load/write data files given a connection ID.
256
+ * @param id The ID of the connection.
257
+ * @throws GetDataFileConnectionHttpError
258
+ */
259
+ declare const getDataFileConnection: (id: string, options?: ApiCallOptions) => Promise<GetDataFileConnectionHttpResponse>;
260
+ type GetDataFileConnectionHttpResponse = {
261
+ data: ConnectionsResponse;
262
+ headers: Headers;
263
+ status: number;
264
+ };
265
+ type GetDataFileConnectionHttpError = {
266
+ data: ErrorResponse;
267
+ headers: Headers;
268
+ status: number;
269
+ };
270
+ /**
271
+ * Get quota information for the calling user.
272
+ * @throws GetDataFileQuotasHttpError
273
+ */
274
+ declare const getDataFileQuotas: (options?: ApiCallOptions) => Promise<GetDataFileQuotasHttpResponse>;
275
+ type GetDataFileQuotasHttpResponse = {
276
+ data: QuotaResponse;
277
+ headers: Headers;
278
+ status: number;
279
+ };
280
+ type GetDataFileQuotasHttpError = {
281
+ data: ErrorResponse;
282
+ headers: Headers;
283
+ status: number;
284
+ };
285
+ /**
286
+ * Delete the specified data file.
287
+ * @param id The ID of the data file to delete.
288
+ * @throws DeleteDataFileHttpError
289
+ */
290
+ declare const deleteDataFile: (id: string, options?: ApiCallOptions) => Promise<DeleteDataFileHttpResponse>;
291
+ type DeleteDataFileHttpResponse = {
292
+ data: void;
293
+ headers: Headers;
294
+ status: number;
295
+ };
296
+ type DeleteDataFileHttpError = {
297
+ data: ErrorResponse;
298
+ headers: Headers;
299
+ status: number;
300
+ };
301
+ /**
302
+ * Get descriptive info for the specified data file.
303
+ * @param id The ID of the data file.
304
+ * @throws GetDataFileHttpError
305
+ */
306
+ declare const getDataFile: (id: string, options?: ApiCallOptions) => Promise<GetDataFileHttpResponse>;
307
+ type GetDataFileHttpResponse = {
308
+ data: DataFileUploadResponse;
309
+ headers: Headers;
310
+ status: number;
311
+ };
312
+ type GetDataFileHttpError = {
313
+ data: ErrorResponse;
314
+ headers: Headers;
315
+ status: number;
316
+ };
317
+ /**
318
+ * Re-upload an existing data file.
319
+ * @param id The ID of the data file to update.
320
+ * @param body an object with the body content
321
+ * @throws ReuploadDataFileHttpError
322
+ */
323
+ declare const reuploadDataFile: (id: string, body: unknown, options?: ApiCallOptions) => Promise<ReuploadDataFileHttpResponse>;
324
+ type ReuploadDataFileHttpResponse = {
325
+ data: DataFileUploadResponse;
326
+ headers: Headers;
327
+ status: number;
328
+ };
329
+ type ReuploadDataFileHttpError = {
330
+ data: ErrorResponse;
331
+ headers: Headers;
332
+ status: number;
333
+ };
334
+ /**
335
+ * This is primarily an admin type of operation. In general, the owner of a data file is implicitly set as
336
+ * part of a data file upload. For data files that reside in a personal space, changing the owner has the
337
+ * effect of moving the data file to the new owner's personal space.
338
+ * @param id The ID of the data file whose owner will be updated.
339
+ * @param body an object with the body content
340
+ * @throws ChangeDataFileOwnerHttpError
341
+ */
342
+ declare const changeDataFileOwner: (id: string, body: ChangeDataFileOwnerRequest, options?: ApiCallOptions) => Promise<ChangeDataFileOwnerHttpResponse>;
343
+ type ChangeDataFileOwnerHttpResponse = {
344
+ data: void;
345
+ headers: Headers;
346
+ status: number;
347
+ };
348
+ type ChangeDataFileOwnerHttpError = {
349
+ data: ErrorResponse;
350
+ headers: Headers;
351
+ status: number;
352
+ };
353
+ /**
354
+ * This is to allow for a separate admin type of operation that is more global in terms of access in cases
355
+ * where admin users may not explicitly have been granted full access to a given space within the declared
356
+ * space-level permissions. If the space ID is set to null, then the datafile will end up residing in the
357
+ * personal space of the user who is the owner of the file.
358
+ * @param id The ID of the data file whose space will be updated.
359
+ * @param body an object with the body content
360
+ * @throws MoveDataFileHttpError
361
+ */
362
+ declare const moveDataFile: (id: string, body: ChangeDataFileSpaceRequest, options?: ApiCallOptions) => Promise<MoveDataFileHttpResponse>;
363
+ type MoveDataFileHttpResponse = {
364
+ data: void;
365
+ headers: Headers;
366
+ status: number;
367
+ };
368
+ type MoveDataFileHttpError = {
369
+ data: ErrorResponse;
370
+ headers: Headers;
371
+ status: number;
372
+ };
373
+ /**
374
+ * Clears the cache for data-files api requests.
375
+ */
376
+ declare function clearCache(): void;
377
+ interface DataFilesAPI {
378
+ /**
379
+ * Get descriptive info for the specified data files.
380
+ * @param query an object with query parameters
381
+ * @throws GetDataFilesHttpError
382
+ */
383
+ getDataFiles: typeof getDataFiles;
384
+ /**
385
+ * Upload a new data file.
386
+ * @param body an object with the body content
387
+ * @throws UploadDataFileHttpError
388
+ */
389
+ uploadDataFile: typeof uploadDataFile;
390
+ /**
391
+ * This is to allow for a separate admin type of operation that is more global in terms of access in cases
392
+ * where admin users may not explicitly have been granted full access to a given space within the declared
393
+ * space-level permissions. If the space ID is set to null, then the data file will end up residing in the
394
+ * personal space of the user who is the owner of the file.
395
+ * @param body an object with the body content
396
+ * @throws MoveDataFilesHttpError
397
+ */
398
+ moveDataFiles: typeof moveDataFiles;
399
+ /**
400
+ * Delete the specified set of data files as a single batch.
401
+ * @param body an object with the body content
402
+ * @throws DeleteDataFilesHttpError
403
+ */
404
+ deleteDataFiles: typeof deleteDataFiles;
405
+ /**
406
+ * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
407
+ * the given user has access to.
408
+ * @param query an object with query parameters
409
+ * @throws GetDataFileConnectionsHttpError
410
+ */
411
+ getDataFileConnections: typeof getDataFileConnections;
412
+ /**
413
+ * Get the built-in connection used by the engine to load/write data files given a connection ID.
414
+ * @param id The ID of the connection.
415
+ * @throws GetDataFileConnectionHttpError
416
+ */
417
+ getDataFileConnection: typeof getDataFileConnection;
418
+ /**
419
+ * Get quota information for the calling user.
420
+ * @throws GetDataFileQuotasHttpError
421
+ */
422
+ getDataFileQuotas: typeof getDataFileQuotas;
423
+ /**
424
+ * Delete the specified data file.
425
+ * @param id The ID of the data file to delete.
426
+ * @throws DeleteDataFileHttpError
427
+ */
428
+ deleteDataFile: typeof deleteDataFile;
429
+ /**
430
+ * Get descriptive info for the specified data file.
431
+ * @param id The ID of the data file.
432
+ * @throws GetDataFileHttpError
433
+ */
434
+ getDataFile: typeof getDataFile;
435
+ /**
436
+ * Re-upload an existing data file.
437
+ * @param id The ID of the data file to update.
438
+ * @param body an object with the body content
439
+ * @throws ReuploadDataFileHttpError
440
+ */
441
+ reuploadDataFile: typeof reuploadDataFile;
442
+ /**
443
+ * This is primarily an admin type of operation. In general, the owner of a data file is implicitly set as
444
+ * part of a data file upload. For data files that reside in a personal space, changing the owner has the
445
+ * effect of moving the data file to the new owner's personal space.
446
+ * @param id The ID of the data file whose owner will be updated.
447
+ * @param body an object with the body content
448
+ * @throws ChangeDataFileOwnerHttpError
449
+ */
450
+ changeDataFileOwner: typeof changeDataFileOwner;
451
+ /**
452
+ * This is to allow for a separate admin type of operation that is more global in terms of access in cases
453
+ * where admin users may not explicitly have been granted full access to a given space within the declared
454
+ * space-level permissions. If the space ID is set to null, then the datafile will end up residing in the
455
+ * personal space of the user who is the owner of the file.
456
+ * @param id The ID of the data file whose space will be updated.
457
+ * @param body an object with the body content
458
+ * @throws MoveDataFileHttpError
459
+ */
460
+ moveDataFile: typeof moveDataFile;
461
+ /**
462
+ * Clears the cache for data-files api requests.
463
+ */
464
+ clearCache: typeof clearCache;
465
+ }
466
+ /**
467
+ * Functions for the data-files api
468
+ */
469
+ declare const dataFilesExport: DataFilesAPI;
470
+
471
+ export { type BatchChangeSpaceItem, type BatchDeleteItem, type ChangeDataFileOwnerHttpError, type ChangeDataFileOwnerHttpResponse, type ChangeDataFileOwnerRequest, type ChangeDataFileSpaceRequest, type ConnectionsResponse, type DataFileBatchChangeSpaceRequest, type DataFileBatchDeleteRequest, type DataFileUploadResponse, type DataFilesAPI, type DeleteDataFileHttpError, type DeleteDataFileHttpResponse, type DeleteDataFilesHttpError, type DeleteDataFilesHttpResponse, type ErrorResponse, type ErrorResponseItem, type GetConnectionsResponse, type GetConnectionsSortField, type GetDataFileConnectionHttpError, type GetDataFileConnectionHttpResponse, type GetDataFileConnectionsHttpError, type GetDataFileConnectionsHttpResponse, type GetDataFileHttpError, type GetDataFileHttpResponse, type GetDataFileInfosResponse, type GetDataFileInfosSortField, type GetDataFileQuotasHttpError, type GetDataFileQuotasHttpResponse, type GetDataFilesHttpError, type GetDataFilesHttpResponse, type LinkResponse, type LinksResponse, type MoveDataFileHttpError, type MoveDataFileHttpResponse, type MoveDataFilesHttpError, type MoveDataFilesHttpResponse, type MultiStatusResponse, type MultiStatusResponseItem, type QuotaResponse, type ReuploadDataFileHttpError, type ReuploadDataFileHttpResponse, type UploadDataFileHttpError, type UploadDataFileHttpResponse, changeDataFileOwner, clearCache, dataFilesExport as default, deleteDataFile, deleteDataFiles, getDataFile, getDataFileConnection, getDataFileConnections, getDataFileQuotas, getDataFiles, moveDataFile, moveDataFiles, reuploadDataFile, uploadDataFile };