@qlik/api 1.26.0 → 1.27.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.
Files changed (73) hide show
  1. package/api-keys.d.ts +11 -11
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +68 -68
  4. package/apps.js +2 -2
  5. package/audits.d.ts +36 -14
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +36 -36
  9. package/automations.js +2 -2
  10. package/brands.d.ts +23 -23
  11. package/brands.js +2 -2
  12. package/chunks/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
  13. package/chunks/{7SNOQCIQ.js → 55SZVSAG.js} +1 -1
  14. package/chunks/{HGRF5TX3.js → EOGHK2R4.js} +1 -1
  15. package/chunks/{UV5COPU3.js → V3TZ54UE.js} +3 -3
  16. package/chunks/{AMO5NATA.js → WY7IOA3Q.js} +2 -2
  17. package/collections.d.ts +22 -22
  18. package/collections.js +2 -2
  19. package/csp-origins.d.ts +12 -12
  20. package/csp-origins.js +2 -2
  21. package/data-assets.d.ts +10 -10
  22. package/data-assets.js +2 -2
  23. package/data-connections.d.ts +18 -18
  24. package/data-connections.js +2 -2
  25. package/data-credentials.d.ts +10 -10
  26. package/data-credentials.js +2 -2
  27. package/data-files.d.ts +24 -24
  28. package/data-files.js +2 -2
  29. package/docs/authentication.md +1 -1
  30. package/extensions.d.ts +11 -11
  31. package/extensions.js +2 -2
  32. package/glossaries.d.ts +48 -48
  33. package/glossaries.js +2 -2
  34. package/groups.d.ts +16 -16
  35. package/groups.js +2 -2
  36. package/identity-providers.d.ts +15 -15
  37. package/identity-providers.js +2 -2
  38. package/index.js +4 -4
  39. package/items.d.ts +16 -16
  40. package/items.js +2 -2
  41. package/licenses.d.ts +18 -18
  42. package/licenses.js +2 -2
  43. package/package.json +2 -2
  44. package/qix.d.ts +1 -1
  45. package/qix.js +2 -2
  46. package/quotas.d.ts +4 -4
  47. package/quotas.js +2 -2
  48. package/reload-tasks.d.ts +10 -10
  49. package/reload-tasks.js +2 -2
  50. package/reloads.d.ts +8 -8
  51. package/reloads.js +2 -2
  52. package/reports.d.ts +4 -4
  53. package/reports.js +2 -2
  54. package/roles.d.ts +10 -10
  55. package/roles.js +2 -2
  56. package/spaces.d.ts +59 -25
  57. package/spaces.js +2 -2
  58. package/temp-contents.d.ts +6 -6
  59. package/temp-contents.js +2 -2
  60. package/tenants.d.ts +9 -9
  61. package/tenants.js +2 -2
  62. package/themes.d.ts +11 -11
  63. package/themes.js +2 -2
  64. package/transports.d.ts +17 -17
  65. package/transports.js +2 -2
  66. package/users.d.ts +19 -19
  67. package/users.js +2 -2
  68. package/web-integrations.d.ts +9 -9
  69. package/web-integrations.js +2 -2
  70. package/web-notifications.d.ts +12 -12
  71. package/web-notifications.js +2 -2
  72. package/webhooks.d.ts +20 -20
  73. package/webhooks.js +2 -2
package/reload-tasks.d.ts CHANGED
@@ -97,12 +97,12 @@ declare const getReloadTasks: (query: {
97
97
  type GetReloadTasksHttpResponse = {
98
98
  data: Tasks;
99
99
  headers: Headers;
100
- status: number;
100
+ status: 200;
101
101
  };
102
102
  type GetReloadTasksHttpError = {
103
103
  data: Errors;
104
104
  headers: Headers;
105
- status: number;
105
+ status: 400 | 401 | 403 | 404 | 429 | 500 | 503;
106
106
  };
107
107
  /**
108
108
  * Creates a task for a specified app.
@@ -114,12 +114,12 @@ declare const createReloadTask: (body: PostTaskBody, options?: ApiCallOptions) =
114
114
  type CreateReloadTaskHttpResponse = {
115
115
  data: Task;
116
116
  headers: Headers;
117
- status: number;
117
+ status: 201;
118
118
  };
119
119
  type CreateReloadTaskHttpError = {
120
120
  data: Errors;
121
121
  headers: Headers;
122
- status: number;
122
+ status: 400 | 401 | 403 | 404 | 500 | 503;
123
123
  };
124
124
  /**
125
125
  * Deletes a task
@@ -131,12 +131,12 @@ declare const deleteReloadTask: (taskId: string, options?: ApiCallOptions) => Pr
131
131
  type DeleteReloadTaskHttpResponse = {
132
132
  data: void;
133
133
  headers: Headers;
134
- status: number;
134
+ status: 204;
135
135
  };
136
136
  type DeleteReloadTaskHttpError = {
137
137
  data: Errors;
138
138
  headers: Headers;
139
- status: number;
139
+ status: 400 | 401 | 403 | 404 | 500;
140
140
  };
141
141
  /**
142
142
  * Finds and returns a task.
@@ -148,12 +148,12 @@ declare const getReloadTask: (taskId: string, options?: ApiCallOptions) => Promi
148
148
  type GetReloadTaskHttpResponse = {
149
149
  data: Task;
150
150
  headers: Headers;
151
- status: number;
151
+ status: 200;
152
152
  };
153
153
  type GetReloadTaskHttpError = {
154
154
  data: Errors;
155
155
  headers: Headers;
156
- status: number;
156
+ status: 400 | 401 | 403 | 404 | 429 | 500 | 503;
157
157
  };
158
158
  /**
159
159
  * Updates an existing task
@@ -166,12 +166,12 @@ declare const updateReloadTask: (taskId: string, body: PutTaskBody, options?: Ap
166
166
  type UpdateReloadTaskHttpResponse = {
167
167
  data: Task;
168
168
  headers: Headers;
169
- status: number;
169
+ status: 200;
170
170
  };
171
171
  type UpdateReloadTaskHttpError = {
172
172
  data: Errors;
173
173
  headers: Headers;
174
- status: number;
174
+ status: 400 | 401 | 403 | 404 | 500 | 503;
175
175
  };
176
176
  /**
177
177
  * Clears the cache for reload-tasks api requests.
package/reload-tasks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
package/reloads.d.ts CHANGED
@@ -107,12 +107,12 @@ declare const getReloads: (query: {
107
107
  type GetReloadsHttpResponse = {
108
108
  data: Reloads;
109
109
  headers: Headers;
110
- status: number;
110
+ status: 200;
111
111
  };
112
112
  type GetReloadsHttpError = {
113
113
  data: Errors;
114
114
  headers: Headers;
115
- status: number;
115
+ status: 400 | 401 | 403 | 500;
116
116
  };
117
117
  /**
118
118
  * Reloads an app specified by an app ID.
@@ -124,12 +124,12 @@ declare const queueReload: (body: ReloadRequest, options?: ApiCallOptions) => Pr
124
124
  type QueueReloadHttpResponse = {
125
125
  data: Reload;
126
126
  headers: Headers;
127
- status: number;
127
+ status: 201;
128
128
  };
129
129
  type QueueReloadHttpError = {
130
130
  data: Errors;
131
131
  headers: Headers;
132
- status: number;
132
+ status: 400 | 401 | 403 | 429 | 500;
133
133
  };
134
134
  /**
135
135
  * Finds and returns a reload record.
@@ -141,12 +141,12 @@ declare const getReload: (reloadId: string, options?: ApiCallOptions) => Promise
141
141
  type GetReloadHttpResponse = {
142
142
  data: Reload;
143
143
  headers: Headers;
144
- status: number;
144
+ status: 200;
145
145
  };
146
146
  type GetReloadHttpError = {
147
147
  data: Errors;
148
148
  headers: Headers;
149
- status: number;
149
+ status: 400 | 401 | 403 | 404 | 500;
150
150
  };
151
151
  /**
152
152
  * Cancels a reload that is in progress or has been queued
@@ -158,12 +158,12 @@ declare const cancelReload: (reloadId: string, options?: ApiCallOptions) => Prom
158
158
  type CancelReloadHttpResponse = {
159
159
  data: void;
160
160
  headers: Headers;
161
- status: number;
161
+ status: 202 | 204;
162
162
  };
163
163
  type CancelReloadHttpError = {
164
164
  data: Errors;
165
165
  headers: Headers;
166
- status: number;
166
+ status: 400 | 401 | 403 | 404 | 409 | 500;
167
167
  };
168
168
  /**
169
169
  * Clears the cache for reloads api requests.
package/reloads.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reloads.ts
package/reports.d.ts CHANGED
@@ -558,12 +558,12 @@ declare const createReport: (body: ReportRequest, options?: ApiCallOptions) => P
558
558
  type CreateReportHttpResponse = {
559
559
  data: void;
560
560
  headers: Headers;
561
- status: number;
561
+ status: 202;
562
562
  };
563
563
  type CreateReportHttpError = {
564
564
  data: Error;
565
565
  headers: Headers;
566
- status: number;
566
+ status: 400 | 401 | 403 | 404 | 409 | 429 | 500;
567
567
  };
568
568
  /**
569
569
  * Get report request processing status.
@@ -575,12 +575,12 @@ declare const getReportStatus: (id: string, options?: ApiCallOptions) => Promise
575
575
  type GetReportStatusHttpResponse = {
576
576
  data: ReportStatus;
577
577
  headers: Headers;
578
- status: number;
578
+ status: 200;
579
579
  };
580
580
  type GetReportStatusHttpError = {
581
581
  data: Error;
582
582
  headers: Headers;
583
- status: number;
583
+ status: 400 | 401 | 403 | 404 | 409 | 429 | 500;
584
584
  };
585
585
  /**
586
586
  * Clears the cache for reports api requests.
package/reports.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reports.ts
package/roles.d.ts CHANGED
@@ -140,14 +140,14 @@ declare const getRoles: (query: {
140
140
  type GetRolesHttpResponse = {
141
141
  data: ListRolesResult;
142
142
  headers: Headers;
143
- status: number;
143
+ status: 200;
144
144
  prev?: (options?: ApiCallOptions) => Promise<GetRolesHttpResponse>;
145
145
  next?: (options?: ApiCallOptions) => Promise<GetRolesHttpResponse>;
146
146
  };
147
147
  type GetRolesHttpError = {
148
148
  data: Errors;
149
149
  headers: Headers;
150
- status: number;
150
+ status: 400 | 401 | 429 | 500;
151
151
  };
152
152
  /**
153
153
  * Creates a custom role. Role names must be unique, and there is a maximum of 500 custom roles per tenant. Requestor must be assigned the `TenantAdmin` role.
@@ -159,12 +159,12 @@ declare const createRole: (body: CreateRole, options?: ApiCallOptions) => Promis
159
159
  type CreateRoleHttpResponse = {
160
160
  data: Role;
161
161
  headers: Headers;
162
- status: number;
162
+ status: 201;
163
163
  };
164
164
  type CreateRoleHttpError = {
165
165
  data: Errors;
166
166
  headers: Headers;
167
- status: number;
167
+ status: 400 | 401 | 403 | 429 | 500;
168
168
  };
169
169
  /**
170
170
  * Deletes the requested role. Role can only be deleted if it has been unassigned from all users and groups. Only applicable to roles of type `custom`. Requestor must be assigned the `TenantAdmin` role.
@@ -176,12 +176,12 @@ declare const deleteRole: (id: string, options?: ApiCallOptions) => Promise<Dele
176
176
  type DeleteRoleHttpResponse = {
177
177
  data: void;
178
178
  headers: Headers;
179
- status: number;
179
+ status: 204;
180
180
  };
181
181
  type DeleteRoleHttpError = {
182
182
  data: Errors;
183
183
  headers: Headers;
184
- status: number;
184
+ status: 400 | 401 | 403 | 429 | 500;
185
185
  };
186
186
  /**
187
187
  * Returns the requested role.
@@ -193,12 +193,12 @@ declare const getRole: (id: string, options?: ApiCallOptions) => Promise<GetRole
193
193
  type GetRoleHttpResponse = {
194
194
  data: Role;
195
195
  headers: Headers;
196
- status: number;
196
+ status: 200;
197
197
  };
198
198
  type GetRoleHttpError = {
199
199
  data: Errors;
200
200
  headers: Headers;
201
- status: number;
201
+ status: 404 | 429 | 500;
202
202
  };
203
203
  /**
204
204
  * Updates the requested role. Only applicable to roles of type `custom`. Requestor must be assigned the `TenantAdmin` role.
@@ -211,12 +211,12 @@ declare const patchRole: (id: string, body: PatchRoles, options?: ApiCallOptions
211
211
  type PatchRoleHttpResponse = {
212
212
  data: void;
213
213
  headers: Headers;
214
- status: number;
214
+ status: 204;
215
215
  };
216
216
  type PatchRoleHttpError = {
217
217
  data: Errors;
218
218
  headers: Headers;
219
- status: number;
219
+ status: 400 | 401 | 403 | 404 | 429 | 500;
220
220
  };
221
221
  /**
222
222
  * Clears the cache for roles api requests.
package/roles.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/roles.ts
package/spaces.d.ts CHANGED
@@ -58,6 +58,32 @@ type Assignments = {
58
58
  count: number;
59
59
  };
60
60
  };
61
+ /**
62
+ * An Environment is an environment context simplifying the grouping of spaces into environments by allowing users to control it on the environment instead of on the spaces themselves.
63
+ */
64
+ type Environment = {
65
+ /** The date and time when the environment was created. */
66
+ readonly createdAt?: string;
67
+ /** The ID of the user who created the environment. */
68
+ readonly createdBy?: string;
69
+ /** The description of the environment. */
70
+ description?: string;
71
+ /** A unique identifier for the environment, for example, 62716f4b39b865ece543cd45. */
72
+ readonly id: string;
73
+ readonly links: {
74
+ self: Link;
75
+ };
76
+ /** The name of the environment. */
77
+ name: string;
78
+ /** The ID for the environment owner. */
79
+ readonly ownerId?: string;
80
+ /** The ID for the tenant, for example, xqGQ0k66vSR8f9G7J-vYtHZQkiYrCpct. */
81
+ readonly tenantId: string;
82
+ /** The date and time when the environment was updated. */
83
+ readonly updatedAt?: string;
84
+ /** The name of the environment. */
85
+ variables?: Variable[];
86
+ };
61
87
  /**
62
88
  * An error object.
63
89
  */
@@ -128,6 +154,8 @@ type Space = {
128
154
  readonly createdBy?: string;
129
155
  /** The description of the space. Personal spaces do not have a description. */
130
156
  description?: string;
157
+ /** An Environment is an environment context simplifying the grouping of spaces into environments by allowing users to control it on the environment instead of on the spaces themselves. */
158
+ environment?: Environment;
131
159
  /** A unique identifier for the space, for example, 62716f4b39b865ece543cd45. */
132
160
  readonly id: string;
133
161
  readonly links: {
@@ -210,6 +238,12 @@ type Spaces = {
210
238
  };
211
239
  };
212
240
  };
241
+ type Variable = {
242
+ /** The Key */
243
+ readonly key?: string;
244
+ /** The value. */
245
+ readonly value?: string;
246
+ };
213
247
  /**
214
248
  * Retrieves spaces that the current user has access to and match the query.
215
249
  *
@@ -239,14 +273,14 @@ declare const getSpaces: (query: {
239
273
  type GetSpacesHttpResponse = {
240
274
  data: Spaces;
241
275
  headers: Headers;
242
- status: number;
276
+ status: 200;
243
277
  prev?: (options?: ApiCallOptions) => Promise<GetSpacesHttpResponse>;
244
278
  next?: (options?: ApiCallOptions) => Promise<GetSpacesHttpResponse>;
245
279
  };
246
280
  type GetSpacesHttpError = {
247
281
  data: Errors;
248
282
  headers: Headers;
249
- status: number;
283
+ status: 400 | 401 | 500;
250
284
  };
251
285
  /**
252
286
  * Creates a space. Spaces names must be unique. Spaces of type `data` should only be used for Qlik Talend Data Integration projects.
@@ -258,12 +292,12 @@ declare const createSpace: (body: SpaceCreate, options?: ApiCallOptions) => Prom
258
292
  type CreateSpaceHttpResponse = {
259
293
  data: Space;
260
294
  headers: Headers;
261
- status: number;
295
+ status: 201;
262
296
  };
263
297
  type CreateSpaceHttpError = {
264
298
  data: Errors;
265
299
  headers: Headers;
266
- status: number;
300
+ status: 401 | 403 | 409 | 500;
267
301
  };
268
302
  /**
269
303
  * Gets a list of distinct space types available for use in the tenant.
@@ -274,12 +308,12 @@ declare const getSpaceTypes: (options?: ApiCallOptions) => Promise<GetSpaceTypes
274
308
  type GetSpaceTypesHttpResponse = {
275
309
  data: SpaceTypes;
276
310
  headers: Headers;
277
- status: number;
311
+ status: 200;
278
312
  };
279
313
  type GetSpaceTypesHttpError = {
280
314
  data: Errors;
281
315
  headers: Headers;
282
- status: number;
316
+ status: 401 | 500;
283
317
  };
284
318
  /**
285
319
  * Deletes a space.
@@ -291,12 +325,12 @@ declare const deleteSpace: (spaceId: string, options?: ApiCallOptions) => Promis
291
325
  type DeleteSpaceHttpResponse = {
292
326
  data: void;
293
327
  headers: Headers;
294
- status: number;
328
+ status: 204;
295
329
  };
296
330
  type DeleteSpaceHttpError = {
297
331
  data: Errors;
298
332
  headers: Headers;
299
- status: number;
333
+ status: 401 | 403 | 404 | 412 | 500;
300
334
  };
301
335
  /**
302
336
  * Retrieves a single space by ID.
@@ -308,12 +342,12 @@ declare const getSpace: (spaceId: string, options?: ApiCallOptions) => Promise<G
308
342
  type GetSpaceHttpResponse = {
309
343
  data: Space;
310
344
  headers: Headers;
311
- status: number;
345
+ status: 200;
312
346
  };
313
347
  type GetSpaceHttpError = {
314
348
  data: Errors;
315
349
  headers: Headers;
316
- status: number;
350
+ status: 401 | 404 | 429 | 500;
317
351
  };
318
352
  /**
319
353
  * Updates one or more properties of a space. To update all properties at once, use `PUT /spaces/{spaceId}`.
@@ -326,12 +360,12 @@ declare const patchSpace: (spaceId: string, body: SpacePatch, options?: ApiCallO
326
360
  type PatchSpaceHttpResponse = {
327
361
  data: Space;
328
362
  headers: Headers;
329
- status: number;
363
+ status: 200;
330
364
  };
331
365
  type PatchSpaceHttpError = {
332
366
  data: Errors;
333
367
  headers: Headers;
334
- status: number;
368
+ status: 401 | 403 | 404 | 500;
335
369
  };
336
370
  /**
337
371
  * Updates a space. To update specific properties, use `PATCH /spaces/{spaceId}`.
@@ -344,12 +378,12 @@ declare const updateSpace: (spaceId: string, body: SpaceUpdate, options?: ApiCal
344
378
  type UpdateSpaceHttpResponse = {
345
379
  data: Space;
346
380
  headers: Headers;
347
- status: number;
381
+ status: 200;
348
382
  };
349
383
  type UpdateSpaceHttpError = {
350
384
  data: Errors;
351
385
  headers: Headers;
352
- status: number;
386
+ status: 401 | 403 | 404 | 500;
353
387
  };
354
388
  /**
355
389
  * Retrieves the assignments of the space matching the query. Each assignment represents one user or group and their corresponding roles in the space. Assignments are not shown for the owner of a space, who receive all `assignableRoles` by default.
@@ -373,14 +407,14 @@ declare const getSpaceAssignments: (spaceId: string, query: {
373
407
  type GetSpaceAssignmentsHttpResponse = {
374
408
  data: Assignments;
375
409
  headers: Headers;
376
- status: number;
410
+ status: 200;
377
411
  prev?: (options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
378
412
  next?: (options?: ApiCallOptions) => Promise<GetSpaceAssignmentsHttpResponse>;
379
413
  };
380
414
  type GetSpaceAssignmentsHttpError = {
381
415
  data: Errors;
382
416
  headers: Headers;
383
- status: number;
417
+ status: 401 | 403 | 404 | 500;
384
418
  };
385
419
  /**
386
420
  * Creates an assignment for a user or group (assignee) to a space with the specified roles. Assignments are not required for space owners, who receive all `assignableRoles` by default. Only one assignment can exist per space, per user or group.
@@ -393,12 +427,12 @@ declare const createSpaceAssignment: (spaceId: string, body: AssignmentCreate, o
393
427
  type CreateSpaceAssignmentHttpResponse = {
394
428
  data: Assignment;
395
429
  headers: Headers;
396
- status: number;
430
+ status: 201;
397
431
  };
398
432
  type CreateSpaceAssignmentHttpError = {
399
433
  data: Errors;
400
434
  headers: Headers;
401
- status: number;
435
+ status: 401 | 403 | 404 | 409 | 500;
402
436
  };
403
437
  /**
404
438
  * Deletes an assignment.
@@ -411,12 +445,12 @@ declare const deleteSpaceAssignment: (spaceId: string, assignmentId: string, opt
411
445
  type DeleteSpaceAssignmentHttpResponse = {
412
446
  data: void;
413
447
  headers: Headers;
414
- status: number;
448
+ status: 204;
415
449
  };
416
450
  type DeleteSpaceAssignmentHttpError = {
417
451
  data: Errors;
418
452
  headers: Headers;
419
- status: number;
453
+ status: 401 | 403 | 404 | 500;
420
454
  };
421
455
  /**
422
456
  * Retrieves a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID.
@@ -429,12 +463,12 @@ declare const getSpaceAssignment: (spaceId: string, assignmentId: string, option
429
463
  type GetSpaceAssignmentHttpResponse = {
430
464
  data: Assignment;
431
465
  headers: Headers;
432
- status: number;
466
+ status: 200;
433
467
  };
434
468
  type GetSpaceAssignmentHttpError = {
435
469
  data: Errors;
436
470
  headers: Headers;
437
- status: number;
471
+ status: 401 | 403 | 404 | 500;
438
472
  };
439
473
  /**
440
474
  * Updates a single assignment by assignment ID. Use `GET /spaces/{spaceId}/assignments` to list all users and groups assigned to the space and their assignment ID. The complete list of roles must be provided.
@@ -448,12 +482,12 @@ declare const updateSpaceAssignment: (spaceId: string, assignmentId: string, bod
448
482
  type UpdateSpaceAssignmentHttpResponse = {
449
483
  data: Assignment;
450
484
  headers: Headers;
451
- status: number;
485
+ status: 200;
452
486
  };
453
487
  type UpdateSpaceAssignmentHttpError = {
454
488
  data: Errors;
455
489
  headers: Headers;
456
- status: number;
490
+ status: 401 | 403 | 404 | 500;
457
491
  };
458
492
  /**
459
493
  * Clears the cache for spaces api requests.
@@ -561,4 +595,4 @@ interface SpacesAPI {
561
595
  */
562
596
  declare const spacesExport: SpacesAPI;
563
597
 
564
- 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 };
598
+ 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 Environment, 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, type Variable, clearCache, createSpace, createSpaceAssignment, spacesExport as default, deleteSpace, deleteSpaceAssignment, getSpace, getSpaceAssignment, getSpaceAssignments, getSpaceTypes, getSpaces, patchSpace, updateSpace, updateSpaceAssignment };
package/spaces.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/spaces.ts
@@ -64,12 +64,12 @@ declare const uploadTempFile: (query: {
64
64
  type UploadTempFileHttpResponse = {
65
65
  data: void;
66
66
  headers: Headers;
67
- status: number;
67
+ status: 201;
68
68
  };
69
69
  type UploadTempFileHttpError = {
70
70
  data: Errors;
71
71
  headers: Headers;
72
- status: number;
72
+ status: 400;
73
73
  };
74
74
  /**
75
75
  * This endpoint is used to retrieve a temporary content file. It returns a valid (`200 OK`) in case the file exists and the user is authorized to view the contents. It returns a `410 Gone` if the file has expired and `404 Not Found` if the criteria is not met.
@@ -82,6 +82,7 @@ declare const downloadTempFile: (id: string, query: {
82
82
  /** Set to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser. */
83
83
  inline?: string;
84
84
  }, options?: ApiCallOptions) => Promise<DownloadTempFileHttpResponse>;
85
+ type DownloadTempFileHttpResponse = DownloadTempFile200HttpResponse | DownloadTempFile204HttpResponse | DownloadTempFile206HttpResponse;
85
86
  type DownloadTempFile200HttpResponse = {
86
87
  data: unknown;
87
88
  headers: Headers;
@@ -97,11 +98,10 @@ type DownloadTempFile206HttpResponse = {
97
98
  headers: Headers;
98
99
  status: 206;
99
100
  };
100
- type DownloadTempFileHttpResponse = DownloadTempFile200HttpResponse | DownloadTempFile204HttpResponse | DownloadTempFile206HttpResponse;
101
101
  type DownloadTempFileHttpError = {
102
102
  data: Errors;
103
103
  headers: Headers;
104
- status: number;
104
+ status: 400 | 404 | 410 | 416;
105
105
  };
106
106
  /**
107
107
  * Retrieve a summary of the metadata associated with a temporary content resource. It returns a `200 OK` with a model if the temporary resource is valid. It returns a `410 Gone` if the file has expired and `404 Not Found` if the criteria is not met.
@@ -110,6 +110,7 @@ type DownloadTempFileHttpError = {
110
110
  * @throws GetTempFileDetailsHttpError
111
111
  */
112
112
  declare const getTempFileDetails: (id: string, options?: ApiCallOptions) => Promise<GetTempFileDetailsHttpResponse>;
113
+ type GetTempFileDetailsHttpResponse = GetTempFileDetails200HttpResponse | GetTempFileDetails204HttpResponse;
113
114
  type GetTempFileDetails200HttpResponse = {
114
115
  data: DetailResponse;
115
116
  headers: Headers;
@@ -120,11 +121,10 @@ type GetTempFileDetails204HttpResponse = {
120
121
  headers: Headers;
121
122
  status: 204;
122
123
  };
123
- type GetTempFileDetailsHttpResponse = GetTempFileDetails200HttpResponse | GetTempFileDetails204HttpResponse;
124
124
  type GetTempFileDetailsHttpError = {
125
125
  data: Errors;
126
126
  headers: Headers;
127
- status: number;
127
+ status: 400 | 404 | 410;
128
128
  };
129
129
  /**
130
130
  * Clears the cache for temp-contents api requests.
package/temp-contents.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/AMO5NATA.js";
5
- import "./chunks/UV5COPU3.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/temp-contents.ts