@qlik/api 1.32.0 → 1.33.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 +10 -10
- 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 +27 -27
- 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/{YTT2FEVE.js → 33GQY7N7.js} +1 -1
- package/chunks/{M64RLKVG.js → 62DXIH3S.js} +7 -5
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{LTNGXTXG.js → GPRUNZV4.js} +3 -3
- package/chunks/{VVD2DPKQ.js → LIEZG7IM.js} +3 -3
- package/chunks/{FKDGGR2O.js → OTIO4SEJ.js} +698 -708
- package/chunks/{UZTIZ4H5.js → RP3EJGHG.js} +74 -74
- package/chunks/{RCLKKVYB.js → SPATCXXU.js} +9 -2
- package/chunks/{LY7RP2HA.js → XF3TPZKZ.js} +23 -8
- package/chunks/{6ZONDHRN.js → YYZCS5PW.js} +11 -4
- 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 +101 -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 +13 -13
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +100 -52
- package/ml.js +379 -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 +22 -22
- 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/sharing-tasks.js
CHANGED
|
@@ -1,77 +1,97 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/sharing-tasks.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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
9
|
+
async function getSharingTasks(query, options) {
|
|
10
|
+
return invokeFetch("sharing-tasks", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/sharing-tasks",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createSharingTask(body, options) {
|
|
18
|
+
return invokeFetch("sharing-tasks", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/sharing-tasks",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function executeSharingTasks(body, options) {
|
|
27
|
+
return invokeFetch("sharing-tasks", {
|
|
28
|
+
method: "post",
|
|
29
|
+
pathTemplate: "/api/v1/sharing-tasks/actions/execute",
|
|
30
|
+
body,
|
|
31
|
+
contentType: "application/json",
|
|
32
|
+
options
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async function getSharingTasksSettings(options) {
|
|
36
|
+
return invokeFetch("sharing-tasks", {
|
|
37
|
+
method: "get",
|
|
38
|
+
pathTemplate: "/api/v1/sharing-tasks/settings",
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function updateSharingTasksSettings(body, options) {
|
|
43
|
+
return invokeFetch("sharing-tasks", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/sharing-tasks/settings",
|
|
46
|
+
body,
|
|
47
|
+
contentType: "application/json",
|
|
48
|
+
options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function configureSharingTasksSettings(body, options) {
|
|
52
|
+
return invokeFetch("sharing-tasks", {
|
|
53
|
+
method: "put",
|
|
54
|
+
pathTemplate: "/api/v1/sharing-tasks/settings",
|
|
55
|
+
body,
|
|
56
|
+
contentType: "application/json",
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function deleteSharingTask(taskId, options) {
|
|
61
|
+
return invokeFetch("sharing-tasks", {
|
|
62
|
+
method: "delete",
|
|
63
|
+
pathTemplate: "/api/v1/sharing-tasks/{taskId}",
|
|
64
|
+
pathVariables: { taskId },
|
|
65
|
+
options
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async function getSharingTask(taskId, query, options) {
|
|
69
|
+
return invokeFetch("sharing-tasks", {
|
|
70
|
+
method: "get",
|
|
71
|
+
pathTemplate: "/api/v1/sharing-tasks/{taskId}",
|
|
72
|
+
pathVariables: { taskId },
|
|
73
|
+
query,
|
|
74
|
+
options
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
async function patchSharingTask(taskId, body, options) {
|
|
78
|
+
return invokeFetch("sharing-tasks", {
|
|
79
|
+
method: "patch",
|
|
80
|
+
pathTemplate: "/api/v1/sharing-tasks/{taskId}",
|
|
81
|
+
pathVariables: { taskId },
|
|
82
|
+
body,
|
|
83
|
+
contentType: "application/json",
|
|
84
|
+
options
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
async function cancelSharingTask(taskId, options) {
|
|
88
|
+
return invokeFetch("sharing-tasks", {
|
|
89
|
+
method: "post",
|
|
90
|
+
pathTemplate: "/api/v1/sharing-tasks/{taskId}/actions/cancel",
|
|
91
|
+
pathVariables: { taskId },
|
|
92
|
+
options
|
|
93
|
+
});
|
|
94
|
+
}
|
|
75
95
|
function clearCache() {
|
|
76
96
|
return clearApiCache("sharing-tasks");
|
|
77
97
|
}
|
package/spaces.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
|
* The supported actions for user-created spaces.
|
|
@@ -280,7 +280,7 @@ type Spaces = {
|
|
|
280
280
|
* @param query an object with query parameters
|
|
281
281
|
* @throws GetSpacesHttpError
|
|
282
282
|
*/
|
|
283
|
-
declare
|
|
283
|
+
declare function getSpaces(query: {
|
|
284
284
|
/** Action on space. Supports only "?action=publish". */
|
|
285
285
|
action?: string;
|
|
286
286
|
/** Exact match filtering on space name using SCIM. Case insensitive on attribute name. For example ?filter=name eq "MySpace" and ?filter=NAME eq "MySpace" is both valid. */
|
|
@@ -299,7 +299,7 @@ declare const getSpaces: (query: {
|
|
|
299
299
|
sort?: string;
|
|
300
300
|
/** Type(s) of space to filter. For example, "?type=managed,shared". */
|
|
301
301
|
type?: string;
|
|
302
|
-
}, options?: ApiCallOptions)
|
|
302
|
+
}, options?: ApiCallOptions): Promise<GetSpacesHttpResponse>;
|
|
303
303
|
type GetSpacesHttpResponse = {
|
|
304
304
|
data: Spaces;
|
|
305
305
|
headers: Headers;
|
|
@@ -318,7 +318,7 @@ type GetSpacesHttpError = {
|
|
|
318
318
|
* @param body an object with the body content
|
|
319
319
|
* @throws CreateSpaceHttpError
|
|
320
320
|
*/
|
|
321
|
-
declare
|
|
321
|
+
declare function createSpace(body: SpaceCreate, options?: ApiCallOptions): Promise<CreateSpaceHttpResponse>;
|
|
322
322
|
type CreateSpaceHttpResponse = {
|
|
323
323
|
data: Space;
|
|
324
324
|
headers: Headers;
|
|
@@ -334,7 +334,7 @@ type CreateSpaceHttpError = {
|
|
|
334
334
|
*
|
|
335
335
|
* @throws GetSpaceTypesHttpError
|
|
336
336
|
*/
|
|
337
|
-
declare
|
|
337
|
+
declare function getSpaceTypes(options?: ApiCallOptions): Promise<GetSpaceTypesHttpResponse>;
|
|
338
338
|
type GetSpaceTypesHttpResponse = {
|
|
339
339
|
data: SpaceTypes;
|
|
340
340
|
headers: Headers;
|
|
@@ -351,7 +351,7 @@ type GetSpaceTypesHttpError = {
|
|
|
351
351
|
* @param spaceId The ID of the space to delete.
|
|
352
352
|
* @throws DeleteSpaceHttpError
|
|
353
353
|
*/
|
|
354
|
-
declare
|
|
354
|
+
declare function deleteSpace(spaceId: string, options?: ApiCallOptions): Promise<DeleteSpaceHttpResponse>;
|
|
355
355
|
type DeleteSpaceHttpResponse = {
|
|
356
356
|
data: void;
|
|
357
357
|
headers: Headers;
|
|
@@ -368,7 +368,7 @@ type DeleteSpaceHttpError = {
|
|
|
368
368
|
* @param spaceId The ID of the space to retrieve.
|
|
369
369
|
* @throws GetSpaceHttpError
|
|
370
370
|
*/
|
|
371
|
-
declare
|
|
371
|
+
declare function getSpace(spaceId: string, options?: ApiCallOptions): Promise<GetSpaceHttpResponse>;
|
|
372
372
|
type GetSpaceHttpResponse = {
|
|
373
373
|
data: Space;
|
|
374
374
|
headers: Headers;
|
|
@@ -386,7 +386,7 @@ type GetSpaceHttpError = {
|
|
|
386
386
|
* @param body an object with the body content
|
|
387
387
|
* @throws PatchSpaceHttpError
|
|
388
388
|
*/
|
|
389
|
-
declare
|
|
389
|
+
declare function patchSpace(spaceId: string, body: SpacePatch, options?: ApiCallOptions): Promise<PatchSpaceHttpResponse>;
|
|
390
390
|
type PatchSpaceHttpResponse = {
|
|
391
391
|
data: Space;
|
|
392
392
|
headers: Headers;
|
|
@@ -404,7 +404,7 @@ type PatchSpaceHttpError = {
|
|
|
404
404
|
* @param body an object with the body content
|
|
405
405
|
* @throws UpdateSpaceHttpError
|
|
406
406
|
*/
|
|
407
|
-
declare
|
|
407
|
+
declare function updateSpace(spaceId: string, body: SpaceUpdate, options?: ApiCallOptions): Promise<UpdateSpaceHttpResponse>;
|
|
408
408
|
type UpdateSpaceHttpResponse = {
|
|
409
409
|
data: Space;
|
|
410
410
|
headers: Headers;
|
|
@@ -422,7 +422,7 @@ type UpdateSpaceHttpError = {
|
|
|
422
422
|
* @param query an object with query parameters
|
|
423
423
|
* @throws GetSpaceAssignmentsHttpError
|
|
424
424
|
*/
|
|
425
|
-
declare
|
|
425
|
+
declare function getSpaceAssignments(spaceId: string, query: {
|
|
426
426
|
/** Filters assignment for a specific assigneeid. */
|
|
427
427
|
assigneeId?: string;
|
|
428
428
|
/** Maximum number of assignments to return. */
|
|
@@ -433,7 +433,7 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
433
433
|
prev?: string;
|
|
434
434
|
/** The type of assignment. Supported values are user or group. */
|
|
435
435
|
type?: AssignmentType;
|
|
436
|
-
}, options?: ApiCallOptions)
|
|
436
|
+
}, options?: ApiCallOptions): Promise<GetSpaceAssignmentsHttpResponse>;
|
|
437
437
|
type GetSpaceAssignmentsHttpResponse = {
|
|
438
438
|
data: Assignments;
|
|
439
439
|
headers: Headers;
|
|
@@ -453,7 +453,7 @@ type GetSpaceAssignmentsHttpError = {
|
|
|
453
453
|
* @param body an object with the body content
|
|
454
454
|
* @throws CreateSpaceAssignmentHttpError
|
|
455
455
|
*/
|
|
456
|
-
declare
|
|
456
|
+
declare function createSpaceAssignment(spaceId: string, body: AssignmentCreate, options?: ApiCallOptions): Promise<CreateSpaceAssignmentHttpResponse>;
|
|
457
457
|
type CreateSpaceAssignmentHttpResponse = {
|
|
458
458
|
data: Assignment;
|
|
459
459
|
headers: Headers;
|
|
@@ -471,7 +471,7 @@ type CreateSpaceAssignmentHttpError = {
|
|
|
471
471
|
* @param assignmentId The ID of the assignment to delete.
|
|
472
472
|
* @throws DeleteSpaceAssignmentHttpError
|
|
473
473
|
*/
|
|
474
|
-
declare
|
|
474
|
+
declare function deleteSpaceAssignment(spaceId: string, assignmentId: string, options?: ApiCallOptions): Promise<DeleteSpaceAssignmentHttpResponse>;
|
|
475
475
|
type DeleteSpaceAssignmentHttpResponse = {
|
|
476
476
|
data: void;
|
|
477
477
|
headers: Headers;
|
|
@@ -489,7 +489,7 @@ type DeleteSpaceAssignmentHttpError = {
|
|
|
489
489
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
490
490
|
* @throws GetSpaceAssignmentHttpError
|
|
491
491
|
*/
|
|
492
|
-
declare
|
|
492
|
+
declare function getSpaceAssignment(spaceId: string, assignmentId: string, options?: ApiCallOptions): Promise<GetSpaceAssignmentHttpResponse>;
|
|
493
493
|
type GetSpaceAssignmentHttpResponse = {
|
|
494
494
|
data: Assignment;
|
|
495
495
|
headers: Headers;
|
|
@@ -508,7 +508,7 @@ type GetSpaceAssignmentHttpError = {
|
|
|
508
508
|
* @param body an object with the body content
|
|
509
509
|
* @throws UpdateSpaceAssignmentHttpError
|
|
510
510
|
*/
|
|
511
|
-
declare
|
|
511
|
+
declare function updateSpaceAssignment(spaceId: string, assignmentId: string, body: AssignmentUpdate, options?: ApiCallOptions): Promise<UpdateSpaceAssignmentHttpResponse>;
|
|
512
512
|
type UpdateSpaceAssignmentHttpResponse = {
|
|
513
513
|
data: Assignment;
|
|
514
514
|
headers: Headers;
|
|
@@ -526,7 +526,7 @@ type UpdateSpaceAssignmentHttpError = {
|
|
|
526
526
|
* @param query an object with query parameters
|
|
527
527
|
* @throws GetSpaceSharesHttpError
|
|
528
528
|
*/
|
|
529
|
-
declare
|
|
529
|
+
declare function getSpaceShares(spaceId: string, query: {
|
|
530
530
|
/** The ID of the group to which the resource is shared. */
|
|
531
531
|
groupId?: string;
|
|
532
532
|
/** Maximum number of shares to return. */
|
|
@@ -545,7 +545,7 @@ declare const getSpaceShares: (spaceId: string, query: {
|
|
|
545
545
|
type?: ShareType;
|
|
546
546
|
/** The ID of the user to which the resource is shared. */
|
|
547
547
|
userId?: string;
|
|
548
|
-
}, options?: ApiCallOptions)
|
|
548
|
+
}, options?: ApiCallOptions): Promise<GetSpaceSharesHttpResponse>;
|
|
549
549
|
type GetSpaceSharesHttpResponse = {
|
|
550
550
|
data: Shares;
|
|
551
551
|
headers: Headers;
|
|
@@ -565,7 +565,7 @@ type GetSpaceSharesHttpError = {
|
|
|
565
565
|
* @param body an object with the body content
|
|
566
566
|
* @throws CreateSpaceShareHttpError
|
|
567
567
|
*/
|
|
568
|
-
declare
|
|
568
|
+
declare function createSpaceShare(spaceId: string, body: ShareCreate, options?: ApiCallOptions): Promise<CreateSpaceShareHttpResponse>;
|
|
569
569
|
type CreateSpaceShareHttpResponse = {
|
|
570
570
|
data: Share;
|
|
571
571
|
headers: Headers;
|
|
@@ -583,7 +583,7 @@ type CreateSpaceShareHttpError = {
|
|
|
583
583
|
* @param shareId The ID of the share to delete.
|
|
584
584
|
* @throws DeleteSpaceShareHttpError
|
|
585
585
|
*/
|
|
586
|
-
declare
|
|
586
|
+
declare function deleteSpaceShare(spaceId: string, shareId: string, options?: ApiCallOptions): Promise<DeleteSpaceShareHttpResponse>;
|
|
587
587
|
type DeleteSpaceShareHttpResponse = {
|
|
588
588
|
data: void;
|
|
589
589
|
headers: Headers;
|
|
@@ -601,7 +601,7 @@ type DeleteSpaceShareHttpError = {
|
|
|
601
601
|
* @param shareId The ID of the share to retrieve.
|
|
602
602
|
* @throws GetSpaceShareHttpError
|
|
603
603
|
*/
|
|
604
|
-
declare
|
|
604
|
+
declare function getSpaceShare(spaceId: string, shareId: string, options?: ApiCallOptions): Promise<GetSpaceShareHttpResponse>;
|
|
605
605
|
type GetSpaceShareHttpResponse = {
|
|
606
606
|
data: Share;
|
|
607
607
|
headers: Headers;
|
|
@@ -620,7 +620,7 @@ type GetSpaceShareHttpError = {
|
|
|
620
620
|
* @param body an object with the body content
|
|
621
621
|
* @throws PatchShareHttpError
|
|
622
622
|
*/
|
|
623
|
-
declare
|
|
623
|
+
declare function patchShare(spaceId: string, shareId: string, body: SharePatch, options?: ApiCallOptions): Promise<PatchShareHttpResponse>;
|
|
624
624
|
type PatchShareHttpResponse = {
|
|
625
625
|
data: Share;
|
|
626
626
|
headers: Headers;
|
package/spaces.js
CHANGED
|
@@ -1,127 +1,161 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/LIEZG7IM.js";
|
|
5
|
+
import "./chunks/GPRUNZV4.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/spaces.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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
9
|
+
async function getSpaces(query, options) {
|
|
10
|
+
return invokeFetch("spaces", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/spaces",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createSpace(body, options) {
|
|
18
|
+
return invokeFetch("spaces", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/spaces",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function getSpaceTypes(options) {
|
|
27
|
+
return invokeFetch("spaces", {
|
|
28
|
+
method: "get",
|
|
29
|
+
pathTemplate: "/api/v1/spaces/types",
|
|
30
|
+
options
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function deleteSpace(spaceId, options) {
|
|
34
|
+
return invokeFetch("spaces", {
|
|
35
|
+
method: "delete",
|
|
36
|
+
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
37
|
+
pathVariables: { spaceId },
|
|
38
|
+
options
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
async function getSpace(spaceId, options) {
|
|
42
|
+
return invokeFetch("spaces", {
|
|
43
|
+
method: "get",
|
|
44
|
+
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
45
|
+
pathVariables: { spaceId },
|
|
46
|
+
options
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
async function patchSpace(spaceId, body, options) {
|
|
50
|
+
return invokeFetch("spaces", {
|
|
51
|
+
method: "patch",
|
|
52
|
+
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
53
|
+
pathVariables: { spaceId },
|
|
54
|
+
body,
|
|
55
|
+
contentType: "application/json",
|
|
56
|
+
options
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
async function updateSpace(spaceId, body, options) {
|
|
60
|
+
return invokeFetch("spaces", {
|
|
61
|
+
method: "put",
|
|
62
|
+
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
63
|
+
pathVariables: { spaceId },
|
|
64
|
+
body,
|
|
65
|
+
contentType: "application/json",
|
|
66
|
+
options
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
async function getSpaceAssignments(spaceId, query, options) {
|
|
70
|
+
return invokeFetch("spaces", {
|
|
71
|
+
method: "get",
|
|
72
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
73
|
+
pathVariables: { spaceId },
|
|
74
|
+
query,
|
|
75
|
+
options
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async function createSpaceAssignment(spaceId, body, options) {
|
|
79
|
+
return invokeFetch("spaces", {
|
|
80
|
+
method: "post",
|
|
81
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
82
|
+
pathVariables: { spaceId },
|
|
83
|
+
body,
|
|
84
|
+
contentType: "application/json",
|
|
85
|
+
options
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
async function deleteSpaceAssignment(spaceId, assignmentId, options) {
|
|
89
|
+
return invokeFetch("spaces", {
|
|
90
|
+
method: "delete",
|
|
91
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
92
|
+
pathVariables: { spaceId, assignmentId },
|
|
93
|
+
options
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
async function getSpaceAssignment(spaceId, assignmentId, options) {
|
|
97
|
+
return invokeFetch("spaces", {
|
|
98
|
+
method: "get",
|
|
99
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
100
|
+
pathVariables: { spaceId, assignmentId },
|
|
101
|
+
options
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
async function updateSpaceAssignment(spaceId, assignmentId, body, options) {
|
|
105
|
+
return invokeFetch("spaces", {
|
|
106
|
+
method: "put",
|
|
107
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
108
|
+
pathVariables: { spaceId, assignmentId },
|
|
109
|
+
body,
|
|
110
|
+
contentType: "application/json",
|
|
111
|
+
options
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
async function getSpaceShares(spaceId, query, options) {
|
|
115
|
+
return invokeFetch("spaces", {
|
|
116
|
+
method: "get",
|
|
117
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/shares",
|
|
118
|
+
pathVariables: { spaceId },
|
|
119
|
+
query,
|
|
120
|
+
options
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
async function createSpaceShare(spaceId, body, options) {
|
|
124
|
+
return invokeFetch("spaces", {
|
|
125
|
+
method: "post",
|
|
126
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/shares",
|
|
127
|
+
pathVariables: { spaceId },
|
|
128
|
+
body,
|
|
129
|
+
contentType: "application/json",
|
|
130
|
+
options
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
async function deleteSpaceShare(spaceId, shareId, options) {
|
|
134
|
+
return invokeFetch("spaces", {
|
|
135
|
+
method: "delete",
|
|
136
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/shares/{shareId}",
|
|
137
|
+
pathVariables: { spaceId, shareId },
|
|
138
|
+
options
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
async function getSpaceShare(spaceId, shareId, options) {
|
|
142
|
+
return invokeFetch("spaces", {
|
|
143
|
+
method: "get",
|
|
144
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/shares/{shareId}",
|
|
145
|
+
pathVariables: { spaceId, shareId },
|
|
146
|
+
options
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
async function patchShare(spaceId, shareId, body, options) {
|
|
150
|
+
return invokeFetch("spaces", {
|
|
151
|
+
method: "patch",
|
|
152
|
+
pathTemplate: "/api/v1/spaces/{spaceId}/shares/{shareId}",
|
|
153
|
+
pathVariables: { spaceId, shareId },
|
|
154
|
+
body,
|
|
155
|
+
contentType: "application/json",
|
|
156
|
+
options
|
|
157
|
+
});
|
|
158
|
+
}
|
|
125
159
|
function clearCache() {
|
|
126
160
|
return clearApiCache("spaces");
|
|
127
161
|
}
|