@qlik/api 2.2.0 → 2.3.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 (231) hide show
  1. package/analytics/change-stores.d.ts +386 -0
  2. package/analytics/change-stores.js +123 -0
  3. package/analytics.d.ts +14 -0
  4. package/analytics.js +13 -0
  5. package/api-keys.d.ts +362 -3
  6. package/api-keys.js +2 -3
  7. package/apps.d.ts +2673 -3
  8. package/apps.js +2 -3
  9. package/assistants.d.ts +1370 -3
  10. package/assistants.js +2 -3
  11. package/audits.d.ts +318 -3
  12. package/audits.js +4 -4
  13. package/auth-types.d.ts +1 -1
  14. package/auth-types.js +1 -2
  15. package/auth.d.ts +94 -2
  16. package/auth.js +63 -3
  17. package/automation-connections.d.ts +366 -3
  18. package/automation-connections.js +2 -3
  19. package/automation-connectors.d.ts +84 -3
  20. package/automation-connectors.js +2 -3
  21. package/automations.d.ts +805 -3
  22. package/automations.js +2 -3
  23. package/automl-deployments.d.ts +101 -3
  24. package/automl-deployments.js +2 -3
  25. package/automl-predictions.d.ts +238 -3
  26. package/automl-predictions.js +2 -3
  27. package/banners.d.ts +184 -3
  28. package/banners.js +2 -3
  29. package/brands.d.ts +670 -3
  30. package/brands.js +2 -3
  31. package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
  32. package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
  33. package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
  34. package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
  35. package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
  36. package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
  37. package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
  38. package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
  39. package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
  40. package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
  41. package/collections.d.ts +582 -3
  42. package/collections.js +2 -3
  43. package/conditions.d.ts +662 -3
  44. package/conditions.js +2 -3
  45. package/consumption.d.ts +182 -3
  46. package/consumption.js +2 -3
  47. package/core/ip-policies.d.ts +328 -4
  48. package/core/ip-policies.js +108 -5
  49. package/core.d.ts +13 -4
  50. package/core.js +3 -4
  51. package/csp-origins.d.ts +273 -3
  52. package/csp-origins.js +2 -3
  53. package/csrf-token.d.ts +62 -3
  54. package/csrf-token.js +2 -3
  55. package/data-alerts.d.ts +1004 -3
  56. package/data-alerts.js +2 -3
  57. package/data-assets.d.ts +207 -3
  58. package/data-assets.js +2 -3
  59. package/data-connections.d.ts +678 -3
  60. package/data-connections.js +2 -3
  61. package/data-credentials.d.ts +292 -3
  62. package/data-credentials.js +2 -3
  63. package/data-files.d.ts +860 -3
  64. package/data-files.js +2 -3
  65. package/data-qualities.d.ts +175 -3
  66. package/data-qualities.js +2 -3
  67. package/data-sets.d.ts +424 -3
  68. package/data-sets.js +2 -3
  69. package/data-sources.d.ts +348 -3
  70. package/data-sources.js +2 -3
  71. package/data-stores.d.ts +537 -3
  72. package/data-stores.js +2 -3
  73. package/dcaas.d.ts +192 -3
  74. package/dcaas.js +2 -3
  75. package/di-projects.d.ts +812 -4
  76. package/di-projects.js +25 -4
  77. package/direct-access-agents.d.ts +710 -4
  78. package/direct-access-agents.js +37 -5
  79. package/docs/authentication.md +1 -1
  80. package/encryption.d.ts +372 -3
  81. package/encryption.js +2 -3
  82. package/extensions.d.ts +295 -3
  83. package/extensions.js +2 -3
  84. package/global-types.d.ts +1 -1
  85. package/global-types.js +0 -2
  86. package/glossaries.d.ts +1223 -3
  87. package/glossaries.js +2 -3
  88. package/groups.d.ts +510 -3
  89. package/groups.js +2 -3
  90. package/identity-providers.d.ts +711 -3
  91. package/identity-providers.js +2 -3
  92. package/index.d.ts +78 -69
  93. package/index.js +28 -10
  94. package/interceptors.d.ts +52 -3
  95. package/interceptors.js +1 -2
  96. package/invoke-fetch-types.d.ts +1 -1
  97. package/items.d.ts +536 -3
  98. package/items.js +2 -3
  99. package/knowledgebases.d.ts +976 -3
  100. package/knowledgebases.js +2 -3
  101. package/licenses.d.ts +663 -3
  102. package/licenses.js +2 -3
  103. package/lineage-graphs.d.ts +704 -3
  104. package/lineage-graphs.js +2 -3
  105. package/ml.d.ts +2808 -3
  106. package/ml.js +2 -3
  107. package/notes.d.ts +110 -3
  108. package/notes.js +2 -3
  109. package/notifications.d.ts +98 -3
  110. package/notifications.js +2 -3
  111. package/oauth-callback.iife.js +1151 -0
  112. package/oauth-clients.d.ts +562 -3
  113. package/oauth-clients.js +2 -3
  114. package/oauth-tokens.d.ts +126 -3
  115. package/oauth-tokens.js +2 -3
  116. package/package.json +6 -4
  117. package/qix.d.ts +3 -3
  118. package/qix.js +38 -3
  119. package/questions.d.ts +364 -3
  120. package/questions.js +2 -3
  121. package/quotas.d.ts +112 -3
  122. package/quotas.js +2 -3
  123. package/reload-tasks.d.ts +249 -3
  124. package/reload-tasks.js +2 -3
  125. package/reloads.d.ts +260 -3
  126. package/reloads.js +2 -3
  127. package/report-templates.d.ts +287 -3
  128. package/report-templates.js +2 -3
  129. package/reports.d.ts +863 -3
  130. package/reports.js +2 -3
  131. package/roles.d.ts +312 -3
  132. package/roles.js +2 -3
  133. package/sharing-tasks.d.ts +1164 -3
  134. package/sharing-tasks.js +2 -3
  135. package/spaces.d.ts +779 -3
  136. package/spaces.js +2 -3
  137. package/tasks.d.ts +564 -3
  138. package/tasks.js +2 -3
  139. package/temp-contents.d.ts +167 -3
  140. package/temp-contents.js +2 -3
  141. package/tenants.d.ts +360 -3
  142. package/tenants.js +2 -3
  143. package/themes.d.ts +270 -3
  144. package/themes.js +2 -3
  145. package/transports.d.ts +435 -4
  146. package/transports.js +20 -5
  147. package/ui-config.d.ts +274 -3
  148. package/ui-config.js +2 -3
  149. package/users.d.ts +674 -3
  150. package/users.js +2 -3
  151. package/web-integrations.d.ts +294 -3
  152. package/web-integrations.js +2 -3
  153. package/web-notifications.d.ts +273 -3
  154. package/web-notifications.js +2 -3
  155. package/webhooks.d.ts +505 -3
  156. package/webhooks.js +2 -3
  157. package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
  158. package/chunks/apps-BwpXUGDb.d.ts +0 -2673
  159. package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
  160. package/chunks/audits-DakwzT97.d.ts +0 -316
  161. package/chunks/auth-6mptVm5Q.d.ts +0 -95
  162. package/chunks/auth-D11iO7ZV.js +0 -65
  163. package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
  164. package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
  165. package/chunks/automations-BGy83EBO.d.ts +0 -797
  166. package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
  167. package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
  168. package/chunks/banners-CgBRnZGv.d.ts +0 -184
  169. package/chunks/brands-DCgk6Gqx.d.ts +0 -671
  170. package/chunks/collections-BpYjcpIY.d.ts +0 -582
  171. package/chunks/conditions-CJJG7Uph.d.ts +0 -662
  172. package/chunks/consumption-DerFk437.d.ts +0 -182
  173. package/chunks/core-DQXNZdnf.d.ts +0 -12
  174. package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
  175. package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
  176. package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
  177. package/chunks/data-assets-CJDcssoX.d.ts +0 -207
  178. package/chunks/data-connections-VSB13K6g.d.ts +0 -678
  179. package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
  180. package/chunks/data-files-CVzn9M6V.d.ts +0 -860
  181. package/chunks/data-qualities-DBrot957.d.ts +0 -176
  182. package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
  183. package/chunks/data-sources-IsAaof_C.d.ts +0 -346
  184. package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
  185. package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
  186. package/chunks/di-projects-DVQTxASr.d.ts +0 -777
  187. package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
  188. package/chunks/encryption-BjA6xbCO.d.ts +0 -372
  189. package/chunks/extensions-OO0WtInj.d.ts +0 -294
  190. package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
  191. package/chunks/groups-C86-UG7S.d.ts +0 -511
  192. package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
  193. package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
  194. package/chunks/interceptors-DTYm37AU.js +0 -104
  195. package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
  196. package/chunks/ip-policies-DXlf172B.js +0 -108
  197. package/chunks/items-C-jzqvFW.d.ts +0 -536
  198. package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
  199. package/chunks/licenses-xzjnkitW.d.ts +0 -663
  200. package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
  201. package/chunks/ml-Abt2MUva.d.ts +0 -2809
  202. package/chunks/notes-BZxuyDgt.d.ts +0 -111
  203. package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
  204. package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
  205. package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
  206. package/chunks/qix-CYQsLyGQ.js +0 -40
  207. package/chunks/questions-BVp0tvNs.d.ts +0 -364
  208. package/chunks/quotas-CfAebRJd.d.ts +0 -113
  209. package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
  210. package/chunks/reloads-CwmagnFx.d.ts +0 -260
  211. package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
  212. package/chunks/reports-DzNC6Uq3.d.ts +0 -861
  213. package/chunks/roles-BYFIY6E7.d.ts +0 -312
  214. package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
  215. package/chunks/spaces-BK823t-b.d.ts +0 -780
  216. package/chunks/tasks-COKDfShO.d.ts +0 -564
  217. package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
  218. package/chunks/tenants-Bhn86519.d.ts +0 -361
  219. package/chunks/themes-v9NbhiBo.d.ts +0 -269
  220. package/chunks/transports-CqEiFxD3.d.ts +0 -362
  221. package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
  222. package/chunks/users-BSOBU_fg.d.ts +0 -675
  223. package/chunks/web-integrations-MisPAHod.d.ts +0 -295
  224. package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
  225. package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
  226. /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
  227. /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
  228. /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
  229. /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
  230. /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
  231. /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
@@ -1,365 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/api-keys.d.ts
4
- type ApiKey = {
5
- /** When the API key was created. */
6
- readonly created?: string;
7
- /** The ID of the user who created the key. */
8
- createdByUser: string;
9
- /** A description for the API key. */
10
- description: string;
11
- /** When the API key will expire and no longer be a valid authentication token. */
12
- expiry: string;
13
- /** The unique ID for the resource. */
14
- id: string;
15
- /** When the API key was last updated. */
16
- readonly lastUpdated?: string;
17
- /** The status of the API key. */
18
- status: "active" | "expired" | "revoked";
19
- /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
20
- sub: string;
21
- /** Type of the subject. For SCIM, it should be `externalClient`. */
22
- subType: "user" | "externalClient";
23
- /** The tenant ID. */
24
- tenantId: string;
25
- };
26
- type ApiKeyBody = {
27
- /** Text that describes the API key. */
28
- description: string;
29
- /** The expiry of the API key, in ISO8601 duration format. For example, `P7D` sets expiry after 7 days. If not provided, defaults to the maximum API key or SCIM key expiry configured in the tenant. */
30
- expiry?: string;
31
- /** The ID of the subject for the API key. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. When creating an API key for a user, this is their user ID, e.g. `64ef645a3b7009d55dee5a2b`, and will default to the requesting user if not provided. User must be assigned the `Developer` role. */
32
- sub?: string;
33
- /** Type of the subject. For SCIM, it should be `externalClient`. If not specified, defaults to `user`. */
34
- subType?: "user" | "externalClient";
35
- };
36
- /**
37
- * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
38
- */
39
- type ApiKeyConfigPatch = {
40
- /** The operation to be performed. */
41
- op: "replace";
42
- /** The path for the given resource field to patch. The '/api_keys_enabled' option is deprecated and will be removed in a future release. */
43
- path: "/api_keys_enabled" | "/max_api_key_expiry" | "/max_keys_per_user" | "/scim_externalClient_expiry";
44
- /** The value to be used for this operation. */
45
- value: unknown;
46
- };
47
- /**
48
- * A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
49
- */
50
- type ApiKeyPatch = {
51
- /** The operation to be performed. */
52
- op: "replace";
53
- /** The path for the given resource field to patch. */
54
- path: "/description";
55
- /** The value to be used for this operation. */
56
- value: string;
57
- };
58
- type ApiKeyWithToken = {
59
- /** When the API key was created. */
60
- readonly created?: string;
61
- /** The id of the user who created the key. */
62
- createdByUser: string;
63
- /** A description for the API key. */
64
- description: string;
65
- /** When the API key will expire and no longer be a valid authentication token. */
66
- expiry: string;
67
- /** The unique ID for the resource. */
68
- id: string;
69
- /** When the API key was last updated. */
70
- readonly lastUpdated?: string;
71
- /** The status of the API key. */
72
- status: "active" | "expired" | "revoked";
73
- /** The ID of the subject for the API key. */
74
- sub: string;
75
- /** Type of the subject. */
76
- subType: "user";
77
- /** The tenant ID. */
78
- tenantId: string;
79
- /** The generated signed JWT. */
80
- token: string;
81
- };
82
- type ApiKeysConfig = {
83
- /** @deprecated
84
- * Enables or disables user API key functionality for the specified tenant. */
85
- api_keys_enabled?: boolean;
86
- /** The maximum lifetime, in ISO8601 duration format, for which an API key can be issued for the specified tenant, e.g. `P7D` for 7 days. */
87
- max_api_key_expiry?: string;
88
- /** The maximum number of active API keys that any user can create for the specified tenant. */
89
- max_keys_per_user?: number;
90
- /** The expiry of the scim `externalClient` token in ISO8601 duration format, e.g. `P365D` for 365 days. Used during the creation of an `externalClient` API key for configuring a SCIM compatible Identity Provider. */
91
- scim_externalClient_expiry?: string;
92
- };
93
- /**
94
- * @example
95
- * [
96
- * {
97
- * op: "replace",
98
- * path: "/api_keys_enabled",
99
- * value: true
100
- * }
101
- * ]
102
- */
103
- type ApiKeysConfigPatchSchema = ApiKeyConfigPatch[];
104
- /**
105
- * @example
106
- * [
107
- * {
108
- * op: "replace",
109
- * path: "/description",
110
- * value: "my new description"
111
- * }
112
- * ]
113
- */
114
- type ApiKeysPatchSchema = ApiKeyPatch[];
115
- /**
116
- * An error object.
117
- */
118
- type Error = {
119
- /** The error code. */
120
- code: string;
121
- /** A human-readable explanation specific to this occurrence of the problem. */
122
- detail?: string;
123
- /** Additional properties relating to the error. */
124
- meta?: unknown;
125
- /** References to the source of the error. */
126
- source?: {
127
- /** The URI query parameter that caused the error. */
128
- parameter?: string;
129
- /** A JSON Pointer to the property that caused the error. */
130
- pointer?: string;
131
- };
132
- /** The HTTP status code. */
133
- status?: number;
134
- /** Summary of the problem. */
135
- title: string;
136
- };
137
- type Errors = {
138
- /** List of errors and their properties. */
139
- errors?: Error[];
140
- };
141
- type Link = {
142
- /** The URL for the link. */
143
- href: string;
144
- };
145
- type RetryAfterHeader = {
146
- /** The amount of seconds to wait before retrying the request. */
147
- "retry-after"?: number;
148
- };
149
- type ApiKeyPage = {
150
- /** Properties of API keys in a given tenant. */
151
- data: ApiKey[];
152
- /** Navigation links to page results. */
153
- links: {
154
- next?: Link;
155
- prev?: Link;
156
- self: Link;
157
- };
158
- };
159
- /**
160
- * Lists API keys for the tenant. To list API keys owned by other users, requesting user must be assigned the `TenantAdmin` role.
161
- *
162
- * @param query an object with query parameters
163
- * @throws GetApiKeysHttpError
164
- */
165
- declare function getApiKeys(query: {
166
- /** The user ID that created the API key. */
167
- createdByUser?: string;
168
- /** Get resources with IDs that are lower than the target resource ID. Cannot be used in conjunction with startingAfter. */
169
- endingBefore?: string;
170
- /** Maximum number of API keys to retrieve. */
171
- limit?: number;
172
- /** The field to sort by, with +/- prefix indicating sort order */
173
- sort?: "createdByUser" | "+createdByUser" | "-createdByUser" | "sub" | "+sub" | "-sub" | "status" | "+status" | "-status" | "description" | "+description" | "-description" | "created" | "+created" | "-created";
174
- /** Get resources with IDs that are higher than the target resource ID. Cannot be used in conjunction with endingBefore. */
175
- startingAfter?: string;
176
- /** The status of the API key. */
177
- status?: "active" | "expired" | "revoked";
178
- /** The ID of the subject. For SCIM the format is `SCIM\\{{IDP-ID}}`, where `{{IDP-ID}}` is the ID of the IDP in Qlik. For users, use their user ID, e.g. `64ef645a3b7009d55dee5a2b`. */
179
- sub?: string;
180
- }, options?: ApiCallOptions): Promise<GetApiKeysHttpResponse>;
181
- type GetApiKeysHttpResponse = {
182
- data: ApiKeyPage;
183
- headers: Headers;
184
- status: 200;
185
- prev?: (options?: ApiCallOptions) => Promise<GetApiKeysHttpResponse>;
186
- next?: (options?: ApiCallOptions) => Promise<GetApiKeysHttpResponse>;
187
- };
188
- type GetApiKeysHttpError = {
189
- data: Errors;
190
- headers: Headers;
191
- status: 400 | 403 | 429;
192
- };
193
- /**
194
- * Creates an API key, either for a user, or for configuring SCIM for a compatible Identity Provider.
195
- * Sending `sub` and `subType` is required only for creating SCIM keys.
196
- *
197
- * @param body an object with the body content
198
- * @throws CreateApiKeyHttpError
199
- */
200
- declare function createApiKey(body: ApiKeyBody, options?: ApiCallOptions): Promise<CreateApiKeyHttpResponse>;
201
- type CreateApiKeyHttpResponse = {
202
- data: ApiKeyWithToken;
203
- headers: Headers;
204
- status: 201;
205
- };
206
- type CreateApiKeyHttpError = {
207
- data: Errors;
208
- headers: Headers;
209
- status: number;
210
- };
211
- /**
212
- * Retrieves the API key configuration for a tenant.
213
- *
214
- * @param tenantId The tenant ID from which you wish to retrieve the API key configuration.
215
- * @throws GetApiKeysConfigHttpError
216
- */
217
- declare function getApiKeysConfig(tenantId: string, options?: ApiCallOptions): Promise<GetApiKeysConfigHttpResponse>;
218
- type GetApiKeysConfigHttpResponse = {
219
- data: ApiKeysConfig;
220
- headers: Headers;
221
- status: 200;
222
- };
223
- type GetApiKeysConfigHttpError = {
224
- data: Errors;
225
- headers: Headers;
226
- status: number;
227
- };
228
- /**
229
- * Updates the API keys configuration for a given tenant ID.
230
- *
231
- * @param tenantId The tenant ID of the API keys configuration to be retrieved.
232
- * @param body an object with the body content
233
- * @throws PatchApiKeysConfigHttpError
234
- */
235
- declare function patchApiKeysConfig(tenantId: string, body: ApiKeysConfigPatchSchema, options?: ApiCallOptions): Promise<PatchApiKeysConfigHttpResponse>;
236
- type PatchApiKeysConfigHttpResponse = {
237
- data: void;
238
- headers: Headers;
239
- status: 204;
240
- };
241
- type PatchApiKeysConfigHttpError = {
242
- data: Errors;
243
- headers: Headers;
244
- status: 400 | 403 | 404 | 429;
245
- };
246
- /**
247
- * Deletes or revokes an API key for a given API key ID. When the owner of the API key sends the request, the key will be deleted and removed from the tenant. When a user assigned the `TenantAdmin` role sends the request, the key will be disabled and marked as revoked.
248
- *
249
- * @param id The ID of the API key to be retrieved.
250
- * @throws DeleteApiKeyHttpError
251
- */
252
- declare function deleteApiKey(id: string, options?: ApiCallOptions): Promise<DeleteApiKeyHttpResponse>;
253
- type DeleteApiKeyHttpResponse = {
254
- data: void;
255
- headers: Headers;
256
- status: 204;
257
- };
258
- type DeleteApiKeyHttpError = {
259
- data: Errors;
260
- headers: Headers;
261
- status: 403 | 404 | 429;
262
- };
263
- /**
264
- * Returns the API key for a given API key ID.
265
- *
266
- * @param id The ID of the API key to be retrieved.
267
- * @throws GetApiKeyHttpError
268
- */
269
- declare function getApiKey(id: string, options?: ApiCallOptions): Promise<GetApiKeyHttpResponse>;
270
- type GetApiKeyHttpResponse = {
271
- data: ApiKey;
272
- headers: Headers;
273
- status: 200;
274
- };
275
- type GetApiKeyHttpError = {
276
- data: Errors;
277
- headers: Headers;
278
- status: number;
279
- };
280
- /**
281
- * Updates an API key description for a given API key ID.
282
- *
283
- * @param id The ID of the API key resource to be updated.
284
- * @param body an object with the body content
285
- * @throws PatchApiKeyHttpError
286
- */
287
- declare function patchApiKey(id: string, body: ApiKeysPatchSchema, options?: ApiCallOptions): Promise<PatchApiKeyHttpResponse>;
288
- type PatchApiKeyHttpResponse = {
289
- data: void;
290
- headers: Headers;
291
- status: 204;
292
- };
293
- type PatchApiKeyHttpError = {
294
- data: Errors;
295
- headers: Headers;
296
- status: 400 | 403 | 404 | 429;
297
- };
298
- /**
299
- * Clears the cache for api-keys api requests.
300
- */
301
- declare function clearCache(): void;
302
- type ApiKeysAPI = {
303
- /**
304
- * Lists API keys for the tenant. To list API keys owned by other users, requesting user must be assigned the `TenantAdmin` role.
305
- *
306
- * @param query an object with query parameters
307
- * @throws GetApiKeysHttpError
308
- */
309
- getApiKeys: typeof getApiKeys;
310
- /**
311
- * Creates an API key, either for a user, or for configuring SCIM for a compatible Identity Provider.
312
- * Sending `sub` and `subType` is required only for creating SCIM keys.
313
- *
314
- * @param body an object with the body content
315
- * @throws CreateApiKeyHttpError
316
- */
317
- createApiKey: typeof createApiKey;
318
- /**
319
- * Retrieves the API key configuration for a tenant.
320
- *
321
- * @param tenantId The tenant ID from which you wish to retrieve the API key configuration.
322
- * @throws GetApiKeysConfigHttpError
323
- */
324
- getApiKeysConfig: typeof getApiKeysConfig;
325
- /**
326
- * Updates the API keys configuration for a given tenant ID.
327
- *
328
- * @param tenantId The tenant ID of the API keys configuration to be retrieved.
329
- * @param body an object with the body content
330
- * @throws PatchApiKeysConfigHttpError
331
- */
332
- patchApiKeysConfig: typeof patchApiKeysConfig;
333
- /**
334
- * Deletes or revokes an API key for a given API key ID. When the owner of the API key sends the request, the key will be deleted and removed from the tenant. When a user assigned the `TenantAdmin` role sends the request, the key will be disabled and marked as revoked.
335
- *
336
- * @param id The ID of the API key to be retrieved.
337
- * @throws DeleteApiKeyHttpError
338
- */
339
- deleteApiKey: typeof deleteApiKey;
340
- /**
341
- * Returns the API key for a given API key ID.
342
- *
343
- * @param id The ID of the API key to be retrieved.
344
- * @throws GetApiKeyHttpError
345
- */
346
- getApiKey: typeof getApiKey;
347
- /**
348
- * Updates an API key description for a given API key ID.
349
- *
350
- * @param id The ID of the API key resource to be updated.
351
- * @param body an object with the body content
352
- * @throws PatchApiKeyHttpError
353
- */
354
- patchApiKey: typeof patchApiKey;
355
- /**
356
- * Clears the cache for api-keys api requests.
357
- */
358
- clearCache: typeof clearCache;
359
- };
360
- /**
361
- * Functions for the api-keys api
362
- */
363
- declare const apiKeysExport: ApiKeysAPI;
364
- //#endregion
365
- export { clearCache as A, Link as C, PatchApiKeysConfigHttpResponse as D, PatchApiKeysConfigHttpError as E, getApiKeysConfig as F, patchApiKey as I, patchApiKeysConfig as L, deleteApiKey as M, getApiKey as N, RetryAfterHeader as O, getApiKeys as P, GetApiKeysHttpResponse as S, PatchApiKeyHttpResponse as T, GetApiKeyHttpError as _, ApiKeyPatch as a, GetApiKeysConfigHttpResponse as b, ApiKeysConfig as c, CreateApiKeyHttpError as d, CreateApiKeyHttpResponse as f, Errors as g, Error as h, ApiKeyPage as i, createApiKey as j, apiKeysExport as k, ApiKeysConfigPatchSchema as l, DeleteApiKeyHttpResponse as m, ApiKeyBody as n, ApiKeyWithToken as o, DeleteApiKeyHttpError as p, ApiKeyConfigPatch as r, ApiKeysAPI as s, ApiKey as t, ApiKeysPatchSchema as u, GetApiKeyHttpResponse as v, PatchApiKeyHttpError as w, GetApiKeysHttpError as x, GetApiKeysConfigHttpError as y };