@qlik/api 1.28.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.
- package/api-keys.d.ts +20 -0
- package/apps.d.ts +134 -5
- package/audits.d.ts +1 -1
- package/automations.d.ts +13 -1
- package/chunks/WQYEWU54.js +1 -1
- package/collections.d.ts +1 -1
- package/data-assets.d.ts +1 -1
- package/data-connections.d.ts +82 -0
- package/data-credentials.d.ts +28 -0
- package/data-files.d.ts +90 -0
- package/glossaries.d.ts +14 -1
- package/groups.d.ts +70 -0
- package/index.js +4 -0
- package/items.d.ts +1 -1
- package/licenses.d.ts +191 -0
- package/package.json +4 -4
- package/qix.d.ts +17 -1
- package/reload-tasks.d.ts +20 -0
- package/reloads.d.ts +39 -10
- package/reports.d.ts +157 -17
- package/roles.d.ts +30 -0
- package/spaces.d.ts +225 -38
- package/spaces.js +45 -0
- package/tenants.d.ts +47 -1
- package/transports.d.ts +9 -0
- package/users.d.ts +88 -0
- package/web-integrations.d.ts +20 -0
- package/web-notifications.d.ts +19 -0
- package/webhooks.d.ts +3 -3
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/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 = {
|
|
@@ -866,7 +879,7 @@ type UpdateGlossaryTermHttpError = {
|
|
|
866
879
|
*/
|
|
867
880
|
declare const changeGlossaryTermStatus: (id: string, termId: string, query: {
|
|
868
881
|
/** The status to update to. */
|
|
869
|
-
status
|
|
882
|
+
status: "draft" | "verified" | "deprecated";
|
|
870
883
|
}, options?: ApiCallOptions) => Promise<ChangeGlossaryTermStatusHttpResponse>;
|
|
871
884
|
type ChangeGlossaryTermStatusHttpResponse = {
|
|
872
885
|
data: Term;
|
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/index.js
CHANGED
|
@@ -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" | "
|
|
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/licenses.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* add: [
|
|
8
|
+
* {
|
|
9
|
+
* subject: "qlik\kalle",
|
|
10
|
+
* type: "professional"
|
|
11
|
+
* },
|
|
12
|
+
* {
|
|
13
|
+
* subject: "qlik\nalle",
|
|
14
|
+
* type: "analyzer"
|
|
15
|
+
* }
|
|
16
|
+
* ]
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
4
19
|
type AssignmentsActionsAddRequest = {
|
|
5
20
|
add: {
|
|
6
21
|
/** User name */
|
|
@@ -14,6 +29,25 @@ type AssignmentsActionsAddRequest = {
|
|
|
14
29
|
userId?: string;
|
|
15
30
|
}[];
|
|
16
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* {
|
|
35
|
+
* data: [
|
|
36
|
+
* {
|
|
37
|
+
* status: 201,
|
|
38
|
+
* subject: "qlik\kalle",
|
|
39
|
+
* type: "professional"
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* code: "LICENSES-011",
|
|
43
|
+
* status: 403,
|
|
44
|
+
* subject: "qlik\nalle",
|
|
45
|
+
* title: "No available allotment error, No available allotment.",
|
|
46
|
+
* type: "analyzer"
|
|
47
|
+
* }
|
|
48
|
+
* ]
|
|
49
|
+
* }
|
|
50
|
+
*/
|
|
17
51
|
type AssignmentsActionsAddResponse = {
|
|
18
52
|
data: {
|
|
19
53
|
/** Error code */
|
|
@@ -28,6 +62,17 @@ type AssignmentsActionsAddResponse = {
|
|
|
28
62
|
type?: string;
|
|
29
63
|
}[];
|
|
30
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* {
|
|
68
|
+
* delete: [
|
|
69
|
+
* {
|
|
70
|
+
* subject: "qlik\malik",
|
|
71
|
+
* type: "analyzer"
|
|
72
|
+
* }
|
|
73
|
+
* ]
|
|
74
|
+
* }
|
|
75
|
+
*/
|
|
31
76
|
type AssignmentsActionsDeleteRequest = {
|
|
32
77
|
delete: {
|
|
33
78
|
/** User subject */
|
|
@@ -36,6 +81,25 @@ type AssignmentsActionsDeleteRequest = {
|
|
|
36
81
|
type: string;
|
|
37
82
|
}[];
|
|
38
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* {
|
|
87
|
+
* data: [
|
|
88
|
+
* {
|
|
89
|
+
* status: 200,
|
|
90
|
+
* subject: "qlik\malik",
|
|
91
|
+
* type: "professional"
|
|
92
|
+
* },
|
|
93
|
+
* {
|
|
94
|
+
* code: "LICENSES-016",
|
|
95
|
+
* status: 404,
|
|
96
|
+
* subject: "qlik\no",
|
|
97
|
+
* title: "Assignment not found.",
|
|
98
|
+
* type: "analyzer"
|
|
99
|
+
* }
|
|
100
|
+
* ]
|
|
101
|
+
* }
|
|
102
|
+
*/
|
|
39
103
|
type AssignmentsActionsDeleteResponse = {
|
|
40
104
|
data: {
|
|
41
105
|
/** Error code */
|
|
@@ -50,6 +114,18 @@ type AssignmentsActionsDeleteResponse = {
|
|
|
50
114
|
type?: string;
|
|
51
115
|
}[];
|
|
52
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* @example
|
|
119
|
+
* {
|
|
120
|
+
* update: [
|
|
121
|
+
* {
|
|
122
|
+
* sourceType: "analyzer",
|
|
123
|
+
* subject: "qlik\malik",
|
|
124
|
+
* type: "professional"
|
|
125
|
+
* }
|
|
126
|
+
* ]
|
|
127
|
+
* }
|
|
128
|
+
*/
|
|
53
129
|
type AssignmentsActionsUpdateRequest = {
|
|
54
130
|
update: {
|
|
55
131
|
/** The current user subject, in case that should be patched. */
|
|
@@ -62,6 +138,26 @@ type AssignmentsActionsUpdateRequest = {
|
|
|
62
138
|
type?: string;
|
|
63
139
|
}[];
|
|
64
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* {
|
|
144
|
+
* data: [
|
|
145
|
+
* {
|
|
146
|
+
* sourceType: "analyzer",
|
|
147
|
+
* status: 200,
|
|
148
|
+
* subject: "qlik\malik",
|
|
149
|
+
* type: "professional"
|
|
150
|
+
* },
|
|
151
|
+
* {
|
|
152
|
+
* code: "LICENSES-016",
|
|
153
|
+
* sourceType: "analyzer",
|
|
154
|
+
* status: 404,
|
|
155
|
+
* subject: "qlik/sara",
|
|
156
|
+
* title: "Assignment not found."
|
|
157
|
+
* }
|
|
158
|
+
* ]
|
|
159
|
+
* }
|
|
160
|
+
*/
|
|
65
161
|
type AssignmentsActionsUpdateResponse = {
|
|
66
162
|
data: {
|
|
67
163
|
/** Error code */
|
|
@@ -80,6 +176,31 @@ type AssignmentsActionsUpdateResponse = {
|
|
|
80
176
|
type?: string;
|
|
81
177
|
}[];
|
|
82
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* {
|
|
182
|
+
* data: [
|
|
183
|
+
* {
|
|
184
|
+
* created: "2020-12-03T09:24:48.114Z",
|
|
185
|
+
* excess: false,
|
|
186
|
+
* subject: "qlik\kalle",
|
|
187
|
+
* type: "analyzer"
|
|
188
|
+
* },
|
|
189
|
+
* {
|
|
190
|
+
* created: "2020-12-03T09:24:48.114Z",
|
|
191
|
+
* subject: "qlik\nalle"
|
|
192
|
+
* }
|
|
193
|
+
* ],
|
|
194
|
+
* links: {
|
|
195
|
+
* next: {
|
|
196
|
+
* href: "http://license/v1/licenses/assignments?limit=4&page=bmV4dDpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZrQUE%3D"
|
|
197
|
+
* },
|
|
198
|
+
* prev: {
|
|
199
|
+
* href: "http://license/v1/licenses/assignments?limit=4&page=cHJldjpGZ0FBQUFkZmFXUUFYOHBUcTlpM1U4UU1YWHZ0QUE%3D"
|
|
200
|
+
* }
|
|
201
|
+
* }
|
|
202
|
+
* }
|
|
203
|
+
*/
|
|
83
204
|
type AssignmentsResponse = {
|
|
84
205
|
data: {
|
|
85
206
|
/** Assignment created date. */
|
|
@@ -124,6 +245,19 @@ type ConsumptionEventsResponse = {
|
|
|
124
245
|
prev?: Href;
|
|
125
246
|
};
|
|
126
247
|
};
|
|
248
|
+
/**
|
|
249
|
+
* @example
|
|
250
|
+
* {
|
|
251
|
+
* error: "util.Error",
|
|
252
|
+
* errors: [
|
|
253
|
+
* {
|
|
254
|
+
* code: "LICENSES-123",
|
|
255
|
+
* title: "error title"
|
|
256
|
+
* }
|
|
257
|
+
* ],
|
|
258
|
+
* message: "error message"
|
|
259
|
+
* }
|
|
260
|
+
*/
|
|
127
261
|
type ErrorResponse = {
|
|
128
262
|
/** @deprecated
|
|
129
263
|
* Error type */
|
|
@@ -144,6 +278,43 @@ type Href = {
|
|
|
144
278
|
/** link */
|
|
145
279
|
href?: string;
|
|
146
280
|
};
|
|
281
|
+
/**
|
|
282
|
+
* @example
|
|
283
|
+
* {
|
|
284
|
+
* allotments: [
|
|
285
|
+
* {
|
|
286
|
+
* name: "analyzer_time",
|
|
287
|
+
* overage: 100,
|
|
288
|
+
* units: 300,
|
|
289
|
+
* unitsUsed: 242,
|
|
290
|
+
* usageClass: "time"
|
|
291
|
+
* },
|
|
292
|
+
* {
|
|
293
|
+
* name: "professional",
|
|
294
|
+
* units: 200,
|
|
295
|
+
* unitsUsed: 15,
|
|
296
|
+
* usageClass: "assigned"
|
|
297
|
+
* }
|
|
298
|
+
* ],
|
|
299
|
+
* licenseKey: "hejhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6IktFWTEifQ.eyJqdGkiOiIxZjZkZTc0Zi04MDcyLTRjMTQtYjc1OS02ZjlkYmJmYWM5MjAiLCJsaWNlbnNlIjoiOTk5OTAwMDAwMDAwMTIzNCJ9.fwa6l6gY1MR_Ja2OMnV65V68fbzQYW5OAKUFnLfG9oZjNAbjhdDkZvS2S2zHaBnSrSva1ARh5iq_S0KTBOKKcJJDTb7jRVURyaAvbCuBDk_0ITrUudHaT9U_Mc9EKkfT8mR6vthhZxVzEhyYPFS7gDw7M6bav2ntpDsoJFPgous",
|
|
300
|
+
* licenseNumber: "9999000000001204",
|
|
301
|
+
* origin: "Internal",
|
|
302
|
+
* parameters: [
|
|
303
|
+
* {
|
|
304
|
+
* name: "qlikAlerting",
|
|
305
|
+
* valid: "./.",
|
|
306
|
+
* values: {
|
|
307
|
+
* "saas_alerting": "FULL"
|
|
308
|
+
* }
|
|
309
|
+
* }
|
|
310
|
+
* ],
|
|
311
|
+
* product: "Qlik Sense Enterprise SaaS",
|
|
312
|
+
* secondaryNumber: "12345",
|
|
313
|
+
* status: "Ok",
|
|
314
|
+
* trial: false,
|
|
315
|
+
* valid: "2018-01-01/2018-12-31"
|
|
316
|
+
* }
|
|
317
|
+
*/
|
|
147
318
|
type LicenseOverview = {
|
|
148
319
|
allotments: {
|
|
149
320
|
name: "professional" | "analyzer" | "analyzer_time";
|
|
@@ -153,6 +324,8 @@ type LicenseOverview = {
|
|
|
153
324
|
unitsUsed: number;
|
|
154
325
|
usageClass: string;
|
|
155
326
|
}[];
|
|
327
|
+
/** the capability bank id */
|
|
328
|
+
capabilityBankId?: string;
|
|
156
329
|
/** An ISO 8601 timestamp for when the license was last changed. */
|
|
157
330
|
changeTime?: string;
|
|
158
331
|
/** An ISO 8601 timestamp for when the latest time the license has been known to be valid, a missing value indicates the indefinite future. */
|
|
@@ -191,6 +364,17 @@ type LicenseOverview = {
|
|
|
191
364
|
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
192
365
|
valid: string;
|
|
193
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
* @example
|
|
369
|
+
* {
|
|
370
|
+
* origin: "Internal",
|
|
371
|
+
* product: "Qlik Sense Business",
|
|
372
|
+
* status: "Ok",
|
|
373
|
+
* trial: false,
|
|
374
|
+
* type: "Signed",
|
|
375
|
+
* valid: "2018-01-01/2018-12-31"
|
|
376
|
+
* }
|
|
377
|
+
*/
|
|
194
378
|
type LicenseStatus = {
|
|
195
379
|
/** Origin of license key. */
|
|
196
380
|
origin: "Internal" | "External";
|
|
@@ -205,6 +389,13 @@ type LicenseStatus = {
|
|
|
205
389
|
/** Period that the license is currently set to be active. Represented as an ISO 8601 time interval with start and end. */
|
|
206
390
|
valid: string;
|
|
207
391
|
};
|
|
392
|
+
/**
|
|
393
|
+
* @example
|
|
394
|
+
* {
|
|
395
|
+
* autoAssignAnalyzer: true,
|
|
396
|
+
* autoAssignProfessional: false
|
|
397
|
+
* }
|
|
398
|
+
*/
|
|
208
399
|
type SettingsBody = {
|
|
209
400
|
/** If analyzer users are available, they will be automatically assigned. Otherwise, analyzer capacity will be assigned, if available. */
|
|
210
401
|
autoAssignAnalyzer?: boolean;
|
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"enigma.js": "^2.14.0",
|
|
15
15
|
"lodash": "^4.17.21",
|
|
16
16
|
"nanoid": "^5.0.9",
|
|
17
|
-
"ws": "^8.18.
|
|
17
|
+
"ws": "^8.18.1"
|
|
18
18
|
},
|
|
19
|
-
"packageManager": "pnpm@
|
|
19
|
+
"packageManager": "pnpm@10.4.1",
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=20"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
".": "./index.js",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"./qix": "./qix.js",
|
|
57
57
|
"./auth": "./auth.js"
|
|
58
58
|
},
|
|
59
|
-
"version": "1.
|
|
59
|
+
"version": "1.29.0"
|
|
60
60
|
}
|
package/qix.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { H as HostConfig } from './auth-types-PkN9CAF_.js';
|
|
2
2
|
import './invoke-fetch-types-BXn-uSF5.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2351.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
|
@@ -3752,6 +3752,12 @@ type NxDimensionInfo = {
|
|
|
3752
3752
|
* Refers to a dimension stored in the library.
|
|
3753
3753
|
*/
|
|
3754
3754
|
qLibraryId?: string;
|
|
3755
|
+
/**
|
|
3756
|
+
* The expanded and stripped dimension name used internally in engine.
|
|
3757
|
+
*
|
|
3758
|
+
* Stability: *experimental*
|
|
3759
|
+
*/
|
|
3760
|
+
qEffectiveDimensionName?: string;
|
|
3755
3761
|
};
|
|
3756
3762
|
type NxDimensionType = "D" | "NX_DIMENSION_TYPE_DISCRETE" | "N" | "NX_DIMENSION_TYPE_NUMERIC" | "T" | "NX_DIMENSION_TYPE_TIME";
|
|
3757
3763
|
type NxDownloadInfo = {
|
|
@@ -4156,6 +4162,7 @@ type NxLibraryDimension = {
|
|
|
4156
4162
|
* Alias of the dimension.
|
|
4157
4163
|
*/
|
|
4158
4164
|
qAlias?: string;
|
|
4165
|
+
qScriptGenerated?: boolean;
|
|
4159
4166
|
};
|
|
4160
4167
|
type NxLibraryDimensionDef = {
|
|
4161
4168
|
/**
|
|
@@ -4180,6 +4187,7 @@ type NxLibraryDimensionDef = {
|
|
|
4180
4187
|
* Alias of the dimension.
|
|
4181
4188
|
*/
|
|
4182
4189
|
qAlias?: string;
|
|
4190
|
+
qScriptGenerated?: boolean;
|
|
4183
4191
|
};
|
|
4184
4192
|
/**
|
|
4185
4193
|
* Information about the library measure. Is the layout for _NxLibraryMeasureDef_.
|
|
@@ -4203,6 +4211,7 @@ type NxLibraryMeasure = {
|
|
|
4203
4211
|
* This parameter is optional.
|
|
4204
4212
|
*/
|
|
4205
4213
|
qNumFormat?: FieldAttributes;
|
|
4214
|
+
qScriptGenerated?: boolean;
|
|
4206
4215
|
};
|
|
4207
4216
|
type NxLibraryMeasureDef = {
|
|
4208
4217
|
/**
|
|
@@ -4241,6 +4250,7 @@ type NxLibraryMeasureDef = {
|
|
|
4241
4250
|
* This parameter is optional.
|
|
4242
4251
|
*/
|
|
4243
4252
|
qNumFormat?: FieldAttributes;
|
|
4253
|
+
qScriptGenerated?: boolean;
|
|
4244
4254
|
};
|
|
4245
4255
|
type NxLinkedObjectInfo = {
|
|
4246
4256
|
/**
|
|
@@ -5187,6 +5197,12 @@ type NxTreeDimensionInfo = {
|
|
|
5187
5197
|
* Refers to a dimension stored in the library.
|
|
5188
5198
|
*/
|
|
5189
5199
|
qLibraryId?: string;
|
|
5200
|
+
/**
|
|
5201
|
+
* The expanded and stripped dimension name used internally in engine.
|
|
5202
|
+
*
|
|
5203
|
+
* Stability: *experimental*
|
|
5204
|
+
*/
|
|
5205
|
+
qEffectiveDimensionName?: string;
|
|
5190
5206
|
};
|
|
5191
5207
|
type NxTreeMultiRangeSelectInfo = {
|
|
5192
5208
|
/**
|
package/reload-tasks.d.ts
CHANGED
|
@@ -6,10 +6,28 @@ type Error = {
|
|
|
6
6
|
detail?: string;
|
|
7
7
|
title: string;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* errors: [
|
|
13
|
+
* {
|
|
14
|
+
* code: "TASKS-123",
|
|
15
|
+
* title: "short error message"
|
|
16
|
+
* }
|
|
17
|
+
* ],
|
|
18
|
+
* traceId: "7975401f3954aa47"
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
9
21
|
type Errors = {
|
|
10
22
|
errors?: Error[];
|
|
11
23
|
traceId?: string;
|
|
12
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* {
|
|
28
|
+
* href: "http://example.com"
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
13
31
|
type Href = {
|
|
14
32
|
href: string;
|
|
15
33
|
};
|
|
@@ -43,6 +61,8 @@ type Task = TaskBase & {
|
|
|
43
61
|
/** @deprecated
|
|
44
62
|
* The reason why the task was disabled. */
|
|
45
63
|
log?: string;
|
|
64
|
+
/** A flag indicating whether the task has been migrated to the new scheduling service. */
|
|
65
|
+
migrated?: boolean;
|
|
46
66
|
/** The next time the task will execute. */
|
|
47
67
|
nextExecutionTime?: string;
|
|
48
68
|
/** The space ID of the application */
|