@qlik/api 2.2.0 → 2.3.1
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-XusKk8IA.js +32 -0
- 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-2VSXImC9.js} +498 -146
- package/chunks/{invoke-fetch-PcVIxLW4.js → invoke-fetch-CckTK7bh.js} +3 -3
- package/chunks/{invoke-fetch-CucBpA1C.js → invoke-fetch-D9lpiAb-.js} +1 -5
- package/chunks/{public-runtime-modules-Dwjzb3l8.js → public-runtime-modules-BqxAMJ9M.js} +7 -7
- package/chunks/{qix-DI5o5XF4.d.ts → qix-CrqXv44x.d.ts} +6 -2
- package/chunks/{qix-DjxuPCX0.js → qix-DpvHvpx7.js} +11 -10
- package/chunks/{qix-chunk-entrypoint-tmTo-kpa.js → qix-chunk-entrypoint-BXZPnE6J.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 +5 -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-Cle0_tmz.js +0 -32
- 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/quotas.d.ts
CHANGED
|
@@ -1,4 +1,113 @@
|
|
|
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/quotas.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* A specific error.
|
|
7
|
+
*/
|
|
8
|
+
type Error = {
|
|
9
|
+
/** The error code. */
|
|
10
|
+
code: string;
|
|
11
|
+
/** Summary of the problem. */
|
|
12
|
+
title: string;
|
|
13
|
+
};
|
|
14
|
+
type ErrorResponse = {
|
|
15
|
+
errors?: Error[];
|
|
16
|
+
};
|
|
17
|
+
type GetQuotaByIdResult = {
|
|
18
|
+
/** Quota item. */
|
|
19
|
+
data: Quota[];
|
|
20
|
+
};
|
|
21
|
+
type GetQuotasResult = {
|
|
22
|
+
/** Array of quota items. */
|
|
23
|
+
data: Quota[];
|
|
24
|
+
};
|
|
25
|
+
type Quota = {
|
|
26
|
+
/** The attributes of the quota. */
|
|
27
|
+
attributes: {
|
|
28
|
+
/** The quota limit. If there is no quota limit, -1 is returned. */
|
|
29
|
+
quota: number;
|
|
30
|
+
/** The unit of the quota limit. For memory quotas, the unit is always "bytes". For other discrete units, the item counted is used as unit, for example "spaces". */
|
|
31
|
+
unit: string;
|
|
32
|
+
/** The current quota usage, if applicable. This attribute is only present if it is requested using the reportUsage query parameter. */
|
|
33
|
+
usage?: number;
|
|
34
|
+
/** The warning thresholds at which "close to quota" warnings can be issued when exceeded. If omitted, no warning threshold shall be used. Currently, the array will contain only one threshold value. In the future, this may be extended. The threshold is a number between 0 and 1, relating to the quota limit. For example, a value of 0.9 means that a warning should be issued when exceeding 90% of the quota limit. */
|
|
35
|
+
warningThresholds?: number[];
|
|
36
|
+
};
|
|
37
|
+
/** The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces". */
|
|
38
|
+
id: string;
|
|
39
|
+
/** The resource type of the quota item. Always equal to "quotas". */
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Returns all quota items for the tenant (provided in JWT).
|
|
44
|
+
*
|
|
45
|
+
* @param query an object with query parameters
|
|
46
|
+
* @throws GetQuotasHttpError
|
|
47
|
+
*/
|
|
48
|
+
declare function getQuotas(query: {
|
|
49
|
+
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned). */
|
|
50
|
+
reportUsage?: boolean;
|
|
51
|
+
}, options?: ApiCallOptions): Promise<GetQuotasHttpResponse>;
|
|
52
|
+
type GetQuotasHttpResponse = {
|
|
53
|
+
data: GetQuotasResult;
|
|
54
|
+
headers: Headers;
|
|
55
|
+
status: 200;
|
|
56
|
+
};
|
|
57
|
+
type GetQuotasHttpError = {
|
|
58
|
+
data: ErrorResponse;
|
|
59
|
+
headers: Headers;
|
|
60
|
+
status: 401 | 500;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Returns a specific quota item for the tenant (provided in JWT).
|
|
64
|
+
*
|
|
65
|
+
* @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
|
|
66
|
+
* @param query an object with query parameters
|
|
67
|
+
* @throws GetQuotaHttpError
|
|
68
|
+
*/
|
|
69
|
+
declare function getQuota(id: string, query: {
|
|
70
|
+
/** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included). */
|
|
71
|
+
reportUsage?: boolean;
|
|
72
|
+
}, options?: ApiCallOptions): Promise<GetQuotaHttpResponse>;
|
|
73
|
+
type GetQuotaHttpResponse = {
|
|
74
|
+
data: GetQuotaByIdResult;
|
|
75
|
+
headers: Headers;
|
|
76
|
+
status: 200;
|
|
77
|
+
};
|
|
78
|
+
type GetQuotaHttpError = {
|
|
79
|
+
data: ErrorResponse;
|
|
80
|
+
headers: Headers;
|
|
81
|
+
status: 401 | 404 | 500;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Clears the cache for quotas api requests.
|
|
85
|
+
*/
|
|
86
|
+
declare function clearCache(): void;
|
|
87
|
+
type QuotasAPI = {
|
|
88
|
+
/**
|
|
89
|
+
* Returns all quota items for the tenant (provided in JWT).
|
|
90
|
+
*
|
|
91
|
+
* @param query an object with query parameters
|
|
92
|
+
* @throws GetQuotasHttpError
|
|
93
|
+
*/
|
|
94
|
+
getQuotas: typeof getQuotas;
|
|
95
|
+
/**
|
|
96
|
+
* Returns a specific quota item for the tenant (provided in JWT).
|
|
97
|
+
*
|
|
98
|
+
* @param id The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces".
|
|
99
|
+
* @param query an object with query parameters
|
|
100
|
+
* @throws GetQuotaHttpError
|
|
101
|
+
*/
|
|
102
|
+
getQuota: typeof getQuota;
|
|
103
|
+
/**
|
|
104
|
+
* Clears the cache for quotas api requests.
|
|
105
|
+
*/
|
|
106
|
+
clearCache: typeof clearCache;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Functions for the quotas api
|
|
110
|
+
*/
|
|
111
|
+
declare const quotasExport: QuotasAPI;
|
|
112
|
+
//#endregion
|
|
4
113
|
export { Error, ErrorResponse, GetQuotaByIdResult, GetQuotaHttpError, GetQuotaHttpResponse, GetQuotasHttpError, GetQuotasHttpResponse, GetQuotasResult, Quota, QuotasAPI, clearCache, quotasExport as default, getQuota, getQuotas };
|
package/quotas.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-BqxAMJ9M.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/quotas.ts
|
|
6
5
|
/**
|
package/reload-tasks.d.ts
CHANGED
|
@@ -1,4 +1,250 @@
|
|
|
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/reload-tasks.d.ts
|
|
5
|
+
type Error = {
|
|
6
|
+
code: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
title: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @example
|
|
12
|
+
* {
|
|
13
|
+
* errors: [
|
|
14
|
+
* {
|
|
15
|
+
* code: "TASKS-123",
|
|
16
|
+
* title: "short error message"
|
|
17
|
+
* }
|
|
18
|
+
* ],
|
|
19
|
+
* traceId: "7975401f3954aa47"
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
type Errors = {
|
|
23
|
+
errors?: Error[];
|
|
24
|
+
traceId?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* {
|
|
29
|
+
* href: "http://example.com"
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
type Href = {
|
|
33
|
+
href: string;
|
|
34
|
+
};
|
|
35
|
+
type PaginationLinks = SelfLink & {
|
|
36
|
+
next?: Href;
|
|
37
|
+
prev?: Href;
|
|
38
|
+
};
|
|
39
|
+
type PostTaskBody = TaskBase & {
|
|
40
|
+
/** @deprecated
|
|
41
|
+
* Type of task being created - only contains the "scheduled_reload" value. Type value is not used for creating a schedule reload. It has been deprecated since 2022-04-05. */
|
|
42
|
+
type?: "scheduled_reload";
|
|
43
|
+
};
|
|
44
|
+
type PutTaskBody = TaskBase & {
|
|
45
|
+
/** Toggle for enabling and disabling the reload task */
|
|
46
|
+
state?: "Enabled" | "Disabled" | "Completed";
|
|
47
|
+
};
|
|
48
|
+
type SelfLink = {
|
|
49
|
+
self: Href;
|
|
50
|
+
};
|
|
51
|
+
type Task = TaskBase & {
|
|
52
|
+
/** The reason why the task was disabled. */
|
|
53
|
+
disabledCode?: "MANUALLY" | "CONSECUTIVE-FAILURES" | "OWNER-DELETED" | "OWNER-DISABLED";
|
|
54
|
+
/** @deprecated
|
|
55
|
+
* The fortress ID of the application */
|
|
56
|
+
fortressId?: string;
|
|
57
|
+
/** The ID of the task. */
|
|
58
|
+
id: string;
|
|
59
|
+
/** The last time the task executed. */
|
|
60
|
+
lastExecutionTime?: string;
|
|
61
|
+
links: SelfLink;
|
|
62
|
+
/** @deprecated
|
|
63
|
+
* The reason why the task was disabled. */
|
|
64
|
+
log?: string;
|
|
65
|
+
/** A flag indicating whether the task has been migrated to the new scheduling service. */
|
|
66
|
+
migrated?: boolean;
|
|
67
|
+
/** The next time the task will execute. */
|
|
68
|
+
nextExecutionTime?: string;
|
|
69
|
+
/** The space ID of the application */
|
|
70
|
+
spaceId?: string;
|
|
71
|
+
/** Toggle for enabling and disabling the reload task */
|
|
72
|
+
state: "Enabled" | "Disabled" | "Completed";
|
|
73
|
+
/** The ID of the tenant who owns the task. */
|
|
74
|
+
tenantId: string;
|
|
75
|
+
/** The ID of the user who owns the task. */
|
|
76
|
+
userId: string;
|
|
77
|
+
};
|
|
78
|
+
type TaskBase = {
|
|
79
|
+
/** The ID of the app. */
|
|
80
|
+
appId?: string;
|
|
81
|
+
/** A flag that indicates whether a reload is triggered when data of the app is changed */
|
|
82
|
+
autoReload?: boolean;
|
|
83
|
+
/** A flag that indicates whether it is a partial reload or not for the auto reload */
|
|
84
|
+
autoReloadPartial?: boolean;
|
|
85
|
+
/** The time that the task will stop recurring. If the time zone is missing, this is a combined date-time value expressing a time with a fixed UTC offset (formatted according to RFC3339). If a time zone is given, the zone offset must be omitted. */
|
|
86
|
+
endDateTime?: string;
|
|
87
|
+
/** The task is partial reload or not */
|
|
88
|
+
partial?: boolean;
|
|
89
|
+
/** List of RECUR lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events */
|
|
90
|
+
recurrence?: string[];
|
|
91
|
+
/** The time that the task execution start recurring. If the time zone is missing, this is a combined date-time value expressing a time with a fixed UTC offset (formatted according to RFC3339). If a time zone is given, the zone offset must be omitted. Field startDateTime should not be before the Unix epoch 00:00:00 UTC on 1 January 1970. Note that the empty string value with the empty recurrence array indicates the scheduled job is not set. */
|
|
92
|
+
startDateTime?: string;
|
|
93
|
+
/** The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. Europe/Zurich.) This field specifies the time zone in which the event start/end are expanded. If missing the start/end fields must specify a UTC offset in RFC3339 format. */
|
|
94
|
+
timeZone?: string;
|
|
95
|
+
};
|
|
96
|
+
type Tasks = {
|
|
97
|
+
data: Task[];
|
|
98
|
+
links: PaginationLinks;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Finds and returns the tasks that the user has access to.
|
|
102
|
+
*
|
|
103
|
+
* @param query an object with query parameters
|
|
104
|
+
* @throws GetReloadTasksHttpError
|
|
105
|
+
*/
|
|
106
|
+
declare function getReloadTasks(query: {
|
|
107
|
+
/** The case sensitive string used to search for a task by app ID. */
|
|
108
|
+
appId?: string;
|
|
109
|
+
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
110
|
+
limit?: number;
|
|
111
|
+
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
112
|
+
next?: string;
|
|
113
|
+
/** The boolean value used to search for a task is partial or not */
|
|
114
|
+
partial?: boolean;
|
|
115
|
+
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
116
|
+
prev?: string;
|
|
117
|
+
}, options?: ApiCallOptions): Promise<GetReloadTasksHttpResponse>;
|
|
118
|
+
type GetReloadTasksHttpResponse = {
|
|
119
|
+
data: Tasks;
|
|
120
|
+
headers: Headers;
|
|
121
|
+
status: 200;
|
|
122
|
+
prev?: (options?: ApiCallOptions) => Promise<GetReloadTasksHttpResponse>;
|
|
123
|
+
next?: (options?: ApiCallOptions) => Promise<GetReloadTasksHttpResponse>;
|
|
124
|
+
};
|
|
125
|
+
type GetReloadTasksHttpError = {
|
|
126
|
+
data: Errors;
|
|
127
|
+
headers: Headers;
|
|
128
|
+
status: 400 | 401 | 403 | 404 | 429 | 500 | 503;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Creates a task for a specified app.
|
|
132
|
+
*
|
|
133
|
+
* @param body an object with the body content
|
|
134
|
+
* @throws CreateReloadTaskHttpError
|
|
135
|
+
*/
|
|
136
|
+
declare function createReloadTask(body: PostTaskBody, options?: ApiCallOptions): Promise<CreateReloadTaskHttpResponse>;
|
|
137
|
+
type CreateReloadTaskHttpResponse = {
|
|
138
|
+
data: Task;
|
|
139
|
+
headers: Headers;
|
|
140
|
+
status: 201;
|
|
141
|
+
};
|
|
142
|
+
type CreateReloadTaskHttpError = {
|
|
143
|
+
data: Errors;
|
|
144
|
+
headers: Headers;
|
|
145
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Deletes a task
|
|
149
|
+
*
|
|
150
|
+
* @param taskId The unique identifier of the task.
|
|
151
|
+
* @throws DeleteReloadTaskHttpError
|
|
152
|
+
*/
|
|
153
|
+
declare function deleteReloadTask(taskId: string, options?: ApiCallOptions): Promise<DeleteReloadTaskHttpResponse>;
|
|
154
|
+
type DeleteReloadTaskHttpResponse = {
|
|
155
|
+
data: void;
|
|
156
|
+
headers: Headers;
|
|
157
|
+
status: 204;
|
|
158
|
+
};
|
|
159
|
+
type DeleteReloadTaskHttpError = {
|
|
160
|
+
data: Errors;
|
|
161
|
+
headers: Headers;
|
|
162
|
+
status: 400 | 401 | 403 | 404 | 500;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Finds and returns a task.
|
|
166
|
+
*
|
|
167
|
+
* @param taskId The unique identifier of the task.
|
|
168
|
+
* @throws GetReloadTaskHttpError
|
|
169
|
+
*/
|
|
170
|
+
declare function getReloadTask(taskId: string, options?: ApiCallOptions): Promise<GetReloadTaskHttpResponse>;
|
|
171
|
+
type GetReloadTaskHttpResponse = {
|
|
172
|
+
data: Task;
|
|
173
|
+
headers: Headers;
|
|
174
|
+
status: 200;
|
|
175
|
+
};
|
|
176
|
+
type GetReloadTaskHttpError = {
|
|
177
|
+
data: Errors;
|
|
178
|
+
headers: Headers;
|
|
179
|
+
status: 400 | 401 | 403 | 404 | 429 | 500 | 503;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Updates an existing task
|
|
183
|
+
*
|
|
184
|
+
* @param taskId The unique identifier of the task.
|
|
185
|
+
* @param body an object with the body content
|
|
186
|
+
* @throws UpdateReloadTaskHttpError
|
|
187
|
+
*/
|
|
188
|
+
declare function updateReloadTask(taskId: string, body: PutTaskBody, options?: ApiCallOptions): Promise<UpdateReloadTaskHttpResponse>;
|
|
189
|
+
type UpdateReloadTaskHttpResponse = {
|
|
190
|
+
data: Task;
|
|
191
|
+
headers: Headers;
|
|
192
|
+
status: 200;
|
|
193
|
+
};
|
|
194
|
+
type UpdateReloadTaskHttpError = {
|
|
195
|
+
data: Errors;
|
|
196
|
+
headers: Headers;
|
|
197
|
+
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Clears the cache for reload-tasks api requests.
|
|
201
|
+
*/
|
|
202
|
+
declare function clearCache(): void;
|
|
203
|
+
type ReloadTasksAPI = {
|
|
204
|
+
/**
|
|
205
|
+
* Finds and returns the tasks that the user has access to.
|
|
206
|
+
*
|
|
207
|
+
* @param query an object with query parameters
|
|
208
|
+
* @throws GetReloadTasksHttpError
|
|
209
|
+
*/
|
|
210
|
+
getReloadTasks: typeof getReloadTasks;
|
|
211
|
+
/**
|
|
212
|
+
* Creates a task for a specified app.
|
|
213
|
+
*
|
|
214
|
+
* @param body an object with the body content
|
|
215
|
+
* @throws CreateReloadTaskHttpError
|
|
216
|
+
*/
|
|
217
|
+
createReloadTask: typeof createReloadTask;
|
|
218
|
+
/**
|
|
219
|
+
* Deletes a task
|
|
220
|
+
*
|
|
221
|
+
* @param taskId The unique identifier of the task.
|
|
222
|
+
* @throws DeleteReloadTaskHttpError
|
|
223
|
+
*/
|
|
224
|
+
deleteReloadTask: typeof deleteReloadTask;
|
|
225
|
+
/**
|
|
226
|
+
* Finds and returns a task.
|
|
227
|
+
*
|
|
228
|
+
* @param taskId The unique identifier of the task.
|
|
229
|
+
* @throws GetReloadTaskHttpError
|
|
230
|
+
*/
|
|
231
|
+
getReloadTask: typeof getReloadTask;
|
|
232
|
+
/**
|
|
233
|
+
* Updates an existing task
|
|
234
|
+
*
|
|
235
|
+
* @param taskId The unique identifier of the task.
|
|
236
|
+
* @param body an object with the body content
|
|
237
|
+
* @throws UpdateReloadTaskHttpError
|
|
238
|
+
*/
|
|
239
|
+
updateReloadTask: typeof updateReloadTask;
|
|
240
|
+
/**
|
|
241
|
+
* Clears the cache for reload-tasks api requests.
|
|
242
|
+
*/
|
|
243
|
+
clearCache: typeof clearCache;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Functions for the reload-tasks api
|
|
247
|
+
*/
|
|
248
|
+
declare const reloadTasksExport: ReloadTasksAPI;
|
|
249
|
+
//#endregion
|
|
4
250
|
export { CreateReloadTaskHttpError, CreateReloadTaskHttpResponse, DeleteReloadTaskHttpError, DeleteReloadTaskHttpResponse, Error, Errors, GetReloadTaskHttpError, GetReloadTaskHttpResponse, GetReloadTasksHttpError, GetReloadTasksHttpResponse, Href, PaginationLinks, PostTaskBody, PutTaskBody, ReloadTasksAPI, SelfLink, Task, TaskBase, Tasks, UpdateReloadTaskHttpError, UpdateReloadTaskHttpResponse, clearCache, createReloadTask, reloadTasksExport as default, deleteReloadTask, getReloadTask, getReloadTasks, updateReloadTask };
|
package/reload-tasks.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-BqxAMJ9M.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/reload-tasks.ts
|
|
6
5
|
/**
|
package/reloads.d.ts
CHANGED
|
@@ -1,4 +1,261 @@
|
|
|
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/reloads.d.ts
|
|
5
|
+
type Error = {
|
|
6
|
+
/** The error code is in form of 'RELOADS-xxx'. ranges from 'RELOADS-001' to 'RELOADS-013'. */
|
|
7
|
+
code: string;
|
|
8
|
+
detail?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* {
|
|
14
|
+
* errors: [
|
|
15
|
+
* {
|
|
16
|
+
* code: "HTTP-123",
|
|
17
|
+
* title: "short error message"
|
|
18
|
+
* }
|
|
19
|
+
* ]
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
type Errors = {
|
|
23
|
+
errors?: Error[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* {
|
|
28
|
+
* href: "http://example.com"
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
31
|
+
type Href = {
|
|
32
|
+
href?: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The boolean value used to present the reload is partial or not.
|
|
36
|
+
* @example
|
|
37
|
+
* false
|
|
38
|
+
*/
|
|
39
|
+
type Partial = boolean;
|
|
40
|
+
type Reload = {
|
|
41
|
+
/** The ID of the app. */
|
|
42
|
+
appId: string;
|
|
43
|
+
/** The time the reload job was created. */
|
|
44
|
+
creationTime: string;
|
|
45
|
+
/** The time the reload job finished. */
|
|
46
|
+
endTime?: string;
|
|
47
|
+
/** The timestamp returned from the Sense engine upon successful reload. */
|
|
48
|
+
engineTime?: string;
|
|
49
|
+
/** The error code when the status is FAILED. */
|
|
50
|
+
errorCode?: string;
|
|
51
|
+
/** The error message when the status is FAILED. */
|
|
52
|
+
errorMessage?: string;
|
|
53
|
+
/** The ID of the reload. */
|
|
54
|
+
id: string;
|
|
55
|
+
links?: ReloadLinks;
|
|
56
|
+
/** The log describing the result of the latest reload execution from the request. */
|
|
57
|
+
log?: string;
|
|
58
|
+
/** The boolean value used to present the reload is partial or not. */
|
|
59
|
+
partial?: Partial;
|
|
60
|
+
/** The time the reload job was consumed from the queue. */
|
|
61
|
+
startTime?: string;
|
|
62
|
+
/** The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses. */
|
|
63
|
+
status: Status;
|
|
64
|
+
/** The ID of the tenant who owns the reload. */
|
|
65
|
+
tenantId: string;
|
|
66
|
+
/** What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data, choreographer = reload triggered by choreographer. */
|
|
67
|
+
type: Type;
|
|
68
|
+
/** The ID of the user who created the reload. */
|
|
69
|
+
userId: string;
|
|
70
|
+
/** The weight of the reload for the same tenant. The higher the weight, the sooner the reload will be scheduled relative to other reloads for the same tenant. The personal app will be always set as 1. */
|
|
71
|
+
weight?: Weight;
|
|
72
|
+
};
|
|
73
|
+
type ReloadLinks = {
|
|
74
|
+
self?: Href;
|
|
75
|
+
};
|
|
76
|
+
type ReloadRequest = {
|
|
77
|
+
/** The ID of the app to be reloaded. */
|
|
78
|
+
appId: string;
|
|
79
|
+
/** The boolean value used to present the reload is partial or not */
|
|
80
|
+
partial?: boolean;
|
|
81
|
+
/** The variables to be used in the load script. Maximum of 20 variables allowed with a maximum length of 256 characters for each name/value. */
|
|
82
|
+
variables?: Record<string, string>;
|
|
83
|
+
/** The weight of the reload for the same tenant. The higher the weight, the sooner the reload will be scheduled relative to other reloads for the same tenant. The personal app will be always set as 1. */
|
|
84
|
+
weight?: Weight;
|
|
85
|
+
};
|
|
86
|
+
type Reloads = {
|
|
87
|
+
data: Reload[];
|
|
88
|
+
links: ReloadsLinks;
|
|
89
|
+
};
|
|
90
|
+
type ReloadsLinks = ReloadLinks & {
|
|
91
|
+
next?: Href;
|
|
92
|
+
prev?: Href;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* The status of the reload. There are seven statuses. `QUEUED`, `RELOADING`, `CANCELING` are the active statuses. `SUCCEEDED`, `FAILED`, `CANCELED`, `EXCEEDED_LIMIT` are the end statuses.
|
|
96
|
+
* @example
|
|
97
|
+
* "FAILED"
|
|
98
|
+
*/
|
|
99
|
+
type Status = "QUEUED" | "RELOADING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "CANCELED" | "EXCEEDED_LIMIT";
|
|
100
|
+
/**
|
|
101
|
+
* What initiated the reload: hub = one-time reload manually triggered in hub, chronos = time based scheduled reload triggered by chronos, external = reload triggered via external API request, automations = reload triggered in automation, data-refresh = reload triggered by refresh of data, choreographer = reload triggered by choreographer.
|
|
102
|
+
* @example
|
|
103
|
+
* "chronos"
|
|
104
|
+
*/
|
|
105
|
+
type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh" | "choreographer";
|
|
106
|
+
/**
|
|
107
|
+
* The weight of the reload for the same tenant. The higher the weight, the sooner the reload will be scheduled relative to other reloads for the same tenant. The personal app will be always set as 1.
|
|
108
|
+
*/
|
|
109
|
+
type Weight = number;
|
|
110
|
+
/**
|
|
111
|
+
* Finds and returns the reloads that the user has access to.
|
|
112
|
+
* @example
|
|
113
|
+
* getReloads(
|
|
114
|
+
* {
|
|
115
|
+
* filter: "(status eq \"FAILED\" or status eq \"EXCEEDED_LIMIT\") and partial eq \"false\" and type eq \"chronos\"
|
|
116
|
+
* "
|
|
117
|
+
* }
|
|
118
|
+
* )
|
|
119
|
+
*
|
|
120
|
+
* @param query an object with query parameters
|
|
121
|
+
* @throws GetReloadsHttpError
|
|
122
|
+
*/
|
|
123
|
+
declare function getReloads(query: {
|
|
124
|
+
/** The UUID formatted string used to search for an app's reload history entries. TenantAdmin users may omit this parameter to list all reload history in the tenant. */
|
|
125
|
+
appId: string;
|
|
126
|
+
/** SCIM filter expression used to search for reloads.
|
|
127
|
+
* The filter syntax is defined in RFC 7644 section 3.4.2.2
|
|
128
|
+
*
|
|
129
|
+
* Supported attributes:
|
|
130
|
+
* - status: see #schemas/Status
|
|
131
|
+
* - partial: see #schemas/Partial
|
|
132
|
+
* - type: see #schemas/Type
|
|
133
|
+
*
|
|
134
|
+
* Supported operators:
|
|
135
|
+
* - eq */
|
|
136
|
+
filter?: string;
|
|
137
|
+
/** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
|
|
138
|
+
limit?: number;
|
|
139
|
+
/** The boolean value used to include the log field or not, set log=true to include the log field. */
|
|
140
|
+
log?: boolean;
|
|
141
|
+
/** The cursor to the next page of resources. Provide either the next or prev cursor, but not both. */
|
|
142
|
+
next?: string;
|
|
143
|
+
/** The boolean value used to search for a reload is partial or not. */
|
|
144
|
+
partial?: boolean;
|
|
145
|
+
/** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
|
|
146
|
+
prev?: string;
|
|
147
|
+
}, options?: ApiCallOptions): Promise<GetReloadsHttpResponse>;
|
|
148
|
+
type GetReloadsHttpResponse = {
|
|
149
|
+
data: Reloads;
|
|
150
|
+
headers: Headers;
|
|
151
|
+
status: 200;
|
|
152
|
+
prev?: (options?: ApiCallOptions) => Promise<GetReloadsHttpResponse>;
|
|
153
|
+
next?: (options?: ApiCallOptions) => Promise<GetReloadsHttpResponse>;
|
|
154
|
+
};
|
|
155
|
+
type GetReloadsHttpError = {
|
|
156
|
+
data: Errors;
|
|
157
|
+
headers: Headers;
|
|
158
|
+
status: 400 | 401 | 403 | 500;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Reloads an app specified by an app ID.
|
|
162
|
+
*
|
|
163
|
+
* @param body an object with the body content
|
|
164
|
+
* @throws QueueReloadHttpError
|
|
165
|
+
*/
|
|
166
|
+
declare function queueReload(body: ReloadRequest, options?: ApiCallOptions): Promise<QueueReloadHttpResponse>;
|
|
167
|
+
type QueueReloadHttpResponse = {
|
|
168
|
+
data: Reload;
|
|
169
|
+
headers: Headers;
|
|
170
|
+
status: 201;
|
|
171
|
+
};
|
|
172
|
+
type QueueReloadHttpError = {
|
|
173
|
+
data: Errors;
|
|
174
|
+
headers: Headers;
|
|
175
|
+
status: 400 | 401 | 403 | 429 | 500;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Finds and returns a reload record.
|
|
179
|
+
*
|
|
180
|
+
* @param reloadId The unique identifier of the reload.
|
|
181
|
+
* @throws GetReloadHttpError
|
|
182
|
+
*/
|
|
183
|
+
declare function getReload(reloadId: string, options?: ApiCallOptions): Promise<GetReloadHttpResponse>;
|
|
184
|
+
type GetReloadHttpResponse = {
|
|
185
|
+
data: Reload;
|
|
186
|
+
headers: Headers;
|
|
187
|
+
status: 200;
|
|
188
|
+
};
|
|
189
|
+
type GetReloadHttpError = {
|
|
190
|
+
data: Errors;
|
|
191
|
+
headers: Headers;
|
|
192
|
+
status: 400 | 401 | 403 | 404 | 500;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Cancels a reload that is in progress or has been queued
|
|
196
|
+
*
|
|
197
|
+
* @param reloadId The unique identifier of the reload.
|
|
198
|
+
* @throws CancelReloadHttpError
|
|
199
|
+
*/
|
|
200
|
+
declare function cancelReload(reloadId: string, options?: ApiCallOptions): Promise<CancelReloadHttpResponse>;
|
|
201
|
+
type CancelReloadHttpResponse = {
|
|
202
|
+
data: void;
|
|
203
|
+
headers: Headers;
|
|
204
|
+
status: 202 | 204;
|
|
205
|
+
};
|
|
206
|
+
type CancelReloadHttpError = {
|
|
207
|
+
data: Errors;
|
|
208
|
+
headers: Headers;
|
|
209
|
+
status: 400 | 401 | 403 | 404 | 409 | 500;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Clears the cache for reloads api requests.
|
|
213
|
+
*/
|
|
214
|
+
declare function clearCache(): void;
|
|
215
|
+
type ReloadsAPI = {
|
|
216
|
+
/**
|
|
217
|
+
* Finds and returns the reloads that the user has access to.
|
|
218
|
+
* @example
|
|
219
|
+
* getReloads(
|
|
220
|
+
* {
|
|
221
|
+
* filter: "(status eq \"FAILED\" or status eq \"EXCEEDED_LIMIT\") and partial eq \"false\" and type eq \"chronos\"
|
|
222
|
+
* "
|
|
223
|
+
* }
|
|
224
|
+
* )
|
|
225
|
+
*
|
|
226
|
+
* @param query an object with query parameters
|
|
227
|
+
* @throws GetReloadsHttpError
|
|
228
|
+
*/
|
|
229
|
+
getReloads: typeof getReloads;
|
|
230
|
+
/**
|
|
231
|
+
* Reloads an app specified by an app ID.
|
|
232
|
+
*
|
|
233
|
+
* @param body an object with the body content
|
|
234
|
+
* @throws QueueReloadHttpError
|
|
235
|
+
*/
|
|
236
|
+
queueReload: typeof queueReload;
|
|
237
|
+
/**
|
|
238
|
+
* Finds and returns a reload record.
|
|
239
|
+
*
|
|
240
|
+
* @param reloadId The unique identifier of the reload.
|
|
241
|
+
* @throws GetReloadHttpError
|
|
242
|
+
*/
|
|
243
|
+
getReload: typeof getReload;
|
|
244
|
+
/**
|
|
245
|
+
* Cancels a reload that is in progress or has been queued
|
|
246
|
+
*
|
|
247
|
+
* @param reloadId The unique identifier of the reload.
|
|
248
|
+
* @throws CancelReloadHttpError
|
|
249
|
+
*/
|
|
250
|
+
cancelReload: typeof cancelReload;
|
|
251
|
+
/**
|
|
252
|
+
* Clears the cache for reloads api requests.
|
|
253
|
+
*/
|
|
254
|
+
clearCache: typeof clearCache;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Functions for the reloads api
|
|
258
|
+
*/
|
|
259
|
+
declare const reloadsExport: ReloadsAPI;
|
|
260
|
+
//#endregion
|
|
4
261
|
export { CancelReloadHttpError, CancelReloadHttpResponse, Error, Errors, GetReloadHttpError, GetReloadHttpResponse, GetReloadsHttpError, GetReloadsHttpResponse, Href, Partial, QueueReloadHttpError, QueueReloadHttpResponse, Reload, ReloadLinks, ReloadRequest, Reloads, ReloadsAPI, ReloadsLinks, Status, Type, Weight, cancelReload, clearCache, reloadsExport as default, getReload, getReloads, queueReload };
|
package/reloads.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-BqxAMJ9M.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-CckTK7bh.js";
|
|
4
3
|
|
|
5
4
|
//#region src/public/rest/reloads.ts
|
|
6
5
|
/**
|