@qlik/api 0.0.1 → 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/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +27 -13
- package/api-keys.d.ts +27 -13
- package/api-keys.js +17 -13
- package/api-keys.mjs +12 -8
- package/apps.d.mts +580 -165
- package/apps.d.ts +580 -165
- package/apps.js +111 -44
- package/apps.mjs +78 -11
- package/audits.d.mts +20 -8
- package/audits.d.ts +20 -8
- package/audits.js +12 -11
- package/audits.mjs +7 -6
- package/auth-AWZV4DPP.js +41 -0
- package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
- package/auth.js +4 -3
- package/auth.mjs +3 -2
- package/automations.d.mts +56 -20
- package/automations.d.ts +56 -20
- package/automations.js +32 -25
- package/automations.mjs +18 -11
- 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-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
- package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
- package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
- package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
- package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
- package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
- package/{chunk-4FLMND6T.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 +52 -18
- package/collections.d.ts +52 -18
- 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 +20 -0
- package/data-connections.d.ts +20 -0
- package/data-connections.js +19 -12
- package/data-connections.mjs +9 -2
- package/data-credentials.d.mts +10 -0
- package/data-credentials.d.ts +10 -0
- package/data-credentials.js +10 -7
- package/data-credentials.mjs +5 -2
- package/data-files.d.mts +114 -29
- package/data-files.d.ts +114 -29
- package/data-files.js +25 -18
- package/data-files.mjs +15 -8
- package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
- package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
- package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
- package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
- 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 +29 -13
- package/groups.d.ts +29 -13
- package/groups.js +19 -14
- package/groups.mjs +13 -8
- package/identity-providers.d.mts +23 -7
- package/identity-providers.d.ts +23 -7
- package/identity-providers.js +16 -13
- package/identity-providers.mjs +8 -5
- package/index.js +150 -112
- package/index.mjs +146 -108
- package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
- package/invoke-fetch-UNTAUR7O.js +17 -0
- package/items.d.mts +25 -22
- package/items.d.ts +25 -22
- package/items.js +17 -14
- package/items.mjs +11 -8
- package/licenses.d.mts +20 -0
- package/licenses.d.ts +20 -0
- package/licenses.js +17 -12
- package/licenses.mjs +7 -2
- package/package.json +7 -18
- package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
- package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- 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.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +11 -8
- package/reload-tasks.mjs +5 -2
- package/reloads.d.mts +20 -11
- package/reloads.d.ts +20 -11
- 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 +36 -30
- package/spaces.d.ts +36 -30
- package/spaces.js +21 -15
- package/spaces.mjs +8 -2
- package/temp-contents.d.mts +9 -70
- package/temp-contents.d.ts +9 -70
- package/temp-contents.js +10 -29
- package/temp-contents.mjs +5 -24
- 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 +27 -7
- package/webhooks.d.ts +27 -7
- package/webhooks.js +17 -13
- package/webhooks.mjs +6 -2
- package/auth-CSVTXOZX.js +0 -36
- package/invoke-fetch-PEI54KZO.js +0 -14
package/spaces.d.mts
CHANGED
|
@@ -20,7 +20,8 @@ type Assignment = {
|
|
|
20
20
|
readonly spaceId: string;
|
|
21
21
|
/** The unique identifier for the tenant. */
|
|
22
22
|
readonly tenantId: string;
|
|
23
|
-
type
|
|
23
|
+
/** The type of assignment such as user or group */
|
|
24
|
+
type: AssignmentType;
|
|
24
25
|
/** The date and time when the space was updated. */
|
|
25
26
|
readonly updatedAt?: string;
|
|
26
27
|
/** The ID of the user who updated the assignment. */
|
|
@@ -32,8 +33,9 @@ type AssignmentCreate = {
|
|
|
32
33
|
/** The roles assigned to the assigneeId. */
|
|
33
34
|
roles: RoleType[];
|
|
34
35
|
/** The type of assignment such as user or group */
|
|
35
|
-
type:
|
|
36
|
+
type: AssignmentType;
|
|
36
37
|
};
|
|
38
|
+
type AssignmentType = "user" | "group";
|
|
37
39
|
type AssignmentUpdate = {
|
|
38
40
|
/** The roles assigned to the assigneeId. */
|
|
39
41
|
roles?: RoleType[];
|
|
@@ -140,10 +142,9 @@ type SpacePatch = {
|
|
|
140
142
|
/** Field of space to be patched (updated). */
|
|
141
143
|
path: "/name" | "/ownerId" | "/description";
|
|
142
144
|
/** The value to be used within the operations.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
// */
|
|
145
|
+
* - name: The name (string) of space of maxLength 256 of pattern: ^[^\"\*\?\<\>\/\|\\\:]+$
|
|
146
|
+
* - description: The description (string) of the space. Personal spaces do not have a description.
|
|
147
|
+
* - ownerId: The user ID in uid format (string) of the space owner. */
|
|
147
148
|
value: string;
|
|
148
149
|
}[];
|
|
149
150
|
type SpaceType = "shared" | "managed" | "data";
|
|
@@ -179,6 +180,7 @@ type Spaces = {
|
|
|
179
180
|
};
|
|
180
181
|
/**
|
|
181
182
|
* Retrieves spaces that the current user has access to and match the query.
|
|
183
|
+
*
|
|
182
184
|
* @param query an object with query parameters
|
|
183
185
|
* @throws GetSpacesHttpError
|
|
184
186
|
*/
|
|
@@ -216,6 +218,7 @@ type GetSpacesHttpError = {
|
|
|
216
218
|
};
|
|
217
219
|
/**
|
|
218
220
|
* Creates a space.
|
|
221
|
+
*
|
|
219
222
|
* @param body an object with the body content
|
|
220
223
|
* @throws CreateSpaceHttpError
|
|
221
224
|
*/
|
|
@@ -232,6 +235,7 @@ type CreateSpaceHttpError = {
|
|
|
232
235
|
};
|
|
233
236
|
/**
|
|
234
237
|
* Gets a list of distinct space types.
|
|
238
|
+
*
|
|
235
239
|
* @throws GetSpaceTypesHttpError
|
|
236
240
|
*/
|
|
237
241
|
declare const getSpaceTypes: (options?: ApiCallOptions) => Promise<GetSpaceTypesHttpResponse>;
|
|
@@ -247,6 +251,7 @@ type GetSpaceTypesHttpError = {
|
|
|
247
251
|
};
|
|
248
252
|
/**
|
|
249
253
|
* Deletes a space.
|
|
254
|
+
*
|
|
250
255
|
* @param spaceId The ID of the space to delete.
|
|
251
256
|
* @throws DeleteSpaceHttpError
|
|
252
257
|
*/
|
|
@@ -263,6 +268,7 @@ type DeleteSpaceHttpError = {
|
|
|
263
268
|
};
|
|
264
269
|
/**
|
|
265
270
|
* Retrieves a single space by ID.
|
|
271
|
+
*
|
|
266
272
|
* @param spaceId The ID of the space to retrieve.
|
|
267
273
|
* @throws GetSpaceHttpError
|
|
268
274
|
*/
|
|
@@ -279,6 +285,7 @@ type GetSpaceHttpError = {
|
|
|
279
285
|
};
|
|
280
286
|
/**
|
|
281
287
|
* Patches (updates) a space (partially).
|
|
288
|
+
*
|
|
282
289
|
* @param spaceId The ID of the space to update.
|
|
283
290
|
* @param body an object with the body content
|
|
284
291
|
* @throws PatchSpaceHttpError
|
|
@@ -296,6 +303,7 @@ type PatchSpaceHttpError = {
|
|
|
296
303
|
};
|
|
297
304
|
/**
|
|
298
305
|
* Updates a space.
|
|
306
|
+
*
|
|
299
307
|
* @param spaceId The ID of the space to update.
|
|
300
308
|
* @param body an object with the body content
|
|
301
309
|
* @throws UpdateSpaceHttpError
|
|
@@ -313,6 +321,7 @@ type UpdateSpaceHttpError = {
|
|
|
313
321
|
};
|
|
314
322
|
/**
|
|
315
323
|
* Retrieves the assignments of the space matching the query.
|
|
324
|
+
*
|
|
316
325
|
* @param spaceId The ID of the space of the assignment.
|
|
317
326
|
* @param query an object with query parameters
|
|
318
327
|
* @throws GetSpaceAssignmentsHttpError
|
|
@@ -324,6 +333,8 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
324
333
|
next?: string;
|
|
325
334
|
/** The previous page cursor. Previous links make use of this. */
|
|
326
335
|
prev?: string;
|
|
336
|
+
/** The type of assignment. */
|
|
337
|
+
type?: AssignmentType;
|
|
327
338
|
}, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
|
|
328
339
|
type GetSpaceAssignmentsHttpResponse = {
|
|
329
340
|
data: Assignments;
|
|
@@ -339,6 +350,7 @@ type GetSpaceAssignmentsHttpError = {
|
|
|
339
350
|
};
|
|
340
351
|
/**
|
|
341
352
|
* Creates an assignment.
|
|
353
|
+
*
|
|
342
354
|
* @param spaceId The ID of the space of the assignment.
|
|
343
355
|
* @param body an object with the body content
|
|
344
356
|
* @throws CreateSpaceAssignmentHttpError
|
|
@@ -349,34 +361,14 @@ type CreateSpaceAssignmentHttpResponse = {
|
|
|
349
361
|
headers: Headers;
|
|
350
362
|
status: number;
|
|
351
363
|
};
|
|
352
|
-
type
|
|
353
|
-
data: Errors;
|
|
354
|
-
headers: Headers;
|
|
355
|
-
status: 401;
|
|
356
|
-
};
|
|
357
|
-
type CreateSpaceAssignment403HttpError = {
|
|
358
|
-
data: Errors;
|
|
359
|
-
headers: Headers;
|
|
360
|
-
status: 403;
|
|
361
|
-
};
|
|
362
|
-
type CreateSpaceAssignment404HttpError = {
|
|
364
|
+
type CreateSpaceAssignmentHttpError = {
|
|
363
365
|
data: Errors;
|
|
364
366
|
headers: Headers;
|
|
365
|
-
status:
|
|
366
|
-
};
|
|
367
|
-
type CreateSpaceAssignment409HttpError = {
|
|
368
|
-
data: Space;
|
|
369
|
-
headers: Headers;
|
|
370
|
-
status: 409;
|
|
371
|
-
};
|
|
372
|
-
type CreateSpaceAssignment500HttpError = {
|
|
373
|
-
data: Errors;
|
|
374
|
-
headers: Headers;
|
|
375
|
-
status: 500;
|
|
367
|
+
status: number;
|
|
376
368
|
};
|
|
377
|
-
type CreateSpaceAssignmentHttpError = CreateSpaceAssignment401HttpError | CreateSpaceAssignment403HttpError | CreateSpaceAssignment404HttpError | CreateSpaceAssignment409HttpError | CreateSpaceAssignment500HttpError;
|
|
378
369
|
/**
|
|
379
370
|
* Deletes an assignment.
|
|
371
|
+
*
|
|
380
372
|
* @param spaceId The ID of the space of the assignment.
|
|
381
373
|
* @param assignmentId The ID of the assignment to delete.
|
|
382
374
|
* @throws DeleteSpaceAssignmentHttpError
|
|
@@ -394,6 +386,7 @@ type DeleteSpaceAssignmentHttpError = {
|
|
|
394
386
|
};
|
|
395
387
|
/**
|
|
396
388
|
* Retrieves a single assignment by ID.
|
|
389
|
+
*
|
|
397
390
|
* @param spaceId The ID of the space of the assignment.
|
|
398
391
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
399
392
|
* @throws GetSpaceAssignmentHttpError
|
|
@@ -411,6 +404,7 @@ type GetSpaceAssignmentHttpError = {
|
|
|
411
404
|
};
|
|
412
405
|
/**
|
|
413
406
|
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
407
|
+
*
|
|
414
408
|
* @param spaceId The ID of the space of the assignment.
|
|
415
409
|
* @param assignmentId The ID of the assignment to update.
|
|
416
410
|
* @param body an object with the body content
|
|
@@ -434,35 +428,41 @@ declare function clearCache(): void;
|
|
|
434
428
|
interface SpacesAPI {
|
|
435
429
|
/**
|
|
436
430
|
* Retrieves spaces that the current user has access to and match the query.
|
|
431
|
+
*
|
|
437
432
|
* @param query an object with query parameters
|
|
438
433
|
* @throws GetSpacesHttpError
|
|
439
434
|
*/
|
|
440
435
|
getSpaces: typeof getSpaces;
|
|
441
436
|
/**
|
|
442
437
|
* Creates a space.
|
|
438
|
+
*
|
|
443
439
|
* @param body an object with the body content
|
|
444
440
|
* @throws CreateSpaceHttpError
|
|
445
441
|
*/
|
|
446
442
|
createSpace: typeof createSpace;
|
|
447
443
|
/**
|
|
448
444
|
* Gets a list of distinct space types.
|
|
445
|
+
*
|
|
449
446
|
* @throws GetSpaceTypesHttpError
|
|
450
447
|
*/
|
|
451
448
|
getSpaceTypes: typeof getSpaceTypes;
|
|
452
449
|
/**
|
|
453
450
|
* Deletes a space.
|
|
451
|
+
*
|
|
454
452
|
* @param spaceId The ID of the space to delete.
|
|
455
453
|
* @throws DeleteSpaceHttpError
|
|
456
454
|
*/
|
|
457
455
|
deleteSpace: typeof deleteSpace;
|
|
458
456
|
/**
|
|
459
457
|
* Retrieves a single space by ID.
|
|
458
|
+
*
|
|
460
459
|
* @param spaceId The ID of the space to retrieve.
|
|
461
460
|
* @throws GetSpaceHttpError
|
|
462
461
|
*/
|
|
463
462
|
getSpace: typeof getSpace;
|
|
464
463
|
/**
|
|
465
464
|
* Patches (updates) a space (partially).
|
|
465
|
+
*
|
|
466
466
|
* @param spaceId The ID of the space to update.
|
|
467
467
|
* @param body an object with the body content
|
|
468
468
|
* @throws PatchSpaceHttpError
|
|
@@ -470,6 +470,7 @@ interface SpacesAPI {
|
|
|
470
470
|
patchSpace: typeof patchSpace;
|
|
471
471
|
/**
|
|
472
472
|
* Updates a space.
|
|
473
|
+
*
|
|
473
474
|
* @param spaceId The ID of the space to update.
|
|
474
475
|
* @param body an object with the body content
|
|
475
476
|
* @throws UpdateSpaceHttpError
|
|
@@ -477,6 +478,7 @@ interface SpacesAPI {
|
|
|
477
478
|
updateSpace: typeof updateSpace;
|
|
478
479
|
/**
|
|
479
480
|
* Retrieves the assignments of the space matching the query.
|
|
481
|
+
*
|
|
480
482
|
* @param spaceId The ID of the space of the assignment.
|
|
481
483
|
* @param query an object with query parameters
|
|
482
484
|
* @throws GetSpaceAssignmentsHttpError
|
|
@@ -484,6 +486,7 @@ interface SpacesAPI {
|
|
|
484
486
|
getSpaceAssignments: typeof getSpaceAssignments;
|
|
485
487
|
/**
|
|
486
488
|
* Creates an assignment.
|
|
489
|
+
*
|
|
487
490
|
* @param spaceId The ID of the space of the assignment.
|
|
488
491
|
* @param body an object with the body content
|
|
489
492
|
* @throws CreateSpaceAssignmentHttpError
|
|
@@ -491,6 +494,7 @@ interface SpacesAPI {
|
|
|
491
494
|
createSpaceAssignment: typeof createSpaceAssignment;
|
|
492
495
|
/**
|
|
493
496
|
* Deletes an assignment.
|
|
497
|
+
*
|
|
494
498
|
* @param spaceId The ID of the space of the assignment.
|
|
495
499
|
* @param assignmentId The ID of the assignment to delete.
|
|
496
500
|
* @throws DeleteSpaceAssignmentHttpError
|
|
@@ -498,6 +502,7 @@ interface SpacesAPI {
|
|
|
498
502
|
deleteSpaceAssignment: typeof deleteSpaceAssignment;
|
|
499
503
|
/**
|
|
500
504
|
* Retrieves a single assignment by ID.
|
|
505
|
+
*
|
|
501
506
|
* @param spaceId The ID of the space of the assignment.
|
|
502
507
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
503
508
|
* @throws GetSpaceAssignmentHttpError
|
|
@@ -505,6 +510,7 @@ interface SpacesAPI {
|
|
|
505
510
|
getSpaceAssignment: typeof getSpaceAssignment;
|
|
506
511
|
/**
|
|
507
512
|
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
513
|
+
*
|
|
508
514
|
* @param spaceId The ID of the space of the assignment.
|
|
509
515
|
* @param assignmentId The ID of the assignment to update.
|
|
510
516
|
* @param body an object with the body content
|
|
@@ -521,4 +527,4 @@ interface SpacesAPI {
|
|
|
521
527
|
*/
|
|
522
528
|
declare const spacesExport: SpacesAPI;
|
|
523
529
|
|
|
524
|
-
export { type ActionName, type Assignment, type AssignmentCreate, type
|
|
530
|
+
export { type ActionName, type Assignment, type AssignmentCreate, type AssignmentType, type AssignmentUpdate, type Assignments, type CreateSpaceAssignmentHttpError, type CreateSpaceAssignmentHttpResponse, type CreateSpaceHttpError, type CreateSpaceHttpResponse, type DeleteSpaceAssignmentHttpError, type DeleteSpaceAssignmentHttpResponse, type DeleteSpaceHttpError, type DeleteSpaceHttpResponse, type Error, type Errors, type GetSpaceAssignmentHttpError, type GetSpaceAssignmentHttpResponse, type GetSpaceAssignmentsHttpError, type GetSpaceAssignmentsHttpResponse, type GetSpaceHttpError, type GetSpaceHttpResponse, type GetSpaceTypesHttpError, type GetSpaceTypesHttpResponse, type GetSpacesHttpError, type GetSpacesHttpResponse, type Link, type PatchSpaceHttpError, type PatchSpaceHttpResponse, type RoleType, type SharedSpaceRoleType, type Space, type SpaceCreate, type SpacePatch, type SpaceType, type SpaceTypes, type SpaceUpdate, type Spaces, type SpacesAPI, type UpdateSpaceAssignmentHttpError, type UpdateSpaceAssignmentHttpResponse, type UpdateSpaceHttpError, type UpdateSpaceHttpResponse, clearCache, createSpace, createSpaceAssignment, spacesExport as default, deleteSpace, deleteSpaceAssignment, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceTypes, getSpaces, patchSpace, updateSpace, updateSpaceAssignment };
|
package/spaces.d.ts
CHANGED
|
@@ -20,7 +20,8 @@ type Assignment = {
|
|
|
20
20
|
readonly spaceId: string;
|
|
21
21
|
/** The unique identifier for the tenant. */
|
|
22
22
|
readonly tenantId: string;
|
|
23
|
-
type
|
|
23
|
+
/** The type of assignment such as user or group */
|
|
24
|
+
type: AssignmentType;
|
|
24
25
|
/** The date and time when the space was updated. */
|
|
25
26
|
readonly updatedAt?: string;
|
|
26
27
|
/** The ID of the user who updated the assignment. */
|
|
@@ -32,8 +33,9 @@ type AssignmentCreate = {
|
|
|
32
33
|
/** The roles assigned to the assigneeId. */
|
|
33
34
|
roles: RoleType[];
|
|
34
35
|
/** The type of assignment such as user or group */
|
|
35
|
-
type:
|
|
36
|
+
type: AssignmentType;
|
|
36
37
|
};
|
|
38
|
+
type AssignmentType = "user" | "group";
|
|
37
39
|
type AssignmentUpdate = {
|
|
38
40
|
/** The roles assigned to the assigneeId. */
|
|
39
41
|
roles?: RoleType[];
|
|
@@ -140,10 +142,9 @@ type SpacePatch = {
|
|
|
140
142
|
/** Field of space to be patched (updated). */
|
|
141
143
|
path: "/name" | "/ownerId" | "/description";
|
|
142
144
|
/** The value to be used within the operations.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
// */
|
|
145
|
+
* - name: The name (string) of space of maxLength 256 of pattern: ^[^\"\*\?\<\>\/\|\\\:]+$
|
|
146
|
+
* - description: The description (string) of the space. Personal spaces do not have a description.
|
|
147
|
+
* - ownerId: The user ID in uid format (string) of the space owner. */
|
|
147
148
|
value: string;
|
|
148
149
|
}[];
|
|
149
150
|
type SpaceType = "shared" | "managed" | "data";
|
|
@@ -179,6 +180,7 @@ type Spaces = {
|
|
|
179
180
|
};
|
|
180
181
|
/**
|
|
181
182
|
* Retrieves spaces that the current user has access to and match the query.
|
|
183
|
+
*
|
|
182
184
|
* @param query an object with query parameters
|
|
183
185
|
* @throws GetSpacesHttpError
|
|
184
186
|
*/
|
|
@@ -216,6 +218,7 @@ type GetSpacesHttpError = {
|
|
|
216
218
|
};
|
|
217
219
|
/**
|
|
218
220
|
* Creates a space.
|
|
221
|
+
*
|
|
219
222
|
* @param body an object with the body content
|
|
220
223
|
* @throws CreateSpaceHttpError
|
|
221
224
|
*/
|
|
@@ -232,6 +235,7 @@ type CreateSpaceHttpError = {
|
|
|
232
235
|
};
|
|
233
236
|
/**
|
|
234
237
|
* Gets a list of distinct space types.
|
|
238
|
+
*
|
|
235
239
|
* @throws GetSpaceTypesHttpError
|
|
236
240
|
*/
|
|
237
241
|
declare const getSpaceTypes: (options?: ApiCallOptions) => Promise<GetSpaceTypesHttpResponse>;
|
|
@@ -247,6 +251,7 @@ type GetSpaceTypesHttpError = {
|
|
|
247
251
|
};
|
|
248
252
|
/**
|
|
249
253
|
* Deletes a space.
|
|
254
|
+
*
|
|
250
255
|
* @param spaceId The ID of the space to delete.
|
|
251
256
|
* @throws DeleteSpaceHttpError
|
|
252
257
|
*/
|
|
@@ -263,6 +268,7 @@ type DeleteSpaceHttpError = {
|
|
|
263
268
|
};
|
|
264
269
|
/**
|
|
265
270
|
* Retrieves a single space by ID.
|
|
271
|
+
*
|
|
266
272
|
* @param spaceId The ID of the space to retrieve.
|
|
267
273
|
* @throws GetSpaceHttpError
|
|
268
274
|
*/
|
|
@@ -279,6 +285,7 @@ type GetSpaceHttpError = {
|
|
|
279
285
|
};
|
|
280
286
|
/**
|
|
281
287
|
* Patches (updates) a space (partially).
|
|
288
|
+
*
|
|
282
289
|
* @param spaceId The ID of the space to update.
|
|
283
290
|
* @param body an object with the body content
|
|
284
291
|
* @throws PatchSpaceHttpError
|
|
@@ -296,6 +303,7 @@ type PatchSpaceHttpError = {
|
|
|
296
303
|
};
|
|
297
304
|
/**
|
|
298
305
|
* Updates a space.
|
|
306
|
+
*
|
|
299
307
|
* @param spaceId The ID of the space to update.
|
|
300
308
|
* @param body an object with the body content
|
|
301
309
|
* @throws UpdateSpaceHttpError
|
|
@@ -313,6 +321,7 @@ type UpdateSpaceHttpError = {
|
|
|
313
321
|
};
|
|
314
322
|
/**
|
|
315
323
|
* Retrieves the assignments of the space matching the query.
|
|
324
|
+
*
|
|
316
325
|
* @param spaceId The ID of the space of the assignment.
|
|
317
326
|
* @param query an object with query parameters
|
|
318
327
|
* @throws GetSpaceAssignmentsHttpError
|
|
@@ -324,6 +333,8 @@ declare const getSpaceAssignments: (spaceId: string, query: {
|
|
|
324
333
|
next?: string;
|
|
325
334
|
/** The previous page cursor. Previous links make use of this. */
|
|
326
335
|
prev?: string;
|
|
336
|
+
/** The type of assignment. */
|
|
337
|
+
type?: AssignmentType;
|
|
327
338
|
}, options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
|
|
328
339
|
type GetSpaceAssignmentsHttpResponse = {
|
|
329
340
|
data: Assignments;
|
|
@@ -339,6 +350,7 @@ type GetSpaceAssignmentsHttpError = {
|
|
|
339
350
|
};
|
|
340
351
|
/**
|
|
341
352
|
* Creates an assignment.
|
|
353
|
+
*
|
|
342
354
|
* @param spaceId The ID of the space of the assignment.
|
|
343
355
|
* @param body an object with the body content
|
|
344
356
|
* @throws CreateSpaceAssignmentHttpError
|
|
@@ -349,34 +361,14 @@ type CreateSpaceAssignmentHttpResponse = {
|
|
|
349
361
|
headers: Headers;
|
|
350
362
|
status: number;
|
|
351
363
|
};
|
|
352
|
-
type
|
|
353
|
-
data: Errors;
|
|
354
|
-
headers: Headers;
|
|
355
|
-
status: 401;
|
|
356
|
-
};
|
|
357
|
-
type CreateSpaceAssignment403HttpError = {
|
|
358
|
-
data: Errors;
|
|
359
|
-
headers: Headers;
|
|
360
|
-
status: 403;
|
|
361
|
-
};
|
|
362
|
-
type CreateSpaceAssignment404HttpError = {
|
|
364
|
+
type CreateSpaceAssignmentHttpError = {
|
|
363
365
|
data: Errors;
|
|
364
366
|
headers: Headers;
|
|
365
|
-
status:
|
|
366
|
-
};
|
|
367
|
-
type CreateSpaceAssignment409HttpError = {
|
|
368
|
-
data: Space;
|
|
369
|
-
headers: Headers;
|
|
370
|
-
status: 409;
|
|
371
|
-
};
|
|
372
|
-
type CreateSpaceAssignment500HttpError = {
|
|
373
|
-
data: Errors;
|
|
374
|
-
headers: Headers;
|
|
375
|
-
status: 500;
|
|
367
|
+
status: number;
|
|
376
368
|
};
|
|
377
|
-
type CreateSpaceAssignmentHttpError = CreateSpaceAssignment401HttpError | CreateSpaceAssignment403HttpError | CreateSpaceAssignment404HttpError | CreateSpaceAssignment409HttpError | CreateSpaceAssignment500HttpError;
|
|
378
369
|
/**
|
|
379
370
|
* Deletes an assignment.
|
|
371
|
+
*
|
|
380
372
|
* @param spaceId The ID of the space of the assignment.
|
|
381
373
|
* @param assignmentId The ID of the assignment to delete.
|
|
382
374
|
* @throws DeleteSpaceAssignmentHttpError
|
|
@@ -394,6 +386,7 @@ type DeleteSpaceAssignmentHttpError = {
|
|
|
394
386
|
};
|
|
395
387
|
/**
|
|
396
388
|
* Retrieves a single assignment by ID.
|
|
389
|
+
*
|
|
397
390
|
* @param spaceId The ID of the space of the assignment.
|
|
398
391
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
399
392
|
* @throws GetSpaceAssignmentHttpError
|
|
@@ -411,6 +404,7 @@ type GetSpaceAssignmentHttpError = {
|
|
|
411
404
|
};
|
|
412
405
|
/**
|
|
413
406
|
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
407
|
+
*
|
|
414
408
|
* @param spaceId The ID of the space of the assignment.
|
|
415
409
|
* @param assignmentId The ID of the assignment to update.
|
|
416
410
|
* @param body an object with the body content
|
|
@@ -434,35 +428,41 @@ declare function clearCache(): void;
|
|
|
434
428
|
interface SpacesAPI {
|
|
435
429
|
/**
|
|
436
430
|
* Retrieves spaces that the current user has access to and match the query.
|
|
431
|
+
*
|
|
437
432
|
* @param query an object with query parameters
|
|
438
433
|
* @throws GetSpacesHttpError
|
|
439
434
|
*/
|
|
440
435
|
getSpaces: typeof getSpaces;
|
|
441
436
|
/**
|
|
442
437
|
* Creates a space.
|
|
438
|
+
*
|
|
443
439
|
* @param body an object with the body content
|
|
444
440
|
* @throws CreateSpaceHttpError
|
|
445
441
|
*/
|
|
446
442
|
createSpace: typeof createSpace;
|
|
447
443
|
/**
|
|
448
444
|
* Gets a list of distinct space types.
|
|
445
|
+
*
|
|
449
446
|
* @throws GetSpaceTypesHttpError
|
|
450
447
|
*/
|
|
451
448
|
getSpaceTypes: typeof getSpaceTypes;
|
|
452
449
|
/**
|
|
453
450
|
* Deletes a space.
|
|
451
|
+
*
|
|
454
452
|
* @param spaceId The ID of the space to delete.
|
|
455
453
|
* @throws DeleteSpaceHttpError
|
|
456
454
|
*/
|
|
457
455
|
deleteSpace: typeof deleteSpace;
|
|
458
456
|
/**
|
|
459
457
|
* Retrieves a single space by ID.
|
|
458
|
+
*
|
|
460
459
|
* @param spaceId The ID of the space to retrieve.
|
|
461
460
|
* @throws GetSpaceHttpError
|
|
462
461
|
*/
|
|
463
462
|
getSpace: typeof getSpace;
|
|
464
463
|
/**
|
|
465
464
|
* Patches (updates) a space (partially).
|
|
465
|
+
*
|
|
466
466
|
* @param spaceId The ID of the space to update.
|
|
467
467
|
* @param body an object with the body content
|
|
468
468
|
* @throws PatchSpaceHttpError
|
|
@@ -470,6 +470,7 @@ interface SpacesAPI {
|
|
|
470
470
|
patchSpace: typeof patchSpace;
|
|
471
471
|
/**
|
|
472
472
|
* Updates a space.
|
|
473
|
+
*
|
|
473
474
|
* @param spaceId The ID of the space to update.
|
|
474
475
|
* @param body an object with the body content
|
|
475
476
|
* @throws UpdateSpaceHttpError
|
|
@@ -477,6 +478,7 @@ interface SpacesAPI {
|
|
|
477
478
|
updateSpace: typeof updateSpace;
|
|
478
479
|
/**
|
|
479
480
|
* Retrieves the assignments of the space matching the query.
|
|
481
|
+
*
|
|
480
482
|
* @param spaceId The ID of the space of the assignment.
|
|
481
483
|
* @param query an object with query parameters
|
|
482
484
|
* @throws GetSpaceAssignmentsHttpError
|
|
@@ -484,6 +486,7 @@ interface SpacesAPI {
|
|
|
484
486
|
getSpaceAssignments: typeof getSpaceAssignments;
|
|
485
487
|
/**
|
|
486
488
|
* Creates an assignment.
|
|
489
|
+
*
|
|
487
490
|
* @param spaceId The ID of the space of the assignment.
|
|
488
491
|
* @param body an object with the body content
|
|
489
492
|
* @throws CreateSpaceAssignmentHttpError
|
|
@@ -491,6 +494,7 @@ interface SpacesAPI {
|
|
|
491
494
|
createSpaceAssignment: typeof createSpaceAssignment;
|
|
492
495
|
/**
|
|
493
496
|
* Deletes an assignment.
|
|
497
|
+
*
|
|
494
498
|
* @param spaceId The ID of the space of the assignment.
|
|
495
499
|
* @param assignmentId The ID of the assignment to delete.
|
|
496
500
|
* @throws DeleteSpaceAssignmentHttpError
|
|
@@ -498,6 +502,7 @@ interface SpacesAPI {
|
|
|
498
502
|
deleteSpaceAssignment: typeof deleteSpaceAssignment;
|
|
499
503
|
/**
|
|
500
504
|
* Retrieves a single assignment by ID.
|
|
505
|
+
*
|
|
501
506
|
* @param spaceId The ID of the space of the assignment.
|
|
502
507
|
* @param assignmentId The ID of the assignment to retrieve.
|
|
503
508
|
* @throws GetSpaceAssignmentHttpError
|
|
@@ -505,6 +510,7 @@ interface SpacesAPI {
|
|
|
505
510
|
getSpaceAssignment: typeof getSpaceAssignment;
|
|
506
511
|
/**
|
|
507
512
|
* Updates a single assignment by ID. The complete list of roles must be provided.
|
|
513
|
+
*
|
|
508
514
|
* @param spaceId The ID of the space of the assignment.
|
|
509
515
|
* @param assignmentId The ID of the assignment to update.
|
|
510
516
|
* @param body an object with the body content
|
|
@@ -521,4 +527,4 @@ interface SpacesAPI {
|
|
|
521
527
|
*/
|
|
522
528
|
declare const spacesExport: SpacesAPI;
|
|
523
529
|
|
|
524
|
-
export { type ActionName, type Assignment, type AssignmentCreate, type
|
|
530
|
+
export { type ActionName, type Assignment, type AssignmentCreate, type AssignmentType, type AssignmentUpdate, type Assignments, type CreateSpaceAssignmentHttpError, type CreateSpaceAssignmentHttpResponse, type CreateSpaceHttpError, type CreateSpaceHttpResponse, type DeleteSpaceAssignmentHttpError, type DeleteSpaceAssignmentHttpResponse, type DeleteSpaceHttpError, type DeleteSpaceHttpResponse, type Error, type Errors, type GetSpaceAssignmentHttpError, type GetSpaceAssignmentHttpResponse, type GetSpaceAssignmentsHttpError, type GetSpaceAssignmentsHttpResponse, type GetSpaceHttpError, type GetSpaceHttpResponse, type GetSpaceTypesHttpError, type GetSpaceTypesHttpResponse, type GetSpacesHttpError, type GetSpacesHttpResponse, type Link, type PatchSpaceHttpError, type PatchSpaceHttpResponse, type RoleType, type SharedSpaceRoleType, type Space, type SpaceCreate, type SpacePatch, type SpaceType, type SpaceTypes, type SpaceUpdate, type Spaces, type SpacesAPI, type UpdateSpaceAssignmentHttpError, type UpdateSpaceAssignmentHttpResponse, type UpdateSpaceHttpError, type UpdateSpaceHttpResponse, clearCache, createSpace, createSpaceAssignment, spacesExport as default, deleteSpace, deleteSpaceAssignment, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceTypes, getSpaces, patchSpace, updateSpace, updateSpaceAssignment };
|
package/spaces.js
CHANGED
|
@@ -1,88 +1,94 @@
|
|
|
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/spaces.ts
|
|
8
|
-
var getSpaces = async (query, options) =>
|
|
9
|
+
var getSpaces = async (query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
9
10
|
method: "get",
|
|
10
11
|
pathTemplate: "/api/v1/spaces",
|
|
11
12
|
query,
|
|
12
13
|
options
|
|
13
14
|
});
|
|
14
|
-
var createSpace = async (body, options) =>
|
|
15
|
+
var createSpace = async (body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/spaces",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
|
-
var getSpaceTypes = async (options) =>
|
|
22
|
+
var getSpaceTypes = async (options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
21
23
|
method: "get",
|
|
22
24
|
pathTemplate: "/api/v1/spaces/types",
|
|
23
25
|
options
|
|
24
26
|
});
|
|
25
|
-
var deleteSpace = async (spaceId, options) =>
|
|
27
|
+
var deleteSpace = async (spaceId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
26
28
|
method: "delete",
|
|
27
29
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
28
30
|
pathVariables: { spaceId },
|
|
29
31
|
options
|
|
30
32
|
});
|
|
31
|
-
var getSpace = async (spaceId, options) =>
|
|
33
|
+
var getSpace = async (spaceId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
32
34
|
method: "get",
|
|
33
35
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
34
36
|
pathVariables: { spaceId },
|
|
35
37
|
options
|
|
36
38
|
});
|
|
37
|
-
var patchSpace = async (spaceId, body, options) =>
|
|
39
|
+
var patchSpace = async (spaceId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
38
40
|
method: "patch",
|
|
39
41
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
40
42
|
pathVariables: { spaceId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
|
-
var updateSpace = async (spaceId, body, options) =>
|
|
47
|
+
var updateSpace = async (spaceId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
45
48
|
method: "put",
|
|
46
49
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
47
50
|
pathVariables: { spaceId },
|
|
48
51
|
body,
|
|
52
|
+
contentType: "application/json",
|
|
49
53
|
options
|
|
50
54
|
});
|
|
51
|
-
var getSpaceAssignments = async (spaceId, query, options) =>
|
|
55
|
+
var getSpaceAssignments = async (spaceId, query, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
52
56
|
method: "get",
|
|
53
57
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
54
58
|
pathVariables: { spaceId },
|
|
55
59
|
query,
|
|
56
60
|
options
|
|
57
61
|
});
|
|
58
|
-
var createSpaceAssignment = async (spaceId, body, options) =>
|
|
62
|
+
var createSpaceAssignment = async (spaceId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
59
63
|
method: "post",
|
|
60
64
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
61
65
|
pathVariables: { spaceId },
|
|
62
66
|
body,
|
|
67
|
+
contentType: "application/json",
|
|
63
68
|
options
|
|
64
69
|
});
|
|
65
|
-
var deleteSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
70
|
+
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
66
71
|
method: "delete",
|
|
67
72
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
68
73
|
pathVariables: { spaceId, assignmentId },
|
|
69
74
|
options
|
|
70
75
|
});
|
|
71
|
-
var getSpaceAssignment = async (spaceId, assignmentId, options) =>
|
|
76
|
+
var getSpaceAssignment = async (spaceId, assignmentId, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
72
77
|
method: "get",
|
|
73
78
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
74
79
|
pathVariables: { spaceId, assignmentId },
|
|
75
80
|
options
|
|
76
81
|
});
|
|
77
|
-
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) =>
|
|
82
|
+
var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => _chunkJNGURO23js.invokeFetch.call(void 0, "spaces", {
|
|
78
83
|
method: "put",
|
|
79
84
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
80
85
|
pathVariables: { spaceId, assignmentId },
|
|
81
86
|
body,
|
|
87
|
+
contentType: "application/json",
|
|
82
88
|
options
|
|
83
89
|
});
|
|
84
90
|
function clearCache() {
|
|
85
|
-
return
|
|
91
|
+
return _chunkJNGURO23js.clearApiCache.call(void 0, "spaces");
|
|
86
92
|
}
|
|
87
93
|
var spacesExport = {
|
|
88
94
|
getSpaces,
|
package/spaces.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/spaces.ts
|
|
8
9
|
var getSpaces = async (query, options) => invokeFetch("spaces", {
|
|
@@ -15,6 +16,7 @@ var createSpace = async (body, options) => invokeFetch("spaces", {
|
|
|
15
16
|
method: "post",
|
|
16
17
|
pathTemplate: "/api/v1/spaces",
|
|
17
18
|
body,
|
|
19
|
+
contentType: "application/json",
|
|
18
20
|
options
|
|
19
21
|
});
|
|
20
22
|
var getSpaceTypes = async (options) => invokeFetch("spaces", {
|
|
@@ -39,6 +41,7 @@ var patchSpace = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
|
39
41
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
40
42
|
pathVariables: { spaceId },
|
|
41
43
|
body,
|
|
44
|
+
contentType: "application/json",
|
|
42
45
|
options
|
|
43
46
|
});
|
|
44
47
|
var updateSpace = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
@@ -46,6 +49,7 @@ var updateSpace = async (spaceId, body, options) => invokeFetch("spaces", {
|
|
|
46
49
|
pathTemplate: "/api/v1/spaces/{spaceId}",
|
|
47
50
|
pathVariables: { spaceId },
|
|
48
51
|
body,
|
|
52
|
+
contentType: "application/json",
|
|
49
53
|
options
|
|
50
54
|
});
|
|
51
55
|
var getSpaceAssignments = async (spaceId, query, options) => invokeFetch("spaces", {
|
|
@@ -60,6 +64,7 @@ var createSpaceAssignment = async (spaceId, body, options) => invokeFetch("space
|
|
|
60
64
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments",
|
|
61
65
|
pathVariables: { spaceId },
|
|
62
66
|
body,
|
|
67
|
+
contentType: "application/json",
|
|
63
68
|
options
|
|
64
69
|
});
|
|
65
70
|
var deleteSpaceAssignment = async (spaceId, assignmentId, options) => invokeFetch("spaces", {
|
|
@@ -79,6 +84,7 @@ var updateSpaceAssignment = async (spaceId, assignmentId, body, options) => invo
|
|
|
79
84
|
pathTemplate: "/api/v1/spaces/{spaceId}/assignments/{assignmentId}",
|
|
80
85
|
pathVariables: { spaceId, assignmentId },
|
|
81
86
|
body,
|
|
87
|
+
contentType: "application/json",
|
|
82
88
|
options
|
|
83
89
|
});
|
|
84
90
|
function clearCache() {
|