@qlik/api 1.25.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 (84) hide show
  1. package/api-keys.d.ts +12 -12
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +69 -69
  4. package/apps.js +2 -2
  5. package/audits.d.ts +37 -15
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +37 -37
  9. package/automations.js +2 -2
  10. package/brands.d.ts +24 -24
  11. package/brands.js +2 -2
  12. package/chunks/{3DYV7KOJ.js → 2BRBIRM2.js} +2 -2
  13. package/chunks/{7BDAXGID.js → 3RGGGGAR.js} +6 -9
  14. package/chunks/{6DEESTGF.js → 4D5NADHK.js} +4 -4
  15. package/chunks/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
  16. package/chunks/{OIQ5ELGS.js → 55SZVSAG.js} +1 -1
  17. package/chunks/{BL5PJM4B.js → EOGHK2R4.js} +1 -1
  18. package/chunks/{N3ZFICDU.js → MGXEGSJC.js} +3 -3
  19. package/chunks/{I5UOE4ZZ.js → NBW6PHZU.js} +120 -44
  20. package/chunks/{6QRR5VUM.js → QOOCP2TS.js} +4 -3
  21. package/chunks/{CZC7KEJN.js → V3TZ54UE.js} +3 -3
  22. package/chunks/{UA6BE3VB.js → WY7IOA3Q.js} +2 -2
  23. package/collections.d.ts +23 -23
  24. package/collections.js +2 -2
  25. package/csp-origins.d.ts +25 -25
  26. package/csp-origins.js +2 -2
  27. package/data-assets.d.ts +12 -12
  28. package/data-assets.js +2 -2
  29. package/data-connections.d.ts +19 -19
  30. package/data-connections.js +2 -2
  31. package/data-credentials.d.ts +11 -11
  32. package/data-credentials.js +2 -2
  33. package/data-files.d.ts +25 -25
  34. package/data-files.js +2 -2
  35. package/docs/authentication.md +1 -1
  36. package/docs/qix.md +28 -8
  37. package/extensions.d.ts +12 -12
  38. package/extensions.js +2 -2
  39. package/glossaries.d.ts +49 -49
  40. package/glossaries.js +2 -2
  41. package/groups.d.ts +17 -17
  42. package/groups.js +2 -2
  43. package/identity-providers.d.ts +43 -18
  44. package/identity-providers.js +2 -2
  45. package/index.d.ts +1 -1
  46. package/index.js +5 -5
  47. package/interceptors.d.ts +1 -1
  48. package/interceptors.js +1 -1
  49. package/{invoke-fetch-types-BLrpeZOL.d.ts → invoke-fetch-types-BXn-uSF5.d.ts} +27 -1
  50. package/items.d.ts +17 -17
  51. package/items.js +2 -2
  52. package/licenses.d.ts +19 -19
  53. package/licenses.js +2 -2
  54. package/package.json +3 -3
  55. package/qix.d.ts +2 -2
  56. package/qix.js +2 -2
  57. package/quotas.d.ts +5 -5
  58. package/quotas.js +2 -2
  59. package/reload-tasks.d.ts +11 -11
  60. package/reload-tasks.js +2 -2
  61. package/reloads.d.ts +9 -9
  62. package/reloads.js +2 -2
  63. package/reports.d.ts +13 -11
  64. package/reports.js +2 -2
  65. package/roles.d.ts +12 -12
  66. package/roles.js +2 -2
  67. package/spaces.d.ts +60 -26
  68. package/spaces.js +2 -2
  69. package/temp-contents.d.ts +7 -7
  70. package/temp-contents.js +2 -2
  71. package/tenants.d.ts +10 -10
  72. package/tenants.js +2 -2
  73. package/themes.d.ts +12 -12
  74. package/themes.js +2 -2
  75. package/transports.d.ts +18 -18
  76. package/transports.js +2 -2
  77. package/users.d.ts +20 -20
  78. package/users.js +2 -2
  79. package/web-integrations.d.ts +10 -10
  80. package/web-integrations.js +2 -2
  81. package/web-notifications.d.ts +13 -13
  82. package/web-notifications.js +2 -2
  83. package/webhooks.d.ts +21 -21
  84. package/webhooks.js +2 -2
package/audits.d.ts CHANGED
@@ -1,6 +1,28 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
+ type ArchiveItem = {
5
+ /** The type that content is encoded in, always "application/json". */
6
+ contentType?: string;
7
+ /** Additional information about the event's details. The structure depends on the type and version of the event. */
8
+ data?: unknown;
9
+ /** The event's unique identifier. */
10
+ eventId?: string;
11
+ /** The RFC3339 datetime when the event happened. */
12
+ eventTime?: string;
13
+ /** The type of event that describes committed action. */
14
+ eventType?: string;
15
+ /** The version of the event type. */
16
+ eventTypeVersion?: string;
17
+ /** The availability of the properties depends on the event and the context it was triggered in. */
18
+ extensions?: EventExtensions;
19
+ /** The source of the event message, usually the producing service. */
20
+ source?: string;
21
+ /** The ID of the tenant that owns the item. This is populated using the JWT. */
22
+ tenantId?: string;
23
+ /** The ID of the user who performed the action that triggered the event. */
24
+ userId?: string;
25
+ };
4
26
  type ErrorResponse = {
5
27
  errors?: {
6
28
  code?: string;
@@ -31,7 +53,7 @@ type EventExtensions = {
31
53
  };
32
54
  type GetArchiveResult = {
33
55
  /** List of archived events. The structure of the events depend on their type and version. */
34
- data?: unknown[];
56
+ data?: ArchiveItem[];
35
57
  };
36
58
  type GetByIDResult = {
37
59
  /** The type that content is encoded in, always "application/json". */
@@ -117,14 +139,14 @@ declare const getAudits: (query: {
117
139
  type GetAuditsHttpResponse = {
118
140
  data: GetResult;
119
141
  headers: Headers;
120
- status: number;
142
+ status: 200;
121
143
  prev?: (options?: ApiCallOptions) => Promise<GetAuditsHttpResponse>;
122
144
  next?: (options?: ApiCallOptions) => Promise<GetAuditsHttpResponse>;
123
145
  };
124
146
  type GetAuditsHttpError = {
125
147
  data: ErrorResponse;
126
148
  headers: Headers;
127
- status: number;
149
+ status: 400 | 401 | 500;
128
150
  };
129
151
  /**
130
152
  * Retrieves audit events from long term storage. Finds and returns audit events from the archive, formatted as a JSON array, for the given date and tenant (in JWT). Archived events are not removed.
@@ -139,12 +161,12 @@ declare const getArchivedAudits: (query: {
139
161
  type GetArchivedAuditsHttpResponse = {
140
162
  data: GetArchiveResult;
141
163
  headers: Headers;
142
- status: number;
164
+ status: 200;
143
165
  };
144
166
  type GetArchivedAuditsHttpError = {
145
167
  data: ErrorResponse;
146
168
  headers: Headers;
147
- status: number;
169
+ status: 400 | 401 | 404 | 500;
148
170
  };
149
171
  /**
150
172
  * Returns the server configuration options. It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
@@ -155,12 +177,12 @@ declare const getAuditsSettings: (options?: ApiCallOptions) => Promise<GetAudits
155
177
  type GetAuditsSettingsHttpResponse = {
156
178
  data: GetSettingsResult;
157
179
  headers: Headers;
158
- status: number;
180
+ status: 200;
159
181
  };
160
182
  type GetAuditsSettingsHttpError = {
161
183
  data: ErrorResponse;
162
184
  headers: Headers;
163
- status: number;
185
+ status: 401 | 500;
164
186
  };
165
187
  /**
166
188
  * Finds and returns the list of possible event sources for this tenant.
@@ -171,14 +193,14 @@ declare const getAuditSources: (options?: ApiCallOptions) => Promise<GetAuditSou
171
193
  type GetAuditSourcesHttpResponse = {
172
194
  data: GetObjectsResult;
173
195
  headers: Headers;
174
- status: number;
196
+ status: 200;
175
197
  prev?: (options?: ApiCallOptions) => Promise<GetAuditSourcesHttpResponse>;
176
198
  next?: (options?: ApiCallOptions) => Promise<GetAuditSourcesHttpResponse>;
177
199
  };
178
200
  type GetAuditSourcesHttpError = {
179
201
  data: ErrorResponse;
180
202
  headers: Headers;
181
- status: number;
203
+ status: 401 | 500;
182
204
  };
183
205
  /**
184
206
  * Finds and returns the list of possible event types for this tenant.
@@ -189,14 +211,14 @@ declare const getAuditTypes: (options?: ApiCallOptions) => Promise<GetAuditTypes
189
211
  type GetAuditTypesHttpResponse = {
190
212
  data: GetObjectsResult;
191
213
  headers: Headers;
192
- status: number;
214
+ status: 200;
193
215
  prev?: (options?: ApiCallOptions) => Promise<GetAuditTypesHttpResponse>;
194
216
  next?: (options?: ApiCallOptions) => Promise<GetAuditTypesHttpResponse>;
195
217
  };
196
218
  type GetAuditTypesHttpError = {
197
219
  data: ErrorResponse;
198
220
  headers: Headers;
199
- status: number;
221
+ status: 401 | 500;
200
222
  };
201
223
  /**
202
224
  * Finds and returns a specific audit events for the given event ID.
@@ -208,12 +230,12 @@ declare const getAudit: (id: string, options?: ApiCallOptions) => Promise<GetAud
208
230
  type GetAuditHttpResponse = {
209
231
  data: GetByIDResult;
210
232
  headers: Headers;
211
- status: number;
233
+ status: 200;
212
234
  };
213
235
  type GetAuditHttpError = {
214
236
  data: ErrorResponse;
215
237
  headers: Headers;
216
- status: number;
238
+ status: 400 | 401 | 404 | 500;
217
239
  };
218
240
  /**
219
241
  * Clears the cache for audits api requests.
@@ -269,4 +291,4 @@ interface AuditsAPI {
269
291
  */
270
292
  declare const auditsExport: AuditsAPI;
271
293
 
272
- export { type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
294
+ export { type ArchiveItem, type AuditsAPI, type ErrorResponse, type EventExtensions, type GetArchiveResult, type GetArchivedAuditsHttpError, type GetArchivedAuditsHttpResponse, type GetAuditHttpError, type GetAuditHttpResponse, type GetAuditSourcesHttpError, type GetAuditSourcesHttpResponse, type GetAuditTypesHttpError, type GetAuditTypesHttpResponse, type GetAuditsHttpError, type GetAuditsHttpResponse, type GetAuditsSettingsHttpError, type GetAuditsSettingsHttpResponse, type GetByIDResult, type GetLinks, type GetObjectsResult, type GetResult, type GetSettingsResult, type Href, type ListLinks, clearCache, auditsExport as default, getArchivedAudits, getAudit, getAuditSources, getAuditTypes, getAudits, getAuditsSettings };
package/audits.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/audits.ts
package/auth.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  logout,
5
5
  registerAuthModule,
6
6
  setDefaultHostConfig
7
- } from "./chunks/BL5PJM4B.js";
8
- import "./chunks/CZC7KEJN.js";
7
+ } from "./chunks/EOGHK2R4.js";
8
+ import "./chunks/V3TZ54UE.js";
9
9
  export {
10
10
  auth_default as default,
11
11
  getAccessToken,
package/automations.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type AutomationDetailRequestObject = {
@@ -206,14 +206,14 @@ declare const getAutomations: (query: {
206
206
  type GetAutomationsHttpResponse = {
207
207
  data: AutomationList;
208
208
  headers: Headers;
209
- status: number;
209
+ status: 200;
210
210
  prev?: (options?: ApiCallOptions) => Promise<GetAutomationsHttpResponse>;
211
211
  next?: (options?: ApiCallOptions) => Promise<GetAutomationsHttpResponse>;
212
212
  };
213
213
  type GetAutomationsHttpError = {
214
214
  data: ErrorResponse;
215
215
  headers: Headers;
216
- status: number;
216
+ status: 400 | 401 | 403 | 500 | 503;
217
217
  };
218
218
  /**
219
219
  * Create an automation
@@ -225,12 +225,12 @@ declare const createAutomation: (body: AutomationDetailRequestObject, options?:
225
225
  type CreateAutomationHttpResponse = {
226
226
  data: AutomationDetailResponseObject;
227
227
  headers: Headers;
228
- status: number;
228
+ status: 201;
229
229
  };
230
230
  type CreateAutomationHttpError = {
231
231
  data: ErrorResponse;
232
232
  headers: Headers;
233
- status: number;
233
+ status: 400 | 401 | 403 | 500 | 503;
234
234
  };
235
235
  /**
236
236
  * Retrieves all automation usage for a tenant
@@ -247,14 +247,14 @@ declare const getAutomationsUsageMetrics: (query: {
247
247
  type GetAutomationsUsageMetricsHttpResponse = {
248
248
  data: UsageList;
249
249
  headers: Headers;
250
- status: number;
250
+ status: 200;
251
251
  prev?: (options?: ApiCallOptions) => Promise<GetAutomationsUsageMetricsHttpResponse>;
252
252
  next?: (options?: ApiCallOptions) => Promise<GetAutomationsUsageMetricsHttpResponse>;
253
253
  };
254
254
  type GetAutomationsUsageMetricsHttpError = {
255
255
  data: ErrorResponse;
256
256
  headers: Headers;
257
- status: number;
257
+ status: 400 | 401 | 403 | 500 | 503;
258
258
  };
259
259
  /**
260
260
  * Delete an automation
@@ -266,12 +266,12 @@ declare const deleteAutomation: (id: string, options?: ApiCallOptions) => Promis
266
266
  type DeleteAutomationHttpResponse = {
267
267
  data: void;
268
268
  headers: Headers;
269
- status: number;
269
+ status: 204;
270
270
  };
271
271
  type DeleteAutomationHttpError = {
272
272
  data: ErrorResponse;
273
273
  headers: Headers;
274
- status: number;
274
+ status: 401 | 403 | 404 | 500 | 503;
275
275
  };
276
276
  /**
277
277
  * Retrieves an automation
@@ -287,12 +287,12 @@ declare const getAutomationWithQuery: (id: string, query: {
287
287
  type GetAutomationWithQueryHttpResponse = {
288
288
  data: AutomationDetailResponseObject;
289
289
  headers: Headers;
290
- status: number;
290
+ status: 200;
291
291
  };
292
292
  type GetAutomationWithQueryHttpError = {
293
293
  data: ErrorResponse;
294
294
  headers: Headers;
295
- status: number;
295
+ status: 400 | 401 | 403 | 404 | 500 | 503;
296
296
  };
297
297
  /**
298
298
  * Retrieves an automation
@@ -304,12 +304,12 @@ declare const getAutomation: (id: string, options?: ApiCallOptions) => Promise<G
304
304
  type GetAutomationHttpResponse = {
305
305
  data: AutomationDetailResponseObject;
306
306
  headers: Headers;
307
- status: number;
307
+ status: 200;
308
308
  };
309
309
  type GetAutomationHttpError = {
310
310
  data: ErrorResponse;
311
311
  headers: Headers;
312
- status: number;
312
+ status: 400 | 401 | 403 | 404 | 500 | 503;
313
313
  };
314
314
  /**
315
315
  * Update an automation
@@ -322,12 +322,12 @@ declare const updateAutomation: (id: string, body: AutomationDetailRequestObject
322
322
  type UpdateAutomationHttpResponse = {
323
323
  data: AutomationDetailResponseObject;
324
324
  headers: Headers;
325
- status: number;
325
+ status: 200;
326
326
  };
327
327
  type UpdateAutomationHttpError = {
328
328
  data: ErrorResponse;
329
329
  headers: Headers;
330
- status: number;
330
+ status: 400 | 401 | 403 | 404 | 500 | 503;
331
331
  };
332
332
  /**
333
333
  * Copy an automation.
@@ -346,12 +346,12 @@ type CopyAutomationHttpResponse = {
346
346
  id?: string;
347
347
  };
348
348
  headers: Headers;
349
- status: number;
349
+ status: 201;
350
350
  };
351
351
  type CopyAutomationHttpError = {
352
352
  data: ErrorResponse;
353
353
  headers: Headers;
354
- status: number;
354
+ status: 400 | 401 | 403 | 404 | 500 | 503;
355
355
  };
356
356
  /**
357
357
  * Disables an automation.
@@ -363,12 +363,12 @@ declare const disableAutomation: (id: string, options?: ApiCallOptions) => Promi
363
363
  type DisableAutomationHttpResponse = {
364
364
  data: void;
365
365
  headers: Headers;
366
- status: number;
366
+ status: 204;
367
367
  };
368
368
  type DisableAutomationHttpError = {
369
369
  data: ErrorResponse;
370
370
  headers: Headers;
371
- status: number;
371
+ status: 400 | 401 | 403 | 404 | 500 | 503;
372
372
  };
373
373
  /**
374
374
  * Enable an automation.
@@ -380,12 +380,12 @@ declare const enableAutomation: (id: string, options?: ApiCallOptions) => Promis
380
380
  type EnableAutomationHttpResponse = {
381
381
  data: void;
382
382
  headers: Headers;
383
- status: number;
383
+ status: 204;
384
384
  };
385
385
  type EnableAutomationHttpError = {
386
386
  data: ErrorResponse;
387
387
  headers: Headers;
388
- status: number;
388
+ status: 400 | 401 | 403 | 404 | 500 | 503;
389
389
  };
390
390
  /**
391
391
  * This step will remove the history and change logs of this automation. All linked connections used inside an automation will be detached.
@@ -400,12 +400,12 @@ declare const moveAutomation: (id: string, body: {
400
400
  type MoveAutomationHttpResponse = {
401
401
  data: void;
402
402
  headers: Headers;
403
- status: number;
403
+ status: 204;
404
404
  };
405
405
  type MoveAutomationHttpError = {
406
406
  data: ErrorResponse;
407
407
  headers: Headers;
408
- status: number;
408
+ status: 400 | 401 | 403 | 404 | 500 | 503;
409
409
  };
410
410
  /**
411
411
  * Retrieves a list of runs for a specific automation.
@@ -427,14 +427,14 @@ declare const getAutomationRuns: (id: string, query: {
427
427
  type GetAutomationRunsHttpResponse = {
428
428
  data: RunList;
429
429
  headers: Headers;
430
- status: number;
430
+ status: 200;
431
431
  prev?: (options?: ApiCallOptions) => Promise<GetAutomationRunsHttpResponse>;
432
432
  next?: (options?: ApiCallOptions) => Promise<GetAutomationRunsHttpResponse>;
433
433
  };
434
434
  type GetAutomationRunsHttpError = {
435
435
  data: ErrorResponse;
436
436
  headers: Headers;
437
- status: number;
437
+ status: 400 | 401 | 403 | 404 | 500 | 503;
438
438
  };
439
439
  /**
440
440
  * Create a run
@@ -447,12 +447,12 @@ declare const queueAutomationRun: (id: string, body: RunDetailRequestObject, opt
447
447
  type QueueAutomationRunHttpResponse = {
448
448
  data: RunDetailResponseObject;
449
449
  headers: Headers;
450
- status: number;
450
+ status: 201;
451
451
  };
452
452
  type QueueAutomationRunHttpError = {
453
453
  data: ErrorResponse;
454
454
  headers: Headers;
455
- status: number;
455
+ status: 400 | 401 | 403 | 404 | 500 | 503;
456
456
  };
457
457
  /**
458
458
  * Retrieves a run
@@ -469,12 +469,12 @@ declare const getAutomationRunWithQuery: (id: string, runId: string, query: {
469
469
  type GetAutomationRunWithQueryHttpResponse = {
470
470
  data: RunDetailResponseObject;
471
471
  headers: Headers;
472
- status: number;
472
+ status: 200;
473
473
  };
474
474
  type GetAutomationRunWithQueryHttpError = {
475
475
  data: ErrorResponse;
476
476
  headers: Headers;
477
- status: number;
477
+ status: 400 | 401 | 403 | 404 | 500 | 503;
478
478
  };
479
479
  /**
480
480
  * Retrieves a run
@@ -487,12 +487,12 @@ declare const getAutomationRun: (id: string, runId: string, options?: ApiCallOpt
487
487
  type GetAutomationRunHttpResponse = {
488
488
  data: RunDetailResponseObject;
489
489
  headers: Headers;
490
- status: number;
490
+ status: 200;
491
491
  };
492
492
  type GetAutomationRunHttpError = {
493
493
  data: ErrorResponse;
494
494
  headers: Headers;
495
- status: number;
495
+ status: 400 | 401 | 403 | 404 | 500 | 503;
496
496
  };
497
497
  /**
498
498
  * Creates a temporary pre-signed AWS S3 URL to download the raw logs of a completed run. This URL is valid for 5 minutes.
@@ -507,12 +507,12 @@ type GetAutomationRunDetailsHttpResponse = {
507
507
  url?: string;
508
508
  };
509
509
  headers: Headers;
510
- status: number;
510
+ status: 200;
511
511
  };
512
512
  type GetAutomationRunDetailsHttpError = {
513
513
  data: ErrorResponse;
514
514
  headers: Headers;
515
- status: number;
515
+ status: 400 | 401 | 403 | 404 | 500 | 503;
516
516
  };
517
517
  /**
518
518
  * This action allows you to retry a specific run by creating a new run using the same inputs.
@@ -525,12 +525,12 @@ declare const retryAutomationRun: (id: string, runId: string, options?: ApiCallO
525
525
  type RetryAutomationRunHttpResponse = {
526
526
  data: void;
527
527
  headers: Headers;
528
- status: number;
528
+ status: 204;
529
529
  };
530
530
  type RetryAutomationRunHttpError = {
531
531
  data: ErrorResponse;
532
532
  headers: Headers;
533
- status: number;
533
+ status: 400 | 401 | 403 | 404 | 500 | 503;
534
534
  };
535
535
  /**
536
536
  * Force a run to be stopped immediately.
@@ -543,12 +543,12 @@ declare const stopAutomationRun: (id: string, runId: string, options?: ApiCallOp
543
543
  type StopAutomationRunHttpResponse = {
544
544
  data: void;
545
545
  headers: Headers;
546
- status: number;
546
+ status: 204;
547
547
  };
548
548
  type StopAutomationRunHttpError = {
549
549
  data: ErrorResponse;
550
550
  headers: Headers;
551
- status: number;
551
+ status: 400 | 401 | 403 | 404 | 500 | 503;
552
552
  };
553
553
  /**
554
554
  * Clears the cache for automations api requests.
package/automations.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/automations.ts
package/brands.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions, D as DownloadableBlob } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
@@ -118,10 +118,11 @@ declare const getBrands: (query: {
118
118
  type GetBrandsHttpResponse = {
119
119
  data: BrandsList;
120
120
  headers: Headers;
121
- status: number;
121
+ status: 200;
122
122
  prev?: (options?: ApiCallOptions) => Promise<GetBrandsHttpResponse>;
123
123
  next?: (options?: ApiCallOptions) => Promise<GetBrandsHttpResponse>;
124
124
  };
125
+ type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
125
126
  type GetBrands400HttpError = {
126
127
  data: ErrorResponse400;
127
128
  headers: Headers;
@@ -142,7 +143,6 @@ type GetBrands500HttpError = {
142
143
  headers: Headers;
143
144
  status: 500;
144
145
  };
145
- type GetBrandsHttpError = GetBrands400HttpError | GetBrands401HttpError | GetBrands403HttpError | GetBrands500HttpError;
146
146
  /**
147
147
  * Creates a new brand.
148
148
  *
@@ -164,8 +164,9 @@ declare const createBrand: (body: {
164
164
  type CreateBrandHttpResponse = {
165
165
  data: Brand;
166
166
  headers: Headers;
167
- status: number;
167
+ status: 201;
168
168
  };
169
+ type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
169
170
  type CreateBrand400HttpError = {
170
171
  data: ErrorResponse400;
171
172
  headers: Headers;
@@ -186,7 +187,6 @@ type CreateBrand500HttpError = {
186
187
  headers: Headers;
187
188
  status: 500;
188
189
  };
189
- type CreateBrandHttpError = CreateBrand400HttpError | CreateBrand401HttpError | CreateBrand403HttpError | CreateBrand500HttpError;
190
190
  /**
191
191
  * Returns the current active brand. If using the Qlik default brand, no value is returned.
192
192
  *
@@ -196,7 +196,7 @@ declare const getActiveBrand: (options?: ApiCallOptions) => Promise<GetActiveBra
196
196
  type GetActiveBrandHttpResponse = {
197
197
  data: Brand | NoActiveBrand;
198
198
  headers: Headers;
199
- status: number;
199
+ status: 200;
200
200
  };
201
201
  type GetActiveBrandHttpError = {
202
202
  data: unknown;
@@ -213,8 +213,9 @@ declare const deleteBrand: (brandId: string, options?: ApiCallOptions) => Promis
213
213
  type DeleteBrandHttpResponse = {
214
214
  data: void;
215
215
  headers: Headers;
216
- status: number;
216
+ status: 204;
217
217
  };
218
+ type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
218
219
  type DeleteBrand400HttpError = {
219
220
  data: ErrorResponse400;
220
221
  headers: Headers;
@@ -240,7 +241,6 @@ type DeleteBrand500HttpError = {
240
241
  headers: Headers;
241
242
  status: 500;
242
243
  };
243
- type DeleteBrandHttpError = DeleteBrand400HttpError | DeleteBrand401HttpError | DeleteBrand403HttpError | DeleteBrand404HttpError | DeleteBrand500HttpError;
244
244
  /**
245
245
  * Returns a specific brand.
246
246
  *
@@ -251,8 +251,9 @@ declare const getBrand: (brandId: string, options?: ApiCallOptions) => Promise<G
251
251
  type GetBrandHttpResponse = {
252
252
  data: Brand;
253
253
  headers: Headers;
254
- status: number;
254
+ status: 200;
255
255
  };
256
+ type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
256
257
  type GetBrand400HttpError = {
257
258
  data: ErrorResponse400;
258
259
  headers: Headers;
@@ -278,7 +279,6 @@ type GetBrand500HttpError = {
278
279
  headers: Headers;
279
280
  status: 500;
280
281
  };
281
- type GetBrandHttpError = GetBrand400HttpError | GetBrand401HttpError | GetBrand403HttpError | GetBrand404HttpError | GetBrand500HttpError;
282
282
  /**
283
283
  * Patches a brand.
284
284
  *
@@ -290,8 +290,9 @@ declare const patchBrand: (brandId: string, body: BrandPatch[], options?: ApiCal
290
290
  type PatchBrandHttpResponse = {
291
291
  data: void;
292
292
  headers: Headers;
293
- status: number;
293
+ status: 204;
294
294
  };
295
+ type PatchBrandHttpError = PatchBrand400HttpError | PatchBrand401HttpError | PatchBrand403HttpError | PatchBrand404HttpError | PatchBrand500HttpError;
295
296
  type PatchBrand400HttpError = {
296
297
  data: ErrorResponse400;
297
298
  headers: Headers;
@@ -317,7 +318,6 @@ type PatchBrand500HttpError = {
317
318
  headers: Headers;
318
319
  status: 500;
319
320
  };
320
- type PatchBrandHttpError = PatchBrand400HttpError | PatchBrand401HttpError | PatchBrand403HttpError | PatchBrand404HttpError | PatchBrand500HttpError;
321
321
  /**
322
322
  * Sets the brand active and de-activates any other active brand. If the brand is already active, no action is taken.
323
323
  *
@@ -329,8 +329,9 @@ declare const activateBrand: (brandId: string, body: unknown, options?: ApiCallO
329
329
  type ActivateBrandHttpResponse = {
330
330
  data: Brand;
331
331
  headers: Headers;
332
- status: number;
332
+ status: 200;
333
333
  };
334
+ type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
334
335
  type ActivateBrand400HttpError = {
335
336
  data: ErrorResponse400;
336
337
  headers: Headers;
@@ -356,7 +357,6 @@ type ActivateBrand500HttpError = {
356
357
  headers: Headers;
357
358
  status: 500;
358
359
  };
359
- type ActivateBrandHttpError = ActivateBrand400HttpError | ActivateBrand401HttpError | ActivateBrand403HttpError | ActivateBrand404HttpError | ActivateBrand500HttpError;
360
360
  /**
361
361
  * Sets the brand so it is no longer active, returning the tenant the Qlik default brand. If the brand is already inactive, no action is taken.
362
362
  *
@@ -368,8 +368,9 @@ declare const deactivateBrand: (brandId: string, body: unknown, options?: ApiCal
368
368
  type DeactivateBrandHttpResponse = {
369
369
  data: Brand;
370
370
  headers: Headers;
371
- status: number;
371
+ status: 200;
372
372
  };
373
+ type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
373
374
  type DeactivateBrand400HttpError = {
374
375
  data: ErrorResponse400;
375
376
  headers: Headers;
@@ -395,7 +396,6 @@ type DeactivateBrand500HttpError = {
395
396
  headers: Headers;
396
397
  status: 500;
397
398
  };
398
- type DeactivateBrandHttpError = DeactivateBrand400HttpError | DeactivateBrand401HttpError | DeactivateBrand403HttpError | DeactivateBrand404HttpError | DeactivateBrand500HttpError;
399
399
  /**
400
400
  * Deletes the specified brand file.
401
401
  *
@@ -407,8 +407,9 @@ declare const deleteBrandFile: (brandId: string, brandFileId: string, options?:
407
407
  type DeleteBrandFileHttpResponse = {
408
408
  data: void;
409
409
  headers: Headers;
410
- status: number;
410
+ status: 204;
411
411
  };
412
+ type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
412
413
  type DeleteBrandFile400HttpError = {
413
414
  data: ErrorResponse400;
414
415
  headers: Headers;
@@ -434,7 +435,6 @@ type DeleteBrandFile500HttpError = {
434
435
  headers: Headers;
435
436
  status: 500;
436
437
  };
437
- type DeleteBrandFileHttpError = DeleteBrandFile400HttpError | DeleteBrandFile401HttpError | DeleteBrandFile403HttpError | DeleteBrandFile404HttpError | DeleteBrandFile500HttpError;
438
438
  /**
439
439
  * Downloads the specified brand file.
440
440
  *
@@ -446,8 +446,9 @@ declare const getBrandFile: (brandId: string, brandFileId: string, options?: Api
446
446
  type GetBrandFileHttpResponse = {
447
447
  data: DownloadableBlob;
448
448
  headers: Headers;
449
- status: number;
449
+ status: 200;
450
450
  };
451
+ type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
451
452
  type GetBrandFile400HttpError = {
452
453
  data: ErrorResponse400;
453
454
  headers: Headers;
@@ -473,7 +474,6 @@ type GetBrandFile500HttpError = {
473
474
  headers: Headers;
474
475
  status: 500;
475
476
  };
476
- type GetBrandFileHttpError = GetBrandFile400HttpError | GetBrandFile401HttpError | GetBrandFile403HttpError | GetBrandFile404HttpError | GetBrandFile500HttpError;
477
477
  /**
478
478
  * Creates a brand file for the specified identifier.
479
479
  *
@@ -489,8 +489,9 @@ declare const createBrandFile: (brandId: string, brandFileId: string, body: {
489
489
  type CreateBrandFileHttpResponse = {
490
490
  data: BrandFile;
491
491
  headers: Headers;
492
- status: number;
492
+ status: 201;
493
493
  };
494
+ type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
494
495
  type CreateBrandFile400HttpError = {
495
496
  data: ErrorResponse400;
496
497
  headers: Headers;
@@ -516,7 +517,6 @@ type CreateBrandFile500HttpError = {
516
517
  headers: Headers;
517
518
  status: 500;
518
519
  };
519
- type CreateBrandFileHttpError = CreateBrandFile400HttpError | CreateBrandFile401HttpError | CreateBrandFile403HttpError | CreateBrandFile404HttpError | CreateBrandFile500HttpError;
520
520
  /**
521
521
  * Updates the specified brand file.
522
522
  *
@@ -532,8 +532,9 @@ declare const updateBrandFile: (brandId: string, brandFileId: string, body: {
532
532
  type UpdateBrandFileHttpResponse = {
533
533
  data: BrandFile;
534
534
  headers: Headers;
535
- status: number;
535
+ status: 200;
536
536
  };
537
+ type UpdateBrandFileHttpError = UpdateBrandFile400HttpError | UpdateBrandFile401HttpError | UpdateBrandFile403HttpError | UpdateBrandFile404HttpError | UpdateBrandFile500HttpError;
537
538
  type UpdateBrandFile400HttpError = {
538
539
  data: ErrorResponse400;
539
540
  headers: Headers;
@@ -559,7 +560,6 @@ type UpdateBrandFile500HttpError = {
559
560
  headers: Headers;
560
561
  status: 500;
561
562
  };
562
- type UpdateBrandFileHttpError = UpdateBrandFile400HttpError | UpdateBrandFile401HttpError | UpdateBrandFile403HttpError | UpdateBrandFile404HttpError | UpdateBrandFile500HttpError;
563
563
  /**
564
564
  * Clears the cache for brands api requests.
565
565
  */
package/brands.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/brands.ts