@qlik/api 1.32.0 → 1.34.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 (142) hide show
  1. package/api-keys.d.ts +13 -12
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +34 -34
  6. package/assistants.js +257 -201
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +12 -12
  13. package/automation-connections.js +75 -59
  14. package/automations.d.ts +29 -29
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +4 -4
  17. package/automl-deployments.js +14 -12
  18. package/automl-predictions.d.ts +13 -13
  19. package/automl-predictions.js +56 -44
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
  23. package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
  24. package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
  25. package/chunks/7MMXU6EL.js +86 -0
  26. package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
  27. package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
  28. package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
  29. package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
  30. package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
  31. package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +13 -13
  36. package/conditions.js +97 -75
  37. package/consumption.d.ts +4 -4
  38. package/consumption.js +11 -9
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +3 -3
  42. package/csrf-token.js +10 -8
  43. package/data-alerts.d.ts +22 -22
  44. package/data-alerts.js +139 -107
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +6 -6
  54. package/data-qualities.js +28 -22
  55. package/data-sets.d.ts +10 -10
  56. package/data-sets.js +59 -47
  57. package/data-sources.d.ts +7 -7
  58. package/data-sources.js +28 -22
  59. package/data-stores.d.ts +16 -16
  60. package/data-stores.js +92 -72
  61. package/dcaas.d.ts +6 -6
  62. package/dcaas.js +28 -22
  63. package/di-projects.d.ts +22 -22
  64. package/di-projects.js +148 -116
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +12 -12
  68. package/encryption.js +82 -62
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +9 -4
  78. package/index.js +102 -67
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +23 -23
  85. package/knowledgebases.js +153 -119
  86. package/licenses.d.ts +16 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +17 -17
  89. package/lineage-graphs.js +76 -60
  90. package/ml.d.ts +238 -60
  91. package/ml.js +391 -286
  92. package/notes.d.ts +4 -4
  93. package/notes.js +19 -15
  94. package/notifications.d.ts +4 -4
  95. package/notifications.js +11 -9
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +5 -5
  99. package/oauth-tokens.js +19 -15
  100. package/package.json +8 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +5 -5
  104. package/questions.js +22 -18
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +10 -10
  112. package/report-templates.js +64 -50
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +14 -14
  118. package/sharing-tasks.js +89 -69
  119. package/spaces.d.ts +27 -23
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +17 -17
  122. package/tasks.js +90 -70
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +9 -9
  132. package/ui-config.js +61 -47
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/notes.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * The possible states for the status of notes configuration GET or POST operation
@@ -51,7 +51,7 @@ type NotesUserSettings = {
51
51
  *
52
52
  * @throws GetNotesSettingsHttpError
53
53
  */
54
- declare const getNotesSettings: (options?: ApiCallOptions) => Promise<GetNotesSettingsHttpResponse>;
54
+ declare function getNotesSettings(options?: ApiCallOptions): Promise<GetNotesSettingsHttpResponse>;
55
55
  type GetNotesSettingsHttpResponse = {
56
56
  data: NotesUserSettings;
57
57
  headers: Headers;
@@ -68,7 +68,7 @@ type GetNotesSettingsHttpError = {
68
68
  * @param body an object with the body content
69
69
  * @throws SetNotesSettingsHttpError
70
70
  */
71
- declare const setNotesSettings: (body: NoteSettingsPutPayload, options?: ApiCallOptions) => Promise<SetNotesSettingsHttpResponse>;
71
+ declare function setNotesSettings(body: NoteSettingsPutPayload, options?: ApiCallOptions): Promise<SetNotesSettingsHttpResponse>;
72
72
  type SetNotesSettingsHttpResponse = {
73
73
  data: NoteSettingsPutResponse;
74
74
  headers: Headers;
package/notes.js CHANGED
@@ -1,23 +1,27 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/notes.ts
9
- var getNotesSettings = async (options) => invokeFetch("notes", {
10
- method: "get",
11
- pathTemplate: "/api/v1/notes/settings",
12
- options
13
- });
14
- var setNotesSettings = async (body, options) => invokeFetch("notes", {
15
- method: "put",
16
- pathTemplate: "/api/v1/notes/settings",
17
- body,
18
- contentType: "application/json",
19
- options
20
- });
9
+ async function getNotesSettings(options) {
10
+ return invokeFetch("notes", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/notes/settings",
13
+ options
14
+ });
15
+ }
16
+ async function setNotesSettings(body, options) {
17
+ return invokeFetch("notes", {
18
+ method: "put",
19
+ pathTemplate: "/api/v1/notes/settings",
20
+ body,
21
+ contentType: "application/json",
22
+ options
23
+ });
24
+ }
21
25
  function clearCache() {
22
26
  return clearApiCache("notes");
23
27
  }
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * An error object.
@@ -55,14 +55,14 @@ type NotificationsObject = {
55
55
  * @param query an object with query parameters
56
56
  * @throws GetNotificationsHttpError
57
57
  */
58
- declare const getNotifications: (query: {
58
+ declare function getNotifications(query: {
59
59
  /** If present, idenfies the language of the returned 'friendlyName' property. */
60
60
  locale?: string;
61
61
  /** If present, represents the 'manageableInHub' value to filter by. */
62
62
  manageableInHub?: true | false;
63
63
  /** If present, represents the 'subscribable' value to filter by. */
64
64
  subscribable?: true | false;
65
- }, options?: ApiCallOptions) => Promise<GetNotificationsHttpResponse>;
65
+ }, options?: ApiCallOptions): Promise<GetNotificationsHttpResponse>;
66
66
  type GetNotificationsHttpResponse = {
67
67
  data: NotificationsObject;
68
68
  headers: Headers;
package/notifications.js CHANGED
@@ -1,17 +1,19 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/notifications.ts
9
- var getNotifications = async (query, options) => invokeFetch("notifications", {
10
- method: "get",
11
- pathTemplate: "/api/v1/notifications",
12
- query,
13
- options
14
- });
9
+ async function getNotifications(query, options) {
10
+ return invokeFetch("notifications", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/notifications",
13
+ query,
14
+ options
15
+ });
16
+ }
15
17
  function clearCache() {
16
18
  return clearApiCache("notifications");
17
19
  }
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * Hints of any client application secrets
@@ -219,7 +219,7 @@ type OAuthConnectionConfigUpdate = {
219
219
  * @param query an object with query parameters
220
220
  * @throws GetOAuthClientsHttpError
221
221
  */
222
- declare const getOAuthClients: (query: {
222
+ declare function getOAuthClients(query: {
223
223
  /** The filter query that should be used to filter the list of oauth clients. The filter syntax is defined in RFC 7644. Valid attributes for filtering are `clientId`, `clientName`, `appType`, and `tenantId`. */
224
224
  filter?: string;
225
225
  /** The number of OAuth client entries to retrieve. */
@@ -232,7 +232,7 @@ declare const getOAuthClients: (query: {
232
232
  sort?: string;
233
233
  /** Boolean query parameter that determines if the total count of results should be included in the response. If true, the response includes the total number of results in the `totalResults` field. If false or not included in the query, `totalResults` will be excluded from the response. */
234
234
  totalResults?: boolean;
235
- }, options?: ApiCallOptions) => Promise<GetOAuthClientsHttpResponse>;
235
+ }, options?: ApiCallOptions): Promise<GetOAuthClientsHttpResponse>;
236
236
  type GetOAuthClientsHttpResponse = {
237
237
  data: OAuthClientAdminListResponse | OAuthClientListResponse;
238
238
  headers: Headers;
@@ -249,7 +249,7 @@ type GetOAuthClientsHttpError = {
249
249
  * @param body an object with the body content
250
250
  * @throws CreateOAuthClientHttpError
251
251
  */
252
- declare const createOAuthClient: (body: OAuthClientCreateRequest, options?: ApiCallOptions) => Promise<CreateOAuthClientHttpResponse>;
252
+ declare function createOAuthClient(body: OAuthClientCreateRequest, options?: ApiCallOptions): Promise<CreateOAuthClientHttpResponse>;
253
253
  type CreateOAuthClientHttpResponse = {
254
254
  data: OAuthClientCreateResponse;
255
255
  headers: Headers;
@@ -266,7 +266,7 @@ type CreateOAuthClientHttpError = {
266
266
  * @param id The unique identifier for the OAuth client
267
267
  * @throws DeleteOAuthClientHttpError
268
268
  */
269
- declare const deleteOAuthClient: (id: string, options?: ApiCallOptions) => Promise<DeleteOAuthClientHttpResponse>;
269
+ declare function deleteOAuthClient(id: string, options?: ApiCallOptions): Promise<DeleteOAuthClientHttpResponse>;
270
270
  type DeleteOAuthClientHttpResponse = {
271
271
  data: void;
272
272
  headers: Headers;
@@ -283,7 +283,7 @@ type DeleteOAuthClientHttpError = {
283
283
  * @param id The unique identifier for the OAuth client
284
284
  * @throws GetOAuthClientHttpError
285
285
  */
286
- declare const getOAuthClient: (id: string, options?: ApiCallOptions) => Promise<GetOAuthClientHttpResponse>;
286
+ declare function getOAuthClient(id: string, options?: ApiCallOptions): Promise<GetOAuthClientHttpResponse>;
287
287
  type GetOAuthClientHttpResponse = {
288
288
  data: OAuthClientAdminReadResponse | OAuthClientReadResponse;
289
289
  headers: Headers;
@@ -301,7 +301,7 @@ type GetOAuthClientHttpError = {
301
301
  * @param body an object with the body content
302
302
  * @throws PatchOAuthClientHttpError
303
303
  */
304
- declare const patchOAuthClient: (id: string, body: OAuthClientUpdate[], options?: ApiCallOptions) => Promise<PatchOAuthClientHttpResponse>;
304
+ declare function patchOAuthClient(id: string, body: OAuthClientUpdate[], options?: ApiCallOptions): Promise<PatchOAuthClientHttpResponse>;
305
305
  type PatchOAuthClientHttpResponse = {
306
306
  data: void;
307
307
  headers: Headers;
@@ -318,7 +318,7 @@ type PatchOAuthClientHttpError = {
318
318
  * @param id The unique identifier for the OAuth client
319
319
  * @throws PublishOAuthClientHttpError
320
320
  */
321
- declare const publishOAuthClient: (id: string, options?: ApiCallOptions) => Promise<PublishOAuthClientHttpResponse>;
321
+ declare function publishOAuthClient(id: string, options?: ApiCallOptions): Promise<PublishOAuthClientHttpResponse>;
322
322
  type PublishOAuthClientHttpResponse = {
323
323
  data: OAuthClientPublishResponse;
324
324
  headers: Headers;
@@ -335,7 +335,7 @@ type PublishOAuthClientHttpError = {
335
335
  * @param id The unique identifier for the OAuth client
336
336
  * @throws CreateOAuthClientSecretHttpError
337
337
  */
338
- declare const createOAuthClientSecret: (id: string, options?: ApiCallOptions) => Promise<CreateOAuthClientSecretHttpResponse>;
338
+ declare function createOAuthClientSecret(id: string, options?: ApiCallOptions): Promise<CreateOAuthClientSecretHttpResponse>;
339
339
  type CreateOAuthClientSecretHttpResponse = {
340
340
  data: OAuthClientSecretResponse;
341
341
  headers: Headers;
@@ -353,7 +353,7 @@ type CreateOAuthClientSecretHttpError = {
353
353
  * @param hint The unique identifier for the OAuth secret
354
354
  * @throws DeleteOAuthClientSecretHttpError
355
355
  */
356
- declare const deleteOAuthClientSecret: (id: string, hint: string, options?: ApiCallOptions) => Promise<DeleteOAuthClientSecretHttpResponse>;
356
+ declare function deleteOAuthClientSecret(id: string, hint: string, options?: ApiCallOptions): Promise<DeleteOAuthClientSecretHttpResponse>;
357
357
  type DeleteOAuthClientSecretHttpResponse = {
358
358
  data: void;
359
359
  headers: Headers;
@@ -370,7 +370,7 @@ type DeleteOAuthClientSecretHttpError = {
370
370
  * @param id The unique identifier for the OAuth client
371
371
  * @throws DeleteOAuthClientConnectionConfigHttpError
372
372
  */
373
- declare const deleteOAuthClientConnectionConfig: (id: string, options?: ApiCallOptions) => Promise<DeleteOAuthClientConnectionConfigHttpResponse>;
373
+ declare function deleteOAuthClientConnectionConfig(id: string, options?: ApiCallOptions): Promise<DeleteOAuthClientConnectionConfigHttpResponse>;
374
374
  type DeleteOAuthClientConnectionConfigHttpResponse = {
375
375
  data: void;
376
376
  headers: Headers;
@@ -387,7 +387,7 @@ type DeleteOAuthClientConnectionConfigHttpError = {
387
387
  * @param id The unique identifier for an OAuth client
388
388
  * @throws GetOAuthClientConnectionConfigHttpError
389
389
  */
390
- declare const getOAuthClientConnectionConfig: (id: string, options?: ApiCallOptions) => Promise<GetOAuthClientConnectionConfigHttpResponse>;
390
+ declare function getOAuthClientConnectionConfig(id: string, options?: ApiCallOptions): Promise<GetOAuthClientConnectionConfigHttpResponse>;
391
391
  type GetOAuthClientConnectionConfigHttpResponse = {
392
392
  data: ConnectionConfigReadResponse;
393
393
  headers: Headers;
@@ -405,7 +405,7 @@ type GetOAuthClientConnectionConfigHttpError = {
405
405
  * @param body an object with the body content
406
406
  * @throws PatchOAuthClientConnectionConfigHttpError
407
407
  */
408
- declare const patchOAuthClientConnectionConfig: (id: string, body: OAuthConnectionConfigUpdate[], options?: ApiCallOptions) => Promise<PatchOAuthClientConnectionConfigHttpResponse>;
408
+ declare function patchOAuthClientConnectionConfig(id: string, body: OAuthConnectionConfigUpdate[], options?: ApiCallOptions): Promise<PatchOAuthClientConnectionConfigHttpResponse>;
409
409
  type PatchOAuthClientConnectionConfigHttpResponse = {
410
410
  data: void;
411
411
  headers: Headers;
package/oauth-clients.js CHANGED
@@ -1,82 +1,104 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
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
- });
9
+ async function getOAuthClients(query, options) {
10
+ return invokeFetch("oauth-clients", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/oauth-clients",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createOAuthClient(body, options) {
18
+ return invokeFetch("oauth-clients", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/oauth-clients",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteOAuthClient(id, options) {
27
+ return invokeFetch("oauth-clients", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/oauth-clients/{id}",
30
+ pathVariables: { id },
31
+ options
32
+ });
33
+ }
34
+ async function getOAuthClient(id, options) {
35
+ return invokeFetch("oauth-clients", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/oauth-clients/{id}",
38
+ pathVariables: { id },
39
+ options
40
+ });
41
+ }
42
+ async function patchOAuthClient(id, body, options) {
43
+ return invokeFetch("oauth-clients", {
44
+ method: "patch",
45
+ pathTemplate: "/api/v1/oauth-clients/{id}",
46
+ pathVariables: { id },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
52
+ async function publishOAuthClient(id, options) {
53
+ return invokeFetch("oauth-clients", {
54
+ method: "post",
55
+ pathTemplate: "/api/v1/oauth-clients/{id}/actions/publish",
56
+ pathVariables: { id },
57
+ options
58
+ });
59
+ }
60
+ async function createOAuthClientSecret(id, options) {
61
+ return invokeFetch("oauth-clients", {
62
+ method: "post",
63
+ pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets",
64
+ pathVariables: { id },
65
+ options
66
+ });
67
+ }
68
+ async function deleteOAuthClientSecret(id, hint, options) {
69
+ return invokeFetch("oauth-clients", {
70
+ method: "delete",
71
+ pathTemplate: "/api/v1/oauth-clients/{id}/client-secrets/{hint}",
72
+ pathVariables: { id, hint },
73
+ options
74
+ });
75
+ }
76
+ async function deleteOAuthClientConnectionConfig(id, options) {
77
+ return invokeFetch("oauth-clients", {
78
+ method: "delete",
79
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
80
+ pathVariables: { id },
81
+ options
82
+ });
83
+ }
84
+ async function getOAuthClientConnectionConfig(id, options) {
85
+ return invokeFetch("oauth-clients", {
86
+ method: "get",
87
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
88
+ pathVariables: { id },
89
+ options
90
+ });
91
+ }
92
+ async function patchOAuthClientConnectionConfig(id, body, options) {
93
+ return invokeFetch("oauth-clients", {
94
+ method: "patch",
95
+ pathTemplate: "/api/v1/oauth-clients/{id}/connection-configs/me",
96
+ pathVariables: { id },
97
+ body,
98
+ contentType: "application/json",
99
+ options
100
+ });
101
+ }
80
102
  function clearCache() {
81
103
  return clearApiCache("oauth-clients");
82
104
  }
package/oauth-tokens.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * An error object.
@@ -55,7 +55,7 @@ type OauthTokenPage = {
55
55
  * @param query an object with query parameters
56
56
  * @throws GetOauthTokensHttpError
57
57
  */
58
- declare const getOauthTokens: (query: {
58
+ declare function getOauthTokens(query: {
59
59
  /** The maximum number of tokens to return. */
60
60
  limit?: number;
61
61
  /** The target page. */
@@ -64,7 +64,7 @@ declare const getOauthTokens: (query: {
64
64
  sort?: "userId";
65
65
  /** The ID of the user to limit results to. */
66
66
  userId?: string;
67
- }, options?: ApiCallOptions) => Promise<GetOauthTokensHttpResponse>;
67
+ }, options?: ApiCallOptions): Promise<GetOauthTokensHttpResponse>;
68
68
  type GetOauthTokensHttpResponse = {
69
69
  data: OauthTokenPage;
70
70
  headers: Headers;
@@ -83,7 +83,7 @@ type GetOauthTokensHttpError = {
83
83
  * @param tokenId The ID of the token to revoke.
84
84
  * @throws DeleteOauthTokenHttpError
85
85
  */
86
- declare const deleteOauthToken: (tokenId: string, options?: ApiCallOptions) => Promise<DeleteOauthTokenHttpResponse>;
86
+ declare function deleteOauthToken(tokenId: string, options?: ApiCallOptions): Promise<DeleteOauthTokenHttpResponse>;
87
87
  type DeleteOauthTokenHttpResponse = {
88
88
  data: void;
89
89
  headers: Headers;
package/oauth-tokens.js CHANGED
@@ -1,23 +1,27 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/oauth-tokens.ts
9
- var getOauthTokens = async (query, options) => invokeFetch("oauth-tokens", {
10
- method: "get",
11
- pathTemplate: "/api/v1/oauth-tokens",
12
- query,
13
- options
14
- });
15
- var deleteOauthToken = async (tokenId, options) => invokeFetch("oauth-tokens", {
16
- method: "delete",
17
- pathTemplate: "/api/v1/oauth-tokens/{tokenId}",
18
- pathVariables: { tokenId },
19
- options
20
- });
9
+ async function getOauthTokens(query, options) {
10
+ return invokeFetch("oauth-tokens", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/oauth-tokens",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function deleteOauthToken(tokenId, options) {
18
+ return invokeFetch("oauth-tokens", {
19
+ method: "delete",
20
+ pathTemplate: "/api/v1/oauth-tokens/{tokenId}",
21
+ pathVariables: { tokenId },
22
+ options
23
+ });
24
+ }
21
25
  function clearCache() {
22
26
  return clearApiCache("oauth-tokens");
23
27
  }
package/package.json CHANGED
@@ -14,10 +14,10 @@
14
14
  "enigma.js": "^2.14.0",
15
15
  "extend": "3.0.2",
16
16
  "lodash": "^4.17.21",
17
- "nanoid": "^5.0.9",
18
- "ws": "^8.18.1"
17
+ "nanoid": "^5.1.5",
18
+ "ws": "^8.18.2"
19
19
  },
20
- "packageManager": "pnpm@10.10.0",
20
+ "packageManager": "pnpm@10.12.1",
21
21
  "engines": {
22
22
  "node": ">=20"
23
23
  },
@@ -48,6 +48,7 @@
48
48
  "./data-stores": "./data-stores.js",
49
49
  "./dcaas": "./dcaas.js",
50
50
  "./di-projects": "./di-projects.js",
51
+ "./direct-access-agents": "./direct-access-agents.js",
51
52
  "./encryption": "./encryption.js",
52
53
  "./extensions": "./extensions.js",
53
54
  "./glossaries": "./glossaries.js",
@@ -81,8 +82,9 @@
81
82
  "./web-integrations": "./web-integrations.js",
82
83
  "./web-notifications": "./web-notifications.js",
83
84
  "./webhooks": "./webhooks.js",
84
- "./qix": "./qix.js",
85
- "./auth": "./auth.js"
85
+ "./auth": "./auth.js",
86
+ "./interceptors": "./interceptors.js",
87
+ "./qix": "./qix.js"
86
88
  },
87
- "version": "1.32.0"
89
+ "version": "1.34.0"
88
90
  }