@qlik/api 1.31.0 → 1.32.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.
- package/api-keys.js +2 -2
- package/apps.js +2 -2
- package/assistants.d.ts +1301 -0
- package/assistants.js +273 -0
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automation-connections.d.ts +366 -0
- package/automation-connections.js +91 -0
- package/automations.js +2 -2
- package/automl-deployments.d.ts +97 -0
- package/automl-deployments.js +27 -0
- package/automl-predictions.d.ts +214 -0
- package/automl-predictions.js +72 -0
- package/brands.js +2 -2
- package/chunks/{GUU3KZGK.js → RCLKKVYB.js} +1 -1
- package/chunks/{YKZ2QYHN.js → VVD2DPKQ.js} +2 -2
- package/chunks/{KBSD75QL.js → YTT2FEVE.js} +1 -1
- package/collections.js +2 -2
- package/conditions.d.ts +662 -0
- package/conditions.js +113 -0
- package/consumption.d.ts +182 -0
- package/consumption.js +24 -0
- package/csp-origins.js +2 -2
- package/csrf-token.d.ts +62 -0
- package/csrf-token.js +23 -0
- package/data-alerts.d.ts +1004 -0
- package/data-alerts.js +155 -0
- package/data-assets.js +2 -2
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/data-qualities.d.ts +175 -0
- package/data-qualities.js +44 -0
- package/data-sets.d.ts +424 -0
- package/data-sets.js +75 -0
- package/data-sources.d.ts +268 -0
- package/data-sources.js +39 -0
- package/data-stores.d.ts +537 -0
- package/data-stores.js +108 -0
- package/dcaas.d.ts +192 -0
- package/dcaas.js +39 -0
- package/di-projects.d.ts +673 -0
- package/di-projects.js +164 -0
- package/encryption.d.ts +370 -0
- package/encryption.js +98 -0
- package/extensions.js +2 -2
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +105 -1
- package/index.js +556 -4
- package/items.js +2 -2
- package/knowledgebases.d.ts +890 -0
- package/knowledgebases.js +169 -0
- package/licenses.d.ts +1 -1
- package/licenses.js +2 -2
- package/lineage-graphs.d.ts +712 -0
- package/lineage-graphs.js +92 -0
- package/ml.d.ts +2628 -0
- package/ml.js +384 -0
- package/notes.d.ts +110 -0
- package/notes.js +31 -0
- package/notifications.d.ts +98 -0
- package/notifications.js +24 -0
- package/oauth-clients.js +2 -2
- package/oauth-tokens.d.ts +126 -0
- package/oauth-tokens.js +31 -0
- package/package.json +28 -2
- package/qix.d.ts +1 -1
- package/qix.js +2 -2
- package/questions.d.ts +364 -0
- package/questions.js +34 -0
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.js +2 -2
- package/report-templates.d.ts +287 -0
- package/report-templates.js +80 -0
- package/reports.js +2 -2
- package/roles.js +2 -2
- package/sharing-tasks.d.ts +952 -0
- package/sharing-tasks.js +105 -0
- package/spaces.js +2 -2
- package/tasks.d.ts +564 -0
- package/tasks.js +106 -0
- package/temp-contents.js +2 -2
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/ui-config.d.ts +274 -0
- package/ui-config.js +77 -0
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
- /package/chunks/{DLKLPD7T.js → LTNGXTXG.js} +0 -0
package/assistants.js
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import {
|
|
2
|
+
clearApiCache,
|
|
3
|
+
invokeFetch
|
|
4
|
+
} from "./chunks/VVD2DPKQ.js";
|
|
5
|
+
import "./chunks/LTNGXTXG.js";
|
|
6
|
+
import "./chunks/2ZQ3ZX7F.js";
|
|
7
|
+
|
|
8
|
+
// src/public/rest/assistants.ts
|
|
9
|
+
var getAssistants = async (query, options) => invokeFetch("assistants", {
|
|
10
|
+
method: "get",
|
|
11
|
+
pathTemplate: "/api/v1/assistants",
|
|
12
|
+
query,
|
|
13
|
+
options
|
|
14
|
+
});
|
|
15
|
+
var createAssistant = async (body, options) => invokeFetch("assistants", {
|
|
16
|
+
method: "post",
|
|
17
|
+
pathTemplate: "/api/v1/assistants",
|
|
18
|
+
body,
|
|
19
|
+
contentType: "application/json",
|
|
20
|
+
options
|
|
21
|
+
});
|
|
22
|
+
var getAssistantFeedback = async (assistantId, options) => invokeFetch("assistants", {
|
|
23
|
+
method: "get",
|
|
24
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/feedback",
|
|
25
|
+
pathVariables: { assistantId },
|
|
26
|
+
options
|
|
27
|
+
});
|
|
28
|
+
var getAssistantSources = async (assistantId, body, options) => invokeFetch("assistants", {
|
|
29
|
+
method: "post",
|
|
30
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/sources/plaintexts",
|
|
31
|
+
pathVariables: { assistantId },
|
|
32
|
+
body,
|
|
33
|
+
contentType: "application/json",
|
|
34
|
+
options
|
|
35
|
+
});
|
|
36
|
+
var getAssistantStarters = async (assistantId, query, options) => invokeFetch("assistants", {
|
|
37
|
+
method: "get",
|
|
38
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters",
|
|
39
|
+
pathVariables: { assistantId },
|
|
40
|
+
query,
|
|
41
|
+
options
|
|
42
|
+
});
|
|
43
|
+
var createAssistantStarter = async (assistantId, body, options) => invokeFetch("assistants", {
|
|
44
|
+
method: "post",
|
|
45
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters",
|
|
46
|
+
pathVariables: { assistantId },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
var deleteAssistantStarter = async (assistantId, starterId, options) => invokeFetch("assistants", {
|
|
52
|
+
method: "delete",
|
|
53
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters/{starterId}",
|
|
54
|
+
pathVariables: { assistantId, starterId },
|
|
55
|
+
options
|
|
56
|
+
});
|
|
57
|
+
var getAssistantStarter = async (assistantId, starterId, options) => invokeFetch("assistants", {
|
|
58
|
+
method: "get",
|
|
59
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters/{starterId}",
|
|
60
|
+
pathVariables: { assistantId, starterId },
|
|
61
|
+
options
|
|
62
|
+
});
|
|
63
|
+
var updateAssistantStarter = async (assistantId, starterId, body, options) => invokeFetch("assistants", {
|
|
64
|
+
method: "put",
|
|
65
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters/{starterId}",
|
|
66
|
+
pathVariables: { assistantId, starterId },
|
|
67
|
+
body,
|
|
68
|
+
contentType: "application/json",
|
|
69
|
+
options
|
|
70
|
+
});
|
|
71
|
+
var deleteAssistantStarterFollowup = async (assistantId, starterId, followupId, options) => invokeFetch("assistants", {
|
|
72
|
+
method: "delete",
|
|
73
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters/{starterId}/followups/{followupId}",
|
|
74
|
+
pathVariables: { assistantId, starterId, followupId },
|
|
75
|
+
options
|
|
76
|
+
});
|
|
77
|
+
var updateAssistantStarterFollowup = async (assistantId, starterId, followupId, body, options) => invokeFetch("assistants", {
|
|
78
|
+
method: "put",
|
|
79
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/starters/{starterId}/followups/{followupId}",
|
|
80
|
+
pathVariables: { assistantId, starterId, followupId },
|
|
81
|
+
body,
|
|
82
|
+
contentType: "application/json",
|
|
83
|
+
options
|
|
84
|
+
});
|
|
85
|
+
var getAssistantThreads = async (assistantId, query, options) => invokeFetch("assistants", {
|
|
86
|
+
method: "get",
|
|
87
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads",
|
|
88
|
+
pathVariables: { assistantId },
|
|
89
|
+
query,
|
|
90
|
+
options
|
|
91
|
+
});
|
|
92
|
+
var createAssistantThread = async (assistantId, body, options) => invokeFetch("assistants", {
|
|
93
|
+
method: "post",
|
|
94
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads",
|
|
95
|
+
pathVariables: { assistantId },
|
|
96
|
+
body,
|
|
97
|
+
contentType: "application/json",
|
|
98
|
+
options
|
|
99
|
+
});
|
|
100
|
+
var invokeAssistantThread = async (assistantId, threadId, body, options) => invokeFetch("assistants", {
|
|
101
|
+
method: "post",
|
|
102
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/actions/invoke",
|
|
103
|
+
pathVariables: { assistantId, threadId },
|
|
104
|
+
body,
|
|
105
|
+
contentType: "application/json",
|
|
106
|
+
options
|
|
107
|
+
});
|
|
108
|
+
var streamAssistantThread = async (assistantId, threadId, body, options) => invokeFetch("assistants", {
|
|
109
|
+
method: "post",
|
|
110
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/actions/stream",
|
|
111
|
+
pathVariables: { assistantId, threadId },
|
|
112
|
+
body,
|
|
113
|
+
contentType: "application/json",
|
|
114
|
+
options
|
|
115
|
+
});
|
|
116
|
+
var getAssistantThreadInteractions = async (assistantId, threadId, query, options) => invokeFetch("assistants", {
|
|
117
|
+
method: "get",
|
|
118
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions",
|
|
119
|
+
pathVariables: { assistantId, threadId },
|
|
120
|
+
query,
|
|
121
|
+
options
|
|
122
|
+
});
|
|
123
|
+
var createAssistantThreadInteraction = async (assistantId, threadId, body, options) => invokeFetch("assistants", {
|
|
124
|
+
method: "post",
|
|
125
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions",
|
|
126
|
+
pathVariables: { assistantId, threadId },
|
|
127
|
+
body,
|
|
128
|
+
contentType: "application/json",
|
|
129
|
+
options
|
|
130
|
+
});
|
|
131
|
+
var deleteAssistantThreadInteraction = async (assistantId, threadId, interactionId, options) => invokeFetch("assistants", {
|
|
132
|
+
method: "delete",
|
|
133
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions/{interactionId}",
|
|
134
|
+
pathVariables: { assistantId, threadId, interactionId },
|
|
135
|
+
options
|
|
136
|
+
});
|
|
137
|
+
var getAssistantThreadInteraction = async (assistantId, threadId, interactionId, options) => invokeFetch("assistants", {
|
|
138
|
+
method: "get",
|
|
139
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions/{interactionId}",
|
|
140
|
+
pathVariables: { assistantId, threadId, interactionId },
|
|
141
|
+
options
|
|
142
|
+
});
|
|
143
|
+
var createAssistantThreadInteractionFeedback = async (assistantId, threadId, interactionId, body, options) => invokeFetch("assistants", {
|
|
144
|
+
method: "post",
|
|
145
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions/{interactionId}/feedback",
|
|
146
|
+
pathVariables: { assistantId, threadId, interactionId },
|
|
147
|
+
body,
|
|
148
|
+
contentType: "application/json",
|
|
149
|
+
options
|
|
150
|
+
});
|
|
151
|
+
var patchAssistantThreadInteractionFeedback = async (assistantId, threadId, interactionId, feedbackId, body, options) => invokeFetch("assistants", {
|
|
152
|
+
method: "patch",
|
|
153
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions/{interactionId}/feedback/{feedbackId}",
|
|
154
|
+
pathVariables: { assistantId, threadId, interactionId, feedbackId },
|
|
155
|
+
body,
|
|
156
|
+
contentType: "application/json",
|
|
157
|
+
options
|
|
158
|
+
});
|
|
159
|
+
var createAssistantThreadInteractionReview = async (assistantId, threadId, interactionId, body, options) => invokeFetch("assistants", {
|
|
160
|
+
method: "post",
|
|
161
|
+
pathTemplate: "/api/v1/assistants/{assistantId}/threads/{threadId}/interactions/{interactionId}/reviews",
|
|
162
|
+
pathVariables: { assistantId, threadId, interactionId },
|
|
163
|
+
body,
|
|
164
|
+
contentType: "application/json",
|
|
165
|
+
options
|
|
166
|
+
});
|
|
167
|
+
var deleteAssistantThread = async (assistantid, threadid, options) => invokeFetch("assistants", {
|
|
168
|
+
method: "delete",
|
|
169
|
+
pathTemplate: "/api/v1/assistants/{assistantid}/threads/{threadid}",
|
|
170
|
+
pathVariables: { assistantid, threadid },
|
|
171
|
+
options
|
|
172
|
+
});
|
|
173
|
+
var getAssistantThread = async (assistantid, threadid, options) => invokeFetch("assistants", {
|
|
174
|
+
method: "get",
|
|
175
|
+
pathTemplate: "/api/v1/assistants/{assistantid}/threads/{threadid}",
|
|
176
|
+
pathVariables: { assistantid, threadid },
|
|
177
|
+
options
|
|
178
|
+
});
|
|
179
|
+
var patchAssistantThread = async (assistantid, threadid, body, options) => invokeFetch("assistants", {
|
|
180
|
+
method: "patch",
|
|
181
|
+
pathTemplate: "/api/v1/assistants/{assistantid}/threads/{threadid}",
|
|
182
|
+
pathVariables: { assistantid, threadid },
|
|
183
|
+
body,
|
|
184
|
+
contentType: "application/json",
|
|
185
|
+
options
|
|
186
|
+
});
|
|
187
|
+
var deleteAssistant = async (id, options) => invokeFetch("assistants", {
|
|
188
|
+
method: "delete",
|
|
189
|
+
pathTemplate: "/api/v1/assistants/{id}",
|
|
190
|
+
pathVariables: { id },
|
|
191
|
+
options
|
|
192
|
+
});
|
|
193
|
+
var getAssistant = async (id, options) => invokeFetch("assistants", {
|
|
194
|
+
method: "get",
|
|
195
|
+
pathTemplate: "/api/v1/assistants/{id}",
|
|
196
|
+
pathVariables: { id },
|
|
197
|
+
options
|
|
198
|
+
});
|
|
199
|
+
var patchAssistant = async (id, body, options) => invokeFetch("assistants", {
|
|
200
|
+
method: "patch",
|
|
201
|
+
pathTemplate: "/api/v1/assistants/{id}",
|
|
202
|
+
pathVariables: { id },
|
|
203
|
+
body,
|
|
204
|
+
contentType: "application/json",
|
|
205
|
+
options
|
|
206
|
+
});
|
|
207
|
+
function clearCache() {
|
|
208
|
+
return clearApiCache("assistants");
|
|
209
|
+
}
|
|
210
|
+
var assistantsExport = {
|
|
211
|
+
getAssistants,
|
|
212
|
+
createAssistant,
|
|
213
|
+
getAssistantFeedback,
|
|
214
|
+
getAssistantSources,
|
|
215
|
+
getAssistantStarters,
|
|
216
|
+
createAssistantStarter,
|
|
217
|
+
deleteAssistantStarter,
|
|
218
|
+
getAssistantStarter,
|
|
219
|
+
updateAssistantStarter,
|
|
220
|
+
deleteAssistantStarterFollowup,
|
|
221
|
+
updateAssistantStarterFollowup,
|
|
222
|
+
getAssistantThreads,
|
|
223
|
+
createAssistantThread,
|
|
224
|
+
invokeAssistantThread,
|
|
225
|
+
streamAssistantThread,
|
|
226
|
+
getAssistantThreadInteractions,
|
|
227
|
+
createAssistantThreadInteraction,
|
|
228
|
+
deleteAssistantThreadInteraction,
|
|
229
|
+
getAssistantThreadInteraction,
|
|
230
|
+
createAssistantThreadInteractionFeedback,
|
|
231
|
+
patchAssistantThreadInteractionFeedback,
|
|
232
|
+
createAssistantThreadInteractionReview,
|
|
233
|
+
deleteAssistantThread,
|
|
234
|
+
getAssistantThread,
|
|
235
|
+
patchAssistantThread,
|
|
236
|
+
deleteAssistant,
|
|
237
|
+
getAssistant,
|
|
238
|
+
patchAssistant,
|
|
239
|
+
clearCache
|
|
240
|
+
};
|
|
241
|
+
var assistants_default = assistantsExport;
|
|
242
|
+
export {
|
|
243
|
+
clearCache,
|
|
244
|
+
createAssistant,
|
|
245
|
+
createAssistantStarter,
|
|
246
|
+
createAssistantThread,
|
|
247
|
+
createAssistantThreadInteraction,
|
|
248
|
+
createAssistantThreadInteractionFeedback,
|
|
249
|
+
createAssistantThreadInteractionReview,
|
|
250
|
+
assistants_default as default,
|
|
251
|
+
deleteAssistant,
|
|
252
|
+
deleteAssistantStarter,
|
|
253
|
+
deleteAssistantStarterFollowup,
|
|
254
|
+
deleteAssistantThread,
|
|
255
|
+
deleteAssistantThreadInteraction,
|
|
256
|
+
getAssistant,
|
|
257
|
+
getAssistantFeedback,
|
|
258
|
+
getAssistantSources,
|
|
259
|
+
getAssistantStarter,
|
|
260
|
+
getAssistantStarters,
|
|
261
|
+
getAssistantThread,
|
|
262
|
+
getAssistantThreadInteraction,
|
|
263
|
+
getAssistantThreadInteractions,
|
|
264
|
+
getAssistantThreads,
|
|
265
|
+
getAssistants,
|
|
266
|
+
invokeAssistantThread,
|
|
267
|
+
patchAssistant,
|
|
268
|
+
patchAssistantThread,
|
|
269
|
+
patchAssistantThreadInteractionFeedback,
|
|
270
|
+
streamAssistantThread,
|
|
271
|
+
updateAssistantStarter,
|
|
272
|
+
updateAssistantStarterFollowup
|
|
273
|
+
};
|
package/audits.js
CHANGED
package/auth.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
registerHostConfig,
|
|
7
7
|
setDefaultHostConfig,
|
|
8
8
|
unregisterHostConfig
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import "./chunks/
|
|
9
|
+
} from "./chunks/RCLKKVYB.js";
|
|
10
|
+
import "./chunks/LTNGXTXG.js";
|
|
11
11
|
export {
|
|
12
12
|
auth_default as default,
|
|
13
13
|
getAccessToken,
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
|
|
2
|
+
import './auth-types-DqfMuSRX.js';
|
|
3
|
+
|
|
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 const 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 const 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 const 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 const 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 const 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 const 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 const 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 const 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
|
+
interface 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
|
+
|
|
366
|
+
export { type AutomationConnectionChangeOwnerObject, type AutomationConnectionChangeSpaceObject, type AutomationConnectionCheckObject, type AutomationConnectionCreationObject, type AutomationConnectionDetailObject, type AutomationConnectionParamCreateObject, type AutomationConnectionParamObject, type AutomationConnectionParamOptionObject, type AutomationConnectionParamPutObject, type AutomationConnectionPutRequestObject, type AutomationConnectionsAPI, type AutomationConnectionsList, type AutomationConnectionsListObject, type ChangeOwnerAutomationConnectionHttpError, type ChangeOwnerAutomationConnectionHttpResponse, type ChangeSpaceAutomationConnectionHttpError, type ChangeSpaceAutomationConnectionHttpResponse, type CheckAutomationConnectionHttpError, type CheckAutomationConnectionHttpResponse, type CreateAutomationConnectionHttpError, type CreateAutomationConnectionHttpResponse, type DeleteAutomationConnectionHttpError, type DeleteAutomationConnectionHttpResponse, type Error, type ErrorResponse, type GetAutomationConnectionHttpError, type GetAutomationConnectionHttpResponse, type GetAutomationConnectionsHttpError, type GetAutomationConnectionsHttpResponse, type Links, type PaginationLink, type UpdateAutomationConnectionHttpError, type UpdateAutomationConnectionHttpResponse, changeOwnerAutomationConnection, changeSpaceAutomationConnection, checkAutomationConnection, clearCache, createAutomationConnection, automationConnectionsExport as default, deleteAutomationConnection, getAutomationConnection, getAutomationConnections, updateAutomationConnection };
|