@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
package/data-connections.d.ts
CHANGED
|
@@ -1,4 +1,679 @@
|
|
|
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/data-connections.d.ts
|
|
5
|
+
type ActionDeleteRequest = {
|
|
6
|
+
connections: {
|
|
7
|
+
/** ID of connection */
|
|
8
|
+
id: string;
|
|
9
|
+
/** Connection name */
|
|
10
|
+
name?: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
type ActionDuplicateRequest = {
|
|
14
|
+
/** ID of the source connection being duplicated */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Optional name for the duplicated connection, must be unique in the target scope. If not specified, a name will be automatically generated */
|
|
17
|
+
name?: string;
|
|
18
|
+
/** Optional credential password, specify to override credential embedded (or associated) with the source connection */
|
|
19
|
+
qPassword?: string;
|
|
20
|
+
/** Optional credential username, specify to override credential embedded (or associated) with the source connection */
|
|
21
|
+
qUsername?: string;
|
|
22
|
+
/** Optional target space ID for the duplicated connection. If not specified, the duplicated connection will be in the same space as the source connection */
|
|
23
|
+
spaceId?: string;
|
|
24
|
+
};
|
|
25
|
+
type ActionUpdateRequest = {
|
|
26
|
+
connections: {
|
|
27
|
+
/** Connection ID */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Connection name */
|
|
30
|
+
name?: string;
|
|
31
|
+
/** User ID to which the connection will be updated. If not present, the connection's owner wont be changed */
|
|
32
|
+
ownerId?: string;
|
|
33
|
+
/** Space ID to which the connection will be updated. If not present, the connection's space wont be changed. If it is empty string, then the connection will be moved to the personal space of the user identified by ownerId (If ownerId is undefined, then the connection will be in oroginal owner's personal space) */
|
|
34
|
+
spaceId?: string;
|
|
35
|
+
/** Space type. Required when spaceId is specified */
|
|
36
|
+
spaceType?: "personal" | "shared" | "managed" | "data";
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
39
|
+
type BulkResponse = {
|
|
40
|
+
data?: {
|
|
41
|
+
error?: Error;
|
|
42
|
+
/** ID of the resource */
|
|
43
|
+
id: string;
|
|
44
|
+
/** Status code of operation on resource identified by ID */
|
|
45
|
+
status: number;
|
|
46
|
+
}[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Schema used to create a connection with given connection string (i.e. qConnectStatement) along with other metadata
|
|
50
|
+
*/
|
|
51
|
+
type ConnectionCreate = {
|
|
52
|
+
/** ID of the datasource associated with this connection */
|
|
53
|
+
datasourceID: string;
|
|
54
|
+
/** App ID */
|
|
55
|
+
owner?: string;
|
|
56
|
+
/** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
|
|
57
|
+
qArchitecture?: 0 | 1;
|
|
58
|
+
/** Connection string for the data connection */
|
|
59
|
+
qConnectStatement: string;
|
|
60
|
+
/** String that contains connection specific secret (or password) that requires encryption before persist to database. This field is connection level secret */
|
|
61
|
+
qConnectionSecret?: string;
|
|
62
|
+
/** ID of the credential associated with the connection */
|
|
63
|
+
qCredentialsID?: string;
|
|
64
|
+
/** Name of the credential associated with the connection */
|
|
65
|
+
qCredentialsName?: string;
|
|
66
|
+
/** Unique identifier (UUID) for the data connection as specified by the Sense engine. A UUID will be generated automatically if this field is not specified or empty */
|
|
67
|
+
qEngineObjectID?: string;
|
|
68
|
+
/** Unique identifier (UUID) for the data connection. A UUID will be generated automatically if qID is not specified or empty */
|
|
69
|
+
qID?: string;
|
|
70
|
+
/** Indicates the type of user associated with the data connection. */
|
|
71
|
+
qLogOn?: "0" | "1" | "LOG_ON_SERVICE_USER" | "LOG_ON_CURRENT_USER";
|
|
72
|
+
/** Descriptive name of the data connection */
|
|
73
|
+
qName: string;
|
|
74
|
+
/** Any logon password associated with the data connection (connector encoded) */
|
|
75
|
+
qPassword?: string;
|
|
76
|
+
/** Indicates whether or not to create a credential-less connection */
|
|
77
|
+
qSeparateCredentials?: boolean;
|
|
78
|
+
/** Type of connection - indicates connection provider type */
|
|
79
|
+
qType: string;
|
|
80
|
+
/** Any logon username associated with the data connection */
|
|
81
|
+
qUsername?: string;
|
|
82
|
+
/** QRI string of the connection. The string will be persisted to mongo when the request is originated from trusted client (i.e. dcaas) to avoid invalid QRi string. */
|
|
83
|
+
qriInRequest?: string;
|
|
84
|
+
/** ID of the space to which the connection belongs */
|
|
85
|
+
space?: string;
|
|
86
|
+
/** List of tags attached to the connection (allow max 32 tags) */
|
|
87
|
+
tags?: string[];
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Essential fields of a connection
|
|
91
|
+
*/
|
|
92
|
+
type ConnectionCreateResponse = {
|
|
93
|
+
/** Datetime when the connection was created */
|
|
94
|
+
created?: string;
|
|
95
|
+
links?: Link;
|
|
96
|
+
/** Array of string (i.e. update, delete, read) indicating the user's privileges on the associated connection */
|
|
97
|
+
privileges: Privilege[];
|
|
98
|
+
/** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
|
|
99
|
+
qArchitecture: 0 | 1;
|
|
100
|
+
/** Connection string for the data connection */
|
|
101
|
+
qConnectStatement: string;
|
|
102
|
+
/** ID of the credential associated with the connection */
|
|
103
|
+
qCredentialsID?: string;
|
|
104
|
+
/** Name of the credential associated with the connection */
|
|
105
|
+
qCredentialsName?: string;
|
|
106
|
+
/** Unique identifier (UUID) for the data connection, must be same as qID */
|
|
107
|
+
qEngineObjectID: string;
|
|
108
|
+
/** Unique identifier (UUID) for the data connection, must be same as qEngineObjectID */
|
|
109
|
+
qID: string;
|
|
110
|
+
/** Indicates the type of user associated with the data connection. */
|
|
111
|
+
qLogOn: "0" | "1" | "LOG_ON_SERVICE_USER" | "LOG_ON_CURRENT_USER";
|
|
112
|
+
/** Descriptive name of the data connection */
|
|
113
|
+
qName: string;
|
|
114
|
+
/** Reference key of credential in redis */
|
|
115
|
+
qReferenceKey?: string;
|
|
116
|
+
/** Indicates whether or not this is a credential-less connection */
|
|
117
|
+
qSeparateCredentials: boolean;
|
|
118
|
+
/** Type of connection - indicates connection provider type */
|
|
119
|
+
qType: string;
|
|
120
|
+
/** ID of the space to which the connection belongs */
|
|
121
|
+
space?: string;
|
|
122
|
+
/** Datetime when the connection was last updated */
|
|
123
|
+
updated?: string;
|
|
124
|
+
/** User ID of the connection's creator */
|
|
125
|
+
user?: string;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Essential fields of a connection
|
|
129
|
+
*/
|
|
130
|
+
type ConnectionGet = {
|
|
131
|
+
/** List of connection parsed from connection string (only available when query parseConnection=true is set) */
|
|
132
|
+
connectionProperties?: unknown;
|
|
133
|
+
/** Datetime when the connection was created */
|
|
134
|
+
created?: string;
|
|
135
|
+
/** Data source ID */
|
|
136
|
+
datasourceID?: string;
|
|
137
|
+
links: Link;
|
|
138
|
+
/** Array of string (i.e. update, delete, read) indicating the user's privileges on the associated connection */
|
|
139
|
+
privileges: Privilege[];
|
|
140
|
+
/** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
|
|
141
|
+
qArchitecture: 0 | 1;
|
|
142
|
+
/** Connection string for the data connection */
|
|
143
|
+
qConnectStatement: string;
|
|
144
|
+
/** String that contains connection specific secret (or password). This field will not be included in response of GET /data-connections, will only be included in the response of GET /data-connections/{qID} */
|
|
145
|
+
qConnectionSecret?: string;
|
|
146
|
+
/** ID of the credential associated with the connection */
|
|
147
|
+
qCredentialsID?: string;
|
|
148
|
+
/** Unique identifier (UUID) for the data connection, must be same as qID */
|
|
149
|
+
qEngineObjectID: string;
|
|
150
|
+
/** Unique identifier (UUID) for the data connection, must be same as qEngineObjectID */
|
|
151
|
+
qID: string;
|
|
152
|
+
/** Indicates the type of user associated with the data connection */
|
|
153
|
+
qLogOn: 0 | 1;
|
|
154
|
+
/** Descriptive name of the data connection */
|
|
155
|
+
qName: string;
|
|
156
|
+
/** Indicates whether or not this is a credential-less connection */
|
|
157
|
+
qSeparateCredentials?: boolean;
|
|
158
|
+
/** Type of connection, i.e. provider type of underlying connector */
|
|
159
|
+
qType: string;
|
|
160
|
+
/** Encrypted base Qri string (filterable using SCIM filter, e.g. filter='qri co "snowflake"') */
|
|
161
|
+
qri?: string;
|
|
162
|
+
/** ID of the space to which the connection belongs */
|
|
163
|
+
space?: string;
|
|
164
|
+
/** List of tags attached to the connection */
|
|
165
|
+
tags?: string[];
|
|
166
|
+
/** Tenant ID of the connection's creator */
|
|
167
|
+
tenant: string;
|
|
168
|
+
/** Datetime when the connection was last updated */
|
|
169
|
+
updated?: string;
|
|
170
|
+
/** User ID of the connection's creator */
|
|
171
|
+
user?: string;
|
|
172
|
+
};
|
|
173
|
+
type ConnectionUpdate = {
|
|
174
|
+
/** ID of the datasource associated with this connection */
|
|
175
|
+
datasourceID?: string;
|
|
176
|
+
/** 0 or 1 value indicating whether the data connector is 64-bit (0) or 32-bit (1). Defaults to 0 if not specified. */
|
|
177
|
+
qArchitecture?: 0 | 1;
|
|
178
|
+
/** Connection string for the data connection */
|
|
179
|
+
qConnectStatement: string;
|
|
180
|
+
/** String that contains connection level secret (or password). If this field presents in request, then existing connection secret will be updated to its value. If is an empty string, then existing connection secret will be cleared. If this field is missing, existing secret will not be updated. */
|
|
181
|
+
qConnectionSecret?: string;
|
|
182
|
+
/** ID of the credential associated with the connection */
|
|
183
|
+
qCredentialsID?: string;
|
|
184
|
+
/** Name of the credential associated with the connection */
|
|
185
|
+
qCredentialsName?: string;
|
|
186
|
+
/** Unique identifier for the data connection as specified by the Sense engine */
|
|
187
|
+
qEngineObjectID: string;
|
|
188
|
+
/** Unique identifier for the data connection */
|
|
189
|
+
qID: string;
|
|
190
|
+
/** Indicates the type of user associated with the data connection. */
|
|
191
|
+
qLogOn?: "0" | "1" | "LOG_ON_SERVICE_USER" | "LOG_ON_CURRENT_USER";
|
|
192
|
+
/** Descriptive name of the data connection */
|
|
193
|
+
qName: string;
|
|
194
|
+
/** Any logon password associated with the data connection */
|
|
195
|
+
qPassword?: string;
|
|
196
|
+
/** Indicates whether or not this is a credential-less connection */
|
|
197
|
+
qSeparateCredentials?: boolean;
|
|
198
|
+
/** Type of connection - indicates connection provider type */
|
|
199
|
+
qType: string;
|
|
200
|
+
/** Any logon username associated with the data connection */
|
|
201
|
+
qUsername?: string;
|
|
202
|
+
/** ID of the space to which the connection belongs */
|
|
203
|
+
space?: string;
|
|
204
|
+
};
|
|
205
|
+
type Connections = {
|
|
206
|
+
data?: ConnectionGet[];
|
|
207
|
+
errors?: Errors;
|
|
208
|
+
links?: TopLevelLink;
|
|
209
|
+
meta?: Meta;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Schema used to create a connection using a list of connection properties for given datasource
|
|
213
|
+
*/
|
|
214
|
+
type DcaasConnectionCreate = {
|
|
215
|
+
/** When set to true, only authentication URL will be returned (i.e. no connection will be created) if datasource supports OAuth, and other properties set in the request will ignored. This property will be ignored if the request is not OAuth or datasource doesn't support OAuth */
|
|
216
|
+
authUrlOnly?: boolean;
|
|
217
|
+
/** Connection properties required to create dataconnection for the given datasource, which is defined by the response of 'GET /v1/data-sources/:{datasourceId}/api-specs' */
|
|
218
|
+
connectionProperties: unknown;
|
|
219
|
+
/** ID of the datasource of the connection */
|
|
220
|
+
datasourceID: string;
|
|
221
|
+
/** Descriptive name of the data connection */
|
|
222
|
+
qName: string;
|
|
223
|
+
/** ID of the space in which the connection shall be created. Connection will be created in user's personal space if undefined */
|
|
224
|
+
space?: string;
|
|
225
|
+
/** List of tags attached to the connection (allow max 31 tags) */
|
|
226
|
+
tags?: string[];
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* Authentication URL response for OAuth datasources (when authUrlOnly is set to true in request)
|
|
230
|
+
*/
|
|
231
|
+
type DcaasConnectionCreateAuthResponse = {
|
|
232
|
+
/** Authentication URL used to generate authentication code for datasources supporting OAuth */
|
|
233
|
+
authUrl: string;
|
|
234
|
+
};
|
|
235
|
+
type Error = {
|
|
236
|
+
/** Unique internal error code */
|
|
237
|
+
code?: string;
|
|
238
|
+
/** More concrete details */
|
|
239
|
+
detail?: string;
|
|
240
|
+
/** HTTP status code */
|
|
241
|
+
status?: number;
|
|
242
|
+
/** A summary in english explaining what went wrong */
|
|
243
|
+
title?: string;
|
|
244
|
+
};
|
|
245
|
+
type Errors = Error[];
|
|
246
|
+
type Link = {
|
|
247
|
+
/** Link to current query */
|
|
248
|
+
self: {
|
|
249
|
+
/** URL pointing to the resource */
|
|
250
|
+
href: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
type Meta = {
|
|
254
|
+
/** Total count of resources being requested. */
|
|
255
|
+
count?: number;
|
|
256
|
+
};
|
|
257
|
+
type PatchRequest = {
|
|
258
|
+
/** Operation type */
|
|
259
|
+
op: "add" | "replace" | "remove";
|
|
260
|
+
/** Path to the target field to be patched */
|
|
261
|
+
path: string;
|
|
262
|
+
/** Value used for the patch. Required only for `add` or `replace` operations. The value type should match the type of the target field. */
|
|
263
|
+
value?: string | boolean | number | unknown[];
|
|
264
|
+
}[];
|
|
265
|
+
/**
|
|
266
|
+
* Access type allowed on associated data connection
|
|
267
|
+
* @example
|
|
268
|
+
* "list"
|
|
269
|
+
*/
|
|
270
|
+
type Privilege = "list" | "update" | "delete" | "read" | "change_owner" | "change_space";
|
|
271
|
+
type ResponseErrors = {
|
|
272
|
+
errors?: Errors;
|
|
273
|
+
};
|
|
274
|
+
type TopLevelLink = {
|
|
275
|
+
/** URL link to next page of requested resources (available to paged request only) */
|
|
276
|
+
next?: {
|
|
277
|
+
/** URL pointing to the next page of resources */
|
|
278
|
+
href: string;
|
|
279
|
+
};
|
|
280
|
+
/** URL link to previous page of requested resources (available to paged request only) */
|
|
281
|
+
prev?: {
|
|
282
|
+
/** URL pointing to the previous page of resources */
|
|
283
|
+
href: string;
|
|
284
|
+
};
|
|
285
|
+
/** Link to current query */
|
|
286
|
+
self: {
|
|
287
|
+
/** URL pointing to the resource */
|
|
288
|
+
href: string;
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Gets a list of connections
|
|
293
|
+
* @example
|
|
294
|
+
* getDataConnections(
|
|
295
|
+
* {
|
|
296
|
+
* dataName: "data",
|
|
297
|
+
* extended: false,
|
|
298
|
+
* spaceId: "611bcebaeec1203d88211ac4",
|
|
299
|
+
* personal: false,
|
|
300
|
+
* owner: "928e2a66-01ba-4678-aa32-e74c213896fa",
|
|
301
|
+
* ownedByMe: true,
|
|
302
|
+
* limit: 30,
|
|
303
|
+
* sort: "+qName",
|
|
304
|
+
* page: "page=JwAAAAljcmVhdGVkAPfQ-sx0AQAAB19pZABfb93nZcM4SN1M0e8A",
|
|
305
|
+
* noDatafiles: true,
|
|
306
|
+
* userId: "6K9xjsItDexffolu5vg1oWYkY8x7f-0G",
|
|
307
|
+
* caseinsensitive: true,
|
|
308
|
+
* locale: "en",
|
|
309
|
+
* includeQris: true,
|
|
310
|
+
* includeDisabled: true
|
|
311
|
+
* }
|
|
312
|
+
* )
|
|
313
|
+
*
|
|
314
|
+
* @param query an object with query parameters
|
|
315
|
+
* @throws GetDataConnectionsHttpError
|
|
316
|
+
*/
|
|
317
|
+
declare function getDataConnections(query: {
|
|
318
|
+
/** Sort results will be returned in case insensitive order if set to true (Only used along with sort query) */
|
|
319
|
+
caseinsensitive?: boolean;
|
|
320
|
+
/** Provides an alternate name to be used for data[] element in GET response. */
|
|
321
|
+
dataName?: string;
|
|
322
|
+
/** Returns extended list of properties (e.g. encrypted credential string) when set to true. */
|
|
323
|
+
extended?: boolean;
|
|
324
|
+
/** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. When filtering on datetime property (e.g. created, updated), datetime should be in RFC3339 format. */
|
|
325
|
+
filter?: string;
|
|
326
|
+
/** Includes connections that uses disabled datasources */
|
|
327
|
+
includeDisabled?: boolean;
|
|
328
|
+
/** Base Qri (encrypted) will be returned when the query is set to true, default is false */
|
|
329
|
+
includeQris?: boolean;
|
|
330
|
+
/** Number of resources to be returned (between 1 and 100) */
|
|
331
|
+
limit?: number;
|
|
332
|
+
/** ICU locale ID, used only when caseinsensitive is set to true, default to 'en' if undefined */
|
|
333
|
+
locale?: string;
|
|
334
|
+
/** Datafiles connections will not be returned if set to true */
|
|
335
|
+
noDatafiles?: boolean;
|
|
336
|
+
/** Filtering on connections, return connections owned by the caller if set to true (doesn't apply to datafiles connections) */
|
|
337
|
+
ownedByMe?: boolean;
|
|
338
|
+
/** Filtering on datafile connections by owner (i.e. app) ID. */
|
|
339
|
+
owner?: string;
|
|
340
|
+
/** Pagination cursor string, which is generated automatically in previous pagination query. */
|
|
341
|
+
page?: string;
|
|
342
|
+
/** Filtering on personal connections, ignored if spaceId is defined in same request */
|
|
343
|
+
personal?: boolean;
|
|
344
|
+
/** Name of field sort on for pagination, with prefix with + or - indicating ascending or descending order. When used for data-connections, sort field only applies to non-datafiles connections. Whatever sorting order is, datafiles connections will be returned after all regular connections being returned. */
|
|
345
|
+
sort?: string;
|
|
346
|
+
/** Filtering on connections by space ID */
|
|
347
|
+
spaceId?: string;
|
|
348
|
+
/** Filtering on userId. Requires admin role if specified userId doesn't match that is defined in JWT. */
|
|
349
|
+
userId?: string;
|
|
350
|
+
}, options?: ApiCallOptions): Promise<GetDataConnectionsHttpResponse>;
|
|
351
|
+
type GetDataConnectionsHttpResponse = {
|
|
352
|
+
data: Connections;
|
|
353
|
+
headers: Headers;
|
|
354
|
+
status: 200;
|
|
355
|
+
prev?: (options?: ApiCallOptions) => Promise<GetDataConnectionsHttpResponse>;
|
|
356
|
+
next?: (options?: ApiCallOptions) => Promise<GetDataConnectionsHttpResponse>;
|
|
357
|
+
};
|
|
358
|
+
type GetDataConnectionsHttpError = {
|
|
359
|
+
data: ResponseErrors;
|
|
360
|
+
headers: Headers;
|
|
361
|
+
status: 400 | 500 | 502;
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* Creates a new connection. Depending on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
365
|
+
*
|
|
366
|
+
* @param body an object with the body content
|
|
367
|
+
* @throws CreateDataConnectionHttpError
|
|
368
|
+
*/
|
|
369
|
+
declare function createDataConnection(body: ConnectionCreate | DcaasConnectionCreate, options?: ApiCallOptions): Promise<CreateDataConnectionHttpResponse>;
|
|
370
|
+
type CreateDataConnectionHttpResponse = {
|
|
371
|
+
data: ConnectionCreateResponse | DcaasConnectionCreateAuthResponse;
|
|
372
|
+
headers: Headers;
|
|
373
|
+
status: 201;
|
|
374
|
+
};
|
|
375
|
+
type CreateDataConnectionHttpError = {
|
|
376
|
+
data: ResponseErrors;
|
|
377
|
+
headers: Headers;
|
|
378
|
+
status: 400 | 403 | 404 | 409;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Delete multiple connections, only available to Admin
|
|
382
|
+
*
|
|
383
|
+
* @param body an object with the body content
|
|
384
|
+
* @throws DeleteDataConnectionsHttpError
|
|
385
|
+
*/
|
|
386
|
+
declare function deleteDataConnections(body: ActionDeleteRequest, options?: ApiCallOptions): Promise<DeleteDataConnectionsHttpResponse>;
|
|
387
|
+
type DeleteDataConnectionsHttpResponse = {
|
|
388
|
+
data: BulkResponse;
|
|
389
|
+
headers: Headers;
|
|
390
|
+
status: 207;
|
|
391
|
+
};
|
|
392
|
+
type DeleteDataConnectionsHttpError = {
|
|
393
|
+
data: ResponseErrors;
|
|
394
|
+
headers: Headers;
|
|
395
|
+
status: 400 | 403;
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Duplicate a connection
|
|
399
|
+
*
|
|
400
|
+
* @param body an object with the body content
|
|
401
|
+
* @throws DuplicateDataAConnectionHttpError
|
|
402
|
+
*/
|
|
403
|
+
declare function duplicateDataAConnection(body: ActionDuplicateRequest, options?: ApiCallOptions): Promise<DuplicateDataAConnectionHttpResponse>;
|
|
404
|
+
type DuplicateDataAConnectionHttpResponse = {
|
|
405
|
+
data: ConnectionCreateResponse;
|
|
406
|
+
headers: Headers;
|
|
407
|
+
status: 201;
|
|
408
|
+
};
|
|
409
|
+
type DuplicateDataAConnectionHttpError = {
|
|
410
|
+
data: ResponseErrors;
|
|
411
|
+
headers: Headers;
|
|
412
|
+
status: 400 | 403 | 404 | 409;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Update multiple connections, only available to Admin. When update is to change ownership of a connection, the credentials associated with the connection will NOT be transferred to the new owner, and new owner is expected to provide their own credentials for the connection.
|
|
416
|
+
*
|
|
417
|
+
* @param body an object with the body content
|
|
418
|
+
* @throws UpdateDataConnectionsHttpError
|
|
419
|
+
*/
|
|
420
|
+
declare function updateDataConnections(body: ActionUpdateRequest, options?: ApiCallOptions): Promise<UpdateDataConnectionsHttpResponse>;
|
|
421
|
+
type UpdateDataConnectionsHttpResponse = {
|
|
422
|
+
data: BulkResponse;
|
|
423
|
+
headers: Headers;
|
|
424
|
+
status: 207;
|
|
425
|
+
};
|
|
426
|
+
type UpdateDataConnectionsHttpError = {
|
|
427
|
+
data: ResponseErrors;
|
|
428
|
+
headers: Headers;
|
|
429
|
+
status: 400 | 403;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
433
|
+
* @example
|
|
434
|
+
* deleteDataConnection(
|
|
435
|
+
* "82ee7b44-0c4d-491b-bd38-82640c0430a5",
|
|
436
|
+
* {
|
|
437
|
+
* type: "connectionname",
|
|
438
|
+
* spaceId: "611bcebaeec1203d88211ac4"
|
|
439
|
+
* }
|
|
440
|
+
* )
|
|
441
|
+
*
|
|
442
|
+
* @param qID Connection ID
|
|
443
|
+
* @param query an object with query parameters
|
|
444
|
+
* @throws DeleteDataConnectionHttpError
|
|
445
|
+
*/
|
|
446
|
+
declare function deleteDataConnection(qID: string, query: {
|
|
447
|
+
/** Filtering on connections by space ID */
|
|
448
|
+
spaceId?: string;
|
|
449
|
+
/** The connection ID in the path becomes a connection name when this query parameter is set. */
|
|
450
|
+
type?: "connectionname";
|
|
451
|
+
}, options?: ApiCallOptions): Promise<DeleteDataConnectionHttpResponse>;
|
|
452
|
+
type DeleteDataConnectionHttpResponse = {
|
|
453
|
+
data: void;
|
|
454
|
+
headers: Headers;
|
|
455
|
+
status: 204;
|
|
456
|
+
};
|
|
457
|
+
type DeleteDataConnectionHttpError = {
|
|
458
|
+
data: ResponseErrors;
|
|
459
|
+
headers: Headers;
|
|
460
|
+
status: 403 | 404;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Retrieves a connection by connection ID, or by name when the query parameter "type" is set to "connectionname."
|
|
464
|
+
* @example
|
|
465
|
+
* getDataConnection(
|
|
466
|
+
* "82ee7b44-0c4d-491b-bd38-82640c0430a5",
|
|
467
|
+
* {
|
|
468
|
+
* extended: false,
|
|
469
|
+
* type: "connectionname",
|
|
470
|
+
* credentialId: "22379dc5-076e-4fec-ae20-5529a8a57dc2",
|
|
471
|
+
* byCredentialName: false,
|
|
472
|
+
* spaceId: "611bcebaeec1203d88211ac4",
|
|
473
|
+
* noCache: false,
|
|
474
|
+
* parseConnection: true
|
|
475
|
+
* }
|
|
476
|
+
* )
|
|
477
|
+
*
|
|
478
|
+
* @param qID Connection ID
|
|
479
|
+
* @param query an object with query parameters
|
|
480
|
+
* @throws GetDataConnectionHttpError
|
|
481
|
+
*/
|
|
482
|
+
declare function getDataConnection(qID: string, query: {
|
|
483
|
+
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
484
|
+
byCredentialName?: boolean;
|
|
485
|
+
/** Credential ID */
|
|
486
|
+
credentialId?: string;
|
|
487
|
+
/** Returns extended list of properties (e.g. encrypted credential string) when set to true. */
|
|
488
|
+
extended?: boolean;
|
|
489
|
+
/** datafiles connections will be returned from cache by default (if data-connections is configured to use cache), this query parameter is used disable this default behavior, e.g. return an update-to-date datafiles connection if the query is set to true */
|
|
490
|
+
noCache?: boolean;
|
|
491
|
+
/** List of connection properties shall be returned when the query is set to true, default is false */
|
|
492
|
+
parseConnection?: boolean;
|
|
493
|
+
/** Filtering on connections by space ID */
|
|
494
|
+
spaceId?: string;
|
|
495
|
+
/** The connection ID in the path becomes a connection name when this query parameter is set. */
|
|
496
|
+
type?: "connectionname";
|
|
497
|
+
}, options?: ApiCallOptions): Promise<GetDataConnectionHttpResponse>;
|
|
498
|
+
type GetDataConnectionHttpResponse = {
|
|
499
|
+
data: ConnectionGet;
|
|
500
|
+
headers: Headers;
|
|
501
|
+
status: 200;
|
|
502
|
+
};
|
|
503
|
+
type GetDataConnectionHttpError = {
|
|
504
|
+
data: ResponseErrors;
|
|
505
|
+
headers: Headers;
|
|
506
|
+
status: 400 | 403 | 404 | 500;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
510
|
+
*
|
|
511
|
+
* @param qID Connection ID
|
|
512
|
+
* @param query an object with query parameters
|
|
513
|
+
* @param body an object with the body content
|
|
514
|
+
* @throws PatchDataConnectionHttpError
|
|
515
|
+
*/
|
|
516
|
+
declare function patchDataConnection(qID: string, query: {
|
|
517
|
+
/** The connection ID in the path becomes a connection name when this query parameter is set. */
|
|
518
|
+
type?: "connectionname";
|
|
519
|
+
}, body: PatchRequest, options?: ApiCallOptions): Promise<PatchDataConnectionHttpResponse>;
|
|
520
|
+
type PatchDataConnectionHttpResponse = {
|
|
521
|
+
data: void;
|
|
522
|
+
headers: Headers;
|
|
523
|
+
status: 204;
|
|
524
|
+
};
|
|
525
|
+
type PatchDataConnectionHttpError = {
|
|
526
|
+
data: ResponseErrors;
|
|
527
|
+
headers: Headers;
|
|
528
|
+
status: 400 | 403 | 404 | 409;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
532
|
+
*
|
|
533
|
+
* @param qID Connection ID
|
|
534
|
+
* @param query an object with query parameters
|
|
535
|
+
* @param body an object with the body content
|
|
536
|
+
* @throws UpdateDataConnectionHttpError
|
|
537
|
+
*/
|
|
538
|
+
declare function updateDataConnection(qID: string, query: {
|
|
539
|
+
/** Filtering on connections by space ID */
|
|
540
|
+
spaceId?: string;
|
|
541
|
+
/** The connection ID in the path becomes a connection name when this query parameter is set. */
|
|
542
|
+
type?: "connectionname";
|
|
543
|
+
}, body: ConnectionUpdate, options?: ApiCallOptions): Promise<UpdateDataConnectionHttpResponse>;
|
|
544
|
+
type UpdateDataConnectionHttpResponse = {
|
|
545
|
+
data: void;
|
|
546
|
+
headers: Headers;
|
|
547
|
+
status: 204;
|
|
548
|
+
};
|
|
549
|
+
type UpdateDataConnectionHttpError = {
|
|
550
|
+
data: ResponseErrors;
|
|
551
|
+
headers: Headers;
|
|
552
|
+
status: 400 | 403 | 404 | 409;
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Clears the cache for data-connections api requests.
|
|
556
|
+
*/
|
|
557
|
+
declare function clearCache(): void;
|
|
558
|
+
type DataConnectionsAPI = {
|
|
559
|
+
/**
|
|
560
|
+
* Gets a list of connections
|
|
561
|
+
* @example
|
|
562
|
+
* getDataConnections(
|
|
563
|
+
* {
|
|
564
|
+
* dataName: "data",
|
|
565
|
+
* extended: false,
|
|
566
|
+
* spaceId: "611bcebaeec1203d88211ac4",
|
|
567
|
+
* personal: false,
|
|
568
|
+
* owner: "928e2a66-01ba-4678-aa32-e74c213896fa",
|
|
569
|
+
* ownedByMe: true,
|
|
570
|
+
* limit: 30,
|
|
571
|
+
* sort: "+qName",
|
|
572
|
+
* page: "page=JwAAAAljcmVhdGVkAPfQ-sx0AQAAB19pZABfb93nZcM4SN1M0e8A",
|
|
573
|
+
* noDatafiles: true,
|
|
574
|
+
* userId: "6K9xjsItDexffolu5vg1oWYkY8x7f-0G",
|
|
575
|
+
* caseinsensitive: true,
|
|
576
|
+
* locale: "en",
|
|
577
|
+
* includeQris: true,
|
|
578
|
+
* includeDisabled: true
|
|
579
|
+
* }
|
|
580
|
+
* )
|
|
581
|
+
*
|
|
582
|
+
* @param query an object with query parameters
|
|
583
|
+
* @throws GetDataConnectionsHttpError
|
|
584
|
+
*/
|
|
585
|
+
getDataConnections: typeof getDataConnections;
|
|
586
|
+
/**
|
|
587
|
+
* Creates a new connection. Depending on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
588
|
+
*
|
|
589
|
+
* @param body an object with the body content
|
|
590
|
+
* @throws CreateDataConnectionHttpError
|
|
591
|
+
*/
|
|
592
|
+
createDataConnection: typeof createDataConnection;
|
|
593
|
+
/**
|
|
594
|
+
* Delete multiple connections, only available to Admin
|
|
595
|
+
*
|
|
596
|
+
* @param body an object with the body content
|
|
597
|
+
* @throws DeleteDataConnectionsHttpError
|
|
598
|
+
*/
|
|
599
|
+
deleteDataConnections: typeof deleteDataConnections;
|
|
600
|
+
/**
|
|
601
|
+
* Duplicate a connection
|
|
602
|
+
*
|
|
603
|
+
* @param body an object with the body content
|
|
604
|
+
* @throws DuplicateDataAConnectionHttpError
|
|
605
|
+
*/
|
|
606
|
+
duplicateDataAConnection: typeof duplicateDataAConnection;
|
|
607
|
+
/**
|
|
608
|
+
* Update multiple connections, only available to Admin. When update is to change ownership of a connection, the credentials associated with the connection will NOT be transferred to the new owner, and new owner is expected to provide their own credentials for the connection.
|
|
609
|
+
*
|
|
610
|
+
* @param body an object with the body content
|
|
611
|
+
* @throws UpdateDataConnectionsHttpError
|
|
612
|
+
*/
|
|
613
|
+
updateDataConnections: typeof updateDataConnections;
|
|
614
|
+
/**
|
|
615
|
+
* Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
|
|
616
|
+
* @example
|
|
617
|
+
* deleteDataConnection(
|
|
618
|
+
* "82ee7b44-0c4d-491b-bd38-82640c0430a5",
|
|
619
|
+
* {
|
|
620
|
+
* type: "connectionname",
|
|
621
|
+
* spaceId: "611bcebaeec1203d88211ac4"
|
|
622
|
+
* }
|
|
623
|
+
* )
|
|
624
|
+
*
|
|
625
|
+
* @param qID Connection ID
|
|
626
|
+
* @param query an object with query parameters
|
|
627
|
+
* @throws DeleteDataConnectionHttpError
|
|
628
|
+
*/
|
|
629
|
+
deleteDataConnection: typeof deleteDataConnection;
|
|
630
|
+
/**
|
|
631
|
+
* Retrieves a connection by connection ID, or by name when the query parameter "type" is set to "connectionname."
|
|
632
|
+
* @example
|
|
633
|
+
* getDataConnection(
|
|
634
|
+
* "82ee7b44-0c4d-491b-bd38-82640c0430a5",
|
|
635
|
+
* {
|
|
636
|
+
* extended: false,
|
|
637
|
+
* type: "connectionname",
|
|
638
|
+
* credentialId: "22379dc5-076e-4fec-ae20-5529a8a57dc2",
|
|
639
|
+
* byCredentialName: false,
|
|
640
|
+
* spaceId: "611bcebaeec1203d88211ac4",
|
|
641
|
+
* noCache: false,
|
|
642
|
+
* parseConnection: true
|
|
643
|
+
* }
|
|
644
|
+
* )
|
|
645
|
+
*
|
|
646
|
+
* @param qID Connection ID
|
|
647
|
+
* @param query an object with query parameters
|
|
648
|
+
* @throws GetDataConnectionHttpError
|
|
649
|
+
*/
|
|
650
|
+
getDataConnection: typeof getDataConnection;
|
|
651
|
+
/**
|
|
652
|
+
* Patches a connection specified by connection ID (or by name when type=connectionname is set in query).
|
|
653
|
+
*
|
|
654
|
+
* @param qID Connection ID
|
|
655
|
+
* @param query an object with query parameters
|
|
656
|
+
* @param body an object with the body content
|
|
657
|
+
* @throws PatchDataConnectionHttpError
|
|
658
|
+
*/
|
|
659
|
+
patchDataConnection: typeof patchDataConnection;
|
|
660
|
+
/**
|
|
661
|
+
* Updates a connection specified by connection ID (or by name when type=connectionname is set in query). Depends on the fields defined in the request body, credentials embedded (or associated) in the connection can be updated or created.
|
|
662
|
+
*
|
|
663
|
+
* @param qID Connection ID
|
|
664
|
+
* @param query an object with query parameters
|
|
665
|
+
* @param body an object with the body content
|
|
666
|
+
* @throws UpdateDataConnectionHttpError
|
|
667
|
+
*/
|
|
668
|
+
updateDataConnection: typeof updateDataConnection;
|
|
669
|
+
/**
|
|
670
|
+
* Clears the cache for data-connections api requests.
|
|
671
|
+
*/
|
|
672
|
+
clearCache: typeof clearCache;
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* Functions for the data-connections api
|
|
676
|
+
*/
|
|
677
|
+
declare const dataConnectionsExport: DataConnectionsAPI;
|
|
678
|
+
//#endregion
|
|
4
679
|
export { ActionDeleteRequest, ActionDuplicateRequest, ActionUpdateRequest, BulkResponse, ConnectionCreate, ConnectionCreateResponse, ConnectionGet, ConnectionUpdate, Connections, CreateDataConnectionHttpError, CreateDataConnectionHttpResponse, DataConnectionsAPI, DcaasConnectionCreate, DcaasConnectionCreateAuthResponse, DeleteDataConnectionHttpError, DeleteDataConnectionHttpResponse, DeleteDataConnectionsHttpError, DeleteDataConnectionsHttpResponse, DuplicateDataAConnectionHttpError, DuplicateDataAConnectionHttpResponse, Error, Errors, GetDataConnectionHttpError, GetDataConnectionHttpResponse, GetDataConnectionsHttpError, GetDataConnectionsHttpResponse, Link, Meta, PatchDataConnectionHttpError, PatchDataConnectionHttpResponse, PatchRequest, Privilege, ResponseErrors, TopLevelLink, UpdateDataConnectionHttpError, UpdateDataConnectionHttpResponse, UpdateDataConnectionsHttpError, UpdateDataConnectionsHttpResponse, clearCache, createDataConnection, dataConnectionsExport as default, deleteDataConnection, deleteDataConnections, duplicateDataAConnection, getDataConnection, getDataConnections, patchDataConnection, updateDataConnection, updateDataConnections };
|
package/data-connections.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/data-connections.ts
|
|
6
5
|
/**
|