@qlik/api 1.32.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-keys.d.ts +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/items.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
type CollectionTypes = "private" | "public" | "publicgoverned";
|
|
5
5
|
type ErrorResponseBody = {
|
|
@@ -110,6 +110,7 @@ type CollectionsLinksResponseBody = {
|
|
|
110
110
|
type ItemLinksResponseBody = {
|
|
111
111
|
collections?: Link;
|
|
112
112
|
open?: Link;
|
|
113
|
+
qvPlugin?: Link;
|
|
113
114
|
self?: Link;
|
|
114
115
|
thumbnail?: Link;
|
|
115
116
|
};
|
|
@@ -251,7 +252,7 @@ type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
|
|
|
251
252
|
* @param query an object with query parameters
|
|
252
253
|
* @throws GetItemsHttpError
|
|
253
254
|
*/
|
|
254
|
-
declare
|
|
255
|
+
declare function getItems(query: {
|
|
255
256
|
/** The collection's unique identifier. Used to filter for items with a specific tag (collection type `public`), or collection. */
|
|
256
257
|
collectionId?: string;
|
|
257
258
|
/** User's unique identifier. */
|
|
@@ -295,7 +296,7 @@ declare const getItems: (query: {
|
|
|
295
296
|
spaceId?: string;
|
|
296
297
|
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
|
297
298
|
spaceType?: SpaceTypeEnum;
|
|
298
|
-
}, options?: ApiCallOptions)
|
|
299
|
+
}, options?: ApiCallOptions): Promise<GetItemsHttpResponse>;
|
|
299
300
|
type GetItemsHttpResponse = {
|
|
300
301
|
data: ItemsListItemsResponseBody;
|
|
301
302
|
headers: Headers;
|
|
@@ -313,7 +314,7 @@ type GetItemsHttpError = {
|
|
|
313
314
|
*
|
|
314
315
|
* @throws GetItemsSettingsHttpError
|
|
315
316
|
*/
|
|
316
|
-
declare
|
|
317
|
+
declare function getItemsSettings(options?: ApiCallOptions): Promise<GetItemsSettingsHttpResponse>;
|
|
317
318
|
type GetItemsSettingsHttpResponse = {
|
|
318
319
|
data: ItemsSettingsResponseBody;
|
|
319
320
|
headers: Headers;
|
|
@@ -330,7 +331,7 @@ type GetItemsSettingsHttpError = {
|
|
|
330
331
|
* @param body an object with the body content
|
|
331
332
|
* @throws PatchItemsSettingsHttpError
|
|
332
333
|
*/
|
|
333
|
-
declare
|
|
334
|
+
declare function patchItemsSettings(body: ItemsSettingsPatch, options?: ApiCallOptions): Promise<PatchItemsSettingsHttpResponse>;
|
|
334
335
|
type PatchItemsSettingsHttpResponse = {
|
|
335
336
|
data: ItemsSettingsResponseBody;
|
|
336
337
|
headers: Headers;
|
|
@@ -347,7 +348,7 @@ type PatchItemsSettingsHttpError = {
|
|
|
347
348
|
* @param itemId The item's unique identifier.
|
|
348
349
|
* @throws DeleteItemHttpError
|
|
349
350
|
*/
|
|
350
|
-
declare
|
|
351
|
+
declare function deleteItem(itemId: string, options?: ApiCallOptions): Promise<DeleteItemHttpResponse>;
|
|
351
352
|
type DeleteItemHttpResponse = {
|
|
352
353
|
data: void;
|
|
353
354
|
headers: Headers;
|
|
@@ -364,7 +365,7 @@ type DeleteItemHttpError = {
|
|
|
364
365
|
* @param itemId The item's unique identifier
|
|
365
366
|
* @throws GetItemHttpError
|
|
366
367
|
*/
|
|
367
|
-
declare
|
|
368
|
+
declare function getItem(itemId: string, options?: ApiCallOptions): Promise<GetItemHttpResponse>;
|
|
368
369
|
type GetItemHttpResponse = {
|
|
369
370
|
data: ItemResultResponseBody;
|
|
370
371
|
headers: Headers;
|
|
@@ -382,7 +383,7 @@ type GetItemHttpError = {
|
|
|
382
383
|
* @param body an object with the body content
|
|
383
384
|
* @throws UpdateItemHttpError
|
|
384
385
|
*/
|
|
385
|
-
declare
|
|
386
|
+
declare function updateItem(itemId: string, body: ItemsUpdateItemRequestBody, options?: ApiCallOptions): Promise<UpdateItemHttpResponse>;
|
|
386
387
|
type UpdateItemHttpResponse = {
|
|
387
388
|
data: ItemResultResponseBody;
|
|
388
389
|
headers: Headers;
|
|
@@ -400,7 +401,7 @@ type UpdateItemHttpError = {
|
|
|
400
401
|
* @param query an object with query parameters
|
|
401
402
|
* @throws GetItemCollectionsHttpError
|
|
402
403
|
*/
|
|
403
|
-
declare
|
|
404
|
+
declare function getItemCollections(itemId: string, query: {
|
|
404
405
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
405
406
|
limit?: number;
|
|
406
407
|
/** The case-sensitive string used to search for a collection by name. */
|
|
@@ -415,7 +416,7 @@ declare const getItemCollections: (itemId: string, query: {
|
|
|
415
416
|
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
416
417
|
/** The case-sensitive string used to search for a collection by type. */
|
|
417
418
|
type?: CollectionTypes;
|
|
418
|
-
}, options?: ApiCallOptions)
|
|
419
|
+
}, options?: ApiCallOptions): Promise<GetItemCollectionsHttpResponse>;
|
|
419
420
|
type GetItemCollectionsHttpResponse = {
|
|
420
421
|
data: ItemsListItemCollectionsResponseBody;
|
|
421
422
|
headers: Headers;
|
|
@@ -435,7 +436,7 @@ type GetItemCollectionsHttpError = {
|
|
|
435
436
|
* @param query an object with query parameters
|
|
436
437
|
* @throws GetPublishedItemsHttpError
|
|
437
438
|
*/
|
|
438
|
-
declare
|
|
439
|
+
declare function getPublishedItems(itemId: string, query: {
|
|
439
440
|
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
440
441
|
limit?: number;
|
|
441
442
|
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
@@ -446,7 +447,7 @@ declare const getPublishedItems: (itemId: string, query: {
|
|
|
446
447
|
resourceType?: ItemResourceTypeEnum;
|
|
447
448
|
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
448
449
|
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
449
|
-
}, options?: ApiCallOptions)
|
|
450
|
+
}, options?: ApiCallOptions): Promise<GetPublishedItemsHttpResponse>;
|
|
450
451
|
type GetPublishedItemsHttpResponse = {
|
|
451
452
|
data: ItemsListItemCollectionsResponseBody;
|
|
452
453
|
headers: Headers;
|
package/items.js
CHANGED
|
@@ -1,63 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/items.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
9
|
+
async function getItems(query, options) {
|
|
10
|
+
return invokeFetch("items", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/items",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function getItemsSettings(options) {
|
|
18
|
+
return invokeFetch("items", {
|
|
19
|
+
method: "get",
|
|
20
|
+
pathTemplate: "/api/v1/items/settings",
|
|
21
|
+
options
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
async function patchItemsSettings(body, options) {
|
|
25
|
+
return invokeFetch("items", {
|
|
26
|
+
method: "patch",
|
|
27
|
+
pathTemplate: "/api/v1/items/settings",
|
|
28
|
+
body,
|
|
29
|
+
contentType: "application/json",
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function deleteItem(itemId, options) {
|
|
34
|
+
return invokeFetch("items", {
|
|
35
|
+
method: "delete",
|
|
36
|
+
pathTemplate: "/api/v1/items/{itemId}",
|
|
37
|
+
pathVariables: { itemId },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function getItem(itemId, options) {
|
|
42
|
+
return invokeFetch("items", {
|
|
43
|
+
method: "get",
|
|
44
|
+
pathTemplate: "/api/v1/items/{itemId}",
|
|
45
|
+
pathVariables: { itemId },
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function updateItem(itemId, body, options) {
|
|
50
|
+
return invokeFetch("items", {
|
|
51
|
+
method: "put",
|
|
52
|
+
pathTemplate: "/api/v1/items/{itemId}",
|
|
53
|
+
pathVariables: { itemId },
|
|
54
|
+
body,
|
|
55
|
+
contentType: "application/json",
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function getItemCollections(itemId, query, options) {
|
|
60
|
+
return invokeFetch("items", {
|
|
61
|
+
method: "get",
|
|
62
|
+
pathTemplate: "/api/v1/items/{itemId}/collections",
|
|
63
|
+
pathVariables: { itemId },
|
|
64
|
+
query,
|
|
65
|
+
options
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async function getPublishedItems(itemId, query, options) {
|
|
69
|
+
return invokeFetch("items", {
|
|
70
|
+
method: "get",
|
|
71
|
+
pathTemplate: "/api/v1/items/{itemId}/publisheditems",
|
|
72
|
+
pathVariables: { itemId },
|
|
73
|
+
query,
|
|
74
|
+
options
|
|
75
|
+
});
|
|
76
|
+
}
|
|
61
77
|
function clearCache() {
|
|
62
78
|
return clearApiCache("items");
|
|
63
79
|
}
|
package/knowledgebases.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
2
|
-
import './auth-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
|
|
2
|
+
import './auth-types-Cj5bM3Yk.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
|
|
@@ -389,7 +389,7 @@ type SyncHistoryResult = {
|
|
|
389
389
|
* @param query an object with query parameters
|
|
390
390
|
* @throws GetKnowledgebasesHttpError
|
|
391
391
|
*/
|
|
392
|
-
declare
|
|
392
|
+
declare function getKnowledgebases(query: {
|
|
393
393
|
/** @deprecated
|
|
394
394
|
* Optional parameter to request total count for query */
|
|
395
395
|
countTotal?: boolean;
|
|
@@ -401,7 +401,7 @@ declare const getKnowledgebases: (query: {
|
|
|
401
401
|
prev?: string;
|
|
402
402
|
/** Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending. */
|
|
403
403
|
sort?: "NAME" | "-NAME" | "DESCRIPTION" | "-DESCRIPTION" | "CREATED" | "-CREATED" | "UPDATED" | "-UPDATED";
|
|
404
|
-
}, options?: ApiCallOptions)
|
|
404
|
+
}, options?: ApiCallOptions): Promise<GetKnowledgebasesHttpResponse>;
|
|
405
405
|
type GetKnowledgebasesHttpResponse = {
|
|
406
406
|
data: KnowledgeBasesResult;
|
|
407
407
|
headers: Headers;
|
|
@@ -420,7 +420,7 @@ type GetKnowledgebasesHttpError = {
|
|
|
420
420
|
* @param body an object with the body content
|
|
421
421
|
* @throws CreateKnowledgebaseHttpError
|
|
422
422
|
*/
|
|
423
|
-
declare
|
|
423
|
+
declare function createKnowledgebase(body: CreateKnowledgeBase, options?: ApiCallOptions): Promise<CreateKnowledgebaseHttpResponse>;
|
|
424
424
|
type CreateKnowledgebaseHttpResponse = {
|
|
425
425
|
data: KnowledgeBaseLight;
|
|
426
426
|
headers: Headers;
|
|
@@ -437,7 +437,7 @@ type CreateKnowledgebaseHttpError = {
|
|
|
437
437
|
* @param id The id of the knowledgebase to delete.
|
|
438
438
|
* @throws DeleteKnowledgebaseHttpError
|
|
439
439
|
*/
|
|
440
|
-
declare
|
|
440
|
+
declare function deleteKnowledgebase(id: string, options?: ApiCallOptions): Promise<DeleteKnowledgebaseHttpResponse>;
|
|
441
441
|
type DeleteKnowledgebaseHttpResponse = {
|
|
442
442
|
data: void;
|
|
443
443
|
headers: Headers;
|
|
@@ -454,7 +454,7 @@ type DeleteKnowledgebaseHttpError = {
|
|
|
454
454
|
* @param id The id of the knowledgebase to retrieve.
|
|
455
455
|
* @throws GetKnowledgebaseHttpError
|
|
456
456
|
*/
|
|
457
|
-
declare
|
|
457
|
+
declare function getKnowledgebase(id: string, options?: ApiCallOptions): Promise<GetKnowledgebaseHttpResponse>;
|
|
458
458
|
type GetKnowledgebaseHttpResponse = {
|
|
459
459
|
data: KnowledgeBase;
|
|
460
460
|
headers: Headers;
|
|
@@ -472,7 +472,7 @@ type GetKnowledgebaseHttpError = {
|
|
|
472
472
|
* @param body an object with the body content
|
|
473
473
|
* @throws PatchKnowledgebaseHttpError
|
|
474
474
|
*/
|
|
475
|
-
declare
|
|
475
|
+
declare function patchKnowledgebase(id: string, body: JSONPatchArray, options?: ApiCallOptions): Promise<PatchKnowledgebaseHttpResponse>;
|
|
476
476
|
type PatchKnowledgebaseHttpResponse = {
|
|
477
477
|
data: void;
|
|
478
478
|
headers: Headers;
|
|
@@ -490,7 +490,7 @@ type PatchKnowledgebaseHttpError = {
|
|
|
490
490
|
* @param body an object with the body content
|
|
491
491
|
* @throws CreateKnowledgebaseDatasourceHttpError
|
|
492
492
|
*/
|
|
493
|
-
declare
|
|
493
|
+
declare function createKnowledgebaseDatasource(id: string, body: CreateDataSource, options?: ApiCallOptions): Promise<CreateKnowledgebaseDatasourceHttpResponse>;
|
|
494
494
|
type CreateKnowledgebaseDatasourceHttpResponse = {
|
|
495
495
|
data: DataSource;
|
|
496
496
|
headers: Headers;
|
|
@@ -508,7 +508,7 @@ type CreateKnowledgebaseDatasourceHttpError = {
|
|
|
508
508
|
* @param datasourceId The id of the datasource to delete.
|
|
509
509
|
* @throws DeleteKnowledgebaseDatasourceHttpError
|
|
510
510
|
*/
|
|
511
|
-
declare
|
|
511
|
+
declare function deleteKnowledgebaseDatasource(id: string, datasourceId: string, options?: ApiCallOptions): Promise<DeleteKnowledgebaseDatasourceHttpResponse>;
|
|
512
512
|
type DeleteKnowledgebaseDatasourceHttpResponse = {
|
|
513
513
|
data: void;
|
|
514
514
|
headers: Headers;
|
|
@@ -527,7 +527,7 @@ type DeleteKnowledgebaseDatasourceHttpError = {
|
|
|
527
527
|
* @param body an object with the body content
|
|
528
528
|
* @throws UpdateKnowledgebaseDatasourceHttpError
|
|
529
529
|
*/
|
|
530
|
-
declare
|
|
530
|
+
declare function updateKnowledgebaseDatasource(id: string, datasourceId: string, body: DataSource, options?: ApiCallOptions): Promise<UpdateKnowledgebaseDatasourceHttpResponse>;
|
|
531
531
|
type UpdateKnowledgebaseDatasourceHttpResponse = {
|
|
532
532
|
data: DataSource;
|
|
533
533
|
headers: Headers;
|
|
@@ -545,7 +545,7 @@ type UpdateKnowledgebaseDatasourceHttpError = {
|
|
|
545
545
|
* @param datasourceId The id of the datasource to cancel sync for.
|
|
546
546
|
* @throws CancelKnowledgebaseDatasourceHttpError
|
|
547
547
|
*/
|
|
548
|
-
declare
|
|
548
|
+
declare function cancelKnowledgebaseDatasource(id: string, datasourceId: string, options?: ApiCallOptions): Promise<CancelKnowledgebaseDatasourceHttpResponse>;
|
|
549
549
|
type CancelKnowledgebaseDatasourceHttpResponse = {
|
|
550
550
|
data: DataSourceSync;
|
|
551
551
|
headers: Headers;
|
|
@@ -564,7 +564,7 @@ type CancelKnowledgebaseDatasourceHttpError = {
|
|
|
564
564
|
* @param body an object with the body content
|
|
565
565
|
* @throws DownloadKnowledgebaseDatasourceHttpError
|
|
566
566
|
*/
|
|
567
|
-
declare
|
|
567
|
+
declare function downloadKnowledgebaseDatasource(id: string, datasourceId: string, body: DownloadFile, options?: ApiCallOptions): Promise<DownloadKnowledgebaseDatasourceHttpResponse>;
|
|
568
568
|
type DownloadKnowledgebaseDatasourceHttpResponse = {
|
|
569
569
|
data: DownloadFileResponse;
|
|
570
570
|
headers: Headers;
|
|
@@ -583,10 +583,10 @@ type DownloadKnowledgebaseDatasourceHttpError = {
|
|
|
583
583
|
* @param query an object with query parameters
|
|
584
584
|
* @throws SyncKnowledgebaseDatasourceHttpError
|
|
585
585
|
*/
|
|
586
|
-
declare
|
|
586
|
+
declare function syncKnowledgebaseDatasource(id: string, datasourceId: string, query: {
|
|
587
587
|
/** Optional parameter to migrate indexed files to docdetails collection */
|
|
588
588
|
migrate?: boolean;
|
|
589
|
-
}, options?: ApiCallOptions)
|
|
589
|
+
}, options?: ApiCallOptions): Promise<SyncKnowledgebaseDatasourceHttpResponse>;
|
|
590
590
|
type SyncKnowledgebaseDatasourceHttpResponse = {
|
|
591
591
|
data: DataSourceSync;
|
|
592
592
|
headers: Headers;
|
|
@@ -605,7 +605,7 @@ type SyncKnowledgebaseDatasourceHttpError = {
|
|
|
605
605
|
* @param query an object with query parameters
|
|
606
606
|
* @throws GetKnowledgebaseDatasourceHistoriesHttpError
|
|
607
607
|
*/
|
|
608
|
-
declare
|
|
608
|
+
declare function getKnowledgebaseDatasourceHistories(id: string, datasourceId: string, query: {
|
|
609
609
|
/** The number of knowledgebases to get. */
|
|
610
610
|
limit?: number;
|
|
611
611
|
/** Optional parameter to request the next page. */
|
|
@@ -614,7 +614,7 @@ declare const getKnowledgebaseDatasourceHistories: (id: string, datasourceId: st
|
|
|
614
614
|
prev?: string;
|
|
615
615
|
/** Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending. */
|
|
616
616
|
sort?: "COMPLETED" | "-COMPLETED";
|
|
617
|
-
}, options?: ApiCallOptions)
|
|
617
|
+
}, options?: ApiCallOptions): Promise<GetKnowledgebaseDatasourceHistoriesHttpResponse>;
|
|
618
618
|
type GetKnowledgebaseDatasourceHistoriesHttpResponse = {
|
|
619
619
|
data: SyncHistoryResult;
|
|
620
620
|
headers: Headers;
|
|
@@ -637,7 +637,7 @@ type GetKnowledgebaseDatasourceHistoriesHttpError = {
|
|
|
637
637
|
* @param syncId The sync identifier.
|
|
638
638
|
* @throws GetKnowledgebaseDatasourceHistoryHttpError
|
|
639
639
|
*/
|
|
640
|
-
declare
|
|
640
|
+
declare function getKnowledgebaseDatasourceHistory(id: string, datasourceId: string, syncId: string, options?: ApiCallOptions): Promise<GetKnowledgebaseDatasourceHistoryHttpResponse>;
|
|
641
641
|
type GetKnowledgebaseDatasourceHistoryHttpResponse = {
|
|
642
642
|
data: SyncHistoryDetails;
|
|
643
643
|
headers: Headers;
|
|
@@ -655,7 +655,7 @@ type GetKnowledgebaseDatasourceHistoryHttpError = {
|
|
|
655
655
|
* @param datasourceId The id of the datasource the schedule belongs to.
|
|
656
656
|
* @throws DeleteKnowledgebaseDatasourceScheduleHttpError
|
|
657
657
|
*/
|
|
658
|
-
declare
|
|
658
|
+
declare function deleteKnowledgebaseDatasourceSchedule(id: string, datasourceId: string, options?: ApiCallOptions): Promise<DeleteKnowledgebaseDatasourceScheduleHttpResponse>;
|
|
659
659
|
type DeleteKnowledgebaseDatasourceScheduleHttpResponse = {
|
|
660
660
|
data: void;
|
|
661
661
|
headers: Headers;
|
|
@@ -673,7 +673,7 @@ type DeleteKnowledgebaseDatasourceScheduleHttpError = {
|
|
|
673
673
|
* @param datasourceId The id of the datasource the schedule belongs to.
|
|
674
674
|
* @throws GetKnowledgebaseDatasourceScheduleHttpError
|
|
675
675
|
*/
|
|
676
|
-
declare
|
|
676
|
+
declare function getKnowledgebaseDatasourceSchedule(id: string, datasourceId: string, options?: ApiCallOptions): Promise<GetKnowledgebaseDatasourceScheduleHttpResponse>;
|
|
677
677
|
type GetKnowledgebaseDatasourceScheduleHttpResponse = {
|
|
678
678
|
data: ScheduleWithManifest;
|
|
679
679
|
headers: Headers;
|
|
@@ -692,7 +692,7 @@ type GetKnowledgebaseDatasourceScheduleHttpError = {
|
|
|
692
692
|
* @param body an object with the body content
|
|
693
693
|
* @throws CreateKnowledgebaseDatasourceScheduleHttpError
|
|
694
694
|
*/
|
|
695
|
-
declare
|
|
695
|
+
declare function createKnowledgebaseDatasourceSchedule(id: string, datasourceId: string, body: Schedule, options?: ApiCallOptions): Promise<CreateKnowledgebaseDatasourceScheduleHttpResponse>;
|
|
696
696
|
type CreateKnowledgebaseDatasourceScheduleHttpResponse = {
|
|
697
697
|
data: ScheduleWithManifest;
|
|
698
698
|
headers: Headers;
|
|
@@ -710,7 +710,7 @@ type CreateKnowledgebaseDatasourceScheduleHttpError = {
|
|
|
710
710
|
* @param query an object with query parameters
|
|
711
711
|
* @throws GetKnowledgebaseHistoriesHttpError
|
|
712
712
|
*/
|
|
713
|
-
declare
|
|
713
|
+
declare function getKnowledgebaseHistories(id: string, query: {
|
|
714
714
|
/** The number of sync histories to get. */
|
|
715
715
|
limit?: number;
|
|
716
716
|
/** Optional parameter to request the next page. */
|
|
@@ -719,7 +719,7 @@ declare const getKnowledgebaseHistories: (id: string, query: {
|
|
|
719
719
|
prev?: string;
|
|
720
720
|
/** Optional resource field name to sort on, case insensitive, eg. name. Can be prefixed with - to set descending order, defaults to ascending. */
|
|
721
721
|
sort?: "COMPLETED" | "-COMPLETED";
|
|
722
|
-
}, options?: ApiCallOptions)
|
|
722
|
+
}, options?: ApiCallOptions): Promise<GetKnowledgebaseHistoriesHttpResponse>;
|
|
723
723
|
type GetKnowledgebaseHistoriesHttpResponse = {
|
|
724
724
|
data: SyncHistoryResult;
|
|
725
725
|
headers: Headers;
|