@qlik/api 1.29.0 → 1.30.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.js +2 -2
- package/apps.d.ts +1 -11
- package/apps.js +2 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +36 -36
- package/automations.js +2 -2
- package/brands.js +2 -2
- package/chunks/{5MRIMVKS.js → F5UDCCRD.js} +17 -20
- package/chunks/{QOOCP2TS.js → FKCZFVJL.js} +1 -1
- package/chunks/{NBW6PHZU.js → G6QUM5WQ.js} +27 -6
- package/chunks/{5XNSGPGZ.js → IQBP2PKS.js} +1 -1
- package/chunks/{2BRBIRM2.js → JIX6RMFP.js} +1 -1
- package/chunks/{4D5NADHK.js → OTTC4QSX.js} +1 -1
- package/chunks/{WQYEWU54.js → PTDXR7AY.js} +2 -2
- package/chunks/{KYCIMQ4L.js → QK4TMJ64.js} +1 -1
- package/chunks/{MGXEGSJC.js → QWQLGDMI.js} +2 -2
- package/chunks/{2B7YWDQC.js → TXC5XORK.js} +3 -3
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +1 -1
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +20 -13
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +6 -2
- package/index.js +29 -4
- package/items.js +2 -2
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +516 -0
- package/oauth-clients.js +112 -0
- package/package.json +3 -2
- package/qix.d.ts +3 -3
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +2 -0
- package/reloads.js +2 -2
- package/reports.d.ts +2 -0
- package/reports.js +2 -2
- package/roles.d.ts +12 -2
- package/roles.js +2 -2
- package/spaces.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
|
@@ -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("./
|
|
4
|
+
return isNode ? import("./OTTC4QSX.js") : import("./F5UDCCRD.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("./
|
|
11
|
+
return isNode ? import("./QWQLGDMI.js") : import("./F5UDCCRD.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("./
|
|
18
|
+
return isNode ? import("./JIX6RMFP.js") : import("./F5UDCCRD.js").then(
|
|
19
19
|
(mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig)
|
|
20
20
|
);
|
|
21
21
|
}
|
package/collections.js
CHANGED
package/csp-origins.js
CHANGED
package/data-assets.js
CHANGED
package/data-connections.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ type ConnectionGet = {
|
|
|
156
156
|
qSeparateCredentials: boolean;
|
|
157
157
|
/** Type of connection, i.e. provider type of underlying connector */
|
|
158
158
|
qType: string;
|
|
159
|
-
/** Encrypted base Qri string */
|
|
159
|
+
/** Encrypted base Qri string (filterable using SCIM filter, e.g. filter='qri co "snowflake"') */
|
|
160
160
|
qri?: string;
|
|
161
161
|
/** ID of the space to which the connection belongs */
|
|
162
162
|
space?: string;
|
package/data-connections.js
CHANGED
package/data-credentials.js
CHANGED
package/data-files.js
CHANGED
package/extensions.js
CHANGED
package/glossaries.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* A JSON Patch document as defined in
|
|
5
|
+
* A JSON Patch document as defined in https://tools.ietf.org/html/rfc6902.
|
|
6
6
|
*/
|
|
7
7
|
type JSONPatch = {
|
|
8
8
|
/** The operation to be performed. */
|
|
@@ -115,6 +115,7 @@ type AtlasTerm = {
|
|
|
115
115
|
};
|
|
116
116
|
type CategoriesResult = {
|
|
117
117
|
data: Category[];
|
|
118
|
+
/** URLs to a resource request */
|
|
118
119
|
links?: PageLinks;
|
|
119
120
|
meta?: ResultMeta;
|
|
120
121
|
};
|
|
@@ -128,7 +129,7 @@ type Category = {
|
|
|
128
129
|
id: string;
|
|
129
130
|
name: string;
|
|
130
131
|
parentId?: string;
|
|
131
|
-
/** This list contains the
|
|
132
|
+
/** This list contains the UIDs of the stewards of the category. */
|
|
132
133
|
stewards?: string[];
|
|
133
134
|
readonly updatedAt: string;
|
|
134
135
|
/** The uid of the user who last updated the category */
|
|
@@ -139,7 +140,7 @@ type CreateCategory = {
|
|
|
139
140
|
/** The name of the category. May not be identical to another category belonging to the same parent. */
|
|
140
141
|
name?: string;
|
|
141
142
|
parentId?: string;
|
|
142
|
-
/** This list contains the
|
|
143
|
+
/** This list contains the UIDs of the stewards of the category. */
|
|
143
144
|
stewards?: string[];
|
|
144
145
|
};
|
|
145
146
|
type CreateGlossary = {
|
|
@@ -164,7 +165,7 @@ type CreateTerm = {
|
|
|
164
165
|
name: string;
|
|
165
166
|
relatedInformation?: string;
|
|
166
167
|
relatesTo?: TermRelatesTo[];
|
|
167
|
-
/** This list contain the
|
|
168
|
+
/** This list contain the UIDs for the term's stewards */
|
|
168
169
|
stewards?: string[];
|
|
169
170
|
tags?: string[];
|
|
170
171
|
};
|
|
@@ -266,6 +267,7 @@ type ExportTerm = {
|
|
|
266
267
|
};
|
|
267
268
|
type GlossariesResult = {
|
|
268
269
|
data?: Glossary[];
|
|
270
|
+
/** URLs to a resource request */
|
|
269
271
|
links?: PageLinks;
|
|
270
272
|
meta?: ResultMeta;
|
|
271
273
|
};
|
|
@@ -284,7 +286,7 @@ type Glossary = {
|
|
|
284
286
|
overview: string;
|
|
285
287
|
/** The unique identifier of the glossary owner */
|
|
286
288
|
ownerId: string;
|
|
287
|
-
/** The unique identifier of the space
|
|
289
|
+
/** The unique identifier of the space containing the glossary */
|
|
288
290
|
spaceId: string;
|
|
289
291
|
/** List of tags associated with the glossary. */
|
|
290
292
|
tags: string[];
|
|
@@ -327,12 +329,16 @@ type ImportTerm = {
|
|
|
327
329
|
};
|
|
328
330
|
type LinksResult = {
|
|
329
331
|
data?: TermLinksTo[];
|
|
332
|
+
/** URLs to a resource request */
|
|
330
333
|
links?: PageLinks;
|
|
331
334
|
meta?: ResultMeta;
|
|
332
335
|
};
|
|
333
336
|
type PageLink = {
|
|
334
337
|
href?: string;
|
|
335
338
|
};
|
|
339
|
+
/**
|
|
340
|
+
* URLs to a resource request
|
|
341
|
+
*/
|
|
336
342
|
type PageLinks = {
|
|
337
343
|
next?: PageLink;
|
|
338
344
|
prev?: PageLink;
|
|
@@ -357,7 +363,7 @@ type StewardDetail = {
|
|
|
357
363
|
userId?: string;
|
|
358
364
|
};
|
|
359
365
|
type Term = {
|
|
360
|
-
abbreviation
|
|
366
|
+
abbreviation: string;
|
|
361
367
|
categories?: string[];
|
|
362
368
|
readonly createdAt: string;
|
|
363
369
|
readonly createdBy: string;
|
|
@@ -371,7 +377,7 @@ type Term = {
|
|
|
371
377
|
revision: number;
|
|
372
378
|
/** Terms status is used determine the status of a term */
|
|
373
379
|
status: TermStatus;
|
|
374
|
-
/** This list contains the
|
|
380
|
+
/** This list contains the UIDs of the terms data stewards. */
|
|
375
381
|
stewards: string[];
|
|
376
382
|
tags: string[];
|
|
377
383
|
readonly updatedAt: string;
|
|
@@ -436,6 +442,7 @@ type TermTemplate = {
|
|
|
436
442
|
};
|
|
437
443
|
type TermsResult = {
|
|
438
444
|
data: Term[];
|
|
445
|
+
/** URLs to a resource request */
|
|
439
446
|
links?: PageLinks;
|
|
440
447
|
meta?: ResultMeta;
|
|
441
448
|
};
|
|
@@ -558,7 +565,7 @@ type GetGlossaryHttpError = {
|
|
|
558
565
|
status: 400 | 403 | 404;
|
|
559
566
|
};
|
|
560
567
|
/**
|
|
561
|
-
* Updates glossary properties with json-patch
|
|
568
|
+
* Updates glossary properties with json-patch formatted data
|
|
562
569
|
*
|
|
563
570
|
* @param id The glossary id.
|
|
564
571
|
* @param body an object with the body content
|
|
@@ -696,7 +703,7 @@ type GetGlossaryCategoryHttpError = {
|
|
|
696
703
|
status: 400 | 403 | 404;
|
|
697
704
|
};
|
|
698
705
|
/**
|
|
699
|
-
* Updates category properties with json-patch
|
|
706
|
+
* Updates category properties with json-patch formatted data
|
|
700
707
|
*
|
|
701
708
|
* @param id The glossary id.
|
|
702
709
|
* @param categoryId The category id.
|
|
@@ -832,7 +839,7 @@ type GetGlossaryTermHttpError = {
|
|
|
832
839
|
status: 400 | 403 | 404;
|
|
833
840
|
};
|
|
834
841
|
/**
|
|
835
|
-
* Updates term properties with json-patch
|
|
842
|
+
* Updates term properties with json-patch formatted data
|
|
836
843
|
*
|
|
837
844
|
* @param id The glossary id.
|
|
838
845
|
* @param termId The term id.
|
|
@@ -1019,7 +1026,7 @@ interface GlossariesAPI {
|
|
|
1019
1026
|
*/
|
|
1020
1027
|
getGlossary: typeof getGlossary;
|
|
1021
1028
|
/**
|
|
1022
|
-
* Updates glossary properties with json-patch
|
|
1029
|
+
* Updates glossary properties with json-patch formatted data
|
|
1023
1030
|
*
|
|
1024
1031
|
* @param id The glossary id.
|
|
1025
1032
|
* @param body an object with the body content
|
|
@@ -1074,7 +1081,7 @@ interface GlossariesAPI {
|
|
|
1074
1081
|
*/
|
|
1075
1082
|
getGlossaryCategory: typeof getGlossaryCategory;
|
|
1076
1083
|
/**
|
|
1077
|
-
* Updates category properties with json-patch
|
|
1084
|
+
* Updates category properties with json-patch formatted data
|
|
1078
1085
|
*
|
|
1079
1086
|
* @param id The glossary id.
|
|
1080
1087
|
* @param categoryId The category id.
|
|
@@ -1124,7 +1131,7 @@ interface GlossariesAPI {
|
|
|
1124
1131
|
*/
|
|
1125
1132
|
getGlossaryTerm: typeof getGlossaryTerm;
|
|
1126
1133
|
/**
|
|
1127
|
-
* Updates term properties with json-patch
|
|
1134
|
+
* Updates term properties with json-patch formatted data
|
|
1128
1135
|
*
|
|
1129
1136
|
* @param id The glossary id.
|
|
1130
1137
|
* @param termId The term id.
|
package/glossaries.js
CHANGED
package/groups.js
CHANGED
package/identity-providers.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InterceptorsAPI, createInterceptors } from './interceptors.js';
|
|
2
|
-
import { registerAuthModule, setDefaultHostConfig, getAccessToken
|
|
2
|
+
import { AuthAPI, registerAuthModule, setDefaultHostConfig, getAccessToken } from './auth.js';
|
|
3
3
|
import { QixAPI } from './qix.js';
|
|
4
4
|
import { ApiKeysAPI } from './api-keys.js';
|
|
5
5
|
import { AppsAPI } from './apps.js';
|
|
@@ -18,6 +18,7 @@ import { GroupsAPI } from './groups.js';
|
|
|
18
18
|
import { IdentityProvidersAPI } from './identity-providers.js';
|
|
19
19
|
import { ItemsAPI } from './items.js';
|
|
20
20
|
import { LicensesAPI } from './licenses.js';
|
|
21
|
+
import { OauthClientsAPI } from './oauth-clients.js';
|
|
21
22
|
import { QuotasAPI } from './quotas.js';
|
|
22
23
|
import { ReloadTasksAPI } from './reload-tasks.js';
|
|
23
24
|
import { ReloadsAPI } from './reloads.js';
|
|
@@ -60,6 +61,7 @@ declare const interceptors: InterceptorsAPI & {
|
|
|
60
61
|
};
|
|
61
62
|
declare const items: ItemsAPI;
|
|
62
63
|
declare const licenses: LicensesAPI;
|
|
64
|
+
declare const oauthClients: OauthClientsAPI;
|
|
63
65
|
declare const qix: QixAPI & {
|
|
64
66
|
withHostConfig: (hostConfig: HostConfig | undefined) => QixAPI;
|
|
65
67
|
};
|
|
@@ -116,6 +118,8 @@ interface QlikAPI {
|
|
|
116
118
|
items: ItemsAPI;
|
|
117
119
|
/** Functions for the licenses api */
|
|
118
120
|
licenses: LicensesAPI;
|
|
121
|
+
/** Functions for the oauthClients api */
|
|
122
|
+
oauthClients: OauthClientsAPI;
|
|
119
123
|
/** Functions for the qix api */
|
|
120
124
|
qix: QixAPI;
|
|
121
125
|
/** Functions for the quotas api */
|
|
@@ -158,4 +162,4 @@ declare const api: QlikAPI & {
|
|
|
158
162
|
}) => QlikAPI;
|
|
159
163
|
};
|
|
160
164
|
|
|
161
|
-
export { type CreateQlikApiProps, type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, createQlikApi, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, interceptors, items, licenses, qix, quotas, reloadTasks, reloads, reports, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };
|
|
165
|
+
export { type CreateQlikApiProps, type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, createQlikApi, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, interceptors, items, licenses, oauthClients, qix, quotas, reloadTasks, reloads, reports, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };
|
package/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qix_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/IQBP2PKS.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/QK4TMJ64.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/
|
|
14
|
-
import "./chunks/
|
|
13
|
+
} from "./chunks/PTDXR7AY.js";
|
|
14
|
+
import "./chunks/TXC5XORK.js";
|
|
15
15
|
import "./chunks/2ZQ3ZX7F.js";
|
|
16
16
|
|
|
17
17
|
// src/runtime-api-generator/runtime-api-generator-common.ts
|
|
@@ -533,6 +533,27 @@ var licensesMiniModule = apiDefToApiPublic("licenses", {
|
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
});
|
|
536
|
+
var oauthClientsMiniModule = apiDefToApiPublic("oauth-clients", {
|
|
537
|
+
api: {
|
|
538
|
+
v1: {
|
|
539
|
+
"oauth-clients": {
|
|
540
|
+
"": ["getOAuthClients:GQ:", "createOAuthClient:PBJ:"],
|
|
541
|
+
"{id}": {
|
|
542
|
+
"": ["deleteOAuthClient:D:", "getOAuthClient:G:", "patchOAuthClient:ABJ:"],
|
|
543
|
+
actions: { publish: ["publishOAuthClient:P:"] },
|
|
544
|
+
"client-secrets": { "": ["createOAuthClientSecret:P:"], "{hint}": ["deleteOAuthClientSecret:D:"] },
|
|
545
|
+
"connection-configs": {
|
|
546
|
+
me: [
|
|
547
|
+
"deleteOAuthClientConnectionConfig:D:",
|
|
548
|
+
"getOAuthClientConnectionConfig:G:",
|
|
549
|
+
"patchOAuthClientConnectionConfig:ABJ:"
|
|
550
|
+
]
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
});
|
|
536
557
|
var quotasMiniModule = apiDefToApiPublic("quotas", {
|
|
537
558
|
api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
|
|
538
559
|
});
|
|
@@ -709,6 +730,7 @@ var identityProviders = identityProvidersMiniModule(void 0, interceptors_default
|
|
|
709
730
|
var interceptors = interceptors_default;
|
|
710
731
|
var items = itemsMiniModule(void 0, interceptors_default);
|
|
711
732
|
var licenses = licensesMiniModule(void 0, interceptors_default);
|
|
733
|
+
var oauthClients = oauthClientsMiniModule(void 0, interceptors_default);
|
|
712
734
|
var qix = qix_default;
|
|
713
735
|
var quotas = quotasMiniModule(void 0, interceptors_default);
|
|
714
736
|
var reloadTasks = reloadTasksMiniModule(void 0, interceptors_default);
|
|
@@ -746,6 +768,7 @@ var createQlikApi = (props) => {
|
|
|
746
768
|
interceptors: scopedInterceptors,
|
|
747
769
|
items: itemsMiniModule(props?.hostConfig, scopedInterceptors),
|
|
748
770
|
licenses: licensesMiniModule(props?.hostConfig, scopedInterceptors),
|
|
771
|
+
oauthClients: oauthClientsMiniModule(props?.hostConfig, scopedInterceptors),
|
|
749
772
|
qix: qix_default.withHostConfig(props?.hostConfig),
|
|
750
773
|
quotas: quotasMiniModule(props?.hostConfig, scopedInterceptors),
|
|
751
774
|
reloadTasks: reloadTasksMiniModule(props?.hostConfig, scopedInterceptors),
|
|
@@ -783,6 +806,7 @@ var api = {
|
|
|
783
806
|
interceptors,
|
|
784
807
|
items,
|
|
785
808
|
licenses,
|
|
809
|
+
oauthClients,
|
|
786
810
|
qix,
|
|
787
811
|
quotas,
|
|
788
812
|
reloadTasks,
|
|
@@ -823,6 +847,7 @@ export {
|
|
|
823
847
|
interceptors,
|
|
824
848
|
items,
|
|
825
849
|
licenses,
|
|
850
|
+
oauthClients,
|
|
826
851
|
qix,
|
|
827
852
|
quotas,
|
|
828
853
|
reloadTasks,
|
package/items.js
CHANGED
package/licenses.js
CHANGED