@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.
- package/analytics/change-stores.d.ts +386 -0
- package/analytics/change-stores.js +123 -0
- package/analytics.d.ts +14 -0
- package/analytics.js +13 -0
- package/api-keys.d.ts +362 -3
- package/api-keys.js +2 -3
- package/apps.d.ts +2673 -3
- package/apps.js +2 -3
- package/assistants.d.ts +1370 -3
- package/assistants.js +2 -3
- package/audits.d.ts +318 -3
- package/audits.js +4 -4
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -2
- package/auth.d.ts +94 -2
- package/auth.js +63 -3
- package/automation-connections.d.ts +366 -3
- package/automation-connections.js +2 -3
- package/automation-connectors.d.ts +84 -3
- package/automation-connectors.js +2 -3
- package/automations.d.ts +805 -3
- package/automations.js +2 -3
- package/automl-deployments.d.ts +101 -3
- package/automl-deployments.js +2 -3
- package/automl-predictions.d.ts +238 -3
- package/automl-predictions.js +2 -3
- package/banners.d.ts +184 -3
- package/banners.js +2 -3
- package/brands.d.ts +670 -3
- package/brands.js +2 -3
- package/chunks/{auth-Cle0_tmz.js → auth-BowS4SUR.js} +1 -5
- package/chunks/{chunk-EtTptKIv.js → chunk-D3vHIbds.js} +2 -2
- package/chunks/{dist-gXLIqDJW.js → dist-n3iOVn1W.js} +4 -4
- package/chunks/{auth-functions-BmZgZYSs.js → interceptors-DipDBQQ5.js} +258 -54
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-B7lGscuQ.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-DhdyFZ0F.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-QhLPeQr5.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-RCUslia8.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-WAS4NVTf.js} +48 -50
- package/collections.d.ts +582 -3
- package/collections.js +2 -3
- package/conditions.d.ts +662 -3
- package/conditions.js +2 -3
- package/consumption.d.ts +182 -3
- package/consumption.js +2 -3
- package/core/ip-policies.d.ts +328 -4
- package/core/ip-policies.js +108 -5
- package/core.d.ts +13 -4
- package/core.js +3 -4
- package/csp-origins.d.ts +273 -3
- package/csp-origins.js +2 -3
- package/csrf-token.d.ts +62 -3
- package/csrf-token.js +2 -3
- package/data-alerts.d.ts +1004 -3
- package/data-alerts.js +2 -3
- package/data-assets.d.ts +207 -3
- package/data-assets.js +2 -3
- package/data-connections.d.ts +678 -3
- package/data-connections.js +2 -3
- package/data-credentials.d.ts +292 -3
- package/data-credentials.js +2 -3
- package/data-files.d.ts +860 -3
- package/data-files.js +2 -3
- package/data-qualities.d.ts +175 -3
- package/data-qualities.js +2 -3
- package/data-sets.d.ts +424 -3
- package/data-sets.js +2 -3
- package/data-sources.d.ts +348 -3
- package/data-sources.js +2 -3
- package/data-stores.d.ts +537 -3
- package/data-stores.js +2 -3
- package/dcaas.d.ts +192 -3
- package/dcaas.js +2 -3
- package/di-projects.d.ts +812 -4
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +710 -4
- package/direct-access-agents.js +37 -5
- package/docs/authentication.md +1 -1
- package/encryption.d.ts +372 -3
- package/encryption.js +2 -3
- package/extensions.d.ts +295 -3
- package/extensions.js +2 -3
- package/global-types.d.ts +1 -1
- package/global-types.js +0 -2
- package/glossaries.d.ts +1223 -3
- package/glossaries.js +2 -3
- package/groups.d.ts +510 -3
- package/groups.js +2 -3
- package/identity-providers.d.ts +711 -3
- package/identity-providers.js +2 -3
- package/index.d.ts +78 -69
- package/index.js +28 -10
- package/interceptors.d.ts +52 -3
- package/interceptors.js +1 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +536 -3
- package/items.js +2 -3
- package/knowledgebases.d.ts +976 -3
- package/knowledgebases.js +2 -3
- package/licenses.d.ts +663 -3
- package/licenses.js +2 -3
- package/lineage-graphs.d.ts +704 -3
- package/lineage-graphs.js +2 -3
- package/ml.d.ts +2808 -3
- package/ml.js +2 -3
- package/notes.d.ts +110 -3
- package/notes.js +2 -3
- package/notifications.d.ts +98 -3
- package/notifications.js +2 -3
- package/oauth-callback.iife.js +1151 -0
- package/oauth-clients.d.ts +562 -3
- package/oauth-clients.js +2 -3
- package/oauth-tokens.d.ts +126 -3
- package/oauth-tokens.js +2 -3
- package/package.json +6 -4
- package/qix.d.ts +3 -3
- package/qix.js +38 -3
- package/questions.d.ts +364 -3
- package/questions.js +2 -3
- package/quotas.d.ts +112 -3
- package/quotas.js +2 -3
- package/reload-tasks.d.ts +249 -3
- package/reload-tasks.js +2 -3
- package/reloads.d.ts +260 -3
- package/reloads.js +2 -3
- package/report-templates.d.ts +287 -3
- package/report-templates.js +2 -3
- package/reports.d.ts +863 -3
- package/reports.js +2 -3
- package/roles.d.ts +312 -3
- package/roles.js +2 -3
- package/sharing-tasks.d.ts +1164 -3
- package/sharing-tasks.js +2 -3
- package/spaces.d.ts +779 -3
- package/spaces.js +2 -3
- package/tasks.d.ts +564 -3
- package/tasks.js +2 -3
- package/temp-contents.d.ts +167 -3
- package/temp-contents.js +2 -3
- package/tenants.d.ts +360 -3
- package/tenants.js +2 -3
- package/themes.d.ts +270 -3
- package/themes.js +2 -3
- package/transports.d.ts +435 -4
- package/transports.js +20 -5
- package/ui-config.d.ts +274 -3
- package/ui-config.js +2 -3
- package/users.d.ts +674 -3
- package/users.js +2 -3
- package/web-integrations.d.ts +294 -3
- package/web-integrations.js +2 -3
- package/web-notifications.d.ts +273 -3
- package/web-notifications.js +2 -3
- package/webhooks.d.ts +505 -3
- package/webhooks.js +2 -3
- package/chunks/api-keys-D6Rqaov4.d.ts +0 -365
- package/chunks/apps-BwpXUGDb.d.ts +0 -2673
- package/chunks/assistants-wh6Qe7l6.d.ts +0 -1366
- package/chunks/audits-DakwzT97.d.ts +0 -316
- package/chunks/auth-6mptVm5Q.d.ts +0 -95
- package/chunks/auth-D11iO7ZV.js +0 -65
- package/chunks/automation-connections-k2G_n9rj.d.ts +0 -366
- package/chunks/automation-connectors-J5OE-1P0.d.ts +0 -84
- package/chunks/automations-BGy83EBO.d.ts +0 -797
- package/chunks/automl-deployments-CWEpX2pk.d.ts +0 -101
- package/chunks/automl-predictions-BNIjRhBm.d.ts +0 -238
- package/chunks/banners-CgBRnZGv.d.ts +0 -184
- package/chunks/brands-DCgk6Gqx.d.ts +0 -671
- package/chunks/collections-BpYjcpIY.d.ts +0 -582
- package/chunks/conditions-CJJG7Uph.d.ts +0 -662
- package/chunks/consumption-DerFk437.d.ts +0 -182
- package/chunks/core-DQXNZdnf.d.ts +0 -12
- package/chunks/csp-origins-3NJlh_n9.d.ts +0 -273
- package/chunks/csrf-token-DoaoOQzH.d.ts +0 -63
- package/chunks/data-alerts-CILSEFbQ.d.ts +0 -1004
- package/chunks/data-assets-CJDcssoX.d.ts +0 -207
- package/chunks/data-connections-VSB13K6g.d.ts +0 -678
- package/chunks/data-credentials-ChEp_hyU.d.ts +0 -292
- package/chunks/data-files-CVzn9M6V.d.ts +0 -860
- package/chunks/data-qualities-DBrot957.d.ts +0 -176
- package/chunks/data-sets-CFzxgWnO.d.ts +0 -424
- package/chunks/data-sources-IsAaof_C.d.ts +0 -346
- package/chunks/data-stores-DFOPdgfz.d.ts +0 -537
- package/chunks/dcaas-qyv7YlrN.d.ts +0 -192
- package/chunks/di-projects-DVQTxASr.d.ts +0 -777
- package/chunks/direct-access-agents-B77OhzZi.d.ts +0 -580
- package/chunks/encryption-BjA6xbCO.d.ts +0 -372
- package/chunks/extensions-OO0WtInj.d.ts +0 -294
- package/chunks/glossaries-CIX7-KT_.d.ts +0 -1213
- package/chunks/groups-C86-UG7S.d.ts +0 -511
- package/chunks/identity-providers-h0dKNxGZ.d.ts +0 -711
- package/chunks/interceptors-Csx2tEi5.d.ts +0 -52
- package/chunks/interceptors-DTYm37AU.js +0 -104
- package/chunks/ip-policies-CKRIlbP7.d.ts +0 -327
- package/chunks/ip-policies-DXlf172B.js +0 -108
- package/chunks/items-C-jzqvFW.d.ts +0 -536
- package/chunks/knowledgebases-CyQtVcZN.d.ts +0 -977
- package/chunks/licenses-xzjnkitW.d.ts +0 -663
- package/chunks/lineage-graphs-CViCCzKy.d.ts +0 -697
- package/chunks/ml-Abt2MUva.d.ts +0 -2809
- package/chunks/notes-BZxuyDgt.d.ts +0 -111
- package/chunks/notifications-Bd_gp4jU.d.ts +0 -99
- package/chunks/oauth-clients-B5QPr4IM.d.ts +0 -563
- package/chunks/oauth-tokens-1b7V8182.d.ts +0 -127
- package/chunks/qix-CYQsLyGQ.js +0 -40
- package/chunks/questions-BVp0tvNs.d.ts +0 -364
- package/chunks/quotas-CfAebRJd.d.ts +0 -113
- package/chunks/reload-tasks-DfwUTetn.d.ts +0 -249
- package/chunks/reloads-CwmagnFx.d.ts +0 -260
- package/chunks/report-templates-DjQYj5dn.d.ts +0 -287
- package/chunks/reports-DzNC6Uq3.d.ts +0 -861
- package/chunks/roles-BYFIY6E7.d.ts +0 -312
- package/chunks/sharing-tasks-BMGIQ-FO.d.ts +0 -1164
- package/chunks/spaces-BK823t-b.d.ts +0 -780
- package/chunks/tasks-COKDfShO.d.ts +0 -564
- package/chunks/temp-contents-zDomB-g6.d.ts +0 -168
- package/chunks/tenants-Bhn86519.d.ts +0 -361
- package/chunks/themes-v9NbhiBo.d.ts +0 -269
- package/chunks/transports-CqEiFxD3.d.ts +0 -362
- package/chunks/ui-config-Crs0mVMp.d.ts +0 -274
- package/chunks/users-BSOBU_fg.d.ts +0 -675
- package/chunks/web-integrations-MisPAHod.d.ts +0 -295
- package/chunks/web-notifications-DVy6FHYh.d.ts +0 -274
- package/chunks/webhooks-Dr4EiXqy.d.ts +0 -505
- /package/chunks/{auth-types-E99tzdN0.d.ts → auth-types-YrlH_R9f.d.ts} +0 -0
- /package/chunks/{auth-types-JehqruDP.js → auth-types-h43TVDpB.js} +0 -0
- /package/chunks/{global-types-CrOvI33z.js → global-types-CEVAJebk.js} +0 -0
- /package/chunks/{invoke-fetch-CbU2Dgqr.d.ts → invoke-fetch-C1Z0RJYU.d.ts} +0 -0
- /package/chunks/{utils-BnC4lrlq.js → utils-vv-xFm06.js} +0 -0
- /package/chunks/{websocket-errors-DSbO6kDZ.js → websocket-errors-CRTDTtBL.js} +0 -0
|
@@ -1,4 +1,367 @@
|
|
|
1
|
-
import "./chunks/auth-types-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
|
|
1
|
+
import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
|
+
import "./chunks/invoke-fetch-C1Z0RJYU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/public/rest/automation-connections.d.ts
|
|
5
|
+
type AutomationConnectionChangeOwnerObject = {
|
|
6
|
+
/** The unique identifier of the new owner. */
|
|
7
|
+
userId?: string;
|
|
8
|
+
};
|
|
9
|
+
type AutomationConnectionChangeSpaceObject = {
|
|
10
|
+
/** The unique identifier of the new space. */
|
|
11
|
+
spaceId?: string;
|
|
12
|
+
};
|
|
13
|
+
type AutomationConnectionCheckObject = {
|
|
14
|
+
/** The connection status of the automation connection. When true, the automation connection is connected. */
|
|
15
|
+
isConnected?: boolean;
|
|
16
|
+
};
|
|
17
|
+
type AutomationConnectionCreationObject = {
|
|
18
|
+
/** The unique identifier of the connector from which the automation connection is created. */
|
|
19
|
+
connectorId: string;
|
|
20
|
+
/** The name of the created automation connection. */
|
|
21
|
+
name?: string;
|
|
22
|
+
params?: AutomationConnectionParamCreateObject[];
|
|
23
|
+
/** The unique identifier of the space in which the automation connection is created. */
|
|
24
|
+
spaceId?: string;
|
|
25
|
+
};
|
|
26
|
+
type AutomationConnectionDetailObject = {
|
|
27
|
+
/** The unique identifier of the automation connector. */
|
|
28
|
+
connectorId?: string;
|
|
29
|
+
/** The timestamp when the automation connection was created. */
|
|
30
|
+
createdAt?: string;
|
|
31
|
+
/** This contains the error message if a connection is being created with an issue. */
|
|
32
|
+
error?: unknown;
|
|
33
|
+
/** The unique identifier of the automation connection. */
|
|
34
|
+
id?: string;
|
|
35
|
+
/** The connection status of the automation connection. When true, the automation connection is connected. */
|
|
36
|
+
isConnected?: boolean;
|
|
37
|
+
/** The name of the automation connection. */
|
|
38
|
+
name?: string;
|
|
39
|
+
/** The name of the OAuth account associated with the automation connection. */
|
|
40
|
+
oauthAccountName?: string;
|
|
41
|
+
/** The unique identifier of the owner of the automation connection. */
|
|
42
|
+
ownerId?: string;
|
|
43
|
+
params?: AutomationConnectionParamObject[];
|
|
44
|
+
/** The redirect of the OAuth account. */
|
|
45
|
+
redirect?: string;
|
|
46
|
+
/** The space ID of the automation connection. */
|
|
47
|
+
spaceId?: string;
|
|
48
|
+
/** The timestamp when the automation connection was updated. */
|
|
49
|
+
updatedAt?: string;
|
|
50
|
+
};
|
|
51
|
+
type AutomationConnectionParamCreateObject = {
|
|
52
|
+
/** The name of the automation connection parameter. */
|
|
53
|
+
name?: string;
|
|
54
|
+
/** The value of the automation connection parameter option. */
|
|
55
|
+
value?: string;
|
|
56
|
+
};
|
|
57
|
+
type AutomationConnectionParamObject = {
|
|
58
|
+
/** The documentation of the automation connection parameter. */
|
|
59
|
+
documentation?: string;
|
|
60
|
+
/** The example value of the automation connection parameter. */
|
|
61
|
+
exampleValue?: string;
|
|
62
|
+
/** The field type of the automation connection parameter. */
|
|
63
|
+
fieldType?: string;
|
|
64
|
+
/** The unique identifier of the automation connection parameter. */
|
|
65
|
+
id?: string;
|
|
66
|
+
/** When true, the parameter is optional. */
|
|
67
|
+
isOptional?: boolean;
|
|
68
|
+
/** The metadata of the automation connection parameter. */
|
|
69
|
+
meta?: unknown[];
|
|
70
|
+
/** The name of the automation connection parameter. */
|
|
71
|
+
name?: string;
|
|
72
|
+
/** The order that the automation connection configuration fields should be displayed in. */
|
|
73
|
+
order?: number;
|
|
74
|
+
paramOptions?: AutomationConnectionParamOptionObject[];
|
|
75
|
+
/** The value of the automation connection parameter. */
|
|
76
|
+
value?: string;
|
|
77
|
+
};
|
|
78
|
+
type AutomationConnectionParamOptionObject = {
|
|
79
|
+
/** The unique identifier of the automation connection parameter option. */
|
|
80
|
+
id?: string;
|
|
81
|
+
/** The value of the automation connection parameter option. */
|
|
82
|
+
value?: string;
|
|
83
|
+
};
|
|
84
|
+
type AutomationConnectionParamPutObject = {
|
|
85
|
+
/** The unique identifier of the automation connection parameter option. */
|
|
86
|
+
id?: string;
|
|
87
|
+
/** The value of the automation connection parameter option. */
|
|
88
|
+
value?: string;
|
|
89
|
+
};
|
|
90
|
+
type AutomationConnectionPutRequestObject = {
|
|
91
|
+
/** The new name of the automation connection to be renamed to. */
|
|
92
|
+
name?: string;
|
|
93
|
+
params?: AutomationConnectionParamPutObject[];
|
|
94
|
+
};
|
|
95
|
+
type AutomationConnectionsList = {
|
|
96
|
+
data?: AutomationConnectionsListObject[];
|
|
97
|
+
links?: Links;
|
|
98
|
+
};
|
|
99
|
+
type AutomationConnectionsListObject = {
|
|
100
|
+
/** The unique identifier of the connector the automation connection is created from. */
|
|
101
|
+
connectorId?: string;
|
|
102
|
+
/** The timestamp when the automation connection is created. */
|
|
103
|
+
createdAt?: string;
|
|
104
|
+
/** The unique identifier of an automation connection. */
|
|
105
|
+
id?: string;
|
|
106
|
+
/** Returns true if the automtion connection is connected. */
|
|
107
|
+
isConnected?: boolean;
|
|
108
|
+
/** The name of an automation connection. */
|
|
109
|
+
name?: string;
|
|
110
|
+
/** The unique identifier of the owner of the automation connection. */
|
|
111
|
+
ownerId?: string;
|
|
112
|
+
/** The space ID of the automation connection. */
|
|
113
|
+
spaceId?: string;
|
|
114
|
+
/** The timestamp when the automation connection is updated. */
|
|
115
|
+
updatedAt?: string;
|
|
116
|
+
};
|
|
117
|
+
type Error = {
|
|
118
|
+
/** The unique code for the error */
|
|
119
|
+
code: string;
|
|
120
|
+
/** May be used to provide additional details */
|
|
121
|
+
detail?: string;
|
|
122
|
+
/** A summary of what went wrong */
|
|
123
|
+
title: string;
|
|
124
|
+
};
|
|
125
|
+
type ErrorResponse = {
|
|
126
|
+
errors?: Error[];
|
|
127
|
+
/** A way to trace the source of the error. */
|
|
128
|
+
traceId?: string;
|
|
129
|
+
};
|
|
130
|
+
type Links = {
|
|
131
|
+
next?: PaginationLink;
|
|
132
|
+
prev?: PaginationLink;
|
|
133
|
+
};
|
|
134
|
+
type PaginationLink = {
|
|
135
|
+
/** The URL to a resource request */
|
|
136
|
+
href?: string;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Retrieves a list of automation connections
|
|
140
|
+
*
|
|
141
|
+
* @param query an object with query parameters
|
|
142
|
+
* @throws GetAutomationConnectionsHttpError
|
|
143
|
+
*/
|
|
144
|
+
declare function getAutomationConnections(query: {
|
|
145
|
+
/** Filters the result based on the specified criteria: name, connectorId, ownerId, or spaceId. */
|
|
146
|
+
filter?: string;
|
|
147
|
+
/** The number of automation connections to retrieve. */
|
|
148
|
+
limit?: number;
|
|
149
|
+
/** When true, list all connections. Restricted to tenant admins and analytics admins. */
|
|
150
|
+
listAll?: boolean;
|
|
151
|
+
/** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
|
|
152
|
+
sort?: "id" | "name" | "createdAt" | "updatedAt" | "+id" | "+name" | "+createdAt" | "+updatedAt" | "-id" | "-name" | "-createdAt" | "-updatedAt";
|
|
153
|
+
}, options?: ApiCallOptions): Promise<GetAutomationConnectionsHttpResponse>;
|
|
154
|
+
type GetAutomationConnectionsHttpResponse = {
|
|
155
|
+
data: AutomationConnectionsList;
|
|
156
|
+
headers: Headers;
|
|
157
|
+
status: 200;
|
|
158
|
+
prev?: (options?: ApiCallOptions) => Promise<GetAutomationConnectionsHttpResponse>;
|
|
159
|
+
next?: (options?: ApiCallOptions) => Promise<GetAutomationConnectionsHttpResponse>;
|
|
160
|
+
};
|
|
161
|
+
type GetAutomationConnectionsHttpError = {
|
|
162
|
+
data: ErrorResponse;
|
|
163
|
+
headers: Headers;
|
|
164
|
+
status: 400 | 401 | 403 | 500 | 503;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Creates a new connection object from an automation connector.
|
|
168
|
+
*
|
|
169
|
+
* @param body an object with the body content
|
|
170
|
+
* @throws CreateAutomationConnectionHttpError
|
|
171
|
+
*/
|
|
172
|
+
declare function createAutomationConnection(body: AutomationConnectionCreationObject, options?: ApiCallOptions): Promise<CreateAutomationConnectionHttpResponse>;
|
|
173
|
+
type CreateAutomationConnectionHttpResponse = {
|
|
174
|
+
data: AutomationConnectionDetailObject;
|
|
175
|
+
headers: Headers;
|
|
176
|
+
status: 201;
|
|
177
|
+
};
|
|
178
|
+
type CreateAutomationConnectionHttpError = {
|
|
179
|
+
data: ErrorResponse;
|
|
180
|
+
headers: Headers;
|
|
181
|
+
status: 400 | 401 | 403 | 500 | 503;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Deletes the specified automation connection.
|
|
185
|
+
*
|
|
186
|
+
* @param id The unique identifier for the automation connection.
|
|
187
|
+
* @param query an object with query parameters
|
|
188
|
+
* @throws DeleteAutomationConnectionHttpError
|
|
189
|
+
*/
|
|
190
|
+
declare function deleteAutomationConnection(id: string, query: {
|
|
191
|
+
/** When true, the automation connection will be deleted regardless of its usage by any automations. */
|
|
192
|
+
forced?: boolean;
|
|
193
|
+
}, options?: ApiCallOptions): Promise<DeleteAutomationConnectionHttpResponse>;
|
|
194
|
+
type DeleteAutomationConnectionHttpResponse = {
|
|
195
|
+
data: void;
|
|
196
|
+
headers: Headers;
|
|
197
|
+
status: 204;
|
|
198
|
+
};
|
|
199
|
+
type DeleteAutomationConnectionHttpError = {
|
|
200
|
+
data: ErrorResponse;
|
|
201
|
+
headers: Headers;
|
|
202
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Returns details about the specified automation connection.
|
|
206
|
+
*
|
|
207
|
+
* @param id The unique identifier for the automation connection.
|
|
208
|
+
* @throws GetAutomationConnectionHttpError
|
|
209
|
+
*/
|
|
210
|
+
declare function getAutomationConnection(id: string, options?: ApiCallOptions): Promise<GetAutomationConnectionHttpResponse>;
|
|
211
|
+
type GetAutomationConnectionHttpResponse = {
|
|
212
|
+
data: AutomationConnectionDetailObject;
|
|
213
|
+
headers: Headers;
|
|
214
|
+
status: 200;
|
|
215
|
+
};
|
|
216
|
+
type GetAutomationConnectionHttpError = {
|
|
217
|
+
data: ErrorResponse;
|
|
218
|
+
headers: Headers;
|
|
219
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* Updates the specified properties of an automation connection.
|
|
223
|
+
*
|
|
224
|
+
* @param id The unique identifier for the automation connection.
|
|
225
|
+
* @param body an object with the body content
|
|
226
|
+
* @throws UpdateAutomationConnectionHttpError
|
|
227
|
+
*/
|
|
228
|
+
declare function updateAutomationConnection(id: string, body: AutomationConnectionPutRequestObject, options?: ApiCallOptions): Promise<UpdateAutomationConnectionHttpResponse>;
|
|
229
|
+
type UpdateAutomationConnectionHttpResponse = {
|
|
230
|
+
data: AutomationConnectionDetailObject;
|
|
231
|
+
headers: Headers;
|
|
232
|
+
status: 200;
|
|
233
|
+
};
|
|
234
|
+
type UpdateAutomationConnectionHttpError = {
|
|
235
|
+
data: ErrorResponse;
|
|
236
|
+
headers: Headers;
|
|
237
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Changes the owner of an automation connection by specifying a new owner.
|
|
241
|
+
*
|
|
242
|
+
* @param id The unique identifier for the automation connection.
|
|
243
|
+
* @param body an object with the body content
|
|
244
|
+
* @throws ChangeOwnerAutomationConnectionHttpError
|
|
245
|
+
*/
|
|
246
|
+
declare function changeOwnerAutomationConnection(id: string, body: AutomationConnectionChangeOwnerObject, options?: ApiCallOptions): Promise<ChangeOwnerAutomationConnectionHttpResponse>;
|
|
247
|
+
type ChangeOwnerAutomationConnectionHttpResponse = {
|
|
248
|
+
data: void;
|
|
249
|
+
headers: Headers;
|
|
250
|
+
status: 204;
|
|
251
|
+
};
|
|
252
|
+
type ChangeOwnerAutomationConnectionHttpError = {
|
|
253
|
+
data: ErrorResponse;
|
|
254
|
+
headers: Headers;
|
|
255
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* Changes the space of an automation connection by specifying a new space.
|
|
259
|
+
*
|
|
260
|
+
* @param id The unique identifier for the automation connection.
|
|
261
|
+
* @param body an object with the body content
|
|
262
|
+
* @throws ChangeSpaceAutomationConnectionHttpError
|
|
263
|
+
*/
|
|
264
|
+
declare function changeSpaceAutomationConnection(id: string, body: AutomationConnectionChangeSpaceObject, options?: ApiCallOptions): Promise<ChangeSpaceAutomationConnectionHttpResponse>;
|
|
265
|
+
type ChangeSpaceAutomationConnectionHttpResponse = {
|
|
266
|
+
data: void;
|
|
267
|
+
headers: Headers;
|
|
268
|
+
status: 204;
|
|
269
|
+
};
|
|
270
|
+
type ChangeSpaceAutomationConnectionHttpError = {
|
|
271
|
+
data: ErrorResponse;
|
|
272
|
+
headers: Headers;
|
|
273
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Tries to validate and checks the connection status of an automation connection.
|
|
277
|
+
*
|
|
278
|
+
* @param id The unique identifier for the automation connection.
|
|
279
|
+
* @throws CheckAutomationConnectionHttpError
|
|
280
|
+
*/
|
|
281
|
+
declare function checkAutomationConnection(id: string, options?: ApiCallOptions): Promise<CheckAutomationConnectionHttpResponse>;
|
|
282
|
+
type CheckAutomationConnectionHttpResponse = {
|
|
283
|
+
data: AutomationConnectionCheckObject;
|
|
284
|
+
headers: Headers;
|
|
285
|
+
status: 200;
|
|
286
|
+
};
|
|
287
|
+
type CheckAutomationConnectionHttpError = {
|
|
288
|
+
data: ErrorResponse;
|
|
289
|
+
headers: Headers;
|
|
290
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Clears the cache for automation-connections api requests.
|
|
294
|
+
*/
|
|
295
|
+
declare function clearCache(): void;
|
|
296
|
+
type AutomationConnectionsAPI = {
|
|
297
|
+
/**
|
|
298
|
+
* Retrieves a list of automation connections
|
|
299
|
+
*
|
|
300
|
+
* @param query an object with query parameters
|
|
301
|
+
* @throws GetAutomationConnectionsHttpError
|
|
302
|
+
*/
|
|
303
|
+
getAutomationConnections: typeof getAutomationConnections;
|
|
304
|
+
/**
|
|
305
|
+
* Creates a new connection object from an automation connector.
|
|
306
|
+
*
|
|
307
|
+
* @param body an object with the body content
|
|
308
|
+
* @throws CreateAutomationConnectionHttpError
|
|
309
|
+
*/
|
|
310
|
+
createAutomationConnection: typeof createAutomationConnection;
|
|
311
|
+
/**
|
|
312
|
+
* Deletes the specified automation connection.
|
|
313
|
+
*
|
|
314
|
+
* @param id The unique identifier for the automation connection.
|
|
315
|
+
* @param query an object with query parameters
|
|
316
|
+
* @throws DeleteAutomationConnectionHttpError
|
|
317
|
+
*/
|
|
318
|
+
deleteAutomationConnection: typeof deleteAutomationConnection;
|
|
319
|
+
/**
|
|
320
|
+
* Returns details about the specified automation connection.
|
|
321
|
+
*
|
|
322
|
+
* @param id The unique identifier for the automation connection.
|
|
323
|
+
* @throws GetAutomationConnectionHttpError
|
|
324
|
+
*/
|
|
325
|
+
getAutomationConnection: typeof getAutomationConnection;
|
|
326
|
+
/**
|
|
327
|
+
* Updates the specified properties of an automation connection.
|
|
328
|
+
*
|
|
329
|
+
* @param id The unique identifier for the automation connection.
|
|
330
|
+
* @param body an object with the body content
|
|
331
|
+
* @throws UpdateAutomationConnectionHttpError
|
|
332
|
+
*/
|
|
333
|
+
updateAutomationConnection: typeof updateAutomationConnection;
|
|
334
|
+
/**
|
|
335
|
+
* Changes the owner of an automation connection by specifying a new owner.
|
|
336
|
+
*
|
|
337
|
+
* @param id The unique identifier for the automation connection.
|
|
338
|
+
* @param body an object with the body content
|
|
339
|
+
* @throws ChangeOwnerAutomationConnectionHttpError
|
|
340
|
+
*/
|
|
341
|
+
changeOwnerAutomationConnection: typeof changeOwnerAutomationConnection;
|
|
342
|
+
/**
|
|
343
|
+
* Changes the space of an automation connection by specifying a new space.
|
|
344
|
+
*
|
|
345
|
+
* @param id The unique identifier for the automation connection.
|
|
346
|
+
* @param body an object with the body content
|
|
347
|
+
* @throws ChangeSpaceAutomationConnectionHttpError
|
|
348
|
+
*/
|
|
349
|
+
changeSpaceAutomationConnection: typeof changeSpaceAutomationConnection;
|
|
350
|
+
/**
|
|
351
|
+
* Tries to validate and checks the connection status of an automation connection.
|
|
352
|
+
*
|
|
353
|
+
* @param id The unique identifier for the automation connection.
|
|
354
|
+
* @throws CheckAutomationConnectionHttpError
|
|
355
|
+
*/
|
|
356
|
+
checkAutomationConnection: typeof checkAutomationConnection;
|
|
357
|
+
/**
|
|
358
|
+
* Clears the cache for automation-connections api requests.
|
|
359
|
+
*/
|
|
360
|
+
clearCache: typeof clearCache;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Functions for the automation-connections api
|
|
364
|
+
*/
|
|
365
|
+
declare const automationConnectionsExport: AutomationConnectionsAPI;
|
|
366
|
+
//#endregion
|
|
4
367
|
export { AutomationConnectionChangeOwnerObject, AutomationConnectionChangeSpaceObject, AutomationConnectionCheckObject, AutomationConnectionCreationObject, AutomationConnectionDetailObject, AutomationConnectionParamCreateObject, AutomationConnectionParamObject, AutomationConnectionParamOptionObject, AutomationConnectionParamPutObject, AutomationConnectionPutRequestObject, AutomationConnectionsAPI, AutomationConnectionsList, AutomationConnectionsListObject, ChangeOwnerAutomationConnectionHttpError, ChangeOwnerAutomationConnectionHttpResponse, ChangeSpaceAutomationConnectionHttpError, ChangeSpaceAutomationConnectionHttpResponse, CheckAutomationConnectionHttpError, CheckAutomationConnectionHttpResponse, CreateAutomationConnectionHttpError, CreateAutomationConnectionHttpResponse, DeleteAutomationConnectionHttpError, DeleteAutomationConnectionHttpResponse, Error, ErrorResponse, GetAutomationConnectionHttpError, GetAutomationConnectionHttpResponse, GetAutomationConnectionsHttpError, GetAutomationConnectionsHttpResponse, Links, PaginationLink, UpdateAutomationConnectionHttpError, UpdateAutomationConnectionHttpResponse, changeOwnerAutomationConnection, changeSpaceAutomationConnection, checkAutomationConnection, clearCache, createAutomationConnection, automationConnectionsExport as default, deleteAutomationConnection, getAutomationConnection, getAutomationConnections, updateAutomationConnection };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/automation-connections.ts
|
|
6
5
|
/**
|
|
@@ -1,4 +1,85 @@
|
|
|
1
|
-
import "./chunks/auth-types-
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
3
|
-
|
|
1
|
+
import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
|
|
2
|
+
import "./chunks/invoke-fetch-C1Z0RJYU.js";
|
|
3
|
+
|
|
4
|
+
//#region src/public/rest/automation-connectors.d.ts
|
|
5
|
+
type AutomationConnectorsList = {
|
|
6
|
+
data?: AutomationConnectorsListObject[];
|
|
7
|
+
links?: Links;
|
|
8
|
+
};
|
|
9
|
+
type AutomationConnectorsListObject = {
|
|
10
|
+
/** Indicates if the connector is billable. */
|
|
11
|
+
billable?: boolean;
|
|
12
|
+
readonly id?: string;
|
|
13
|
+
/** The name of an automation connector. */
|
|
14
|
+
name?: string;
|
|
15
|
+
};
|
|
16
|
+
type Error = {
|
|
17
|
+
/** The unique code for the error */
|
|
18
|
+
code: string;
|
|
19
|
+
/** May be used to provide additional details */
|
|
20
|
+
detail?: string;
|
|
21
|
+
/** A summary of what went wrong */
|
|
22
|
+
title: string;
|
|
23
|
+
};
|
|
24
|
+
type ErrorResponse = {
|
|
25
|
+
errors?: Error[];
|
|
26
|
+
/** A way to trace the source of the error. */
|
|
27
|
+
traceId?: string;
|
|
28
|
+
};
|
|
29
|
+
type Links = {
|
|
30
|
+
next?: PaginationLink;
|
|
31
|
+
prev?: PaginationLink;
|
|
32
|
+
};
|
|
33
|
+
type PaginationLink = {
|
|
34
|
+
/** The URL to a resource request */
|
|
35
|
+
href?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Retrieves a list of automation connectors.
|
|
39
|
+
*
|
|
40
|
+
* @param query an object with query parameters
|
|
41
|
+
* @throws GetAutomationConnectorsHttpError
|
|
42
|
+
*/
|
|
43
|
+
declare function getAutomationConnectors(query: {
|
|
44
|
+
/** Filters the result based on the specified criteria: name. */
|
|
45
|
+
filter?: string;
|
|
46
|
+
/** The number of automation connectors to retrieve. */
|
|
47
|
+
limit?: number;
|
|
48
|
+
/** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
|
|
49
|
+
sort?: "name" | "+name" | "-name";
|
|
50
|
+
}, options?: ApiCallOptions): Promise<GetAutomationConnectorsHttpResponse>;
|
|
51
|
+
type GetAutomationConnectorsHttpResponse = {
|
|
52
|
+
data: AutomationConnectorsList;
|
|
53
|
+
headers: Headers;
|
|
54
|
+
status: 200;
|
|
55
|
+
prev?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
|
|
56
|
+
next?: (options?: ApiCallOptions) => Promise<GetAutomationConnectorsHttpResponse>;
|
|
57
|
+
};
|
|
58
|
+
type GetAutomationConnectorsHttpError = {
|
|
59
|
+
data: ErrorResponse;
|
|
60
|
+
headers: Headers;
|
|
61
|
+
status: 400 | 401 | 403 | 500 | 503;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Clears the cache for automation-connectors api requests.
|
|
65
|
+
*/
|
|
66
|
+
declare function clearCache(): void;
|
|
67
|
+
type AutomationConnectorsAPI = {
|
|
68
|
+
/**
|
|
69
|
+
* Retrieves a list of automation connectors.
|
|
70
|
+
*
|
|
71
|
+
* @param query an object with query parameters
|
|
72
|
+
* @throws GetAutomationConnectorsHttpError
|
|
73
|
+
*/
|
|
74
|
+
getAutomationConnectors: typeof getAutomationConnectors;
|
|
75
|
+
/**
|
|
76
|
+
* Clears the cache for automation-connectors api requests.
|
|
77
|
+
*/
|
|
78
|
+
clearCache: typeof clearCache;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Functions for the automation-connectors api
|
|
82
|
+
*/
|
|
83
|
+
declare const automationConnectorsExport: AutomationConnectorsAPI;
|
|
84
|
+
//#endregion
|
|
4
85
|
export { AutomationConnectorsAPI, AutomationConnectorsList, AutomationConnectorsListObject, Error, ErrorResponse, GetAutomationConnectorsHttpError, GetAutomationConnectorsHttpResponse, Links, PaginationLink, clearCache, automationConnectorsExport as default, getAutomationConnectors };
|
package/automation-connectors.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./chunks/
|
|
2
|
-
import "./chunks/
|
|
3
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-PcVIxLW4.js";
|
|
1
|
+
import "./chunks/public-runtime-modules-QhLPeQr5.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/automation-connectors.ts
|
|
6
5
|
/**
|