@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,366 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/automation-connections.d.ts
4
- type AutomationConnectionChangeOwnerObject = {
5
- /** The unique identifier of the new owner. */
6
- userId?: string;
7
- };
8
- type AutomationConnectionChangeSpaceObject = {
9
- /** The unique identifier of the new space. */
10
- spaceId?: string;
11
- };
12
- type AutomationConnectionCheckObject = {
13
- /** The connection status of the automation connection. When true, the automation connection is connected. */
14
- isConnected?: boolean;
15
- };
16
- type AutomationConnectionCreationObject = {
17
- /** The unique identifier of the connector from which the automation connection is created. */
18
- connectorId: string;
19
- /** The name of the created automation connection. */
20
- name?: string;
21
- params?: AutomationConnectionParamCreateObject[];
22
- /** The unique identifier of the space in which the automation connection is created. */
23
- spaceId?: string;
24
- };
25
- type AutomationConnectionDetailObject = {
26
- /** The unique identifier of the automation connector. */
27
- connectorId?: string;
28
- /** The timestamp when the automation connection was created. */
29
- createdAt?: string;
30
- /** This contains the error message if a connection is being created with an issue. */
31
- error?: unknown;
32
- /** The unique identifier of the automation connection. */
33
- id?: string;
34
- /** The connection status of the automation connection. When true, the automation connection is connected. */
35
- isConnected?: boolean;
36
- /** The name of the automation connection. */
37
- name?: string;
38
- /** The name of the OAuth account associated with the automation connection. */
39
- oauthAccountName?: string;
40
- /** The unique identifier of the owner of the automation connection. */
41
- ownerId?: string;
42
- params?: AutomationConnectionParamObject[];
43
- /** The redirect of the OAuth account. */
44
- redirect?: string;
45
- /** The space ID of the automation connection. */
46
- spaceId?: string;
47
- /** The timestamp when the automation connection was updated. */
48
- updatedAt?: string;
49
- };
50
- type AutomationConnectionParamCreateObject = {
51
- /** The name of the automation connection parameter. */
52
- name?: string;
53
- /** The value of the automation connection parameter option. */
54
- value?: string;
55
- };
56
- type AutomationConnectionParamObject = {
57
- /** The documentation of the automation connection parameter. */
58
- documentation?: string;
59
- /** The example value of the automation connection parameter. */
60
- exampleValue?: string;
61
- /** The field type of the automation connection parameter. */
62
- fieldType?: string;
63
- /** The unique identifier of the automation connection parameter. */
64
- id?: string;
65
- /** When true, the parameter is optional. */
66
- isOptional?: boolean;
67
- /** The metadata of the automation connection parameter. */
68
- meta?: unknown[];
69
- /** The name of the automation connection parameter. */
70
- name?: string;
71
- /** The order that the automation connection configuration fields should be displayed in. */
72
- order?: number;
73
- paramOptions?: AutomationConnectionParamOptionObject[];
74
- /** The value of the automation connection parameter. */
75
- value?: string;
76
- };
77
- type AutomationConnectionParamOptionObject = {
78
- /** The unique identifier of the automation connection parameter option. */
79
- id?: string;
80
- /** The value of the automation connection parameter option. */
81
- value?: string;
82
- };
83
- type AutomationConnectionParamPutObject = {
84
- /** The unique identifier of the automation connection parameter option. */
85
- id?: string;
86
- /** The value of the automation connection parameter option. */
87
- value?: string;
88
- };
89
- type AutomationConnectionPutRequestObject = {
90
- /** The new name of the automation connection to be renamed to. */
91
- name?: string;
92
- params?: AutomationConnectionParamPutObject[];
93
- };
94
- type AutomationConnectionsList = {
95
- data?: AutomationConnectionsListObject[];
96
- links?: Links;
97
- };
98
- type AutomationConnectionsListObject = {
99
- /** The unique identifier of the connector the automation connection is created from. */
100
- connectorId?: string;
101
- /** The timestamp when the automation connection is created. */
102
- createdAt?: string;
103
- /** The unique identifier of an automation connection. */
104
- id?: string;
105
- /** Returns true if the automtion connection is connected. */
106
- isConnected?: boolean;
107
- /** The name of an automation connection. */
108
- name?: string;
109
- /** The unique identifier of the owner of the automation connection. */
110
- ownerId?: string;
111
- /** The space ID of the automation connection. */
112
- spaceId?: string;
113
- /** The timestamp when the automation connection is updated. */
114
- updatedAt?: string;
115
- };
116
- type Error = {
117
- /** The unique code for the error */
118
- code: string;
119
- /** May be used to provide additional details */
120
- detail?: string;
121
- /** A summary of what went wrong */
122
- title: string;
123
- };
124
- type ErrorResponse = {
125
- errors?: Error[];
126
- /** A way to trace the source of the error. */
127
- traceId?: string;
128
- };
129
- type Links = {
130
- next?: PaginationLink;
131
- prev?: PaginationLink;
132
- };
133
- type PaginationLink = {
134
- /** The URL to a resource request */
135
- href?: string;
136
- };
137
- /**
138
- * Retrieves a list of automation connections
139
- *
140
- * @param query an object with query parameters
141
- * @throws GetAutomationConnectionsHttpError
142
- */
143
- declare function getAutomationConnections(query: {
144
- /** Filters the result based on the specified criteria: name, connectorId, ownerId, or spaceId. */
145
- filter?: string;
146
- /** The number of automation connections to retrieve. */
147
- limit?: number;
148
- /** When true, list all connections. Restricted to tenant admins and analytics admins. */
149
- listAll?: boolean;
150
- /** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
151
- sort?: "id" | "name" | "createdAt" | "updatedAt" | "+id" | "+name" | "+createdAt" | "+updatedAt" | "-id" | "-name" | "-createdAt" | "-updatedAt";
152
- }, options?: ApiCallOptions): Promise<GetAutomationConnectionsHttpResponse>;
153
- type GetAutomationConnectionsHttpResponse = {
154
- data: AutomationConnectionsList;
155
- headers: Headers;
156
- status: 200;
157
- prev?: (options?: ApiCallOptions) => Promise<GetAutomationConnectionsHttpResponse>;
158
- next?: (options?: ApiCallOptions) => Promise<GetAutomationConnectionsHttpResponse>;
159
- };
160
- type GetAutomationConnectionsHttpError = {
161
- data: ErrorResponse;
162
- headers: Headers;
163
- status: 400 | 401 | 403 | 500 | 503;
164
- };
165
- /**
166
- * Creates a new connection object from an automation connector.
167
- *
168
- * @param body an object with the body content
169
- * @throws CreateAutomationConnectionHttpError
170
- */
171
- declare function createAutomationConnection(body: AutomationConnectionCreationObject, options?: ApiCallOptions): Promise<CreateAutomationConnectionHttpResponse>;
172
- type CreateAutomationConnectionHttpResponse = {
173
- data: AutomationConnectionDetailObject;
174
- headers: Headers;
175
- status: 201;
176
- };
177
- type CreateAutomationConnectionHttpError = {
178
- data: ErrorResponse;
179
- headers: Headers;
180
- status: 400 | 401 | 403 | 500 | 503;
181
- };
182
- /**
183
- * Deletes the specified automation connection.
184
- *
185
- * @param id The unique identifier for the automation connection.
186
- * @param query an object with query parameters
187
- * @throws DeleteAutomationConnectionHttpError
188
- */
189
- declare function deleteAutomationConnection(id: string, query: {
190
- /** When true, the automation connection will be deleted regardless of its usage by any automations. */
191
- forced?: boolean;
192
- }, options?: ApiCallOptions): Promise<DeleteAutomationConnectionHttpResponse>;
193
- type DeleteAutomationConnectionHttpResponse = {
194
- data: void;
195
- headers: Headers;
196
- status: 204;
197
- };
198
- type DeleteAutomationConnectionHttpError = {
199
- data: ErrorResponse;
200
- headers: Headers;
201
- status: 400 | 401 | 403 | 404 | 500 | 503;
202
- };
203
- /**
204
- * Returns details about the specified automation connection.
205
- *
206
- * @param id The unique identifier for the automation connection.
207
- * @throws GetAutomationConnectionHttpError
208
- */
209
- declare function getAutomationConnection(id: string, options?: ApiCallOptions): Promise<GetAutomationConnectionHttpResponse>;
210
- type GetAutomationConnectionHttpResponse = {
211
- data: AutomationConnectionDetailObject;
212
- headers: Headers;
213
- status: 200;
214
- };
215
- type GetAutomationConnectionHttpError = {
216
- data: ErrorResponse;
217
- headers: Headers;
218
- status: 400 | 401 | 403 | 404 | 500 | 503;
219
- };
220
- /**
221
- * Updates the specified properties of an automation connection.
222
- *
223
- * @param id The unique identifier for the automation connection.
224
- * @param body an object with the body content
225
- * @throws UpdateAutomationConnectionHttpError
226
- */
227
- declare function updateAutomationConnection(id: string, body: AutomationConnectionPutRequestObject, options?: ApiCallOptions): Promise<UpdateAutomationConnectionHttpResponse>;
228
- type UpdateAutomationConnectionHttpResponse = {
229
- data: AutomationConnectionDetailObject;
230
- headers: Headers;
231
- status: 200;
232
- };
233
- type UpdateAutomationConnectionHttpError = {
234
- data: ErrorResponse;
235
- headers: Headers;
236
- status: 400 | 401 | 403 | 404 | 500 | 503;
237
- };
238
- /**
239
- * Changes the owner of an automation connection by specifying a new owner.
240
- *
241
- * @param id The unique identifier for the automation connection.
242
- * @param body an object with the body content
243
- * @throws ChangeOwnerAutomationConnectionHttpError
244
- */
245
- declare function changeOwnerAutomationConnection(id: string, body: AutomationConnectionChangeOwnerObject, options?: ApiCallOptions): Promise<ChangeOwnerAutomationConnectionHttpResponse>;
246
- type ChangeOwnerAutomationConnectionHttpResponse = {
247
- data: void;
248
- headers: Headers;
249
- status: 204;
250
- };
251
- type ChangeOwnerAutomationConnectionHttpError = {
252
- data: ErrorResponse;
253
- headers: Headers;
254
- status: 400 | 401 | 403 | 404 | 500 | 503;
255
- };
256
- /**
257
- * Changes the space of an automation connection by specifying a new space.
258
- *
259
- * @param id The unique identifier for the automation connection.
260
- * @param body an object with the body content
261
- * @throws ChangeSpaceAutomationConnectionHttpError
262
- */
263
- declare function changeSpaceAutomationConnection(id: string, body: AutomationConnectionChangeSpaceObject, options?: ApiCallOptions): Promise<ChangeSpaceAutomationConnectionHttpResponse>;
264
- type ChangeSpaceAutomationConnectionHttpResponse = {
265
- data: void;
266
- headers: Headers;
267
- status: 204;
268
- };
269
- type ChangeSpaceAutomationConnectionHttpError = {
270
- data: ErrorResponse;
271
- headers: Headers;
272
- status: 400 | 401 | 403 | 404 | 500 | 503;
273
- };
274
- /**
275
- * Tries to validate and checks the connection status of an automation connection.
276
- *
277
- * @param id The unique identifier for the automation connection.
278
- * @throws CheckAutomationConnectionHttpError
279
- */
280
- declare function checkAutomationConnection(id: string, options?: ApiCallOptions): Promise<CheckAutomationConnectionHttpResponse>;
281
- type CheckAutomationConnectionHttpResponse = {
282
- data: AutomationConnectionCheckObject;
283
- headers: Headers;
284
- status: 200;
285
- };
286
- type CheckAutomationConnectionHttpError = {
287
- data: ErrorResponse;
288
- headers: Headers;
289
- status: 400 | 401 | 403 | 404 | 500 | 503;
290
- };
291
- /**
292
- * Clears the cache for automation-connections api requests.
293
- */
294
- declare function clearCache(): void;
295
- type AutomationConnectionsAPI = {
296
- /**
297
- * Retrieves a list of automation connections
298
- *
299
- * @param query an object with query parameters
300
- * @throws GetAutomationConnectionsHttpError
301
- */
302
- getAutomationConnections: typeof getAutomationConnections;
303
- /**
304
- * Creates a new connection object from an automation connector.
305
- *
306
- * @param body an object with the body content
307
- * @throws CreateAutomationConnectionHttpError
308
- */
309
- createAutomationConnection: typeof createAutomationConnection;
310
- /**
311
- * Deletes the specified automation connection.
312
- *
313
- * @param id The unique identifier for the automation connection.
314
- * @param query an object with query parameters
315
- * @throws DeleteAutomationConnectionHttpError
316
- */
317
- deleteAutomationConnection: typeof deleteAutomationConnection;
318
- /**
319
- * Returns details about the specified automation connection.
320
- *
321
- * @param id The unique identifier for the automation connection.
322
- * @throws GetAutomationConnectionHttpError
323
- */
324
- getAutomationConnection: typeof getAutomationConnection;
325
- /**
326
- * Updates the specified properties of an automation connection.
327
- *
328
- * @param id The unique identifier for the automation connection.
329
- * @param body an object with the body content
330
- * @throws UpdateAutomationConnectionHttpError
331
- */
332
- updateAutomationConnection: typeof updateAutomationConnection;
333
- /**
334
- * Changes the owner of an automation connection by specifying a new owner.
335
- *
336
- * @param id The unique identifier for the automation connection.
337
- * @param body an object with the body content
338
- * @throws ChangeOwnerAutomationConnectionHttpError
339
- */
340
- changeOwnerAutomationConnection: typeof changeOwnerAutomationConnection;
341
- /**
342
- * Changes the space of an automation connection by specifying a new space.
343
- *
344
- * @param id The unique identifier for the automation connection.
345
- * @param body an object with the body content
346
- * @throws ChangeSpaceAutomationConnectionHttpError
347
- */
348
- changeSpaceAutomationConnection: typeof changeSpaceAutomationConnection;
349
- /**
350
- * Tries to validate and checks the connection status of an automation connection.
351
- *
352
- * @param id The unique identifier for the automation connection.
353
- * @throws CheckAutomationConnectionHttpError
354
- */
355
- checkAutomationConnection: typeof checkAutomationConnection;
356
- /**
357
- * Clears the cache for automation-connections api requests.
358
- */
359
- clearCache: typeof clearCache;
360
- };
361
- /**
362
- * Functions for the automation-connections api
363
- */
364
- declare const automationConnectionsExport: AutomationConnectionsAPI;
365
- //#endregion
366
- export { Links as A, deleteAutomationConnection as B, DeleteAutomationConnectionHttpResponse as C, GetAutomationConnectionHttpResponse as D, GetAutomationConnectionHttpError as E, changeOwnerAutomationConnection as F, getAutomationConnections as H, changeSpaceAutomationConnection as I, checkAutomationConnection as L, UpdateAutomationConnectionHttpError as M, UpdateAutomationConnectionHttpResponse as N, GetAutomationConnectionsHttpError as O, automationConnectionsExport as P, clearCache as R, DeleteAutomationConnectionHttpError as S, ErrorResponse as T, updateAutomationConnection as U, getAutomationConnection as V, ChangeSpaceAutomationConnectionHttpResponse as _, AutomationConnectionDetailObject as a, CreateAutomationConnectionHttpError as b, AutomationConnectionParamOptionObject as c, AutomationConnectionsAPI as d, AutomationConnectionsList as f, ChangeSpaceAutomationConnectionHttpError as g, ChangeOwnerAutomationConnectionHttpResponse as h, AutomationConnectionCreationObject as i, PaginationLink as j, GetAutomationConnectionsHttpResponse as k, AutomationConnectionParamPutObject as l, ChangeOwnerAutomationConnectionHttpError as m, AutomationConnectionChangeSpaceObject as n, AutomationConnectionParamCreateObject as o, AutomationConnectionsListObject as p, AutomationConnectionCheckObject as r, AutomationConnectionParamObject as s, AutomationConnectionChangeOwnerObject as t, AutomationConnectionPutRequestObject as u, CheckAutomationConnectionHttpError as v, Error as w, CreateAutomationConnectionHttpResponse as x, CheckAutomationConnectionHttpResponse as y, createAutomationConnection as z };
@@ -1,84 +0,0 @@
1
- import { y as ApiCallOptions } from "./auth-types-E99tzdN0.js";
2
-
3
- //#region src/public/rest/automation-connectors.d.ts
4
- type AutomationConnectorsList = {
5
- data?: AutomationConnectorsListObject[];
6
- links?: Links;
7
- };
8
- type AutomationConnectorsListObject = {
9
- /** Indicates if the connector is billable. */
10
- billable?: boolean;
11
- readonly id?: string;
12
- /** The name of an automation connector. */
13
- name?: string;
14
- };
15
- type Error = {
16
- /** The unique code for the error */
17
- code: string;
18
- /** May be used to provide additional details */
19
- detail?: string;
20
- /** A summary of what went wrong */
21
- title: string;
22
- };
23
- type ErrorResponse = {
24
- errors?: Error[];
25
- /** A way to trace the source of the error. */
26
- traceId?: string;
27
- };
28
- type Links = {
29
- next?: PaginationLink;
30
- prev?: PaginationLink;
31
- };
32
- type PaginationLink = {
33
- /** The URL to a resource request */
34
- href?: string;
35
- };
36
- /**
37
- * Retrieves a list of automation connectors.
38
- *
39
- * @param query an object with query parameters
40
- * @throws GetAutomationConnectorsHttpError
41
- */
42
- declare function getAutomationConnectors(query: {
43
- /** Filters the result based on the specified criteria: name. */
44
- filter?: string;
45
- /** The number of automation connectors to retrieve. */
46
- limit?: number;
47
- /** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
48
- sort?: "name" | "+name" | "-name";
49
- }, options?: ApiCallOptions): Promise<GetAutomationConnectorsHttpResponse>;
50
- type GetAutomationConnectorsHttpResponse = {
51
- data: AutomationConnectorsList;
52
- headers: Headers;
53
- status: 200;
54
- prev?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
55
- next?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
56
- };
57
- type GetAutomationConnectorsHttpError = {
58
- data: ErrorResponse;
59
- headers: Headers;
60
- status: 400 | 401 | 403 | 500 | 503;
61
- };
62
- /**
63
- * Clears the cache for automation-connectors api requests.
64
- */
65
- declare function clearCache(): void;
66
- type AutomationConnectorsAPI = {
67
- /**
68
- * Retrieves a list of automation connectors.
69
- *
70
- * @param query an object with query parameters
71
- * @throws GetAutomationConnectorsHttpError
72
- */
73
- getAutomationConnectors: typeof getAutomationConnectors;
74
- /**
75
- * Clears the cache for automation-connectors api requests.
76
- */
77
- clearCache: typeof clearCache;
78
- };
79
- /**
80
- * Functions for the automation-connectors api
81
- */
82
- declare const automationConnectorsExport: AutomationConnectorsAPI;
83
- //#endregion
84
- export { ErrorResponse as a, Links as c, clearCache as d, getAutomationConnectors as f, Error as i, PaginationLink as l, AutomationConnectorsList as n, GetAutomationConnectorsHttpError as o, AutomationConnectorsListObject as r, GetAutomationConnectorsHttpResponse as s, AutomationConnectorsAPI as t, automationConnectorsExport as u };