@qlik/api 1.19.0 → 1.21.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 (54) hide show
  1. package/api-keys.js +2 -2
  2. package/apps.js +2 -2
  3. package/audits.js +2 -2
  4. package/auth.d.ts +24 -1
  5. package/auth.js +2 -2
  6. package/automations.js +2 -2
  7. package/brands.js +2 -2
  8. package/chunks/{VISO65GO.js → 2OQLWLWE.js} +3 -3
  9. package/chunks/{P5AG7AME.js → 3FHEUGST.js} +1 -1
  10. package/chunks/{ILZFMC3L.js → 4M3Q6QY3.js} +19 -3
  11. package/chunks/{63L3IUY2.js → BUSRKHDX.js} +33 -5
  12. package/chunks/{BOJLTXK6.js → DTGUILK5.js} +2 -2
  13. package/chunks/{GLS4DAZ4.js → EUWNVVK5.js} +12 -4
  14. package/chunks/{AKBUFQRX.js → GVE5ABSG.js} +1 -1
  15. package/chunks/{J6G5ZOKI.js → JCJIPO2A.js} +1 -1
  16. package/chunks/{64RJJHEL.js → LVRC5AWE.js} +3 -1
  17. package/chunks/{KKAWWYOT.js → YQLW56LG.js} +11 -2
  18. package/collections.js +2 -2
  19. package/csp-origins.js +2 -2
  20. package/data-assets.js +2 -2
  21. package/data-connections.js +2 -2
  22. package/data-credentials.js +2 -2
  23. package/data-files.js +2 -2
  24. package/docs/authentication.md +30 -1
  25. package/extensions.js +2 -2
  26. package/glossaries.js +2 -2
  27. package/groups.d.ts +16 -4
  28. package/groups.js +2 -2
  29. package/identity-providers.js +2 -2
  30. package/index.d.ts +47 -40
  31. package/index.js +189 -84
  32. package/items.js +2 -2
  33. package/licenses.d.ts +1 -1
  34. package/licenses.js +2 -2
  35. package/package.json +2 -2
  36. package/qix.d.ts +19 -8
  37. package/qix.js +6 -4
  38. package/quotas.js +2 -2
  39. package/reload-tasks.js +2 -2
  40. package/reloads.d.ts +1 -1
  41. package/reloads.js +2 -2
  42. package/reports.d.ts +2 -0
  43. package/reports.js +2 -2
  44. package/roles.js +2 -2
  45. package/spaces.js +2 -2
  46. package/temp-contents.js +2 -2
  47. package/tenants.js +2 -2
  48. package/themes.js +2 -2
  49. package/transports.js +2 -2
  50. package/users.d.ts +2 -0
  51. package/users.js +2 -2
  52. package/web-integrations.js +2 -2
  53. package/web-notifications.js +2 -2
  54. package/webhooks.js +2 -2
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/BOJLTXK6.js";
5
- import "./chunks/VISO65GO.js";
4
+ } from "./chunks/DTGUILK5.js";
5
+ import "./chunks/2OQLWLWE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { openAppSession } from './qix.js';
2
- import { registerAuthModule, setDefaultHostConfig, getAccessToken } from './auth.js';
1
+ import { registerAuthModule, setDefaultHostConfig, getAccessToken, AuthAPI } from './auth.js';
2
+ import { QixAPI } from './qix.js';
3
3
  import { ApiKeysAPI } from './api-keys.js';
4
4
  import { AppsAPI } from './apps.js';
5
5
  import { AuditsAPI } from './audits.js';
@@ -31,8 +31,8 @@ import { UsersAPI } from './users.js';
31
31
  import { WebIntegrationsAPI } from './web-integrations.js';
32
32
  import { WebNotificationsAPI } from './web-notifications.js';
33
33
  import { WebhooksAPI } from './webhooks.js';
34
+ import { H as HostConfig } from './auth-types-PkN9CAF_.js';
34
35
  import './global.types--37uwGji.js';
35
- import './auth-types-PkN9CAF_.js';
36
36
 
37
37
  declare const apiKeys: ApiKeysAPI;
38
38
  declare const apps: AppsAPI;
@@ -56,8 +56,8 @@ declare const groups: GroupsAPI;
56
56
  declare const identityProviders: IdentityProvidersAPI;
57
57
  declare const items: ItemsAPI;
58
58
  declare const licenses: LicensesAPI;
59
- declare const qix: {
60
- openAppSession: typeof openAppSession;
59
+ declare const qix: QixAPI & {
60
+ withHostConfig: (hostConfig: HostConfig | undefined) => QixAPI;
61
61
  };
62
62
  declare const quotas: QuotasAPI;
63
63
  declare const reloadTasks: ReloadTasksAPI;
@@ -75,73 +75,80 @@ declare const webNotifications: WebNotificationsAPI;
75
75
  declare const webhooks: WebhooksAPI;
76
76
  interface QlikAPI {
77
77
  /** Functions for the apiKeys api */
78
- apiKeys: typeof apiKeys;
78
+ apiKeys: ApiKeysAPI;
79
79
  /** Functions for the apps api */
80
- apps: typeof apps;
80
+ apps: AppsAPI;
81
81
  /** Functions for the audits api */
82
- audits: typeof audits;
82
+ audits: AuditsAPI;
83
83
  /** Functions for the auth api */
84
- auth: typeof auth;
84
+ auth: AuthAPI;
85
85
  /** Functions for the automations api */
86
- automations: typeof automations;
86
+ automations: AutomationsAPI;
87
87
  /** Functions for the brands api */
88
- brands: typeof brands;
88
+ brands: BrandsAPI;
89
89
  /** Functions for the collections api */
90
- collections: typeof collections;
90
+ collections: CollectionsAPI;
91
91
  /** Functions for the cspOrigins api */
92
- cspOrigins: typeof cspOrigins;
92
+ cspOrigins: CspOriginsAPI;
93
93
  /** Functions for the dataAssets api */
94
- dataAssets: typeof dataAssets;
94
+ dataAssets: DataAssetsAPI;
95
95
  /** Functions for the dataConnections api */
96
- dataConnections: typeof dataConnections;
96
+ dataConnections: DataConnectionsAPI;
97
97
  /** Functions for the dataCredentials api */
98
- dataCredentials: typeof dataCredentials;
98
+ dataCredentials: DataCredentialsAPI;
99
99
  /** Functions for the dataFiles api */
100
- dataFiles: typeof dataFiles;
100
+ dataFiles: DataFilesAPI;
101
101
  /** Functions for the extensions api */
102
- extensions: typeof extensions;
102
+ extensions: ExtensionsAPI;
103
103
  /** Functions for the glossaries api */
104
- glossaries: typeof glossaries;
104
+ glossaries: GlossariesAPI;
105
105
  /** Functions for the groups api */
106
- groups: typeof groups;
106
+ groups: GroupsAPI;
107
107
  /** Functions for the identityProviders api */
108
- identityProviders: typeof identityProviders;
108
+ identityProviders: IdentityProvidersAPI;
109
109
  /** Functions for the items api */
110
- items: typeof items;
110
+ items: ItemsAPI;
111
111
  /** Functions for the licenses api */
112
- licenses: typeof licenses;
112
+ licenses: LicensesAPI;
113
113
  /** Functions for the qix api */
114
- qix: typeof qix;
114
+ qix: QixAPI;
115
115
  /** Functions for the quotas api */
116
- quotas: typeof quotas;
116
+ quotas: QuotasAPI;
117
117
  /** Functions for the reloadTasks api */
118
- reloadTasks: typeof reloadTasks;
118
+ reloadTasks: ReloadTasksAPI;
119
119
  /** Functions for the reloads api */
120
- reloads: typeof reloads;
120
+ reloads: ReloadsAPI;
121
121
  /** Functions for the reports api */
122
- reports: typeof reports;
122
+ reports: ReportsAPI;
123
123
  /** Functions for the roles api */
124
- roles: typeof roles;
124
+ roles: RolesAPI;
125
125
  /** Functions for the spaces api */
126
- spaces: typeof spaces;
126
+ spaces: SpacesAPI;
127
127
  /** Functions for the tempContents api */
128
- tempContents: typeof tempContents;
128
+ tempContents: TempContentsAPI;
129
129
  /** Functions for the tenants api */
130
- tenants: typeof tenants;
130
+ tenants: TenantsAPI;
131
131
  /** Functions for the themes api */
132
- themes: typeof themes;
132
+ themes: ThemesAPI;
133
133
  /** Functions for the transports api */
134
- transports: typeof transports;
134
+ transports: TransportsAPI;
135
135
  /** Functions for the users api */
136
- users: typeof users;
136
+ users: UsersAPI;
137
137
  /** Functions for the webIntegrations api */
138
- webIntegrations: typeof webIntegrations;
138
+ webIntegrations: WebIntegrationsAPI;
139
139
  /** Functions for the webNotifications api */
140
- webNotifications: typeof webNotifications;
140
+ webNotifications: WebNotificationsAPI;
141
141
  /** Functions for the webhooks api */
142
- webhooks: typeof webhooks;
142
+ webhooks: WebhooksAPI;
143
143
  }
144
+ declare const createQlikApi: (props?: {
145
+ hostConfig?: HostConfig;
146
+ }) => QlikAPI;
144
147
  /** Javascript/Typescript bindings to Qlik's platform API's */
145
- declare const api: QlikAPI;
148
+ declare const api: QlikAPI & {
149
+ createQlikApi: (props?: {
150
+ hostConfig?: HostConfig;
151
+ }) => QlikAPI;
152
+ };
146
153
 
147
- export { type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, items, licenses, qix, quotas, reloadTasks, reloads, reports, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };
154
+ export { type QlikAPI, apiKeys, apps, audits, auth, automations, brands, collections, createQlikApi, cspOrigins, dataAssets, dataConnections, dataCredentials, dataFiles, api as default, extensions, glossaries, groups, identityProviders, items, licenses, qix, quotas, reloadTasks, reloads, reports, roles, spaces, tempContents, tenants, themes, transports, users, webIntegrations, webNotifications, webhooks };