@qlik/api 1.29.0 → 1.31.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 (86) hide show
  1. package/api-keys.d.ts +2 -2
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +5 -13
  4. package/apps.js +2 -2
  5. package/audits.d.ts +2 -2
  6. package/audits.js +2 -2
  7. package/{auth-types-PkN9CAF_.d.ts → auth-types-DqfMuSRX.d.ts} +1 -0
  8. package/auth.d.ts +27 -3
  9. package/auth.js +8 -4
  10. package/automations.d.ts +38 -38
  11. package/automations.js +2 -2
  12. package/brands.d.ts +2 -2
  13. package/brands.js +2 -2
  14. package/chunks/{2BRBIRM2.js → 6ZONDHRN.js} +1 -1
  15. package/chunks/{2B7YWDQC.js → DLKLPD7T.js} +3 -3
  16. package/chunks/ETNHFALU.js +61 -0
  17. package/chunks/{NBW6PHZU.js → FKDGGR2O.js} +158 -45
  18. package/chunks/{KYCIMQ4L.js → GUU3KZGK.js} +11 -1
  19. package/chunks/{5XNSGPGZ.js → KBSD75QL.js} +1 -1
  20. package/chunks/{4D5NADHK.js → LY7RP2HA.js} +7 -3
  21. package/chunks/{QOOCP2TS.js → M64RLKVG.js} +2074 -12
  22. package/chunks/{5MRIMVKS.js → PLVPW5IR.js} +17 -20
  23. package/chunks/{MGXEGSJC.js → UZTIZ4H5.js} +392 -372
  24. package/chunks/{WQYEWU54.js → YKZ2QYHN.js} +2 -2
  25. package/collections.d.ts +3 -3
  26. package/collections.js +2 -2
  27. package/csp-origins.d.ts +2 -2
  28. package/csp-origins.js +2 -2
  29. package/data-assets.d.ts +2 -2
  30. package/data-assets.js +2 -2
  31. package/data-connections.d.ts +8 -8
  32. package/data-connections.js +2 -2
  33. package/data-credentials.d.ts +2 -2
  34. package/data-credentials.js +2 -2
  35. package/data-files.d.ts +2 -2
  36. package/data-files.js +2 -2
  37. package/docs/authentication.md +47 -0
  38. package/extensions.d.ts +2 -2
  39. package/extensions.js +2 -2
  40. package/glossaries.d.ts +22 -15
  41. package/glossaries.js +2 -2
  42. package/groups.d.ts +5 -4
  43. package/groups.js +2 -2
  44. package/identity-providers.d.ts +2 -2
  45. package/identity-providers.js +2 -2
  46. package/index.d.ts +10 -4
  47. package/index.js +29 -4
  48. package/interceptors.d.ts +2 -2
  49. package/{invoke-fetch-types-BXn-uSF5.d.ts → invoke-fetch-types-Cq7bjkqn.d.ts} +10 -2
  50. package/items.d.ts +3 -3
  51. package/items.js +2 -2
  52. package/licenses.d.ts +5 -2
  53. package/licenses.js +2 -2
  54. package/oauth-clients.d.ts +521 -0
  55. package/oauth-clients.js +112 -0
  56. package/package.json +4 -2
  57. package/qix.d.ts +422 -27
  58. package/qix.js +2 -2
  59. package/quotas.d.ts +2 -2
  60. package/quotas.js +2 -2
  61. package/reload-tasks.d.ts +4 -2
  62. package/reload-tasks.js +2 -2
  63. package/reloads.d.ts +6 -2
  64. package/reloads.js +2 -2
  65. package/reports.d.ts +4 -2
  66. package/reports.js +2 -2
  67. package/roles.d.ts +14 -4
  68. package/roles.js +2 -2
  69. package/spaces.d.ts +3 -7
  70. package/spaces.js +2 -2
  71. package/temp-contents.d.ts +2 -2
  72. package/temp-contents.js +2 -2
  73. package/tenants.d.ts +2 -2
  74. package/tenants.js +2 -2
  75. package/themes.d.ts +2 -2
  76. package/themes.js +2 -2
  77. package/transports.d.ts +2 -2
  78. package/transports.js +2 -2
  79. package/users.d.ts +2 -2
  80. package/users.js +2 -2
  81. package/web-integrations.d.ts +2 -2
  82. package/web-integrations.js +2 -2
  83. package/web-notifications.d.ts +2 -2
  84. package/web-notifications.js +2 -2
  85. package/webhooks.d.ts +2 -2
  86. package/webhooks.js +2 -2
@@ -0,0 +1,112 @@
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/YKZ2QYHN.js";
5
+ import "./chunks/DLKLPD7T.js";
6
+ import "./chunks/2ZQ3ZX7F.js";
7
+
8
+ // src/public/rest/oauth-clients.ts
9
+ var getOAuthClients = async (query, options) => invokeFetch("oauth-clients", {
10
+ method: "get",
11
+ pathTemplate: "/api/v1/oauth-clients",
12
+ query,
13
+ options
14
+ });
15
+ var createOAuthClient = async (body, options) => invokeFetch("oauth-clients", {
16
+ method: "post",
17
+ pathTemplate: "/api/v1/oauth-clients",
18
+ body,
19
+ contentType: "application/json",
20
+ options
21
+ });
22
+ var deleteOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
23
+ method: "delete",
24
+ pathTemplate: "/api/v1/oauth-clients/{id}",
25
+ pathVariables: { id },
26
+ options
27
+ });
28
+ var getOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
29
+ method: "get",
30
+ pathTemplate: "/api/v1/oauth-clients/{id}",
31
+ pathVariables: { id },
32
+ options
33
+ });
34
+ var patchOAuthClient = async (id, body, options) => invokeFetch("oauth-clients", {
35
+ method: "patch",
36
+ pathTemplate: "/api/v1/oauth-clients/{id}",
37
+ pathVariables: { id },
38
+ body,
39
+ contentType: "application/json",
40
+ options
41
+ });
42
+ var publishOAuthClient = async (id, options) => invokeFetch("oauth-clients", {
43
+ method: "post",
44
+ pathTemplate: "/api/v1/oauth-clients/{id}/actions/publish",
45
+ pathVariables: { id },
46
+ options
47
+ });
48
+ var createOAuthClientSecret = async (id, options) => invokeFetch("oauth-clients", {
49
+ method: "post",
50
+ pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets",
51
+ pathVariables: { id },
52
+ options
53
+ });
54
+ var deleteOAuthClientSecret = async (id, hint, options) => invokeFetch("oauth-clients", {
55
+ method: "delete",
56
+ pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets/{hint}",
57
+ pathVariables: { id, hint },
58
+ options
59
+ });
60
+ var deleteOAuthClientConnectionConfig = async (id, options) => invokeFetch("oauth-clients", {
61
+ method: "delete",
62
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
63
+ pathVariables: { id },
64
+ options
65
+ });
66
+ var getOAuthClientConnectionConfig = async (id, options) => invokeFetch("oauth-clients", {
67
+ method: "get",
68
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
69
+ pathVariables: { id },
70
+ options
71
+ });
72
+ var patchOAuthClientConnectionConfig = async (id, body, options) => invokeFetch("oauth-clients", {
73
+ method: "patch",
74
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
75
+ pathVariables: { id },
76
+ body,
77
+ contentType: "application/json",
78
+ options
79
+ });
80
+ function clearCache() {
81
+ return clearApiCache("oauth-clients");
82
+ }
83
+ var oauthClientsExport = {
84
+ getOAuthClients,
85
+ createOAuthClient,
86
+ deleteOAuthClient,
87
+ getOAuthClient,
88
+ patchOAuthClient,
89
+ publishOAuthClient,
90
+ createOAuthClientSecret,
91
+ deleteOAuthClientSecret,
92
+ deleteOAuthClientConnectionConfig,
93
+ getOAuthClientConnectionConfig,
94
+ patchOAuthClientConnectionConfig,
95
+ clearCache
96
+ };
97
+ var oauth_clients_default = oauthClientsExport;
98
+ export {
99
+ clearCache,
100
+ createOAuthClient,
101
+ createOAuthClientSecret,
102
+ oauth_clients_default as default,
103
+ deleteOAuthClient,
104
+ deleteOAuthClientConnectionConfig,
105
+ deleteOAuthClientSecret,
106
+ getOAuthClient,
107
+ getOAuthClientConnectionConfig,
108
+ getOAuthClients,
109
+ patchOAuthClient,
110
+ patchOAuthClientConnectionConfig,
111
+ publishOAuthClient
112
+ };
package/package.json CHANGED
@@ -12,11 +12,12 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "enigma.js": "^2.14.0",
15
+ "extend": "3.0.2",
15
16
  "lodash": "^4.17.21",
16
17
  "nanoid": "^5.0.9",
17
18
  "ws": "^8.18.1"
18
19
  },
19
- "packageManager": "pnpm@10.4.1",
20
+ "packageManager": "pnpm@10.8.1",
20
21
  "engines": {
21
22
  "node": ">=20"
22
23
  },
@@ -39,6 +40,7 @@
39
40
  "./identity-providers": "./identity-providers.js",
40
41
  "./items": "./items.js",
41
42
  "./licenses": "./licenses.js",
43
+ "./oauth-clients": "./oauth-clients.js",
42
44
  "./quotas": "./quotas.js",
43
45
  "./reload-tasks": "./reload-tasks.js",
44
46
  "./reloads": "./reloads.js",
@@ -56,5 +58,5 @@
56
58
  "./qix": "./qix.js",
57
59
  "./auth": "./auth.js"
58
60
  },
59
- "version": "1.29.0"
61
+ "version": "1.31.0"
60
62
  }