@qlik/api 1.27.0 → 1.29.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 (65) hide show
  1. package/api-keys.d.ts +20 -0
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +134 -5
  4. package/apps.js +2 -2
  5. package/audits.d.ts +1 -1
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +13 -1
  9. package/automations.js +2 -2
  10. package/brands.js +2 -2
  11. package/chunks/{V3TZ54UE.js → 2B7YWDQC.js} +3 -3
  12. package/chunks/{4K3CNR7C.js → 5MRIMVKS.js} +1 -1
  13. package/chunks/{55SZVSAG.js → 5XNSGPGZ.js} +1 -1
  14. package/chunks/{EOGHK2R4.js → KYCIMQ4L.js} +1 -1
  15. package/chunks/{WY7IOA3Q.js → WQYEWU54.js} +2 -2
  16. package/collections.d.ts +1 -1
  17. package/collections.js +2 -2
  18. package/csp-origins.js +2 -2
  19. package/data-assets.d.ts +1 -1
  20. package/data-assets.js +2 -2
  21. package/data-connections.d.ts +82 -0
  22. package/data-connections.js +2 -2
  23. package/data-credentials.d.ts +28 -0
  24. package/data-credentials.js +2 -2
  25. package/data-files.d.ts +90 -0
  26. package/data-files.js +2 -2
  27. package/extensions.js +2 -2
  28. package/glossaries.d.ts +15 -1
  29. package/glossaries.js +2 -2
  30. package/groups.d.ts +70 -0
  31. package/groups.js +2 -2
  32. package/identity-providers.js +2 -2
  33. package/index.js +8 -4
  34. package/items.d.ts +1 -1
  35. package/items.js +2 -2
  36. package/licenses.d.ts +191 -0
  37. package/licenses.js +2 -2
  38. package/package.json +4 -4
  39. package/qix.d.ts +26 -2
  40. package/qix.js +2 -2
  41. package/quotas.js +2 -2
  42. package/reload-tasks.d.ts +20 -0
  43. package/reload-tasks.js +2 -2
  44. package/reloads.d.ts +38 -1
  45. package/reloads.js +2 -2
  46. package/reports.d.ts +157 -17
  47. package/reports.js +2 -2
  48. package/roles.d.ts +30 -0
  49. package/roles.js +2 -2
  50. package/spaces.d.ts +225 -38
  51. package/spaces.js +47 -2
  52. package/temp-contents.js +2 -2
  53. package/tenants.d.ts +47 -1
  54. package/tenants.js +2 -2
  55. package/themes.js +2 -2
  56. package/transports.d.ts +9 -0
  57. package/transports.js +2 -2
  58. package/users.d.ts +88 -0
  59. package/users.js +2 -2
  60. package/web-integrations.d.ts +20 -0
  61. package/web-integrations.js +2 -2
  62. package/web-notifications.d.ts +19 -0
  63. package/web-notifications.js +2 -2
  64. package/webhooks.d.ts +3 -3
  65. package/webhooks.js +2 -2
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -123,6 +123,13 @@ type FilterOrphanedDataCredentialsHttpError = {
123
123
  };
124
124
  /**
125
125
  * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
126
+ * @example
127
+ * deleteDataCredential(
128
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
129
+ * {
130
+ * byCredentialName: false
131
+ * }
132
+ * )
126
133
  *
127
134
  * @param qID Credential ID
128
135
  * @param query an object with query parameters
@@ -144,6 +151,13 @@ type DeleteDataCredentialHttpError = {
144
151
  };
145
152
  /**
146
153
  * Gets a credential by ID (or by name when bycredentialname=true is set in query)
154
+ * @example
155
+ * getDataCredential(
156
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
157
+ * {
158
+ * byCredentialName: false
159
+ * }
160
+ * )
147
161
  *
148
162
  * @param qID Credential ID
149
163
  * @param query an object with query parameters
@@ -221,6 +235,13 @@ interface DataCredentialsAPI {
221
235
  filterOrphanedDataCredentials: typeof filterOrphanedDataCredentials;
222
236
  /**
223
237
  * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
238
+ * @example
239
+ * deleteDataCredential(
240
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
241
+ * {
242
+ * byCredentialName: false
243
+ * }
244
+ * )
224
245
  *
225
246
  * @param qID Credential ID
226
247
  * @param query an object with query parameters
@@ -229,6 +250,13 @@ interface DataCredentialsAPI {
229
250
  deleteDataCredential: typeof deleteDataCredential;
230
251
  /**
231
252
  * Gets a credential by ID (or by name when bycredentialname=true is set in query)
253
+ * @example
254
+ * getDataCredential(
255
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
256
+ * {
257
+ * byCredentialName: false
258
+ * }
259
+ * )
232
260
  *
233
261
  * @param qID Credential ID
234
262
  * @param query an object with query parameters
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-credentials.ts
package/data-files.d.ts CHANGED
@@ -253,6 +253,27 @@ type SpaceStatsResponse = {
253
253
  };
254
254
  /**
255
255
  * Get descriptive info for the specified data files.
256
+ * @example
257
+ * getDataFiles(
258
+ * {
259
+ * allowInternalFiles: false,
260
+ * appId: "f34b91a1-0dc3-44ac-a847-51cb84122c84",
261
+ * baseNameWildcard: "*SomeFileName*",
262
+ * connectionId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
263
+ * excludeFiles: false,
264
+ * excludeSubFolders: false,
265
+ * folderId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
266
+ * folderPath: "some/folder",
267
+ * includeAllSpaces: false,
268
+ * includeFolders: false,
269
+ * includeFolderStats: false,
270
+ * limit: 5,
271
+ * name: "MyFile.csv",
272
+ * notOwnerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
273
+ * ownerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
274
+ * page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1"
275
+ * }
276
+ * )
256
277
  *
257
278
  * @param query an object with query parameters
258
279
  * @throws GetDataFilesHttpError
@@ -417,6 +438,18 @@ type DeleteDataFilesHttpError = {
417
438
  /**
418
439
  * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
419
440
  * the given user has access to.
441
+ * @example
442
+ * getDataFilesConnections(
443
+ * {
444
+ * appId: "f34b91a1-0dc3-44ac-a847-51cb84122c84",
445
+ * includeSpaceStats: false,
446
+ * limit: 5,
447
+ * name: "MySenseApp",
448
+ * page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1",
449
+ * personal: true,
450
+ * spaceId: "617979737a9f56e49dea2e6e"
451
+ * }
452
+ * )
420
453
  *
421
454
  * @param query an object with query parameters
422
455
  * @throws GetDataFilesConnectionsHttpError
@@ -455,6 +488,10 @@ type GetDataFilesConnectionsHttpError = {
455
488
  };
456
489
  /**
457
490
  * Get the built-in connection used by the engine to load/write data files given a connection ID.
491
+ * @example
492
+ * getDataFileConnection(
493
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
494
+ * )
458
495
  *
459
496
  * @param id The ID of the connection.
460
497
  * @throws GetDataFileConnectionHttpError
@@ -489,6 +526,10 @@ type GetDataFilesQuotasHttpError = {
489
526
  /**
490
527
  * Delete the specified data file or folder. Deleting a folder will also recursively delete all files and
491
528
  * subfolders that reside within the specified folder.
529
+ * @example
530
+ * deleteDataFile(
531
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
532
+ * )
492
533
  *
493
534
  * @param id The ID of the data file or folder to delete.
494
535
  * @throws DeleteDataFileHttpError
@@ -506,6 +547,10 @@ type DeleteDataFileHttpError = {
506
547
  };
507
548
  /**
508
549
  * Get descriptive info for the specified data file.
550
+ * @example
551
+ * getDataFile(
552
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
553
+ * )
509
554
  *
510
555
  * @param id The ID of the data file.
511
556
  * @throws GetDataFileHttpError
@@ -645,6 +690,27 @@ declare function clearCache(): void;
645
690
  interface DataFilesAPI {
646
691
  /**
647
692
  * Get descriptive info for the specified data files.
693
+ * @example
694
+ * getDataFiles(
695
+ * {
696
+ * allowInternalFiles: false,
697
+ * appId: "f34b91a1-0dc3-44ac-a847-51cb84122c84",
698
+ * baseNameWildcard: "*SomeFileName*",
699
+ * connectionId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
700
+ * excludeFiles: false,
701
+ * excludeSubFolders: false,
702
+ * folderId: "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc",
703
+ * folderPath: "some/folder",
704
+ * includeAllSpaces: false,
705
+ * includeFolders: false,
706
+ * includeFolderStats: false,
707
+ * limit: 5,
708
+ * name: "MyFile.csv",
709
+ * notOwnerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
710
+ * ownerId: "lDL4DIINndhL_iJkcbqWyJenuwizP-2D",
711
+ * page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1"
712
+ * }
713
+ * )
648
714
  *
649
715
  * @param query an object with query parameters
650
716
  * @throws GetDataFilesHttpError
@@ -677,6 +743,18 @@ interface DataFilesAPI {
677
743
  /**
678
744
  * The non-filtered list contains a set of hardcoded connections, along with one connection per team space that
679
745
  * the given user has access to.
746
+ * @example
747
+ * getDataFilesConnections(
748
+ * {
749
+ * appId: "f34b91a1-0dc3-44ac-a847-51cb84122c84",
750
+ * includeSpaceStats: false,
751
+ * limit: 5,
752
+ * name: "MySenseApp",
753
+ * page: "NzlmNzI5NWMtZGJlZC00Y2Y4LThkNDAtMzQ5ZDU3YzNjMzQ1",
754
+ * personal: true,
755
+ * spaceId: "617979737a9f56e49dea2e6e"
756
+ * }
757
+ * )
680
758
  *
681
759
  * @param query an object with query parameters
682
760
  * @throws GetDataFilesConnectionsHttpError
@@ -684,6 +762,10 @@ interface DataFilesAPI {
684
762
  getDataFilesConnections: typeof getDataFilesConnections;
685
763
  /**
686
764
  * Get the built-in connection used by the engine to load/write data files given a connection ID.
765
+ * @example
766
+ * getDataFileConnection(
767
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
768
+ * )
687
769
  *
688
770
  * @param id The ID of the connection.
689
771
  * @throws GetDataFileConnectionHttpError
@@ -698,6 +780,10 @@ interface DataFilesAPI {
698
780
  /**
699
781
  * Delete the specified data file or folder. Deleting a folder will also recursively delete all files and
700
782
  * subfolders that reside within the specified folder.
783
+ * @example
784
+ * deleteDataFile(
785
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
786
+ * )
701
787
  *
702
788
  * @param id The ID of the data file or folder to delete.
703
789
  * @throws DeleteDataFileHttpError
@@ -705,6 +791,10 @@ interface DataFilesAPI {
705
791
  deleteDataFile: typeof deleteDataFile;
706
792
  /**
707
793
  * Get descriptive info for the specified data file.
794
+ * @example
795
+ * getDataFile(
796
+ * "ee6a390c-5d33-11e8-9c2d-fa7ae01bbebc"
797
+ * )
708
798
  *
709
799
  * @param id The ID of the data file.
710
800
  * @throws GetDataFileHttpError
package/data-files.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-files.ts
package/extensions.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/extensions.ts
package/glossaries.d.ts CHANGED
@@ -14,6 +14,19 @@ type JSONPatch = {
14
14
  };
15
15
  /**
16
16
  * An array of JSON Patch documents
17
+ * @example
18
+ * [
19
+ * {
20
+ * op: "replace",
21
+ * path: "/name",
22
+ * value: "new name"
23
+ * },
24
+ * {
25
+ * op: "replace",
26
+ * path: "/description",
27
+ * value: "new description"
28
+ * }
29
+ * ]
17
30
  */
18
31
  type JSONPatchArray = JSONPatch[];
19
32
  type AtlanEntity = {
@@ -193,6 +206,7 @@ type ErrorResponseCode = {
193
206
  /**
194
207
  * ### Custom error codes
195
208
  * * BG-3 - Access denied, no read access
209
+ * * BG-30 - Feature not enabled on tenant.
196
210
  */
197
211
  type ErrorResponseForbidden = {
198
212
  errors?: ErrorResponseCode[];
@@ -865,7 +879,7 @@ type UpdateGlossaryTermHttpError = {
865
879
  */
866
880
  declare const changeGlossaryTermStatus: (id: string, termId: string, query: {
867
881
  /** The status to update to. */
868
- status?: "draft" | "verified" | "deprecated";
882
+ status: "draft" | "verified" | "deprecated";
869
883
  }, options?: ApiCallOptions) => Promise<ChangeGlossaryTermStatusHttpResponse>;
870
884
  type ChangeGlossaryTermStatusHttpResponse = {
871
885
  data: Term;
package/glossaries.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.d.ts CHANGED
@@ -16,6 +16,12 @@ type AssignedRoles = {
16
16
  }[];
17
17
  /**
18
18
  * An array of role reference identifiers.
19
+ * @example
20
+ * [
21
+ * {
22
+ * id: "507f191e810c19729de860ea"
23
+ * }
24
+ * ]
19
25
  */
20
26
  type AssignedRolesRefIDs = {
21
27
  /** The unique role identitier */
@@ -23,6 +29,12 @@ type AssignedRolesRefIDs = {
23
29
  }[];
24
30
  /**
25
31
  * An array of role reference names.
32
+ * @example
33
+ * [
34
+ * {
35
+ * name: "TenantAdmin"
36
+ * }
37
+ * ]
26
38
  */
27
39
  type AssignedRolesRefNames = {
28
40
  /** The name of the role */
@@ -52,6 +64,17 @@ type Error = {
52
64
  };
53
65
  /**
54
66
  * The error response object describing the error from the handling of an HTTP request.
67
+ * @example
68
+ * {
69
+ * errors: [
70
+ * {
71
+ * code: "GROUPS-7",
72
+ * status: 404,
73
+ * title: "Not found"
74
+ * }
75
+ * ],
76
+ * traceId: "00000000000000000137b213cf12a77b"
77
+ * }
55
78
  */
56
79
  type Errors = {
57
80
  /** An array of errors related to the operation. */
@@ -113,8 +136,34 @@ type GroupPatch = {
113
136
  };
114
137
  /**
115
138
  * An array of JSON Patches for a group.
139
+ * @example
140
+ * [
141
+ * {
142
+ * op: "replace",
143
+ * value: [
144
+ * {
145
+ * name: "TenantAdmin"
146
+ * },
147
+ * {
148
+ * name: "AnalyticsAdmin"
149
+ * }
150
+ * ]
151
+ * }
152
+ * ]
116
153
  */
117
154
  type GroupPatchSchema = GroupPatch[];
155
+ /**
156
+ * @example
157
+ * {
158
+ * assignedRoles: [
159
+ * {
160
+ * name: "Developer"
161
+ * }
162
+ * ],
163
+ * name: "Development",
164
+ * status: "active"
165
+ * }
166
+ */
118
167
  type GroupPostSchema = {
119
168
  /** The roles to assign to the group (limit of 100 roles per group). */
120
169
  assignedRoles?: AssignedRolesRefIDs | AssignedRolesRefNames;
@@ -197,6 +246,27 @@ type SettingsPatch = {
197
246
  };
198
247
  /**
199
248
  * An array of JSON Patches for the groups settings.
249
+ * @example
250
+ * [
251
+ * {
252
+ * op: "replace",
253
+ * path: "/syncIdpGroups",
254
+ * value: true
255
+ * },
256
+ * {
257
+ * op: "replace",
258
+ * path: "/autoCreateGroups",
259
+ * value: true
260
+ * },
261
+ * {
262
+ * op: "replace",
263
+ * value: [
264
+ * {
265
+ * name: "Steward"
266
+ * }
267
+ * ]
268
+ * }
269
+ * ]
200
270
  */
201
271
  type SettingsPatchSchema = SettingsPatch[];
202
272
  /**
package/groups.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/groups.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
package/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  qix_default
3
- } from "./chunks/55SZVSAG.js";
3
+ } from "./chunks/5XNSGPGZ.js";
4
4
  import {
5
5
  auth_default
6
- } from "./chunks/EOGHK2R4.js";
6
+ } from "./chunks/KYCIMQ4L.js";
7
7
  import {
8
8
  interceptors_default
9
9
  } from "./chunks/3RGGGGAR.js";
10
10
  import {
11
11
  clearApiCache,
12
12
  invokeFetch
13
- } from "./chunks/WY7IOA3Q.js";
14
- import "./chunks/V3TZ54UE.js";
13
+ } from "./chunks/WQYEWU54.js";
14
+ import "./chunks/2B7YWDQC.js";
15
15
  import "./chunks/2ZQ3ZX7F.js";
16
16
 
17
17
  // src/runtime-api-generator/runtime-api-generator-common.ts
@@ -577,6 +577,10 @@ var spacesMiniModule = apiDefToApiPublic("spaces", {
577
577
  assignments: {
578
578
  "": ["getSpaceAssignments:GQ:", "createSpaceAssignment:PBJ:"],
579
579
  "{assignmentId}": ["deleteSpaceAssignment:D:", "getSpaceAssignment:G:", "updateSpaceAssignment:UBJ:"]
580
+ },
581
+ shares: {
582
+ "": ["getSpaceShares:GQ:", "createSpaceShare:PBJ:"],
583
+ "{shareId}": ["deleteSpaceShare:D:", "getSpaceShare:G:", "patchShare:ABJ:"]
580
584
  }
581
585
  }
582
586
  }
package/items.d.ts CHANGED
@@ -129,7 +129,7 @@ type ItemMetaResponseBody = {
129
129
  /**
130
130
  * The case-sensitive string defining the item's type.
131
131
  */
132
- type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
132
+ type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
133
133
  /**
134
134
  * An item.
135
135
  */
package/items.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/WY7IOA3Q.js";
5
- import "./chunks/V3TZ54UE.js";
4
+ } from "./chunks/WQYEWU54.js";
5
+ import "./chunks/2B7YWDQC.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/items.ts