@qlik/api 1.32.0 → 1.33.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 +10 -10
  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 +27 -27
  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/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
  23. package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
  24. package/chunks/7MMXU6EL.js +86 -0
  25. package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
  26. package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
  27. package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
  28. package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
  29. package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
  30. package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
  31. package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
  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 +101 -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 +13 -13
  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 +100 -52
  91. package/ml.js +379 -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 +22 -22
  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/themes.js CHANGED
@@ -1,55 +1,69 @@
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/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/themes.ts
9
- var getThemes = async (options) => invokeFetch("themes", {
10
- method: "get",
11
- pathTemplate: "/api/v1/themes",
12
- options
13
- });
14
- var uploadTheme = async (body, options) => invokeFetch("themes", {
15
- method: "post",
16
- pathTemplate: "/api/v1/themes",
17
- body,
18
- contentType: "multipart/form-data",
19
- options
20
- });
21
- var deleteTheme = async (id, options) => invokeFetch("themes", {
22
- method: "delete",
23
- pathTemplate: "/api/v1/themes/{id}",
24
- pathVariables: { id },
25
- options
26
- });
27
- var getTheme = async (id, options) => invokeFetch("themes", {
28
- method: "get",
29
- pathTemplate: "/api/v1/themes/{id}",
30
- pathVariables: { id },
31
- options
32
- });
33
- var patchTheme = async (id, body, options) => invokeFetch("themes", {
34
- method: "patch",
35
- pathTemplate: "/api/v1/themes/{id}",
36
- pathVariables: { id },
37
- body,
38
- contentType: "multipart/form-data",
39
- options
40
- });
41
- var downloadTheme = async (id, options) => invokeFetch("themes", {
42
- method: "get",
43
- pathTemplate: "/api/v1/themes/{id}/file",
44
- pathVariables: { id },
45
- options
46
- });
47
- var downloadFileFromTheme = async (id, filepath, options) => invokeFetch("themes", {
48
- method: "get",
49
- pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
50
- pathVariables: { id, filepath },
51
- options
52
- });
9
+ async function getThemes(options) {
10
+ return invokeFetch("themes", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/themes",
13
+ options
14
+ });
15
+ }
16
+ async function uploadTheme(body, options) {
17
+ return invokeFetch("themes", {
18
+ method: "post",
19
+ pathTemplate: "/api/v1/themes",
20
+ body,
21
+ contentType: "multipart/form-data",
22
+ options
23
+ });
24
+ }
25
+ async function deleteTheme(id, options) {
26
+ return invokeFetch("themes", {
27
+ method: "delete",
28
+ pathTemplate: "/api/v1/themes/{id}",
29
+ pathVariables: { id },
30
+ options
31
+ });
32
+ }
33
+ async function getTheme(id, options) {
34
+ return invokeFetch("themes", {
35
+ method: "get",
36
+ pathTemplate: "/api/v1/themes/{id}",
37
+ pathVariables: { id },
38
+ options
39
+ });
40
+ }
41
+ async function patchTheme(id, body, options) {
42
+ return invokeFetch("themes", {
43
+ method: "patch",
44
+ pathTemplate: "/api/v1/themes/{id}",
45
+ pathVariables: { id },
46
+ body,
47
+ contentType: "multipart/form-data",
48
+ options
49
+ });
50
+ }
51
+ async function downloadTheme(id, options) {
52
+ return invokeFetch("themes", {
53
+ method: "get",
54
+ pathTemplate: "/api/v1/themes/{id}/file",
55
+ pathVariables: { id },
56
+ options
57
+ });
58
+ }
59
+ async function downloadFileFromTheme(id, filepath, options) {
60
+ return invokeFetch("themes", {
61
+ method: "get",
62
+ pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
63
+ pathVariables: { id, filepath },
64
+ options
65
+ });
66
+ }
53
67
  function clearCache() {
54
68
  return clearApiCache("themes");
55
69
  }
package/transports.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
  type DeleteConfigNotFoundError = {
5
5
  errors?: {
@@ -162,7 +162,7 @@ type SmtpResult = {
162
162
  *
163
163
  * @throws DeleteEmailConfigHttpError
164
164
  */
165
- declare const deleteEmailConfig: (options?: ApiCallOptions) => Promise<DeleteEmailConfigHttpResponse>;
165
+ declare function deleteEmailConfig(options?: ApiCallOptions): Promise<DeleteEmailConfigHttpResponse>;
166
166
  type DeleteEmailConfigHttpResponse = {
167
167
  data: void;
168
168
  headers: Headers;
@@ -189,7 +189,7 @@ type DeleteEmailConfigdefaultHttpError = {
189
189
  *
190
190
  * @throws GetEmailConfigHttpError
191
191
  */
192
- declare const getEmailConfig: (options?: ApiCallOptions) => Promise<GetEmailConfigHttpResponse>;
192
+ declare function getEmailConfig(options?: ApiCallOptions): Promise<GetEmailConfigHttpResponse>;
193
193
  type GetEmailConfigHttpResponse = {
194
194
  data: GetEmailConfig;
195
195
  headers: Headers;
@@ -212,7 +212,7 @@ type GetEmailConfigdefaultHttpError = {
212
212
  * @param body an object with the body content
213
213
  * @throws PatchEmailConfigHttpError
214
214
  */
215
- declare const patchEmailConfig: (body: EmailConfigPatch, options?: ApiCallOptions) => Promise<PatchEmailConfigHttpResponse>;
215
+ declare function patchEmailConfig(body: EmailConfigPatch, options?: ApiCallOptions): Promise<PatchEmailConfigHttpResponse>;
216
216
  type PatchEmailConfigHttpResponse = {
217
217
  data: void;
218
218
  headers: Headers;
@@ -240,7 +240,7 @@ type PatchEmailConfigdefaultHttpError = {
240
240
  * @param body an object with the body content
241
241
  * @throws SendTestEmailHttpError
242
242
  */
243
- declare const sendTestEmail: (body: Email, options?: ApiCallOptions) => Promise<SendTestEmailHttpResponse>;
243
+ declare function sendTestEmail(body: Email, options?: ApiCallOptions): Promise<SendTestEmailHttpResponse>;
244
244
  type SendTestEmailHttpResponse = {
245
245
  data: SmtpResult;
246
246
  headers: Headers;
@@ -267,7 +267,7 @@ type SendTestEmaildefaultHttpError = {
267
267
  *
268
268
  * @throws ValidateEmailConfigHttpError
269
269
  */
270
- declare const validateEmailConfig: (options?: ApiCallOptions) => Promise<ValidateEmailConfigHttpResponse>;
270
+ declare function validateEmailConfig(options?: ApiCallOptions): Promise<ValidateEmailConfigHttpResponse>;
271
271
  type ValidateEmailConfigHttpResponse = {
272
272
  data: SmtpCheck;
273
273
  headers: Headers;
@@ -283,7 +283,7 @@ type ValidateEmailConfigHttpError = {
283
283
  *
284
284
  * @throws VerifyEmailConfigConnectionHttpError
285
285
  */
286
- declare const verifyEmailConfigConnection: (options?: ApiCallOptions) => Promise<VerifyEmailConfigConnectionHttpResponse>;
286
+ declare function verifyEmailConfigConnection(options?: ApiCallOptions): Promise<VerifyEmailConfigConnectionHttpResponse>;
287
287
  type VerifyEmailConfigConnectionHttpResponse = {
288
288
  data: SmtpResult;
289
289
  headers: Headers;
package/transports.js CHANGED
@@ -1,45 +1,57 @@
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/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/transports.ts
9
- var deleteEmailConfig = async (options) => invokeFetch("transports", {
10
- method: "delete",
11
- pathTemplate: "/api/v1/transports/email-config",
12
- options
13
- });
14
- var getEmailConfig = async (options) => invokeFetch("transports", {
15
- method: "get",
16
- pathTemplate: "/api/v1/transports/email-config",
17
- options
18
- });
19
- var patchEmailConfig = async (body, options) => invokeFetch("transports", {
20
- method: "patch",
21
- pathTemplate: "/api/v1/transports/email-config",
22
- body,
23
- contentType: "application/json",
24
- options
25
- });
26
- var sendTestEmail = async (body, options) => invokeFetch("transports", {
27
- method: "post",
28
- pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
29
- body,
30
- contentType: "application/json",
31
- options
32
- });
33
- var validateEmailConfig = async (options) => invokeFetch("transports", {
34
- method: "post",
35
- pathTemplate: "/api/v1/transports/email-config/actions/validate",
36
- options
37
- });
38
- var verifyEmailConfigConnection = async (options) => invokeFetch("transports", {
39
- method: "post",
40
- pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
41
- options
42
- });
9
+ async function deleteEmailConfig(options) {
10
+ return invokeFetch("transports", {
11
+ method: "delete",
12
+ pathTemplate: "/api/v1/transports/email-config",
13
+ options
14
+ });
15
+ }
16
+ async function getEmailConfig(options) {
17
+ return invokeFetch("transports", {
18
+ method: "get",
19
+ pathTemplate: "/api/v1/transports/email-config",
20
+ options
21
+ });
22
+ }
23
+ async function patchEmailConfig(body, options) {
24
+ return invokeFetch("transports", {
25
+ method: "patch",
26
+ pathTemplate: "/api/v1/transports/email-config",
27
+ body,
28
+ contentType: "application/json",
29
+ options
30
+ });
31
+ }
32
+ async function sendTestEmail(body, options) {
33
+ return invokeFetch("transports", {
34
+ method: "post",
35
+ pathTemplate: "/api/v1/transports/email-config/actions/send-test-email",
36
+ body,
37
+ contentType: "application/json",
38
+ options
39
+ });
40
+ }
41
+ async function validateEmailConfig(options) {
42
+ return invokeFetch("transports", {
43
+ method: "post",
44
+ pathTemplate: "/api/v1/transports/email-config/actions/validate",
45
+ options
46
+ });
47
+ }
48
+ async function verifyEmailConfigConnection(options) {
49
+ return invokeFetch("transports", {
50
+ method: "post",
51
+ pathTemplate: "/api/v1/transports/email-config/actions/verify-connection",
52
+ options
53
+ });
54
+ }
43
55
  function clearCache() {
44
56
  return clearApiCache("transports");
45
57
  }
package/ui-config.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
  type BulkCreatePinnedLinkItemPayload = CreatePinnedLinkConfigPayload & {
5
5
  links: CreatePinnedLinkPayload[];
@@ -55,7 +55,7 @@ type PinnedLink = {
55
55
  *
56
56
  * @throws GetUiConfigPinnedLinksHttpError
57
57
  */
58
- declare const getUiConfigPinnedLinks: (options?: ApiCallOptions) => Promise<GetUiConfigPinnedLinksHttpResponse>;
58
+ declare function getUiConfigPinnedLinks(options?: ApiCallOptions): Promise<GetUiConfigPinnedLinksHttpResponse>;
59
59
  type GetUiConfigPinnedLinksHttpResponse = {
60
60
  data: {
61
61
  data?: PinnedLink[];
@@ -74,7 +74,7 @@ type GetUiConfigPinnedLinksHttpError = {
74
74
  * @param body an object with the body content
75
75
  * @throws CreateUiConfigPinnedLinkHttpError
76
76
  */
77
- declare const createUiConfigPinnedLink: (body: CreatePinnedLinkPayload & CreatePinnedLinkConfigPayload, options?: ApiCallOptions) => Promise<CreateUiConfigPinnedLinkHttpResponse>;
77
+ declare function createUiConfigPinnedLink(body: CreatePinnedLinkPayload & CreatePinnedLinkConfigPayload, options?: ApiCallOptions): Promise<CreateUiConfigPinnedLinkHttpResponse>;
78
78
  type CreateUiConfigPinnedLinkHttpResponse = {
79
79
  data: PinnedLink;
80
80
  headers: Headers;
@@ -97,7 +97,7 @@ type CreateUiConfigPinnedLinkdefaultHttpError = {
97
97
  * @param body an object with the body content
98
98
  * @throws CreateUiConfigPinnedLinksHttpError
99
99
  */
100
- declare const createUiConfigPinnedLinks: (body: BulkCreatePinnedLinkItemPayload, options?: ApiCallOptions) => Promise<CreateUiConfigPinnedLinksHttpResponse>;
100
+ declare function createUiConfigPinnedLinks(body: BulkCreatePinnedLinkItemPayload, options?: ApiCallOptions): Promise<CreateUiConfigPinnedLinksHttpResponse>;
101
101
  type CreateUiConfigPinnedLinksHttpResponse = {
102
102
  data: {
103
103
  data?: PinnedLink[];
@@ -121,7 +121,7 @@ type CreateUiConfigPinnedLinksdefaultHttpError = {
121
121
  *
122
122
  * @throws DeleteAllUiConfigPinnedLinksHttpError
123
123
  */
124
- declare const deleteAllUiConfigPinnedLinks: (options?: ApiCallOptions) => Promise<DeleteAllUiConfigPinnedLinksHttpResponse>;
124
+ declare function deleteAllUiConfigPinnedLinks(options?: ApiCallOptions): Promise<DeleteAllUiConfigPinnedLinksHttpResponse>;
125
125
  type DeleteAllUiConfigPinnedLinksHttpResponse = {
126
126
  data: void;
127
127
  headers: Headers;
@@ -144,7 +144,7 @@ type DeleteAllUiConfigPinnedLinksdefaultHttpError = {
144
144
  * @param id The pinned link identifier.
145
145
  * @throws DeleteUiConfigPinnedLinkHttpError
146
146
  */
147
- declare const deleteUiConfigPinnedLink: (id: string, options?: ApiCallOptions) => Promise<DeleteUiConfigPinnedLinkHttpResponse>;
147
+ declare function deleteUiConfigPinnedLink(id: string, options?: ApiCallOptions): Promise<DeleteUiConfigPinnedLinkHttpResponse>;
148
148
  type DeleteUiConfigPinnedLinkHttpResponse = {
149
149
  data: void;
150
150
  headers: Headers;
@@ -167,7 +167,7 @@ type DeleteUiConfigPinnedLinkdefaultHttpError = {
167
167
  * @param id The pinned link identifier.
168
168
  * @throws GetUiConfigPinnedLinkHttpError
169
169
  */
170
- declare const getUiConfigPinnedLink: (id: string, options?: ApiCallOptions) => Promise<GetUiConfigPinnedLinkHttpResponse>;
170
+ declare function getUiConfigPinnedLink(id: string, options?: ApiCallOptions): Promise<GetUiConfigPinnedLinkHttpResponse>;
171
171
  type GetUiConfigPinnedLinkHttpResponse = {
172
172
  data: PinnedLink;
173
173
  headers: Headers;
@@ -191,7 +191,7 @@ type GetUiConfigPinnedLinkdefaultHttpError = {
191
191
  * @param body an object with the body content
192
192
  * @throws PatchUiConfigPinnedLinkHttpError
193
193
  */
194
- declare const patchUiConfigPinnedLink: (id: string, body: JSONPatchPinnedLinkPayload, options?: ApiCallOptions) => Promise<PatchUiConfigPinnedLinkHttpResponse>;
194
+ declare function patchUiConfigPinnedLink(id: string, body: JSONPatchPinnedLinkPayload, options?: ApiCallOptions): Promise<PatchUiConfigPinnedLinkHttpResponse>;
195
195
  type PatchUiConfigPinnedLinkHttpResponse = {
196
196
  data: PinnedLink;
197
197
  headers: Headers;
package/ui-config.js CHANGED
@@ -1,55 +1,69 @@
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/LIEZG7IM.js";
5
+ import "./chunks/GPRUNZV4.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/ui-config.ts
9
- var getUiConfigPinnedLinks = async (options) => invokeFetch("ui-config", {
10
- method: "get",
11
- pathTemplate: "/api/v1/ui-config/pinned-links",
12
- options
13
- });
14
- var createUiConfigPinnedLink = async (body, options) => invokeFetch("ui-config", {
15
- method: "post",
16
- pathTemplate: "/api/v1/ui-config/pinned-links",
17
- body,
18
- contentType: "application/json",
19
- options
20
- });
21
- var createUiConfigPinnedLinks = async (body, options) => invokeFetch("ui-config", {
22
- method: "post",
23
- pathTemplate: "/api/v1/ui-config/pinned-links/actions/bulk-create-pinned-links",
24
- body,
25
- contentType: "application/json",
26
- options
27
- });
28
- var deleteAllUiConfigPinnedLinks = async (options) => invokeFetch("ui-config", {
29
- method: "post",
30
- pathTemplate: "/api/v1/ui-config/pinned-links/actions/delete-all-pinned-links",
31
- options
32
- });
33
- var deleteUiConfigPinnedLink = async (id, options) => invokeFetch("ui-config", {
34
- method: "delete",
35
- pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
36
- pathVariables: { id },
37
- options
38
- });
39
- var getUiConfigPinnedLink = async (id, options) => invokeFetch("ui-config", {
40
- method: "get",
41
- pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
42
- pathVariables: { id },
43
- options
44
- });
45
- var patchUiConfigPinnedLink = async (id, body, options) => invokeFetch("ui-config", {
46
- method: "patch",
47
- pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
48
- pathVariables: { id },
49
- body,
50
- contentType: "application/json",
51
- options
52
- });
9
+ async function getUiConfigPinnedLinks(options) {
10
+ return invokeFetch("ui-config", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/ui-config/pinned-links",
13
+ options
14
+ });
15
+ }
16
+ async function createUiConfigPinnedLink(body, options) {
17
+ return invokeFetch("ui-config", {
18
+ method: "post",
19
+ pathTemplate: "/api/v1/ui-config/pinned-links",
20
+ body,
21
+ contentType: "application/json",
22
+ options
23
+ });
24
+ }
25
+ async function createUiConfigPinnedLinks(body, options) {
26
+ return invokeFetch("ui-config", {
27
+ method: "post",
28
+ pathTemplate: "/api/v1/ui-config/pinned-links/actions/bulk-create-pinned-links",
29
+ body,
30
+ contentType: "application/json",
31
+ options
32
+ });
33
+ }
34
+ async function deleteAllUiConfigPinnedLinks(options) {
35
+ return invokeFetch("ui-config", {
36
+ method: "post",
37
+ pathTemplate: "/api/v1/ui-config/pinned-links/actions/delete-all-pinned-links",
38
+ options
39
+ });
40
+ }
41
+ async function deleteUiConfigPinnedLink(id, options) {
42
+ return invokeFetch("ui-config", {
43
+ method: "delete",
44
+ pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
45
+ pathVariables: { id },
46
+ options
47
+ });
48
+ }
49
+ async function getUiConfigPinnedLink(id, options) {
50
+ return invokeFetch("ui-config", {
51
+ method: "get",
52
+ pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
53
+ pathVariables: { id },
54
+ options
55
+ });
56
+ }
57
+ async function patchUiConfigPinnedLink(id, body, options) {
58
+ return invokeFetch("ui-config", {
59
+ method: "patch",
60
+ pathTemplate: "/api/v1/ui-config/pinned-links/{id}",
61
+ pathVariables: { id },
62
+ body,
63
+ contentType: "application/json",
64
+ options
65
+ });
66
+ }
53
67
  function clearCache() {
54
68
  return clearApiCache("ui-config");
55
69
  }
package/users.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 array of group references.
@@ -365,7 +365,7 @@ type Users = {
365
365
  * @param query an object with query parameters
366
366
  * @throws GetUsersHttpError
367
367
  */
368
- declare const getUsers: (query: {
368
+ declare function getUsers(query: {
369
369
  /** @deprecated
370
370
  * The email to filter by. Deprecated. Use the new `filter` parameter to provide an advanced query filter. */
371
371
  email?: string;
@@ -435,7 +435,7 @@ declare const getUsers: (query: {
435
435
  tenantId?: string;
436
436
  /** Whether to return a total match count in the result. Defaults to false. It will trigger an extra DB query to count, reducing the efficiency of the endpoint. */
437
437
  totalResults?: boolean;
438
- }, options?: ApiCallOptions) => Promise<GetUsersHttpResponse>;
438
+ }, options?: ApiCallOptions): Promise<GetUsersHttpResponse>;
439
439
  type GetUsersHttpResponse = {
440
440
  data: Users;
441
441
  headers: Headers;
@@ -454,7 +454,7 @@ type GetUsersHttpError = {
454
454
  * @param body an object with the body content
455
455
  * @throws CreateUserHttpError
456
456
  */
457
- declare const createUser: (body: UserPostSchema, options?: ApiCallOptions) => Promise<CreateUserHttpResponse>;
457
+ declare function createUser(body: UserPostSchema, options?: ApiCallOptions): Promise<CreateUserHttpResponse>;
458
458
  type CreateUserHttpResponse = {
459
459
  data: User;
460
460
  headers: Headers;
@@ -471,11 +471,11 @@ type CreateUserHttpError = {
471
471
  * @param query an object with query parameters
472
472
  * @throws CountUsersHttpError
473
473
  */
474
- declare const countUsers: (query: {
474
+ declare function countUsers(query: {
475
475
  /** @deprecated
476
476
  * The tenant ID to filter by. */
477
477
  tenantId?: string;
478
- }, options?: ApiCallOptions) => Promise<CountUsersHttpResponse>;
478
+ }, options?: ApiCallOptions): Promise<CountUsersHttpResponse>;
479
479
  type CountUsersHttpResponse = {
480
480
  data: UserCount;
481
481
  headers: Headers;
@@ -493,7 +493,7 @@ type CountUsersHttpError = {
493
493
  * @param body an object with the body content
494
494
  * @throws FilterUsersHttpError
495
495
  */
496
- declare const filterUsers: (query: {
496
+ declare function filterUsers(query: {
497
497
  /** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
498
498
  fields?: string;
499
499
  /** The number of user entries to retrieve. */
@@ -504,7 +504,7 @@ declare const filterUsers: (query: {
504
504
  prev?: string;
505
505
  /** The field to sort by, with +/- prefix indicating sort order */
506
506
  sort?: "name" | "+name" | "-name";
507
- }, body: Filter, options?: ApiCallOptions) => Promise<FilterUsersHttpResponse>;
507
+ }, body: Filter, options?: ApiCallOptions): Promise<FilterUsersHttpResponse>;
508
508
  type FilterUsersHttpResponse = {
509
509
  data: Users;
510
510
  headers: Headers;
@@ -523,7 +523,7 @@ type FilterUsersHttpError = {
523
523
  * @param body an object with the body content
524
524
  * @throws InviteUsersHttpError
525
525
  */
526
- declare const inviteUsers: (body: InviteRequestData, options?: ApiCallOptions) => Promise<InviteUsersHttpResponse>;
526
+ declare function inviteUsers(body: InviteRequestData, options?: ApiCallOptions): Promise<InviteUsersHttpResponse>;
527
527
  type InviteUsersHttpResponse = {
528
528
  data: InviteDataResponse;
529
529
  headers: Headers;
@@ -539,7 +539,7 @@ type InviteUsersHttpError = {
539
539
  *
540
540
  * @throws GetMyUserHttpError
541
541
  */
542
- declare const getMyUser: (options?: ApiCallOptions) => Promise<GetMyUserHttpResponse>;
542
+ declare function getMyUser(options?: ApiCallOptions): Promise<GetMyUserHttpResponse>;
543
543
  type GetMyUserHttpResponse = {
544
544
  data: User;
545
545
  headers: Headers;
@@ -556,7 +556,7 @@ type GetMyUserHttpError = {
556
556
  * @param userId The ID of the user to delete.
557
557
  * @throws DeleteUserHttpError
558
558
  */
559
- declare const deleteUser: (userId: string, options?: ApiCallOptions) => Promise<DeleteUserHttpResponse>;
559
+ declare function deleteUser(userId: string, options?: ApiCallOptions): Promise<DeleteUserHttpResponse>;
560
560
  type DeleteUserHttpResponse = {
561
561
  data: void;
562
562
  headers: Headers;
@@ -574,10 +574,10 @@ type DeleteUserHttpError = {
574
574
  * @param query an object with query parameters
575
575
  * @throws GetUserHttpError
576
576
  */
577
- declare const getUser: (userId: string, query: {
577
+ declare function getUser(userId: string, query: {
578
578
  /** A comma-delimited string of the requested fields per entity. If the 'links' value is omitted, then the entity HATEOAS link will also be omitted. */
579
579
  fields?: string;
580
- }, options?: ApiCallOptions) => Promise<GetUserHttpResponse>;
580
+ }, options?: ApiCallOptions): Promise<GetUserHttpResponse>;
581
581
  type GetUserHttpResponse = {
582
582
  data: User & unknown;
583
583
  headers: Headers;
@@ -595,7 +595,7 @@ type GetUserHttpError = {
595
595
  * @param body an object with the body content
596
596
  * @throws PatchUserHttpError
597
597
  */
598
- declare const patchUser: (userId: string, body: JSONPatchArray, options?: ApiCallOptions) => Promise<PatchUserHttpResponse>;
598
+ declare function patchUser(userId: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchUserHttpResponse>;
599
599
  type PatchUserHttpResponse = PatchUser204HttpResponse | PatchUser207HttpResponse;
600
600
  type PatchUser204HttpResponse = {
601
601
  data: void;