@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-credentials.d.ts
CHANGED
|
@@ -1,4 +1,293 @@
|
|
|
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-credentials.d.ts
|
|
5
|
+
type ActionFilterOrphanRequest = {
|
|
6
|
+
/** Filtering on datasource ID of credentials */
|
|
7
|
+
datasourceID?: string;
|
|
8
|
+
/** Filtering on separate status of credentials: * 0 - embedded credential * 1 - separated credential */
|
|
9
|
+
qSeparated?: 0 | 1;
|
|
10
|
+
/** Filtering on type of credentials */
|
|
11
|
+
qType?: string;
|
|
12
|
+
};
|
|
13
|
+
type ActionFilterOrphanResponse = {
|
|
14
|
+
/** Number of orphan credentials found */
|
|
15
|
+
count: number;
|
|
16
|
+
data: OrphanCredentialResItem[];
|
|
17
|
+
};
|
|
18
|
+
type Credential = {
|
|
19
|
+
/** Datetime when the credential was created */
|
|
20
|
+
created?: string;
|
|
21
|
+
/** ID datasource that the credential is created for */
|
|
22
|
+
datasourceID?: string;
|
|
23
|
+
links?: Link;
|
|
24
|
+
/** Number of linked connections */
|
|
25
|
+
qConnCount: number;
|
|
26
|
+
/** UUID of the credential */
|
|
27
|
+
qID: string;
|
|
28
|
+
/** Name of the credential */
|
|
29
|
+
qName: string;
|
|
30
|
+
/** Reference key of credential in redis */
|
|
31
|
+
qReferenceKey?: string;
|
|
32
|
+
/** Type of credential */
|
|
33
|
+
qType: string;
|
|
34
|
+
/** Datetime when the credential was last updated */
|
|
35
|
+
updated?: string;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Credential
|
|
39
|
+
*/
|
|
40
|
+
type CredentialCreate = {
|
|
41
|
+
/** ID of connection that will be associated with the credential */
|
|
42
|
+
connectionId?: string;
|
|
43
|
+
/** ID datasource that the credential is created for */
|
|
44
|
+
datasourceID?: string;
|
|
45
|
+
/** UUID of the credential */
|
|
46
|
+
qID?: string;
|
|
47
|
+
/** Name of the credential */
|
|
48
|
+
qName: string;
|
|
49
|
+
/** Password */
|
|
50
|
+
qPassword: string;
|
|
51
|
+
/** Type of credential (i.e. connector provider of the corresponding connection) */
|
|
52
|
+
qType: string;
|
|
53
|
+
/** User name */
|
|
54
|
+
qUsername: string;
|
|
55
|
+
};
|
|
56
|
+
type Error = {
|
|
57
|
+
/** Unique internal error code */
|
|
58
|
+
code?: string;
|
|
59
|
+
/** More concrete details */
|
|
60
|
+
detail?: string;
|
|
61
|
+
/** HTTP status code */
|
|
62
|
+
status?: number;
|
|
63
|
+
/** A summary in english explaining what went wrong */
|
|
64
|
+
title?: string;
|
|
65
|
+
};
|
|
66
|
+
type Errors = Error[];
|
|
67
|
+
type Link = {
|
|
68
|
+
/** Link to current query */
|
|
69
|
+
self: {
|
|
70
|
+
/** URL pointing to the resource */
|
|
71
|
+
href: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Orphan credential
|
|
76
|
+
*/
|
|
77
|
+
type OrphanCredentialResItem = {
|
|
78
|
+
/** Datetime when the credential was created */
|
|
79
|
+
created: string;
|
|
80
|
+
/** ID datasource that the credential is created for */
|
|
81
|
+
datasourceID?: string;
|
|
82
|
+
/** UUID of the credential */
|
|
83
|
+
qID: string;
|
|
84
|
+
/** Name of the credential */
|
|
85
|
+
qName: string;
|
|
86
|
+
/** Type of credential (i.e. connector provider of the corresponding connection) */
|
|
87
|
+
qType: string;
|
|
88
|
+
/** Tenant ID of the credential's owner */
|
|
89
|
+
tenant?: string;
|
|
90
|
+
/** Datetime when the credential was last updated */
|
|
91
|
+
updated: string;
|
|
92
|
+
/** User ID of the credential's owner */
|
|
93
|
+
user?: string;
|
|
94
|
+
};
|
|
95
|
+
type PatchRequest = {
|
|
96
|
+
/** Operation type */
|
|
97
|
+
op: "add" | "replace" | "remove";
|
|
98
|
+
/** Path to the target field to be patched */
|
|
99
|
+
path: string;
|
|
100
|
+
/** Value used for the patch. Required only for `add` or `replace` operations. The value type should match the type of the target field. */
|
|
101
|
+
value?: string | boolean | number | unknown[];
|
|
102
|
+
}[];
|
|
103
|
+
type ResponseErrors = {
|
|
104
|
+
errors?: Errors;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Gets list of orphan data credentials (i.e. credentials that are not associated to any data connection) filtering on properties defined in request body
|
|
108
|
+
*
|
|
109
|
+
* @param body an object with the body content
|
|
110
|
+
* @throws FilterOrphanedDataCredentialsHttpError
|
|
111
|
+
*/
|
|
112
|
+
declare function filterOrphanedDataCredentials(body: ActionFilterOrphanRequest, options?: ApiCallOptions): Promise<FilterOrphanedDataCredentialsHttpResponse>;
|
|
113
|
+
type FilterOrphanedDataCredentialsHttpResponse = {
|
|
114
|
+
data: ActionFilterOrphanResponse;
|
|
115
|
+
headers: Headers;
|
|
116
|
+
status: 200;
|
|
117
|
+
};
|
|
118
|
+
type FilterOrphanedDataCredentialsHttpError = {
|
|
119
|
+
data: ResponseErrors;
|
|
120
|
+
headers: Headers;
|
|
121
|
+
status: 400 | 403;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Deletes the specified credential by ID (or by name when type=credentialname is set in query)
|
|
125
|
+
* @example
|
|
126
|
+
* deleteDataCredential(
|
|
127
|
+
* "027d2703-e745-43ec-8876-a2e6ac341700",
|
|
128
|
+
* {
|
|
129
|
+
* byCredentialName: false
|
|
130
|
+
* }
|
|
131
|
+
* )
|
|
132
|
+
*
|
|
133
|
+
* @param qID Credential ID
|
|
134
|
+
* @param query an object with query parameters
|
|
135
|
+
* @throws DeleteDataCredentialHttpError
|
|
136
|
+
*/
|
|
137
|
+
declare function deleteDataCredential(qID: string, query: {
|
|
138
|
+
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
139
|
+
byCredentialName?: boolean;
|
|
140
|
+
}, options?: ApiCallOptions): Promise<DeleteDataCredentialHttpResponse>;
|
|
141
|
+
type DeleteDataCredentialHttpResponse = {
|
|
142
|
+
data: void;
|
|
143
|
+
headers: Headers;
|
|
144
|
+
status: 204;
|
|
145
|
+
};
|
|
146
|
+
type DeleteDataCredentialHttpError = {
|
|
147
|
+
data: ResponseErrors;
|
|
148
|
+
headers: Headers;
|
|
149
|
+
status: 404;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Gets a credential by ID (or by name when bycredentialname=true is set in query)
|
|
153
|
+
* @example
|
|
154
|
+
* getDataCredential(
|
|
155
|
+
* "027d2703-e745-43ec-8876-a2e6ac341700",
|
|
156
|
+
* {
|
|
157
|
+
* byCredentialName: false
|
|
158
|
+
* }
|
|
159
|
+
* )
|
|
160
|
+
*
|
|
161
|
+
* @param qID Credential ID
|
|
162
|
+
* @param query an object with query parameters
|
|
163
|
+
* @throws GetDataCredentialHttpError
|
|
164
|
+
*/
|
|
165
|
+
declare function getDataCredential(qID: string, query: {
|
|
166
|
+
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
167
|
+
byCredentialName?: boolean;
|
|
168
|
+
}, options?: ApiCallOptions): Promise<GetDataCredentialHttpResponse>;
|
|
169
|
+
type GetDataCredentialHttpResponse = {
|
|
170
|
+
data: Credential;
|
|
171
|
+
headers: Headers;
|
|
172
|
+
status: 200;
|
|
173
|
+
};
|
|
174
|
+
type GetDataCredentialHttpError = {
|
|
175
|
+
data: ResponseErrors;
|
|
176
|
+
headers: Headers;
|
|
177
|
+
status: 400 | 404;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
|
|
181
|
+
*
|
|
182
|
+
* @param qID Credential ID
|
|
183
|
+
* @param query an object with query parameters
|
|
184
|
+
* @param body an object with the body content
|
|
185
|
+
* @throws PatchDataCredentialHttpError
|
|
186
|
+
*/
|
|
187
|
+
declare function patchDataCredential(qID: string, query: {
|
|
188
|
+
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
189
|
+
byCredentialName?: boolean;
|
|
190
|
+
}, body: PatchRequest, options?: ApiCallOptions): Promise<PatchDataCredentialHttpResponse>;
|
|
191
|
+
type PatchDataCredentialHttpResponse = {
|
|
192
|
+
data: void;
|
|
193
|
+
headers: Headers;
|
|
194
|
+
status: 204;
|
|
195
|
+
};
|
|
196
|
+
type PatchDataCredentialHttpError = {
|
|
197
|
+
data: ResponseErrors;
|
|
198
|
+
headers: Headers;
|
|
199
|
+
status: 400 | 404 | 409;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
|
|
203
|
+
*
|
|
204
|
+
* @param qID Credential ID
|
|
205
|
+
* @param query an object with query parameters
|
|
206
|
+
* @param body an object with the body content
|
|
207
|
+
* @throws UpdateDataCredentialHttpError
|
|
208
|
+
*/
|
|
209
|
+
declare function updateDataCredential(qID: string, query: {
|
|
210
|
+
/** If set to true, credentialId in the query will be interpreted as credential's name */
|
|
211
|
+
byCredentialName?: boolean;
|
|
212
|
+
}, body: CredentialCreate, options?: ApiCallOptions): Promise<UpdateDataCredentialHttpResponse>;
|
|
213
|
+
type UpdateDataCredentialHttpResponse = {
|
|
214
|
+
data: void;
|
|
215
|
+
headers: Headers;
|
|
216
|
+
status: 204;
|
|
217
|
+
};
|
|
218
|
+
type UpdateDataCredentialHttpError = {
|
|
219
|
+
data: ResponseErrors;
|
|
220
|
+
headers: Headers;
|
|
221
|
+
status: 400 | 404 | 409;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Clears the cache for data-credentials api requests.
|
|
225
|
+
*/
|
|
226
|
+
declare function clearCache(): void;
|
|
227
|
+
type DataCredentialsAPI = {
|
|
228
|
+
/**
|
|
229
|
+
* Gets list of orphan data credentials (i.e. credentials that are not associated to any data connection) filtering on properties defined in request body
|
|
230
|
+
*
|
|
231
|
+
* @param body an object with the body content
|
|
232
|
+
* @throws FilterOrphanedDataCredentialsHttpError
|
|
233
|
+
*/
|
|
234
|
+
filterOrphanedDataCredentials: typeof filterOrphanedDataCredentials;
|
|
235
|
+
/**
|
|
236
|
+
* Deletes the specified credential by ID (or by name when type=credentialname is set in query)
|
|
237
|
+
* @example
|
|
238
|
+
* deleteDataCredential(
|
|
239
|
+
* "027d2703-e745-43ec-8876-a2e6ac341700",
|
|
240
|
+
* {
|
|
241
|
+
* byCredentialName: false
|
|
242
|
+
* }
|
|
243
|
+
* )
|
|
244
|
+
*
|
|
245
|
+
* @param qID Credential ID
|
|
246
|
+
* @param query an object with query parameters
|
|
247
|
+
* @throws DeleteDataCredentialHttpError
|
|
248
|
+
*/
|
|
249
|
+
deleteDataCredential: typeof deleteDataCredential;
|
|
250
|
+
/**
|
|
251
|
+
* Gets a credential by ID (or by name when bycredentialname=true is set in query)
|
|
252
|
+
* @example
|
|
253
|
+
* getDataCredential(
|
|
254
|
+
* "027d2703-e745-43ec-8876-a2e6ac341700",
|
|
255
|
+
* {
|
|
256
|
+
* byCredentialName: false
|
|
257
|
+
* }
|
|
258
|
+
* )
|
|
259
|
+
*
|
|
260
|
+
* @param qID Credential ID
|
|
261
|
+
* @param query an object with query parameters
|
|
262
|
+
* @throws GetDataCredentialHttpError
|
|
263
|
+
*/
|
|
264
|
+
getDataCredential: typeof getDataCredential;
|
|
265
|
+
/**
|
|
266
|
+
* Patches a credential specified by ID (or by name when bycredentialname=true is set in query)
|
|
267
|
+
*
|
|
268
|
+
* @param qID Credential ID
|
|
269
|
+
* @param query an object with query parameters
|
|
270
|
+
* @param body an object with the body content
|
|
271
|
+
* @throws PatchDataCredentialHttpError
|
|
272
|
+
*/
|
|
273
|
+
patchDataCredential: typeof patchDataCredential;
|
|
274
|
+
/**
|
|
275
|
+
* Updates a credential specified by ID (or by name when bycredentialname=true is set in query)
|
|
276
|
+
*
|
|
277
|
+
* @param qID Credential ID
|
|
278
|
+
* @param query an object with query parameters
|
|
279
|
+
* @param body an object with the body content
|
|
280
|
+
* @throws UpdateDataCredentialHttpError
|
|
281
|
+
*/
|
|
282
|
+
updateDataCredential: typeof updateDataCredential;
|
|
283
|
+
/**
|
|
284
|
+
* Clears the cache for data-credentials api requests.
|
|
285
|
+
*/
|
|
286
|
+
clearCache: typeof clearCache;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Functions for the data-credentials api
|
|
290
|
+
*/
|
|
291
|
+
declare const dataCredentialsExport: DataCredentialsAPI;
|
|
292
|
+
//#endregion
|
|
4
293
|
export { ActionFilterOrphanRequest, ActionFilterOrphanResponse, Credential, CredentialCreate, DataCredentialsAPI, DeleteDataCredentialHttpError, DeleteDataCredentialHttpResponse, Error, Errors, FilterOrphanedDataCredentialsHttpError, FilterOrphanedDataCredentialsHttpResponse, GetDataCredentialHttpError, GetDataCredentialHttpResponse, Link, OrphanCredentialResItem, PatchDataCredentialHttpError, PatchDataCredentialHttpResponse, PatchRequest, ResponseErrors, UpdateDataCredentialHttpError, UpdateDataCredentialHttpResponse, clearCache, dataCredentialsExport as default, deleteDataCredential, filterOrphanedDataCredentials, getDataCredential, patchDataCredential, updateDataCredential };
|
package/data-credentials.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-credentials.ts
|
|
6
5
|
/**
|