@qlik/api 1.26.0 → 1.27.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 (73) hide show
  1. package/api-keys.d.ts +11 -11
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +68 -68
  4. package/apps.js +2 -2
  5. package/audits.d.ts +36 -14
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +36 -36
  9. package/automations.js +2 -2
  10. package/brands.d.ts +23 -23
  11. package/brands.js +2 -2
  12. package/chunks/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
  13. package/chunks/{7SNOQCIQ.js → 55SZVSAG.js} +1 -1
  14. package/chunks/{HGRF5TX3.js → EOGHK2R4.js} +1 -1
  15. package/chunks/{UV5COPU3.js → V3TZ54UE.js} +3 -3
  16. package/chunks/{AMO5NATA.js → WY7IOA3Q.js} +2 -2
  17. package/collections.d.ts +22 -22
  18. package/collections.js +2 -2
  19. package/csp-origins.d.ts +12 -12
  20. package/csp-origins.js +2 -2
  21. package/data-assets.d.ts +10 -10
  22. package/data-assets.js +2 -2
  23. package/data-connections.d.ts +18 -18
  24. package/data-connections.js +2 -2
  25. package/data-credentials.d.ts +10 -10
  26. package/data-credentials.js +2 -2
  27. package/data-files.d.ts +24 -24
  28. package/data-files.js +2 -2
  29. package/docs/authentication.md +1 -1
  30. package/extensions.d.ts +11 -11
  31. package/extensions.js +2 -2
  32. package/glossaries.d.ts +48 -48
  33. package/glossaries.js +2 -2
  34. package/groups.d.ts +16 -16
  35. package/groups.js +2 -2
  36. package/identity-providers.d.ts +15 -15
  37. package/identity-providers.js +2 -2
  38. package/index.js +4 -4
  39. package/items.d.ts +16 -16
  40. package/items.js +2 -2
  41. package/licenses.d.ts +18 -18
  42. package/licenses.js +2 -2
  43. package/package.json +2 -2
  44. package/qix.d.ts +1 -1
  45. package/qix.js +2 -2
  46. package/quotas.d.ts +4 -4
  47. package/quotas.js +2 -2
  48. package/reload-tasks.d.ts +10 -10
  49. package/reload-tasks.js +2 -2
  50. package/reloads.d.ts +8 -8
  51. package/reloads.js +2 -2
  52. package/reports.d.ts +4 -4
  53. package/reports.js +2 -2
  54. package/roles.d.ts +10 -10
  55. package/roles.js +2 -2
  56. package/spaces.d.ts +59 -25
  57. package/spaces.js +2 -2
  58. package/temp-contents.d.ts +6 -6
  59. package/temp-contents.js +2 -2
  60. package/tenants.d.ts +9 -9
  61. package/tenants.js +2 -2
  62. package/themes.d.ts +11 -11
  63. package/themes.js +2 -2
  64. package/transports.d.ts +17 -17
  65. package/transports.js +2 -2
  66. package/users.d.ts +19 -19
  67. package/users.js +2 -2
  68. package/web-integrations.d.ts +9 -9
  69. package/web-integrations.js +2 -2
  70. package/web-notifications.d.ts +12 -12
  71. package/web-notifications.js +2 -2
  72. package/webhooks.d.ts +20 -20
  73. package/webhooks.js +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAuthRuntimeModule
3
- } from "./UV5COPU3.js";
3
+ } from "./V3TZ54UE.js";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -1,21 +1,21 @@
1
1
  // src/public/public-runtime-modules.ts
2
2
  function getAuthRuntimeModule(hostConfig) {
3
3
  const isNode = !!globalThis.process?.argv;
4
- return isNode ? import("./4D5NADHK.js") : import("./VX3MQBE7.js").then(
4
+ return isNode ? import("./4D5NADHK.js") : import("./4K3CNR7C.js").then(
5
5
  (mod) => mod.importRuntimeModule("auth@v1", hostConfig)
6
6
  );
7
7
  }
8
8
  async function getQixRuntimeModule(hostConfig) {
9
9
  await getAuthRuntimeModule(hostConfig);
10
10
  const isNode = !!globalThis.process?.argv;
11
- return isNode ? import("./MGXEGSJC.js") : import("./VX3MQBE7.js").then(
11
+ return isNode ? import("./MGXEGSJC.js") : import("./4K3CNR7C.js").then(
12
12
  (mod) => mod.importRuntimeModule("qix@v1", hostConfig)
13
13
  );
14
14
  }
15
15
  async function getInvokeFetchRuntimeModule(hostConfig) {
16
16
  await getAuthRuntimeModule(hostConfig);
17
17
  const isNode = !!globalThis.process?.argv;
18
- return isNode ? import("./2BRBIRM2.js") : import("./VX3MQBE7.js").then(
18
+ return isNode ? import("./2BRBIRM2.js") : import("./4K3CNR7C.js").then(
19
19
  (mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig)
20
20
  );
21
21
  }
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./UV5COPU3.js";
3
+ } from "./V3TZ54UE.js";
4
4
  import {
5
5
  isBrowser
6
6
  } from "./2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/invoke-fetch.ts
9
- var defaultUserAgent = "qlik-api/1.26.0";
9
+ var defaultUserAgent = "qlik-api/1.27.0";
10
10
  async function invokeFetch(api, props) {
11
11
  const hostConfig = props.options?.hostConfig;
12
12
  let userAgent;
package/collections.d.ts CHANGED
@@ -270,14 +270,14 @@ declare const getCollections: (query: {
270
270
  type GetCollectionsHttpResponse = {
271
271
  data: CollectionsListCollectionsResponseBody;
272
272
  headers: Headers;
273
- status: number;
273
+ status: 200;
274
274
  prev?: (options?: ApiCallOptions) => Promise<GetCollectionsHttpResponse>;
275
275
  next?: (options?: ApiCallOptions) => Promise<GetCollectionsHttpResponse>;
276
276
  };
277
277
  type GetCollectionsHttpError = {
278
278
  data: ErrorResponseBody;
279
279
  headers: Headers;
280
- status: number;
280
+ status: 400 | 401 | 500;
281
281
  };
282
282
  /**
283
283
  * Creates and returns a new collection. Collections of type `public` (shown as tags in the user interface) must have unique names. Other collection types can reuse names.
@@ -289,12 +289,12 @@ declare const createCollection: (body: CollectionsCreateCollectionRequestBody, o
289
289
  type CreateCollectionHttpResponse = {
290
290
  data: CollectionResultResponseBody;
291
291
  headers: Headers;
292
- status: number;
292
+ status: 201;
293
293
  };
294
294
  type CreateCollectionHttpError = {
295
295
  data: ErrorResponseBody;
296
296
  headers: Headers;
297
- status: number;
297
+ status: 400 | 401 | 403 | 409 | 500;
298
298
  };
299
299
  /**
300
300
  * Lists the user's favorites collection.
@@ -305,12 +305,12 @@ declare const getFavoritesCollection: (options?: ApiCallOptions) => Promise<GetF
305
305
  type GetFavoritesCollectionHttpResponse = {
306
306
  data: CollectionResultResponseBody;
307
307
  headers: Headers;
308
- status: number;
308
+ status: 200;
309
309
  };
310
310
  type GetFavoritesCollectionHttpError = {
311
311
  data: ErrorResponseBody;
312
312
  headers: Headers;
313
- status: number;
313
+ status: 401 | 404 | 500;
314
314
  };
315
315
  /**
316
316
  * Deletes a collection and removes all items from the collection.
@@ -322,12 +322,12 @@ declare const deleteCollection: (collectionId: string, options?: ApiCallOptions)
322
322
  type DeleteCollectionHttpResponse = {
323
323
  data: void;
324
324
  headers: Headers;
325
- status: number;
325
+ status: 204;
326
326
  };
327
327
  type DeleteCollectionHttpError = {
328
328
  data: ErrorResponseBody;
329
329
  headers: Headers;
330
- status: number;
330
+ status: 401 | 404 | 500;
331
331
  };
332
332
  /**
333
333
  * Finds and returns a collection.
@@ -339,12 +339,12 @@ declare const getCollection: (collectionId: string, options?: ApiCallOptions) =>
339
339
  type GetCollectionHttpResponse = {
340
340
  data: CollectionResultResponseBody;
341
341
  headers: Headers;
342
- status: number;
342
+ status: 200;
343
343
  };
344
344
  type GetCollectionHttpError = {
345
345
  data: ErrorResponseBody;
346
346
  headers: Headers;
347
- status: number;
347
+ status: 400 | 401 | 404 | 500;
348
348
  };
349
349
  /**
350
350
  * Updates the name, description, or type fields provided in the patch body. Can be used to publish a `private` collection as a `publicgoverned` collection by patching `/type` with `publicgoverned` once the collection contains at least 1 item. Can also be used to return a `publicgoverned` collection to `private`. Cannot be used to change between `public` (tag) and `private / publicgoverned` (collection).
@@ -357,12 +357,12 @@ declare const patchCollection: (collectionId: string, body: CollectionByIdPatch,
357
357
  type PatchCollectionHttpResponse = {
358
358
  data: CollectionResultResponseBody;
359
359
  headers: Headers;
360
- status: number;
360
+ status: 200;
361
361
  };
362
362
  type PatchCollectionHttpError = {
363
363
  data: ErrorResponseBody;
364
364
  headers: Headers;
365
- status: number;
365
+ status: 400 | 401 | 404 | 409 | 500;
366
366
  };
367
367
  /**
368
368
  * Updates a collection's name and description and returns the updated collection. Omitted and unsupported fields are ignored. To unset a field, provide the field's zero value.
@@ -375,12 +375,12 @@ declare const updateCollection: (collectionId: string, body: CollectionsUpdateCo
375
375
  type UpdateCollectionHttpResponse = {
376
376
  data: CollectionResultResponseBody;
377
377
  headers: Headers;
378
- status: number;
378
+ status: 200;
379
379
  };
380
380
  type UpdateCollectionHttpError = {
381
381
  data: ErrorResponseBody;
382
382
  headers: Headers;
383
- status: number;
383
+ status: 400 | 401 | 404 | 409 | 500;
384
384
  };
385
385
  /**
386
386
  * Retrieves items from a collection that the user has access to.
@@ -420,12 +420,12 @@ declare const getCollectionItems: (collectionId: string, query: {
420
420
  type GetCollectionItemsHttpResponse = {
421
421
  data: CollectionsListCollectionItemsResponseBody;
422
422
  headers: Headers;
423
- status: number;
423
+ status: 200;
424
424
  };
425
425
  type GetCollectionItemsHttpError = {
426
426
  data: ErrorResponseBody;
427
427
  headers: Headers;
428
- status: number;
428
+ status: 400 | 401 | 404 | 500;
429
429
  };
430
430
  /**
431
431
  * Adds an item to a collection and returns the item.
@@ -438,12 +438,12 @@ declare const addCollectionItem: (collectionId: string, body: CollectionsAddColl
438
438
  type AddCollectionItemHttpResponse = {
439
439
  data: ItemResultResponseBody;
440
440
  headers: Headers;
441
- status: number;
441
+ status: 201;
442
442
  };
443
443
  type AddCollectionItemHttpError = {
444
444
  data: ErrorResponseBody;
445
445
  headers: Headers;
446
- status: number;
446
+ status: 400 | 401 | 403 | 404 | 409 | 500;
447
447
  };
448
448
  /**
449
449
  * Removes an item from a collection.
@@ -456,12 +456,12 @@ declare const deleteCollectionItem: (collectionId: string, itemId: string, optio
456
456
  type DeleteCollectionItemHttpResponse = {
457
457
  data: void;
458
458
  headers: Headers;
459
- status: number;
459
+ status: 204;
460
460
  };
461
461
  type DeleteCollectionItemHttpError = {
462
462
  data: ErrorResponseBody;
463
463
  headers: Headers;
464
- status: number;
464
+ status: 400 | 401 | 404 | 500;
465
465
  };
466
466
  /**
467
467
  * Finds and returns an item in a specific collection. See GET `/items/{id}`.
@@ -474,12 +474,12 @@ declare const getCollectionItem: (collectionId: string, itemId: string, options?
474
474
  type GetCollectionItemHttpResponse = {
475
475
  data: ItemResultResponseBody;
476
476
  headers: Headers;
477
- status: number;
477
+ status: 200;
478
478
  };
479
479
  type GetCollectionItemHttpError = {
480
480
  data: ErrorResponseBody;
481
481
  headers: Headers;
482
- status: number;
482
+ status: 400 | 401 | 404 | 500;
483
483
  };
484
484
  /**
485
485
  * Clears the cache for collections api requests.
package/collections.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/collections.ts
package/csp-origins.d.ts CHANGED
@@ -119,14 +119,14 @@ declare const getCSPEntries: (query: {
119
119
  type GetCSPEntriesHttpResponse = {
120
120
  data: CSPEntryList;
121
121
  headers: Headers;
122
- status: number;
122
+ status: 200;
123
123
  prev?: (options?: ApiCallOptions) => Promise<GetCSPEntriesHttpResponse>;
124
124
  next?: (options?: ApiCallOptions) => Promise<GetCSPEntriesHttpResponse>;
125
125
  };
126
126
  type GetCSPEntriesHttpError = {
127
127
  data: ErrorResponse;
128
128
  headers: Headers;
129
- status: number;
129
+ status: 400 | 401 | 403 | 500 | 503;
130
130
  };
131
131
  /**
132
132
  * Creates a new content security policy for an origin.
@@ -138,12 +138,12 @@ declare const createCSPEntry: (body: CSPEntryContent, options?: ApiCallOptions)
138
138
  type CreateCSPEntryHttpResponse = {
139
139
  data: CSPEntry;
140
140
  headers: Headers;
141
- status: number;
141
+ status: 201;
142
142
  };
143
143
  type CreateCSPEntryHttpError = {
144
144
  data: ErrorResponse;
145
145
  headers: Headers;
146
- status: number;
146
+ status: 400 | 401 | 403 | 500 | 503;
147
147
  };
148
148
  /**
149
149
  * Retrieves the full content security policy header (including all configured policies and origins) for the tenant.
@@ -154,12 +154,12 @@ declare const getCSPHeader: (options?: ApiCallOptions) => Promise<GetCSPHeaderHt
154
154
  type GetCSPHeaderHttpResponse = {
155
155
  data: CSPHeader;
156
156
  headers: Headers;
157
- status: number;
157
+ status: 200;
158
158
  };
159
159
  type GetCSPHeaderHttpError = {
160
160
  data: ErrorResponse;
161
161
  headers: Headers;
162
- status: number;
162
+ status: 401 | 406 | 500 | 503;
163
163
  };
164
164
  /**
165
165
  * Deletes a specific content security policy.
@@ -171,12 +171,12 @@ declare const deleteCSPEntry: (id: string, options?: ApiCallOptions) => Promise<
171
171
  type DeleteCSPEntryHttpResponse = {
172
172
  data: void;
173
173
  headers: Headers;
174
- status: number;
174
+ status: 204;
175
175
  };
176
176
  type DeleteCSPEntryHttpError = {
177
177
  data: ErrorResponse;
178
178
  headers: Headers;
179
- status: number;
179
+ status: 400 | 401 | 403 | 404 | 500 | 503;
180
180
  };
181
181
  /**
182
182
  * Returns details for a specific content security policy.
@@ -188,12 +188,12 @@ declare const getCSPEntry: (id: string, options?: ApiCallOptions) => Promise<Get
188
188
  type GetCSPEntryHttpResponse = {
189
189
  data: CSPEntry;
190
190
  headers: Headers;
191
- status: number;
191
+ status: 200;
192
192
  };
193
193
  type GetCSPEntryHttpError = {
194
194
  data: ErrorResponse;
195
195
  headers: Headers;
196
- status: number;
196
+ status: 400 | 401 | 403 | 404 | 500 | 503;
197
197
  };
198
198
  /**
199
199
  * Updates a content security policy.
@@ -206,12 +206,12 @@ declare const updateCSPEntry: (id: string, body: CSPEntryContent, options?: ApiC
206
206
  type UpdateCSPEntryHttpResponse = {
207
207
  data: CSPEntry;
208
208
  headers: Headers;
209
- status: number;
209
+ status: 200;
210
210
  };
211
211
  type UpdateCSPEntryHttpError = {
212
212
  data: ErrorResponse;
213
213
  headers: Headers;
214
- status: number;
214
+ status: 400 | 401 | 403 | 404 | 500 | 503;
215
215
  };
216
216
  /**
217
217
  * Clears the cache for csp-origins api requests.
package/csp-origins.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/csp-origins.ts
package/data-assets.d.ts CHANGED
@@ -70,12 +70,12 @@ declare const deleteDataAssets: (body: BatchIdDto, options?: ApiCallOptions) =>
70
70
  type DeleteDataAssetsHttpResponse = {
71
71
  data: void;
72
72
  headers: Headers;
73
- status: number;
73
+ status: 204;
74
74
  };
75
75
  type DeleteDataAssetsHttpError = {
76
76
  data: ErrorResponse;
77
77
  headers: Headers;
78
- status: number;
78
+ status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
79
79
  };
80
80
  /**
81
81
  * Save new data asset.
@@ -87,12 +87,12 @@ declare const createDataAsset: (body: DataAsset, options?: ApiCallOptions) => Pr
87
87
  type CreateDataAssetHttpResponse = {
88
88
  data: DataAsset;
89
89
  headers: Headers;
90
- status: number;
90
+ status: 201;
91
91
  };
92
92
  type CreateDataAssetHttpError = {
93
93
  data: ErrorResponse;
94
94
  headers: Headers;
95
- status: number;
95
+ status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
96
96
  };
97
97
  /**
98
98
  * Get data asset by ID.
@@ -108,12 +108,12 @@ declare const getDataAsset: (dataAssetId: string, query: {
108
108
  type GetDataAssetHttpResponse = {
109
109
  data: DataAsset;
110
110
  headers: Headers;
111
- status: number;
111
+ status: 200;
112
112
  };
113
113
  type GetDataAssetHttpError = {
114
114
  data: ErrorResponse;
115
115
  headers: Headers;
116
- status: number;
116
+ status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
117
117
  };
118
118
  /**
119
119
  * Patch data asset.
@@ -126,12 +126,12 @@ declare const patchDataAsset: (dataAssetId: string, body: JsonPatch[], options?:
126
126
  type PatchDataAssetHttpResponse = {
127
127
  data: DataAsset;
128
128
  headers: Headers;
129
- status: number;
129
+ status: 200 | 204;
130
130
  };
131
131
  type PatchDataAssetHttpError = {
132
132
  data: ErrorResponse;
133
133
  headers: Headers;
134
- status: number;
134
+ status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
135
135
  };
136
136
  /**
137
137
  * Update data asset.
@@ -144,12 +144,12 @@ declare const updateDataAsset: (dataAssetId: string, body: DataAsset, options?:
144
144
  type UpdateDataAssetHttpResponse = {
145
145
  data: DataAsset;
146
146
  headers: Headers;
147
- status: number;
147
+ status: 200;
148
148
  };
149
149
  type UpdateDataAssetHttpError = {
150
150
  data: ErrorResponse;
151
151
  headers: Headers;
152
- status: number;
152
+ status: 400 | 401 | 403 | 404 | 409 | 500 | 503;
153
153
  };
154
154
  /**
155
155
  * Clears the cache for data-assets api requests.
package/data-assets.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -328,14 +328,14 @@ declare const getDataConnections: (query: {
328
328
  type GetDataConnectionsHttpResponse = {
329
329
  data: Connections;
330
330
  headers: Headers;
331
- status: number;
331
+ status: 200;
332
332
  prev?: (options?: ApiCallOptions) => Promise<GetDataConnectionsHttpResponse>;
333
333
  next?: (options?: ApiCallOptions) => Promise<GetDataConnectionsHttpResponse>;
334
334
  };
335
335
  type GetDataConnectionsHttpError = {
336
336
  data: ResponseErrors;
337
337
  headers: Headers;
338
- status: number;
338
+ status: 400 | 500 | 502;
339
339
  };
340
340
  /**
341
341
  * Creates a new connection. Depending on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
@@ -347,12 +347,12 @@ declare const createDataConnection: (body: ConnectionCreate | DcaasConnectionCre
347
347
  type CreateDataConnectionHttpResponse = {
348
348
  data: ConnectionCreateResponse | DcaasConnectionCreateAuthResponse;
349
349
  headers: Headers;
350
- status: number;
350
+ status: 201;
351
351
  };
352
352
  type CreateDataConnectionHttpError = {
353
353
  data: ResponseErrors;
354
354
  headers: Headers;
355
- status: number;
355
+ status: 400 | 403 | 404 | 409;
356
356
  };
357
357
  /**
358
358
  * Delete multiple connections, only available to Admin
@@ -364,12 +364,12 @@ declare const deleteDataConnections: (body: ActionDeleteRequest, options?: ApiCa
364
364
  type DeleteDataConnectionsHttpResponse = {
365
365
  data: BulkResponse;
366
366
  headers: Headers;
367
- status: number;
367
+ status: 207;
368
368
  };
369
369
  type DeleteDataConnectionsHttpError = {
370
370
  data: ResponseErrors;
371
371
  headers: Headers;
372
- status: number;
372
+ status: 400 | 403;
373
373
  };
374
374
  /**
375
375
  * Duplicate a connection
@@ -381,12 +381,12 @@ declare const duplicateDataAConnection: (body: ActionDuplicateRequest, options?:
381
381
  type DuplicateDataAConnectionHttpResponse = {
382
382
  data: ConnectionCreateResponse;
383
383
  headers: Headers;
384
- status: number;
384
+ status: 201;
385
385
  };
386
386
  type DuplicateDataAConnectionHttpError = {
387
387
  data: ResponseErrors;
388
388
  headers: Headers;
389
- status: number;
389
+ status: 400 | 403 | 404 | 409;
390
390
  };
391
391
  /**
392
392
  * Update multiple connections, only available to Admin. When update is to change ownership of a connection, the credentials associated with the connection will NOT be transferred to the new owner, and new owner is expected to provide their own credentials for the connection.
@@ -398,12 +398,12 @@ declare const updateDataConnections: (body: ActionUpdateRequest, options?: ApiCa
398
398
  type UpdateDataConnectionsHttpResponse = {
399
399
  data: BulkResponse;
400
400
  headers: Headers;
401
- status: number;
401
+ status: 207;
402
402
  };
403
403
  type UpdateDataConnectionsHttpError = {
404
404
  data: ResponseErrors;
405
405
  headers: Headers;
406
- status: number;
406
+ status: 400 | 403;
407
407
  };
408
408
  /**
409
409
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
@@ -421,12 +421,12 @@ declare const deleteDataConnection: (qID: string, query: {
421
421
  type DeleteDataConnectionHttpResponse = {
422
422
  data: void;
423
423
  headers: Headers;
424
- status: number;
424
+ status: 204;
425
425
  };
426
426
  type DeleteDataConnectionHttpError = {
427
427
  data: ResponseErrors;
428
428
  headers: Headers;
429
- status: number;
429
+ status: 403 | 404;
430
430
  };
431
431
  /**
432
432
  * Retrieves a connection by connection ID, or by name when the query parameter "type" is set to "connectionname."
@@ -454,12 +454,12 @@ declare const getDataConnection: (qID: string, query: {
454
454
  type GetDataConnectionHttpResponse = {
455
455
  data: ConnectionGet;
456
456
  headers: Headers;
457
- status: number;
457
+ status: 200;
458
458
  };
459
459
  type GetDataConnectionHttpError = {
460
460
  data: ResponseErrors;
461
461
  headers: Headers;
462
- status: number;
462
+ status: 400 | 403 | 404 | 500;
463
463
  };
464
464
  /**
465
465
  * Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
@@ -476,12 +476,12 @@ declare const patchDataConnection: (qID: string, query: {
476
476
  type PatchDataConnectionHttpResponse = {
477
477
  data: void;
478
478
  headers: Headers;
479
- status: number;
479
+ status: 204;
480
480
  };
481
481
  type PatchDataConnectionHttpError = {
482
482
  data: ResponseErrors;
483
483
  headers: Headers;
484
- status: number;
484
+ status: 400 | 403 | 404 | 409;
485
485
  };
486
486
  /**
487
487
  * Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
@@ -500,12 +500,12 @@ declare const updateDataConnection: (qID: string, query: {
500
500
  type UpdateDataConnectionHttpResponse = {
501
501
  data: void;
502
502
  headers: Headers;
503
- status: number;
503
+ status: 204;
504
504
  };
505
505
  type UpdateDataConnectionHttpError = {
506
506
  data: ResponseErrors;
507
507
  headers: Headers;
508
- status: number;
508
+ status: 400 | 403 | 404 | 409;
509
509
  };
510
510
  /**
511
511
  * Clears the cache for data-connections api requests.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -114,12 +114,12 @@ declare const filterOrphanedDataCredentials: (body: ActionFilterOrphanRequest, o
114
114
  type FilterOrphanedDataCredentialsHttpResponse = {
115
115
  data: ActionFilterOrphanResponse;
116
116
  headers: Headers;
117
- status: number;
117
+ status: 200;
118
118
  };
119
119
  type FilterOrphanedDataCredentialsHttpError = {
120
120
  data: ResponseErrors;
121
121
  headers: Headers;
122
- status: number;
122
+ status: 400 | 403;
123
123
  };
124
124
  /**
125
125
  * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
@@ -135,12 +135,12 @@ declare const deleteDataCredential: (qID: string, query: {
135
135
  type DeleteDataCredentialHttpResponse = {
136
136
  data: void;
137
137
  headers: Headers;
138
- status: number;
138
+ status: 204;
139
139
  };
140
140
  type DeleteDataCredentialHttpError = {
141
141
  data: ResponseErrors;
142
142
  headers: Headers;
143
- status: number;
143
+ status: 404;
144
144
  };
145
145
  /**
146
146
  * Gets a credential by ID (or by name when bycredentialname=true is set in query)
@@ -156,12 +156,12 @@ declare const getDataCredential: (qID: string, query: {
156
156
  type GetDataCredentialHttpResponse = {
157
157
  data: Credential;
158
158
  headers: Headers;
159
- status: number;
159
+ status: 200;
160
160
  };
161
161
  type GetDataCredentialHttpError = {
162
162
  data: ResponseErrors;
163
163
  headers: Headers;
164
- status: number;
164
+ status: 400 | 404;
165
165
  };
166
166
  /**
167
167
  * Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
@@ -178,12 +178,12 @@ declare const patchDataCredential: (qID: string, query: {
178
178
  type PatchDataCredentialHttpResponse = {
179
179
  data: void;
180
180
  headers: Headers;
181
- status: number;
181
+ status: 204;
182
182
  };
183
183
  type PatchDataCredentialHttpError = {
184
184
  data: ResponseErrors;
185
185
  headers: Headers;
186
- status: number;
186
+ status: 400 | 404 | 409;
187
187
  };
188
188
  /**
189
189
  * Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
@@ -200,12 +200,12 @@ declare const updateDataCredential: (qID: string, query: {
200
200
  type UpdateDataCredentialHttpResponse = {
201
201
  data: void;
202
202
  headers: Headers;
203
- status: number;
203
+ status: 204;
204
204
  };
205
205
  type UpdateDataCredentialHttpError = {
206
206
  data: ResponseErrors;
207
207
  headers: Headers;
208
- status: number;
208
+ status: 400 | 404 | 409;
209
209
  };
210
210
  /**
211
211
  * Clears the cache for data-credentials api requests.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-credentials.ts