@qlik/api 0.0.2 → 0.0.3
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.mts +14 -0
- package/api-keys.d.ts +14 -0
- package/api-keys.js +14 -10
- package/api-keys.mjs +6 -2
- package/apps.d.mts +478 -148
- package/apps.d.ts +478 -148
- package/apps.js +100 -42
- package/apps.mjs +60 -2
- package/audits.d.mts +12 -0
- package/audits.d.ts +12 -0
- package/audits.js +10 -9
- package/audits.mjs +3 -2
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-RTFXVSSK.mjs → auth-CPBNNC7S.mjs} +4 -1
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +36 -0
- package/automations.d.ts +36 -0
- package/automations.js +28 -21
- package/automations.mjs +9 -2
- package/brands.d.mts +45 -4
- package/brands.d.ts +45 -4
- package/brands.js +20 -15
- package/brands.mjs +7 -2
- package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
- package/{chunk-7REWEWCX.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-M7F4JFOB.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-NALKLKZS.mjs → chunk-CYRLVHU3.mjs} +316 -53
- package/{chunk-RMKP2BDX.js → chunk-D52VW5UN.js} +318 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-QN23TPIE.js → chunk-GV5SRHY2.js} +4 -4
- package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
- package/chunk-P57PW2II.js +11 -0
- package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
- package/chunk-ZFXKCRJC.mjs +11 -0
- package/collections.d.mts +51 -17
- package/collections.d.ts +51 -17
- package/collections.js +28 -14
- package/collections.mjs +16 -2
- package/csp-origins.d.mts +12 -0
- package/csp-origins.d.ts +12 -0
- package/csp-origins.js +12 -9
- package/csp-origins.mjs +5 -2
- package/data-assets.d.mts +10 -0
- package/data-assets.d.ts +10 -0
- package/data-assets.js +13 -8
- package/data-assets.mjs +7 -2
- package/data-connections.d.mts +18 -0
- package/data-connections.d.ts +18 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +8 -0
- package/data-credentials.d.ts +8 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +98 -13
- package/data-files.d.ts +98 -13
- package/data-files.js +22 -15
- package/data-files.mjs +9 -2
- package/{enigma-session-VPPJMBEM.js → enigma-session-XPXDQAIV.js} +5 -4
- package/{enigma-session-HGXKZJVO.mjs → enigma-session-ZH6MYA54.mjs} +2 -1
- package/{esm-RX7B2TUN.js → esm-3VXX2GKL.js} +3 -1
- package/{esm-M5ZBFTVD.mjs → esm-OY4XVIJB.mjs} +3 -1
- package/extensions.d.mts +26 -2
- package/extensions.d.ts +26 -2
- package/extensions.js +13 -10
- package/extensions.mjs +5 -2
- package/glossaries.d.mts +55 -20
- package/glossaries.d.ts +55 -20
- package/glossaries.js +39 -27
- package/glossaries.mjs +14 -2
- package/groups.d.mts +16 -0
- package/groups.d.ts +16 -0
- package/groups.js +16 -11
- package/groups.mjs +7 -2
- package/identity-providers.d.mts +16 -0
- package/identity-providers.d.ts +16 -0
- package/identity-providers.js +14 -11
- package/identity-providers.mjs +5 -2
- package/index.js +135 -101
- package/index.mjs +131 -97
- package/{invoke-fetch-IMO4AMA3.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +6 -6
- package/items.d.ts +6 -6
- package/items.js +14 -11
- package/items.mjs +5 -2
- package/licenses.d.mts +18 -0
- package/licenses.d.ts +18 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +4 -4
- package/{qix-K22VHZRH.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-57WD2ZE6.mjs → qix-ZSJ4PIK3.mjs} +3 -2
- package/qix.d.mts +1 -1
- package/qix.d.ts +1 -1
- package/qix.js +4 -3
- package/qix.mjs +3 -2
- package/quotas.d.mts +4 -0
- package/quotas.d.ts +4 -0
- package/quotas.js +6 -5
- package/quotas.mjs +3 -2
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +17 -10
- package/reloads.d.ts +17 -10
- package/reloads.js +9 -7
- package/reloads.mjs +4 -2
- package/roles.d.mts +4 -0
- package/roles.d.ts +4 -0
- package/roles.js +6 -5
- package/roles.mjs +3 -2
- package/spaces.d.mts +27 -4
- package/spaces.d.ts +27 -4
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +8 -3
- package/temp-contents.d.ts +8 -3
- package/temp-contents.js +8 -6
- package/temp-contents.mjs +4 -2
- package/tenants.d.mts +12 -0
- package/tenants.d.ts +12 -0
- package/tenants.js +14 -9
- package/tenants.mjs +7 -2
- package/themes.d.mts +26 -2
- package/themes.d.ts +26 -2
- package/themes.js +13 -10
- package/themes.mjs +5 -2
- package/transports.d.mts +12 -0
- package/transports.d.ts +12 -0
- package/transports.js +12 -9
- package/transports.mjs +5 -2
- package/users.d.mts +48 -29
- package/users.d.ts +48 -29
- package/users.js +18 -13
- package/users.mjs +7 -2
- package/web-integrations.d.mts +10 -0
- package/web-integrations.d.ts +10 -0
- package/web-integrations.js +11 -8
- package/web-integrations.mjs +5 -2
- package/web-notifications.d.mts +12 -0
- package/web-notifications.d.ts +12 -0
- package/web-notifications.js +12 -9
- package/web-notifications.mjs +5 -2
- package/webhooks.d.mts +25 -5
- package/webhooks.d.ts +25 -5
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/auth-OU7OTB7Y.js +0 -38
- package/auth-TE272Q34.mjs +0 -36
- package/chunk-4ES65KO3.js +0 -57
- package/chunk-4FLMND6T.js +0 -25
- package/chunk-4OMEH5SW.mjs +0 -1337
- package/chunk-6JERR27K.js +0 -17
- package/chunk-E42WUFCK.mjs +0 -57
- package/chunk-H7SAZYEE.js +0 -21
- package/chunk-KMMWJZHM.mjs +0 -25
- package/chunk-W4J34XGA.mjs +0 -17
- package/chunk-WM7FQU2U.mjs +0 -21
- package/chunk-XASXL2NC.js +0 -1337
- package/enigma-session-4L373ALV.mjs +0 -10196
- package/enigma-session-TEB53FAF.js +0 -10196
- package/esm-4X3DKK5D.js +0 -63
- package/esm-SOWVJKOQ.mjs +0 -63
- package/invoke-fetch-7PKPQ3FD.js +0 -14
- package/invoke-fetch-MSSJAZ7K.mjs +0 -14
- package/invoke-fetch-PEI54KZO.js +0 -14
- package/qix-EU7PXRZ6.mjs +0 -573
- package/qix-RLTISYTB.js +0 -573
package/temp-contents.js
CHANGED
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/temp-contents.ts
|
|
8
|
-
var uploadTempFile = async (query, body, options) =>
|
|
9
|
+
var uploadTempFile = async (query, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "temp-contents", {
|
|
9
10
|
method: "post",
|
|
10
11
|
pathTemplate: "/api/v1/temp-contents",
|
|
11
12
|
query,
|
|
12
13
|
body,
|
|
14
|
+
contentType: "application/octet-stream",
|
|
13
15
|
options
|
|
14
16
|
});
|
|
15
|
-
var downloadTempFile = async (id, query, options) =>
|
|
17
|
+
var downloadTempFile = async (id, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "temp-contents", {
|
|
16
18
|
method: "get",
|
|
17
19
|
pathTemplate: "/api/v1/temp-contents/{id}",
|
|
18
20
|
pathVariables: { id },
|
|
19
21
|
query,
|
|
20
22
|
options
|
|
21
23
|
});
|
|
22
|
-
var getTempFileDetails = async (id, options) =>
|
|
24
|
+
var getTempFileDetails = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "temp-contents", {
|
|
23
25
|
method: "get",
|
|
24
26
|
pathTemplate: "/api/v1/temp-contents/{id}/details",
|
|
25
27
|
pathVariables: { id },
|
|
26
28
|
options
|
|
27
29
|
});
|
|
28
30
|
function clearCache() {
|
|
29
|
-
return
|
|
31
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "temp-contents");
|
|
30
32
|
}
|
|
31
33
|
var tempContentsExport = { uploadTempFile, downloadTempFile, getTempFileDetails, clearCache };
|
|
32
34
|
var temp_contents_default = tempContentsExport;
|
package/temp-contents.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/temp-contents.ts
|
|
8
9
|
var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents", {
|
|
@@ -10,6 +11,7 @@ var uploadTempFile = async (query, body, options) => invokeFetch("temp-contents"
|
|
|
10
11
|
pathTemplate: "/api/v1/temp-contents",
|
|
11
12
|
query,
|
|
12
13
|
body,
|
|
14
|
+
contentType: "application/octet-stream",
|
|
13
15
|
options
|
|
14
16
|
});
|
|
15
17
|
var downloadTempFile = async (id, query, options) => invokeFetch("temp-contents", {
|
package/tenants.d.mts
CHANGED
|
@@ -103,6 +103,7 @@ type TenantPatchSchema = {
|
|
|
103
103
|
}[];
|
|
104
104
|
/**
|
|
105
105
|
* Creates a Tenant
|
|
106
|
+
*
|
|
106
107
|
* @param body an object with the body content
|
|
107
108
|
* @throws CreateTenantHttpError
|
|
108
109
|
*/
|
|
@@ -119,6 +120,7 @@ type CreateTenantHttpError = {
|
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
122
|
* Redirects to current tenant.
|
|
123
|
+
*
|
|
122
124
|
* @throws GetMyTenantHttpError
|
|
123
125
|
*/
|
|
124
126
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
@@ -134,6 +136,7 @@ type GetMyTenantHttpError = {
|
|
|
134
136
|
};
|
|
135
137
|
/**
|
|
136
138
|
* Retrieve a single tenant by id.
|
|
139
|
+
*
|
|
137
140
|
* @param tenantId The id of the tenant to retrieve
|
|
138
141
|
* @throws GetTenantHttpError
|
|
139
142
|
*/
|
|
@@ -150,6 +153,7 @@ type GetTenantHttpError = {
|
|
|
150
153
|
};
|
|
151
154
|
/**
|
|
152
155
|
* Update a tenant by id.
|
|
156
|
+
*
|
|
153
157
|
* @param tenantId The id of the tenant to update
|
|
154
158
|
* @param body an object with the body content
|
|
155
159
|
* @throws PatchTenantHttpError
|
|
@@ -188,6 +192,7 @@ type PatchTenantdefaultHttpError = {
|
|
|
188
192
|
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantdefaultHttpError;
|
|
189
193
|
/**
|
|
190
194
|
* Deactivates a tenant.
|
|
195
|
+
*
|
|
191
196
|
* @param tenantId The id of the tenant to deactivate
|
|
192
197
|
* @param body an object with the body content
|
|
193
198
|
* @throws DeactivateTenantHttpError
|
|
@@ -205,6 +210,7 @@ type DeactivateTenantHttpError = {
|
|
|
205
210
|
};
|
|
206
211
|
/**
|
|
207
212
|
* Reactivates a disabled tenant.
|
|
213
|
+
*
|
|
208
214
|
* @param tenantId The id of the tenant to reactivate
|
|
209
215
|
* @param body an object with the body content
|
|
210
216
|
* @throws ReactivateTenantHttpError
|
|
@@ -227,23 +233,27 @@ declare function clearCache(): void;
|
|
|
227
233
|
interface TenantsAPI {
|
|
228
234
|
/**
|
|
229
235
|
* Creates a Tenant
|
|
236
|
+
*
|
|
230
237
|
* @param body an object with the body content
|
|
231
238
|
* @throws CreateTenantHttpError
|
|
232
239
|
*/
|
|
233
240
|
createTenant: typeof createTenant;
|
|
234
241
|
/**
|
|
235
242
|
* Redirects to current tenant.
|
|
243
|
+
*
|
|
236
244
|
* @throws GetMyTenantHttpError
|
|
237
245
|
*/
|
|
238
246
|
getMyTenant: typeof getMyTenant;
|
|
239
247
|
/**
|
|
240
248
|
* Retrieve a single tenant by id.
|
|
249
|
+
*
|
|
241
250
|
* @param tenantId The id of the tenant to retrieve
|
|
242
251
|
* @throws GetTenantHttpError
|
|
243
252
|
*/
|
|
244
253
|
getTenant: typeof getTenant;
|
|
245
254
|
/**
|
|
246
255
|
* Update a tenant by id.
|
|
256
|
+
*
|
|
247
257
|
* @param tenantId The id of the tenant to update
|
|
248
258
|
* @param body an object with the body content
|
|
249
259
|
* @throws PatchTenantHttpError
|
|
@@ -251,6 +261,7 @@ interface TenantsAPI {
|
|
|
251
261
|
patchTenant: typeof patchTenant;
|
|
252
262
|
/**
|
|
253
263
|
* Deactivates a tenant.
|
|
264
|
+
*
|
|
254
265
|
* @param tenantId The id of the tenant to deactivate
|
|
255
266
|
* @param body an object with the body content
|
|
256
267
|
* @throws DeactivateTenantHttpError
|
|
@@ -258,6 +269,7 @@ interface TenantsAPI {
|
|
|
258
269
|
deactivateTenant: typeof deactivateTenant;
|
|
259
270
|
/**
|
|
260
271
|
* Reactivates a disabled tenant.
|
|
272
|
+
*
|
|
261
273
|
* @param tenantId The id of the tenant to reactivate
|
|
262
274
|
* @param body an object with the body content
|
|
263
275
|
* @throws ReactivateTenantHttpError
|
package/tenants.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ type TenantPatchSchema = {
|
|
|
103
103
|
}[];
|
|
104
104
|
/**
|
|
105
105
|
* Creates a Tenant
|
|
106
|
+
*
|
|
106
107
|
* @param body an object with the body content
|
|
107
108
|
* @throws CreateTenantHttpError
|
|
108
109
|
*/
|
|
@@ -119,6 +120,7 @@ type CreateTenantHttpError = {
|
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
122
|
* Redirects to current tenant.
|
|
123
|
+
*
|
|
122
124
|
* @throws GetMyTenantHttpError
|
|
123
125
|
*/
|
|
124
126
|
declare const getMyTenant: (options?: ApiCallOptions) => Promise<GetMyTenantHttpResponse>;
|
|
@@ -134,6 +136,7 @@ type GetMyTenantHttpError = {
|
|
|
134
136
|
};
|
|
135
137
|
/**
|
|
136
138
|
* Retrieve a single tenant by id.
|
|
139
|
+
*
|
|
137
140
|
* @param tenantId The id of the tenant to retrieve
|
|
138
141
|
* @throws GetTenantHttpError
|
|
139
142
|
*/
|
|
@@ -150,6 +153,7 @@ type GetTenantHttpError = {
|
|
|
150
153
|
};
|
|
151
154
|
/**
|
|
152
155
|
* Update a tenant by id.
|
|
156
|
+
*
|
|
153
157
|
* @param tenantId The id of the tenant to update
|
|
154
158
|
* @param body an object with the body content
|
|
155
159
|
* @throws PatchTenantHttpError
|
|
@@ -188,6 +192,7 @@ type PatchTenantdefaultHttpError = {
|
|
|
188
192
|
type PatchTenantHttpError = PatchTenant400HttpError | PatchTenant403HttpError | PatchTenant404HttpError | PatchTenant429HttpError | PatchTenantdefaultHttpError;
|
|
189
193
|
/**
|
|
190
194
|
* Deactivates a tenant.
|
|
195
|
+
*
|
|
191
196
|
* @param tenantId The id of the tenant to deactivate
|
|
192
197
|
* @param body an object with the body content
|
|
193
198
|
* @throws DeactivateTenantHttpError
|
|
@@ -205,6 +210,7 @@ type DeactivateTenantHttpError = {
|
|
|
205
210
|
};
|
|
206
211
|
/**
|
|
207
212
|
* Reactivates a disabled tenant.
|
|
213
|
+
*
|
|
208
214
|
* @param tenantId The id of the tenant to reactivate
|
|
209
215
|
* @param body an object with the body content
|
|
210
216
|
* @throws ReactivateTenantHttpError
|
|
@@ -227,23 +233,27 @@ declare function clearCache(): void;
|
|
|
227
233
|
interface TenantsAPI {
|
|
228
234
|
/**
|
|
229
235
|
* Creates a Tenant
|
|
236
|
+
*
|
|
230
237
|
* @param body an object with the body content
|
|
231
238
|
* @throws CreateTenantHttpError
|
|
232
239
|
*/
|
|
233
240
|
createTenant: typeof createTenant;
|
|
234
241
|
/**
|
|
235
242
|
* Redirects to current tenant.
|
|
243
|
+
*
|
|
236
244
|
* @throws GetMyTenantHttpError
|
|
237
245
|
*/
|
|
238
246
|
getMyTenant: typeof getMyTenant;
|
|
239
247
|
/**
|
|
240
248
|
* Retrieve a single tenant by id.
|
|
249
|
+
*
|
|
241
250
|
* @param tenantId The id of the tenant to retrieve
|
|
242
251
|
* @throws GetTenantHttpError
|
|
243
252
|
*/
|
|
244
253
|
getTenant: typeof getTenant;
|
|
245
254
|
/**
|
|
246
255
|
* Update a tenant by id.
|
|
256
|
+
*
|
|
247
257
|
* @param tenantId The id of the tenant to update
|
|
248
258
|
* @param body an object with the body content
|
|
249
259
|
* @throws PatchTenantHttpError
|
|
@@ -251,6 +261,7 @@ interface TenantsAPI {
|
|
|
251
261
|
patchTenant: typeof patchTenant;
|
|
252
262
|
/**
|
|
253
263
|
* Deactivates a tenant.
|
|
264
|
+
*
|
|
254
265
|
* @param tenantId The id of the tenant to deactivate
|
|
255
266
|
* @param body an object with the body content
|
|
256
267
|
* @throws DeactivateTenantHttpError
|
|
@@ -258,6 +269,7 @@ interface TenantsAPI {
|
|
|
258
269
|
deactivateTenant: typeof deactivateTenant;
|
|
259
270
|
/**
|
|
260
271
|
* Reactivates a disabled tenant.
|
|
272
|
+
*
|
|
261
273
|
* @param tenantId The id of the tenant to reactivate
|
|
262
274
|
* @param body an object with the body content
|
|
263
275
|
* @throws ReactivateTenantHttpError
|
package/tenants.js
CHANGED
|
@@ -1,50 +1,55 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/tenants.ts
|
|
8
|
-
var createTenant = async (body, options) =>
|
|
9
|
+
var createTenant = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
9
10
|
method: "post",
|
|
10
11
|
pathTemplate: "/api/v1/tenants",
|
|
11
12
|
body,
|
|
13
|
+
contentType: "application/json",
|
|
12
14
|
options
|
|
13
15
|
});
|
|
14
|
-
var getMyTenant = async (options) =>
|
|
16
|
+
var getMyTenant = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
15
17
|
method: "get",
|
|
16
18
|
pathTemplate: "/api/v1/tenants/me",
|
|
17
19
|
options
|
|
18
20
|
});
|
|
19
|
-
var getTenant = async (tenantId, options) =>
|
|
21
|
+
var getTenant = async (tenantId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
20
22
|
method: "get",
|
|
21
23
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
22
24
|
pathVariables: { tenantId },
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var patchTenant = async (tenantId, body, options) =>
|
|
27
|
+
var patchTenant = async (tenantId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
26
28
|
method: "patch",
|
|
27
29
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
28
30
|
pathVariables: { tenantId },
|
|
29
31
|
body,
|
|
32
|
+
contentType: "application/json",
|
|
30
33
|
options
|
|
31
34
|
});
|
|
32
|
-
var deactivateTenant = async (tenantId, body, options) =>
|
|
35
|
+
var deactivateTenant = async (tenantId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
33
36
|
method: "post",
|
|
34
37
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
|
|
35
38
|
pathVariables: { tenantId },
|
|
36
39
|
body,
|
|
40
|
+
contentType: "application/json",
|
|
37
41
|
options
|
|
38
42
|
});
|
|
39
|
-
var reactivateTenant = async (tenantId, body, options) =>
|
|
43
|
+
var reactivateTenant = async (tenantId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "tenants", {
|
|
40
44
|
method: "post",
|
|
41
45
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
|
|
42
46
|
pathVariables: { tenantId },
|
|
43
47
|
body,
|
|
48
|
+
contentType: "application/json",
|
|
44
49
|
options
|
|
45
50
|
});
|
|
46
51
|
function clearCache() {
|
|
47
|
-
return
|
|
52
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "tenants");
|
|
48
53
|
}
|
|
49
54
|
var tenantsExport = {
|
|
50
55
|
createTenant,
|
package/tenants.mjs
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TE7XMBT5.mjs";
|
|
5
|
+
import "./chunk-3SVRHJII.mjs";
|
|
6
|
+
import "./chunk-ZFXKCRJC.mjs";
|
|
6
7
|
|
|
7
8
|
// src/public/rest/tenants.ts
|
|
8
9
|
var createTenant = async (body, options) => invokeFetch("tenants", {
|
|
9
10
|
method: "post",
|
|
10
11
|
pathTemplate: "/api/v1/tenants",
|
|
11
12
|
body,
|
|
13
|
+
contentType: "application/json",
|
|
12
14
|
options
|
|
13
15
|
});
|
|
14
16
|
var getMyTenant = async (options) => invokeFetch("tenants", {
|
|
@@ -27,6 +29,7 @@ var patchTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
|
27
29
|
pathTemplate: "/api/v1/tenants/{tenantId}",
|
|
28
30
|
pathVariables: { tenantId },
|
|
29
31
|
body,
|
|
32
|
+
contentType: "application/json",
|
|
30
33
|
options
|
|
31
34
|
});
|
|
32
35
|
var deactivateTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
@@ -34,6 +37,7 @@ var deactivateTenant = async (tenantId, body, options) => invokeFetch("tenants",
|
|
|
34
37
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/deactivate",
|
|
35
38
|
pathVariables: { tenantId },
|
|
36
39
|
body,
|
|
40
|
+
contentType: "application/json",
|
|
37
41
|
options
|
|
38
42
|
});
|
|
39
43
|
var reactivateTenant = async (tenantId, body, options) => invokeFetch("tenants", {
|
|
@@ -41,6 +45,7 @@ var reactivateTenant = async (tenantId, body, options) => invokeFetch("tenants",
|
|
|
41
45
|
pathTemplate: "/api/v1/tenants/{tenantId}/actions/reactivate",
|
|
42
46
|
pathVariables: { tenantId },
|
|
43
47
|
body,
|
|
48
|
+
contentType: "application/json",
|
|
44
49
|
options
|
|
45
50
|
});
|
|
46
51
|
function clearCache() {
|
package/themes.d.mts
CHANGED
|
@@ -63,6 +63,7 @@ type Themes = {
|
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Lists all themes.
|
|
66
|
+
*
|
|
66
67
|
* @throws GetThemesHttpError
|
|
67
68
|
*/
|
|
68
69
|
declare const getThemes: (options?: ApiCallOptions) => Promise<GetThemesHttpResponse>;
|
|
@@ -78,10 +79,16 @@ type GetThemesHttpError = {
|
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
82
|
+
*
|
|
81
83
|
* @param body an object with the body content
|
|
82
84
|
* @throws UploadThemeHttpError
|
|
83
85
|
*/
|
|
84
|
-
declare const uploadTheme: (body:
|
|
86
|
+
declare const uploadTheme: (body: {
|
|
87
|
+
/** The theme model. */
|
|
88
|
+
data?: Theme;
|
|
89
|
+
/** Theme archive. */
|
|
90
|
+
file?: BodyInit;
|
|
91
|
+
}, options?: ApiCallOptions) => Promise<UploadThemeHttpResponse>;
|
|
85
92
|
type UploadThemeHttpResponse = {
|
|
86
93
|
data: Theme;
|
|
87
94
|
headers: Headers;
|
|
@@ -94,6 +101,7 @@ type UploadThemeHttpError = {
|
|
|
94
101
|
};
|
|
95
102
|
/**
|
|
96
103
|
* Deletes a specific theme.
|
|
104
|
+
*
|
|
97
105
|
* @param id Theme identifier or its qextFilename.
|
|
98
106
|
* @throws DeleteThemeHttpError
|
|
99
107
|
*/
|
|
@@ -110,6 +118,7 @@ type DeleteThemeHttpError = {
|
|
|
110
118
|
};
|
|
111
119
|
/**
|
|
112
120
|
* Returns a specific theme.
|
|
121
|
+
*
|
|
113
122
|
* @param id Theme identifier or its qextFilename
|
|
114
123
|
* @throws GetThemeHttpError
|
|
115
124
|
*/
|
|
@@ -126,11 +135,17 @@ type GetThemeHttpError = {
|
|
|
126
135
|
};
|
|
127
136
|
/**
|
|
128
137
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
138
|
+
*
|
|
129
139
|
* @param id Theme identifier or its qextFilename.
|
|
130
140
|
* @param body an object with the body content
|
|
131
141
|
* @throws PatchThemeHttpError
|
|
132
142
|
*/
|
|
133
|
-
declare const patchTheme: (id: string, body:
|
|
143
|
+
declare const patchTheme: (id: string, body: {
|
|
144
|
+
/** The theme model. */
|
|
145
|
+
data?: Theme;
|
|
146
|
+
/** Theme archive. */
|
|
147
|
+
file?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<PatchThemeHttpResponse>;
|
|
134
149
|
type PatchThemeHttpResponse = {
|
|
135
150
|
data: Themes;
|
|
136
151
|
headers: Headers;
|
|
@@ -143,6 +158,7 @@ type PatchThemeHttpError = {
|
|
|
143
158
|
};
|
|
144
159
|
/**
|
|
145
160
|
* Downloads the theme as an archive.
|
|
161
|
+
*
|
|
146
162
|
* @param id Theme identifier or its qextFilename
|
|
147
163
|
* @throws DownloadThemeHttpError
|
|
148
164
|
*/
|
|
@@ -159,6 +175,7 @@ type DownloadThemeHttpError = {
|
|
|
159
175
|
};
|
|
160
176
|
/**
|
|
161
177
|
* Downloads a file from the theme archive.
|
|
178
|
+
*
|
|
162
179
|
* @param id Theme identifier or its qextFilename.
|
|
163
180
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
164
181
|
* @throws DownloadFileFromThemeHttpError
|
|
@@ -181,29 +198,34 @@ declare function clearCache(): void;
|
|
|
181
198
|
interface ThemesAPI {
|
|
182
199
|
/**
|
|
183
200
|
* Lists all themes.
|
|
201
|
+
*
|
|
184
202
|
* @throws GetThemesHttpError
|
|
185
203
|
*/
|
|
186
204
|
getThemes: typeof getThemes;
|
|
187
205
|
/**
|
|
188
206
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
207
|
+
*
|
|
189
208
|
* @param body an object with the body content
|
|
190
209
|
* @throws UploadThemeHttpError
|
|
191
210
|
*/
|
|
192
211
|
uploadTheme: typeof uploadTheme;
|
|
193
212
|
/**
|
|
194
213
|
* Deletes a specific theme.
|
|
214
|
+
*
|
|
195
215
|
* @param id Theme identifier or its qextFilename.
|
|
196
216
|
* @throws DeleteThemeHttpError
|
|
197
217
|
*/
|
|
198
218
|
deleteTheme: typeof deleteTheme;
|
|
199
219
|
/**
|
|
200
220
|
* Returns a specific theme.
|
|
221
|
+
*
|
|
201
222
|
* @param id Theme identifier or its qextFilename
|
|
202
223
|
* @throws GetThemeHttpError
|
|
203
224
|
*/
|
|
204
225
|
getTheme: typeof getTheme;
|
|
205
226
|
/**
|
|
206
227
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
228
|
+
*
|
|
207
229
|
* @param id Theme identifier or its qextFilename.
|
|
208
230
|
* @param body an object with the body content
|
|
209
231
|
* @throws PatchThemeHttpError
|
|
@@ -211,12 +233,14 @@ interface ThemesAPI {
|
|
|
211
233
|
patchTheme: typeof patchTheme;
|
|
212
234
|
/**
|
|
213
235
|
* Downloads the theme as an archive.
|
|
236
|
+
*
|
|
214
237
|
* @param id Theme identifier or its qextFilename
|
|
215
238
|
* @throws DownloadThemeHttpError
|
|
216
239
|
*/
|
|
217
240
|
downloadTheme: typeof downloadTheme;
|
|
218
241
|
/**
|
|
219
242
|
* Downloads a file from the theme archive.
|
|
243
|
+
*
|
|
220
244
|
* @param id Theme identifier or its qextFilename.
|
|
221
245
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
222
246
|
* @throws DownloadFileFromThemeHttpError
|
package/themes.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ type Themes = {
|
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* Lists all themes.
|
|
66
|
+
*
|
|
66
67
|
* @throws GetThemesHttpError
|
|
67
68
|
*/
|
|
68
69
|
declare const getThemes: (options?: ApiCallOptions) => Promise<GetThemesHttpResponse>;
|
|
@@ -78,10 +79,16 @@ type GetThemesHttpError = {
|
|
|
78
79
|
};
|
|
79
80
|
/**
|
|
80
81
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
82
|
+
*
|
|
81
83
|
* @param body an object with the body content
|
|
82
84
|
* @throws UploadThemeHttpError
|
|
83
85
|
*/
|
|
84
|
-
declare const uploadTheme: (body:
|
|
86
|
+
declare const uploadTheme: (body: {
|
|
87
|
+
/** The theme model. */
|
|
88
|
+
data?: Theme;
|
|
89
|
+
/** Theme archive. */
|
|
90
|
+
file?: BodyInit;
|
|
91
|
+
}, options?: ApiCallOptions) => Promise<UploadThemeHttpResponse>;
|
|
85
92
|
type UploadThemeHttpResponse = {
|
|
86
93
|
data: Theme;
|
|
87
94
|
headers: Headers;
|
|
@@ -94,6 +101,7 @@ type UploadThemeHttpError = {
|
|
|
94
101
|
};
|
|
95
102
|
/**
|
|
96
103
|
* Deletes a specific theme.
|
|
104
|
+
*
|
|
97
105
|
* @param id Theme identifier or its qextFilename.
|
|
98
106
|
* @throws DeleteThemeHttpError
|
|
99
107
|
*/
|
|
@@ -110,6 +118,7 @@ type DeleteThemeHttpError = {
|
|
|
110
118
|
};
|
|
111
119
|
/**
|
|
112
120
|
* Returns a specific theme.
|
|
121
|
+
*
|
|
113
122
|
* @param id Theme identifier or its qextFilename
|
|
114
123
|
* @throws GetThemeHttpError
|
|
115
124
|
*/
|
|
@@ -126,11 +135,17 @@ type GetThemeHttpError = {
|
|
|
126
135
|
};
|
|
127
136
|
/**
|
|
128
137
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
138
|
+
*
|
|
129
139
|
* @param id Theme identifier or its qextFilename.
|
|
130
140
|
* @param body an object with the body content
|
|
131
141
|
* @throws PatchThemeHttpError
|
|
132
142
|
*/
|
|
133
|
-
declare const patchTheme: (id: string, body:
|
|
143
|
+
declare const patchTheme: (id: string, body: {
|
|
144
|
+
/** The theme model. */
|
|
145
|
+
data?: Theme;
|
|
146
|
+
/** Theme archive. */
|
|
147
|
+
file?: BodyInit;
|
|
148
|
+
}, options?: ApiCallOptions) => Promise<PatchThemeHttpResponse>;
|
|
134
149
|
type PatchThemeHttpResponse = {
|
|
135
150
|
data: Themes;
|
|
136
151
|
headers: Headers;
|
|
@@ -143,6 +158,7 @@ type PatchThemeHttpError = {
|
|
|
143
158
|
};
|
|
144
159
|
/**
|
|
145
160
|
* Downloads the theme as an archive.
|
|
161
|
+
*
|
|
146
162
|
* @param id Theme identifier or its qextFilename
|
|
147
163
|
* @throws DownloadThemeHttpError
|
|
148
164
|
*/
|
|
@@ -159,6 +175,7 @@ type DownloadThemeHttpError = {
|
|
|
159
175
|
};
|
|
160
176
|
/**
|
|
161
177
|
* Downloads a file from the theme archive.
|
|
178
|
+
*
|
|
162
179
|
* @param id Theme identifier or its qextFilename.
|
|
163
180
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
164
181
|
* @throws DownloadFileFromThemeHttpError
|
|
@@ -181,29 +198,34 @@ declare function clearCache(): void;
|
|
|
181
198
|
interface ThemesAPI {
|
|
182
199
|
/**
|
|
183
200
|
* Lists all themes.
|
|
201
|
+
*
|
|
184
202
|
* @throws GetThemesHttpError
|
|
185
203
|
*/
|
|
186
204
|
getThemes: typeof getThemes;
|
|
187
205
|
/**
|
|
188
206
|
* Creates a new theme. If a file is provided, the data field is not required.
|
|
207
|
+
*
|
|
189
208
|
* @param body an object with the body content
|
|
190
209
|
* @throws UploadThemeHttpError
|
|
191
210
|
*/
|
|
192
211
|
uploadTheme: typeof uploadTheme;
|
|
193
212
|
/**
|
|
194
213
|
* Deletes a specific theme.
|
|
214
|
+
*
|
|
195
215
|
* @param id Theme identifier or its qextFilename.
|
|
196
216
|
* @throws DeleteThemeHttpError
|
|
197
217
|
*/
|
|
198
218
|
deleteTheme: typeof deleteTheme;
|
|
199
219
|
/**
|
|
200
220
|
* Returns a specific theme.
|
|
221
|
+
*
|
|
201
222
|
* @param id Theme identifier or its qextFilename
|
|
202
223
|
* @throws GetThemeHttpError
|
|
203
224
|
*/
|
|
204
225
|
getTheme: typeof getTheme;
|
|
205
226
|
/**
|
|
206
227
|
* Updates a specific theme with provided data. If a file is provided, the data field is not required.
|
|
228
|
+
*
|
|
207
229
|
* @param id Theme identifier or its qextFilename.
|
|
208
230
|
* @param body an object with the body content
|
|
209
231
|
* @throws PatchThemeHttpError
|
|
@@ -211,12 +233,14 @@ interface ThemesAPI {
|
|
|
211
233
|
patchTheme: typeof patchTheme;
|
|
212
234
|
/**
|
|
213
235
|
* Downloads the theme as an archive.
|
|
236
|
+
*
|
|
214
237
|
* @param id Theme identifier or its qextFilename
|
|
215
238
|
* @throws DownloadThemeHttpError
|
|
216
239
|
*/
|
|
217
240
|
downloadTheme: typeof downloadTheme;
|
|
218
241
|
/**
|
|
219
242
|
* Downloads a file from the theme archive.
|
|
243
|
+
*
|
|
220
244
|
* @param id Theme identifier or its qextFilename.
|
|
221
245
|
* @param filepath Path to the file archive for the specified theme archive. Folders separated with forward slashes.
|
|
222
246
|
* @throws DownloadFileFromThemeHttpError
|
package/themes.js
CHANGED
|
@@ -1,54 +1,57 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkJNGURO23js = require('./chunk-JNGURO23.js');
|
|
5
|
+
require('./chunk-2STFUQKQ.js');
|
|
6
|
+
require('./chunk-P57PW2II.js');
|
|
6
7
|
|
|
7
8
|
// src/public/rest/themes.ts
|
|
8
|
-
var getThemes = async (options) =>
|
|
9
|
+
var getThemes = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/themes",
|
|
11
12
|
options
|
|
12
13
|
});
|
|
13
|
-
var uploadTheme = async (body, options) =>
|
|
14
|
+
var uploadTheme = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
14
15
|
method: "post",
|
|
15
16
|
pathTemplate: "/api/v1/themes",
|
|
16
17
|
body,
|
|
18
|
+
contentType: "multipart/form-data",
|
|
17
19
|
options
|
|
18
20
|
});
|
|
19
|
-
var deleteTheme = async (id, options) =>
|
|
21
|
+
var deleteTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
20
22
|
method: "delete",
|
|
21
23
|
pathTemplate: "/api/v1/themes/{id}",
|
|
22
24
|
pathVariables: { id },
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var getTheme = async (id, options) =>
|
|
27
|
+
var getTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
26
28
|
method: "get",
|
|
27
29
|
pathTemplate: "/api/v1/themes/{id}",
|
|
28
30
|
pathVariables: { id },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var patchTheme = async (id, body, options) =>
|
|
33
|
+
var patchTheme = async (id, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
32
34
|
method: "patch",
|
|
33
35
|
pathTemplate: "/api/v1/themes/{id}",
|
|
34
36
|
pathVariables: { id },
|
|
35
37
|
body,
|
|
38
|
+
contentType: "multipart/form-data",
|
|
36
39
|
options
|
|
37
40
|
});
|
|
38
|
-
var downloadTheme = async (id, options) =>
|
|
41
|
+
var downloadTheme = async (id, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
39
42
|
method: "get",
|
|
40
43
|
pathTemplate: "/api/v1/themes/{id}/file",
|
|
41
44
|
pathVariables: { id },
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
|
-
var downloadFileFromTheme = async (id, filepath, options) =>
|
|
47
|
+
var downloadFileFromTheme = async (id, filepath, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "themes", {
|
|
45
48
|
method: "get",
|
|
46
49
|
pathTemplate: "/api/v1/themes/{id}/file/{filepath}",
|
|
47
50
|
pathVariables: { id, filepath },
|
|
48
51
|
options
|
|
49
52
|
});
|
|
50
53
|
function clearCache() {
|
|
51
|
-
return
|
|
54
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "themes");
|
|
52
55
|
}
|
|
53
56
|
var themesExport = {
|
|
54
57
|
getThemes,
|