@qlik/api 2.4.1 → 2.5.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 (170) hide show
  1. package/analytics/change-stores.d.ts +1 -4
  2. package/analytics/change-stores.js +2 -2
  3. package/analytics.d.ts +0 -1
  4. package/analytics.js +2 -2
  5. package/api-keys.d.ts +1 -3
  6. package/api-keys.js +2 -2
  7. package/apps.d.ts +1 -3
  8. package/apps.js +2 -2
  9. package/assistants.d.ts +35 -37
  10. package/assistants.js +2 -2
  11. package/audits.d.ts +1 -3
  12. package/audits.js +2 -2
  13. package/auth-types.d.ts +1 -110
  14. package/auth.d.ts +1 -1
  15. package/auth.js +1 -1
  16. package/automation-connections.d.ts +6 -7
  17. package/automation-connections.js +3 -3
  18. package/automation-connectors.d.ts +9 -7
  19. package/automation-connectors.js +2 -2
  20. package/automations.d.ts +144 -125
  21. package/automations.js +41 -26
  22. package/automl-deployments.d.ts +1 -3
  23. package/automl-deployments.js +2 -2
  24. package/automl-predictions.d.ts +1 -3
  25. package/automl-predictions.js +2 -2
  26. package/banners.d.ts +1 -3
  27. package/banners.js +2 -2
  28. package/brands.d.ts +1 -3
  29. package/brands.js +2 -2
  30. package/chunks/{auth-B8lJw7rm.js → auth-Cfg2Smt8.js} +1 -1
  31. package/chunks/auth-types-DVvka7Hz.d.ts +385 -0
  32. package/chunks/{boot-interceptors-DqRxTczb.js → interceptors-DMiDeqEz.js} +178 -52
  33. package/chunks/{invoke-fetch-pMN6iqup.js → invoke-fetch-CwBXAsw4.js} +1 -1
  34. package/chunks/{invoke-fetch-DMAi6Fg3.js → invoke-fetch-DxtIsSVQ.js} +3 -3
  35. package/chunks/{public-runtime-modules-2KfyI2qM.js → public-runtime-modules-mBjjPn7I.js} +5 -5
  36. package/chunks/{qix-BdNrIA4s.js → qix-BPCl6Bmh.js} +5 -5
  37. package/chunks/{qix-types-Bjha7sch.d.ts → qix-CJntvLix.d.ts} +46 -3
  38. package/chunks/{qix-chunk-entrypoint-L9RpWwLK.js → qix-chunk-entrypoint-CyQYGyl2.js} +16 -3
  39. package/collections.d.ts +2 -5
  40. package/collections.js +3 -4
  41. package/conditions.d.ts +1 -3
  42. package/conditions.js +2 -2
  43. package/consumption.d.ts +1 -3
  44. package/consumption.js +2 -2
  45. package/core/ip-policies.d.ts +1 -4
  46. package/core/ip-policies.js +2 -2
  47. package/core.d.ts +0 -1
  48. package/core.js +2 -2
  49. package/csp-origins.d.ts +1 -3
  50. package/csp-origins.js +2 -2
  51. package/csrf-token.d.ts +1 -3
  52. package/csrf-token.js +2 -2
  53. package/data-alerts.d.ts +1 -3
  54. package/data-alerts.js +2 -2
  55. package/data-assets.d.ts +1 -3
  56. package/data-assets.js +2 -2
  57. package/data-connections.d.ts +1 -3
  58. package/data-connections.js +2 -2
  59. package/data-credentials.d.ts +1 -3
  60. package/data-credentials.js +2 -2
  61. package/data-files.d.ts +1 -3
  62. package/data-files.js +2 -2
  63. package/data-governance/data-products.d.ts +1 -4
  64. package/data-governance/data-products.js +2 -2
  65. package/data-governance.d.ts +0 -1
  66. package/data-governance.js +2 -2
  67. package/data-qualities.d.ts +1 -3
  68. package/data-qualities.js +2 -2
  69. package/data-sets.d.ts +1 -3
  70. package/data-sets.js +2 -2
  71. package/data-sources.d.ts +1 -3
  72. package/data-sources.js +2 -2
  73. package/data-stores.d.ts +1 -3
  74. package/data-stores.js +2 -2
  75. package/dcaas.d.ts +1 -3
  76. package/dcaas.js +2 -2
  77. package/di-projects.d.ts +28 -8
  78. package/di-projects.js +2 -2
  79. package/direct-access-agents.d.ts +1 -3
  80. package/direct-access-agents.js +2 -2
  81. package/encryption.d.ts +1 -3
  82. package/encryption.js +2 -2
  83. package/extensions.d.ts +1 -3
  84. package/extensions.js +2 -2
  85. package/global-types.d.ts +2 -140
  86. package/glossaries.d.ts +1 -3
  87. package/glossaries.js +2 -2
  88. package/groups.d.ts +1 -3
  89. package/groups.js +2 -2
  90. package/identity-providers.d.ts +1 -3
  91. package/identity-providers.js +2 -2
  92. package/index.d.ts +18 -5
  93. package/index.js +63 -6
  94. package/interceptors.d.ts +1 -3
  95. package/interceptors.js +1 -103
  96. package/invoke-fetch-types.d.ts +1 -97
  97. package/items.d.ts +1 -3
  98. package/items.js +2 -2
  99. package/knowledgebases.d.ts +27 -50
  100. package/knowledgebases.js +2 -2
  101. package/licenses.d.ts +1 -3
  102. package/licenses.js +2 -2
  103. package/lineage-graphs.d.ts +1 -3
  104. package/lineage-graphs.js +2 -2
  105. package/ml.d.ts +1 -3
  106. package/ml.js +2 -2
  107. package/notes.d.ts +9 -3
  108. package/notes.js +6 -2
  109. package/notifications.d.ts +1 -3
  110. package/notifications.js +2 -2
  111. package/oauth-clients.d.ts +1 -3
  112. package/oauth-clients.js +2 -2
  113. package/oauth-tokens.d.ts +1 -3
  114. package/oauth-tokens.js +2 -2
  115. package/package.json +6 -2
  116. package/qix.d.ts +1 -47
  117. package/qix.js +1 -1
  118. package/questions.d.ts +1 -3
  119. package/questions.js +2 -2
  120. package/quotas.d.ts +1 -3
  121. package/quotas.js +2 -2
  122. package/reload-tasks.d.ts +1 -3
  123. package/reload-tasks.js +2 -2
  124. package/reloads.d.ts +1 -3
  125. package/reloads.js +2 -2
  126. package/report-templates.d.ts +3 -4
  127. package/report-templates.js +2 -2
  128. package/reports.d.ts +1 -3
  129. package/reports.js +2 -2
  130. package/roles.d.ts +1 -3
  131. package/roles.js +2 -2
  132. package/sharing-tasks.d.ts +1 -3
  133. package/sharing-tasks.js +2 -2
  134. package/spaces.d.ts +1 -3
  135. package/spaces.js +2 -2
  136. package/tasks.d.ts +1 -3
  137. package/tasks.js +2 -2
  138. package/temp-contents.d.ts +1 -3
  139. package/temp-contents.js +2 -2
  140. package/tenant-settings.d.ts +1 -3
  141. package/tenant-settings.js +2 -2
  142. package/tenants.d.ts +2 -4
  143. package/tenants.js +2 -2
  144. package/themes.d.ts +1 -3
  145. package/themes.js +2 -2
  146. package/transports.d.ts +1 -3
  147. package/transports.js +2 -2
  148. package/ui-config.d.ts +1 -3
  149. package/ui-config.js +2 -2
  150. package/users.d.ts +1 -3
  151. package/users.js +2 -2
  152. package/web-integrations.d.ts +1 -3
  153. package/web-integrations.js +2 -2
  154. package/web-notifications.d.ts +1 -3
  155. package/web-notifications.js +2 -2
  156. package/webhooks.d.ts +7 -9
  157. package/webhooks.js +2 -2
  158. package/workflows/automation-connections.d.ts +317 -0
  159. package/workflows/automation-connections.js +164 -0
  160. package/workflows/automation-connectors.d.ts +79 -0
  161. package/workflows/automation-connectors.js +40 -0
  162. package/workflows/automations.d.ts +790 -0
  163. package/workflows/automations.js +421 -0
  164. package/workflows.d.ts +16 -0
  165. package/workflows.js +18 -0
  166. package/chunks/platform-types-CECrZkOF.d.ts +0 -29
  167. /package/chunks/{dist-DR758NU5.js → dist-BcgFfLgM.js} +0 -0
  168. /package/chunks/{invoke-fetch-DFc3yzaj.d.ts → invoke-fetch-DcuB8t5I.d.ts} +0 -0
  169. /package/chunks/{utils-jkpLuYZR.js → utils-B7chC9_U.js} +0 -0
  170. /package/chunks/{websocket-errors-C5U1tba-.js → websocket-errors-C6cw1uQN.js} +0 -0
@@ -1,7 +1,4 @@
1
- import { ApiCallOptions } from "../invoke-fetch-types.js";
2
- import "../chunks/invoke-fetch-DFc3yzaj.js";
3
-
4
- //#region src/public/rest/analytics/change-stores.d.ts
1
+ import { b as ApiCallOptions } from "../chunks/auth-types-DVvka7Hz.js";
5
2
  declare namespace change_stores_d_exports {
6
3
  export { CellKey, Change, ChangeStore, ChangeStoresAPI, Error, ErrorResponse, GetChangeStoreChangesHttpError, GetChangeStoreChangesHttpResponse, GetChangeStoreChangesTabularViewsHttpError, GetChangeStoreChangesTabularViewsHttpResponse, GetChangeStoreHttpError, GetChangeStoreHttpResponse, GetChangeStoresHttpError, GetChangeStoresHttpResponse, GetChangesData, ListDefaultData, Pagination, PrimaryKey, ReferenceId, RowKey, TabularView, UsedBy, UsedByArray, clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores };
7
4
  }
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
2
- import "../chunks/public-runtime-modules-2KfyI2qM.js";
3
- import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DMAi6Fg3.js";
2
+ import "../chunks/public-runtime-modules-mBjjPn7I.js";
3
+ import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DxtIsSVQ.js";
4
4
 
5
5
  //#region src/public/rest/analytics/change-stores.ts
6
6
  var change_stores_exports = /* @__PURE__ */ __exportAll({
package/analytics.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import "./chunks/invoke-fetch-DFc3yzaj.js";
2
1
  import changeStoresExport, { t as change_stores_d_exports } from "./analytics/change-stores.js";
3
2
 
4
3
  //#region src/public/rest/analytics.d.ts
package/analytics.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
  import changeStoresExport, { t as change_stores_exports } from "./analytics/change-stores.js";
4
4
 
5
5
  //#region src/public/rest/analytics.ts
package/api-keys.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import { ApiCallOptions } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/api-keys.d.ts
5
3
  type ApiKey = {
6
4
  /** When the API key was created. */readonly created?: string; /** The ID of the user who created the key. */
package/api-keys.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/api-keys.ts
5
5
  /**
package/apps.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import { ApiCallOptions, DownloadableBlob } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { C as DownloadableBlob, b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/apps.d.ts
5
3
  type Analysis = "breakdown" | "changePoint" | "comparison" | "contribution" | "correlation" | "fact" | "mutualInfo" | "rank" | "spike" | "trend" | "values";
6
4
  type AnalysisComposition = {
package/apps.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/apps.ts
5
5
  /**
package/assistants.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import { ApiCallOptions } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/assistants.d.ts
5
3
  type Assistant = {
6
4
  /** Datetime when the assistant was created. */readonly createdAt: string; /** Unique identifier of the user who created the assistant. */
@@ -229,6 +227,11 @@ type ErrorResponse = {
229
227
  traceId?: string;
230
228
  };
231
229
  type ErrorResponseCode = {
230
+ code?: string;
231
+ detail?: string;
232
+ title?: string;
233
+ };
234
+ type ErrorResponseCodeCopy = {
232
235
  /** Custom error codes
233
236
  * * AE-1 - Internal processing error
234
237
  * * AE-2 - Incorrect request
@@ -241,11 +244,6 @@ type ErrorResponseCode = {
241
244
  detail?: string;
242
245
  title?: string;
243
246
  };
244
- type ErrorResponseCodeCopy = {
245
- code?: string;
246
- detail?: string;
247
- title?: string;
248
- };
249
247
  type ErrorResponseCopy = {
250
248
  errors?: ErrorResponseCodeCopy[];
251
249
  traceId?: string;
@@ -399,7 +397,7 @@ type GetAssistantsHttpResponse = {
399
397
  next?: (options?: ApiCallOptions) => Promise<GetAssistantsHttpResponse>;
400
398
  };
401
399
  type GetAssistantsHttpError = {
402
- data: ErrorResponseCopy;
400
+ data: ErrorResponse;
403
401
  headers: Headers;
404
402
  status: 400 | 403;
405
403
  };
@@ -416,7 +414,7 @@ type CreateAssistantHttpResponse = {
416
414
  status: 201;
417
415
  };
418
416
  type CreateAssistantHttpError = {
419
- data: ErrorResponseCopy;
417
+ data: ErrorResponse;
420
418
  headers: Headers;
421
419
  status: 400 | 403;
422
420
  };
@@ -434,7 +432,7 @@ type SearchAssistantHttpResponse = {
434
432
  status: 200;
435
433
  };
436
434
  type SearchAssistantHttpError = {
437
- data: ErrorResponse;
435
+ data: ErrorResponseCopy;
438
436
  headers: Headers;
439
437
  status: 400 | 403 | 404 | 405 | 500;
440
438
  };
@@ -451,7 +449,7 @@ type GetAssistantFeedbackHttpResponse = {
451
449
  status: 200;
452
450
  };
453
451
  type GetAssistantFeedbackHttpError = {
454
- data: ErrorResponseCopy;
452
+ data: ErrorResponse;
455
453
  headers: Headers;
456
454
  status: 400 | 403 | 404;
457
455
  };
@@ -469,7 +467,7 @@ type GetAssistantSourcesHttpResponse = {
469
467
  status: 202;
470
468
  };
471
469
  type GetAssistantSourcesHttpError = {
472
- data: ErrorResponseCopy;
470
+ data: ErrorResponse;
473
471
  headers: Headers;
474
472
  status: 400 | 403 | 404;
475
473
  };
@@ -494,7 +492,7 @@ type GetAssistantStartersHttpResponse = {
494
492
  next?: (options?: ApiCallOptions) => Promise<GetAssistantStartersHttpResponse>;
495
493
  };
496
494
  type GetAssistantStartersHttpError = {
497
- data: ErrorResponseCopy;
495
+ data: ErrorResponse;
498
496
  headers: Headers;
499
497
  status: 400 | 403 | 404;
500
498
  };
@@ -512,7 +510,7 @@ type CreateAssistantStarterHttpResponse = {
512
510
  status: 201;
513
511
  };
514
512
  type CreateAssistantStarterHttpError = {
515
- data: ErrorResponseCopy;
513
+ data: ErrorResponse;
516
514
  headers: Headers;
517
515
  status: 400 | 403 | 404;
518
516
  };
@@ -530,7 +528,7 @@ type DeleteAssistantStarterHttpResponse = {
530
528
  status: 204;
531
529
  };
532
530
  type DeleteAssistantStarterHttpError = {
533
- data: ErrorResponseCopy;
531
+ data: ErrorResponse;
534
532
  headers: Headers;
535
533
  status: 400 | 403 | 404;
536
534
  };
@@ -548,7 +546,7 @@ type GetAssistantStarterHttpResponse = {
548
546
  status: 200;
549
547
  };
550
548
  type GetAssistantStarterHttpError = {
551
- data: ErrorResponseCopy;
549
+ data: ErrorResponse;
552
550
  headers: Headers;
553
551
  status: 400 | 403 | 404;
554
552
  };
@@ -567,7 +565,7 @@ type UpdateAssistantStarterHttpResponse = {
567
565
  status: 200;
568
566
  };
569
567
  type UpdateAssistantStarterHttpError = {
570
- data: ErrorResponseCopy;
568
+ data: ErrorResponse;
571
569
  headers: Headers;
572
570
  status: 400 | 403 | 404;
573
571
  };
@@ -586,7 +584,7 @@ type DeleteAssistantStarterFollowupHttpResponse = {
586
584
  status: 204;
587
585
  };
588
586
  type DeleteAssistantStarterFollowupHttpError = {
589
- data: ErrorResponseCopy;
587
+ data: ErrorResponse;
590
588
  headers: Headers;
591
589
  status: 400 | 403 | 404;
592
590
  };
@@ -606,7 +604,7 @@ type UpdateAssistantStarterFollowupHttpResponse = {
606
604
  status: 200;
607
605
  };
608
606
  type UpdateAssistantStarterFollowupHttpError = {
609
- data: ErrorResponseCopy;
607
+ data: ErrorResponse;
610
608
  headers: Headers;
611
609
  status: 400 | 403 | 404;
612
610
  };
@@ -632,7 +630,7 @@ type GetAssistantThreadsHttpResponse = {
632
630
  next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadsHttpResponse>;
633
631
  };
634
632
  type GetAssistantThreadsHttpError = {
635
- data: ErrorResponseCopy;
633
+ data: ErrorResponse;
636
634
  headers: Headers;
637
635
  status: 400 | 403 | 404;
638
636
  };
@@ -650,7 +648,7 @@ type CreateAssistantThreadHttpResponse = {
650
648
  status: 201;
651
649
  };
652
650
  type CreateAssistantThreadHttpError = {
653
- data: ErrorResponseCopy;
651
+ data: ErrorResponse;
654
652
  headers: Headers;
655
653
  status: 400 | 403 | 404;
656
654
  };
@@ -669,7 +667,7 @@ type InvokeAssistantThreadHttpResponse = {
669
667
  status: 200;
670
668
  };
671
669
  type InvokeAssistantThreadHttpError = {
672
- data: ErrorResponse;
670
+ data: ErrorResponseCopy;
673
671
  headers: Headers;
674
672
  status: 400 | 403 | 404 | 500;
675
673
  };
@@ -688,7 +686,7 @@ type StreamAssistantThreadHttpResponse = {
688
686
  status: 200;
689
687
  };
690
688
  type StreamAssistantThreadHttpError = {
691
- data: ErrorResponse;
689
+ data: ErrorResponseCopy;
692
690
  headers: Headers;
693
691
  status: 400 | 403 | 404 | 405 | 500;
694
692
  };
@@ -714,7 +712,7 @@ type GetAssistantThreadInteractionsHttpResponse = {
714
712
  next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadInteractionsHttpResponse>;
715
713
  };
716
714
  type GetAssistantThreadInteractionsHttpError = {
717
- data: ErrorResponseCopy;
715
+ data: ErrorResponse;
718
716
  headers: Headers;
719
717
  status: 400 | 403 | 404;
720
718
  };
@@ -733,7 +731,7 @@ type CreateAssistantThreadInteractionHttpResponse = {
733
731
  status: 201;
734
732
  };
735
733
  type CreateAssistantThreadInteractionHttpError = {
736
- data: ErrorResponseCopy;
734
+ data: ErrorResponse;
737
735
  headers: Headers;
738
736
  status: 400 | 403 | 404;
739
737
  };
@@ -752,7 +750,7 @@ type DeleteAssistantThreadInteractionHttpResponse = {
752
750
  status: 204;
753
751
  };
754
752
  type DeleteAssistantThreadInteractionHttpError = {
755
- data: ErrorResponseCopy;
753
+ data: ErrorResponse;
756
754
  headers: Headers;
757
755
  status: 400 | 403 | 404;
758
756
  };
@@ -771,7 +769,7 @@ type GetAssistantThreadInteractionHttpResponse = {
771
769
  status: 200;
772
770
  };
773
771
  type GetAssistantThreadInteractionHttpError = {
774
- data: ErrorResponseCopy;
772
+ data: ErrorResponse;
775
773
  headers: Headers;
776
774
  status: 400 | 403 | 404;
777
775
  };
@@ -791,7 +789,7 @@ type CreateAssistantThreadInteractionFeedbackHttpResponse = {
791
789
  status: 201;
792
790
  };
793
791
  type CreateAssistantThreadInteractionFeedbackHttpError = {
794
- data: ErrorResponseCopy;
792
+ data: ErrorResponse;
795
793
  headers: Headers;
796
794
  status: 400 | 403 | 404;
797
795
  };
@@ -812,7 +810,7 @@ type PatchAssistantThreadInteractionFeedbackHttpResponse = {
812
810
  status: 204;
813
811
  };
814
812
  type PatchAssistantThreadInteractionFeedbackHttpError = {
815
- data: ErrorResponseCopy;
813
+ data: ErrorResponse;
816
814
  headers: Headers;
817
815
  status: 400 | 403 | 404;
818
816
  };
@@ -832,7 +830,7 @@ type CreateAssistantThreadInteractionReviewHttpResponse = {
832
830
  status: 201;
833
831
  };
834
832
  type CreateAssistantThreadInteractionReviewHttpError = {
835
- data: ErrorResponseCopy;
833
+ data: ErrorResponse;
836
834
  headers: Headers;
837
835
  status: 400 | 403 | 404;
838
836
  };
@@ -850,7 +848,7 @@ type DeleteAssistantThreadHttpResponse = {
850
848
  status: 204;
851
849
  };
852
850
  type DeleteAssistantThreadHttpError = {
853
- data: ErrorResponseCopy;
851
+ data: ErrorResponse;
854
852
  headers: Headers;
855
853
  status: 400 | 403 | 404;
856
854
  };
@@ -868,7 +866,7 @@ type GetAssistantThreadHttpResponse = {
868
866
  status: 200;
869
867
  };
870
868
  type GetAssistantThreadHttpError = {
871
- data: ErrorResponseCopy;
869
+ data: ErrorResponse;
872
870
  headers: Headers;
873
871
  status: 400 | 403 | 404;
874
872
  };
@@ -887,7 +885,7 @@ type PatchAssistantThreadHttpResponse = {
887
885
  status: 204;
888
886
  };
889
887
  type PatchAssistantThreadHttpError = {
890
- data: ErrorResponseCopy;
888
+ data: ErrorResponse;
891
889
  headers: Headers;
892
890
  status: 400 | 401 | 403 | 404 | 429;
893
891
  };
@@ -904,7 +902,7 @@ type DeleteAssistantHttpResponse = {
904
902
  status: 204;
905
903
  };
906
904
  type DeleteAssistantHttpError = {
907
- data: ErrorResponseCopy;
905
+ data: ErrorResponse;
908
906
  headers: Headers;
909
907
  status: 400 | 403 | 404;
910
908
  };
@@ -921,7 +919,7 @@ type GetAssistantHttpResponse = {
921
919
  status: 200;
922
920
  };
923
921
  type GetAssistantHttpError = {
924
- data: ErrorResponseCopy;
922
+ data: ErrorResponse;
925
923
  headers: Headers;
926
924
  status: 400 | 403 | 404;
927
925
  };
@@ -939,7 +937,7 @@ type PatchAssistantHttpResponse = {
939
937
  status: 204;
940
938
  };
941
939
  type PatchAssistantHttpError = {
942
- data: ErrorResponseCopy;
940
+ data: ErrorResponse;
943
941
  headers: Headers;
944
942
  status: 400 | 401 | 403 | 404 | 429;
945
943
  };
package/assistants.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/assistants.ts
5
5
  /**
package/audits.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import { ApiCallOptions, DownloadableBlob } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { C as DownloadableBlob, b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/audits.d.ts
5
3
  type ArchiveItem = {
6
4
  /** The type that content is encoded in, always "application/json". */contentType?: string; /** Additional information about the event's details. The structure depends on the type and version of the event. */
package/audits.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/audits.ts
5
5
  /**
package/auth-types.d.ts CHANGED
@@ -1,111 +1,2 @@
1
- import "./global-types.js";
2
-
3
- //#region src/auth/auth-types.d.ts
4
- /** Credentials setting for http requests */
5
- type Credentials = "include" | "same-origin" | "omit";
6
- /** Props for function getRestCallAuthParams */
7
- type GetRestCallAuthParamsProps<A extends AuthType = AuthType> = {
8
- hostConfig: HostConfig<A>; /** The HTTP method in the outgoing REST call */
9
- method: string;
10
- };
11
- /** Http request parameters for auth to use when making a rest call based on a host config */
12
- type RestCallAuthParams = {
13
- headers: Record<string, string>;
14
- queryParams: Record<string, string>;
15
- credentials: Credentials;
16
- };
17
- /** Props for function getWebsocketAuthParams */
18
- type GetWebSocketAuthParamsProps<A extends AuthType = AuthType> = {
19
- hostConfig: HostConfig<A>;
20
- };
21
- /** Websocket auth parameters to use when setting up a websocket based on a host config */
22
- type WebSocketAuthParams = {
23
- /** Note that headers are only applied in NodeJS environments and NOT in the browser */headers?: Record<string, string>;
24
- queryParams?: Record<string, string>;
25
- };
26
- /** Props for function getWebResourceAuthParams */
27
- type GetWebResourceAuthParamsProps<A extends AuthType = AuthType> = {
28
- hostConfig: HostConfig<A>;
29
- };
30
- /** Web resource auth parameters to use when fetching a web resource with a host config */
31
- type WebResourceAuthParams = {
32
- queryParams: Record<string, string>;
33
- };
34
- type GetRemoteAuthDataProps<A extends AuthType = AuthType> = {
35
- hostConfig: HostConfig<A>;
36
- queryParams?: Record<string, string>;
37
- };
38
- /** Props for function handleAuthenticationError */
39
- type HandleAuthenticationErrorProps<A extends AuthType = AuthType> = {
40
- /** host config for connecting to a host */hostConfig: HostConfig<A>; /** HTTP status of the response */
41
- status: number; /** Body of the error response */
42
- errorBody?: Record<string, unknown>; /** HTTP response headers */
43
- headers: Headers; /** Set to true if it is possible to perform a retry. This will be true for the first call, and false if the call is actually a retry */
44
- canRetry: boolean;
45
- };
46
- /** Action to take when error occurs during authentication */
47
- type AuthenticationErrorAction = {
48
- /**
49
- * If set to true the request will be retried and its AuthParams will be fetched again
50
- */
51
- retry?: boolean;
52
- /**
53
- * Set to true to prevent the api call result promise from ever resolving.
54
- * Typically used when redirecting the window to a login page to prevent
55
- * transient errors from happening in the page while the browser is loading the login page.
56
- */
57
- preventDefault?: boolean;
58
- };
59
- /** A typed string array with extracted required properties from a type */
60
- type RequiredKeys<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? never : K }[keyof T];
61
- /** A typed string array with extracted optional properties from a type */
62
- type OptionalKeys<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? K : never }[keyof T];
63
- /** An authentication module for a specific authentication format, like oauth, cookies etc */
64
- type AuthModule<A extends AuthType = AuthType> = {
65
- /** Properties required for this auth module */requiredProps?: RequiredKeys<HostConfig<A>>[]; /** Properties that are optional for this auth module */
66
- optionalProps?: OptionalKeys<HostConfig<A>>[]; /** Get auth params for rest api calls */
67
- getRestCallAuthParams: (props: GetRestCallAuthParamsProps<A>) => Promise<RestCallAuthParams>; /** Get auth params for websocket api calls */
68
- getWebSocketAuthParams: (props: GetWebSocketAuthParamsProps<A>) => Promise<WebSocketAuthParams>; /** Get auth params for web resource request */
69
- getWebResourceAuthParams?: (props: GetWebResourceAuthParamsProps<A>) => Promise<WebResourceAuthParams>; /** Callback for when auth error happens */
70
- handleAuthenticationError: (props: HandleAuthenticationErrorProps<A>) => Promise<AuthenticationErrorAction>; /** Runtime check for validating host config */
71
- validateHostConfig?: (hostConfig: Record<string, unknown>) => boolean;
72
- };
73
- /** Valid strings for known authentication types */
74
- type AuthType = keyof QlikAuthModules;
75
- /** Configuration object for connecting and authenticating with Qlik platform(s) */
76
- type HostConfig<A extends AuthType = AuthType> = { [K in keyof QlikAuthModules]: QlikAuthModuleConfigUnion<K> & HostConfigCommon }[A];
77
- type QlikAuthModuleConfigUnion<K extends keyof QlikAuthModules> = (K extends keyof ImplicitQlikAuthModules ? {
78
- authType?: K;
79
- } : {
80
- authType: K;
81
- }) & QlikAuthModules[K]["config"];
82
- type HostConfigCommon = {
83
- /** The URL to the cloud tenant or windows server. If scheme is excluded https is used. May include a virtual proxy prefix on windows. Any trailing slashes are stripped. */host?: string;
84
- autoRedirect?: boolean;
85
- authRedirectUserConfirmation?: () => Promise<void>;
86
- /**
87
- * Optional parameter that can be used to point to a Qlik Cloud tenant domain from which the embed runtime should be loaded. If omitted the host parameter will be used.
88
- */
89
- embedRuntimeUrl?: string;
90
- onAuthFailed?: (props: {
91
- message: string;
92
- }) => unknown;
93
- };
94
- /**
95
- * These properties are always allowed in the host config, even if they are not defined in the HostConfig interface
96
- * for the specific auth module.
97
- */
98
- declare const hostConfigCommonProperties: (keyof HostConfig)[];
99
- /** The keys in this interface are used to determine what auth types that are allowed to be set to undefined */
100
- interface ImplicitQlikAuthModules {
101
- apikey: object;
102
- oauth2: object;
103
- cookie: object;
104
- windowscookie: object;
105
- reference: object;
106
- anonymous: object;
107
- }
108
- type AuthTypeThatCanBeOmitted = keyof ImplicitQlikAuthModules;
109
- declare const authTypesThatCanBeOmitted: AuthTypeThatCanBeOmitted[];
110
- //#endregion
1
+ import { _ as hostConfigCommonProperties, a as Credentials, c as GetWebResourceAuthParamsProps, d as HostConfig, f as HostConfigCommon, g as authTypesThatCanBeOmitted, h as WebSocketAuthParams, i as AuthenticationErrorAction, l as GetWebSocketAuthParamsProps, m as WebResourceAuthParams, n as AuthType, o as GetRemoteAuthDataProps, p as RestCallAuthParams, r as AuthTypeThatCanBeOmitted, s as GetRestCallAuthParamsProps, t as AuthModule, u as HandleAuthenticationErrorProps } from "./chunks/auth-types-DVvka7Hz.js";
111
2
  export { AuthModule, AuthType, AuthTypeThatCanBeOmitted, AuthenticationErrorAction, Credentials, GetRemoteAuthDataProps, GetRestCallAuthParamsProps, GetWebResourceAuthParamsProps, GetWebSocketAuthParamsProps, HandleAuthenticationErrorProps, HostConfig, HostConfigCommon, RestCallAuthParams, WebResourceAuthParams, WebSocketAuthParams, authTypesThatCanBeOmitted, hostConfigCommonProperties };
package/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AuthModule, AuthType, AuthTypeThatCanBeOmitted, AuthenticationErrorAction, Credentials, GetRemoteAuthDataProps, GetRestCallAuthParamsProps, GetWebResourceAuthParamsProps, GetWebSocketAuthParamsProps, HandleAuthenticationErrorProps, HostConfig, HostConfigCommon, RestCallAuthParams, WebResourceAuthParams, WebSocketAuthParams, authTypesThatCanBeOmitted, hostConfigCommonProperties } from "./auth-types.js";
1
+ import { _ as hostConfigCommonProperties, a as Credentials, c as GetWebResourceAuthParamsProps, d as HostConfig, f as HostConfigCommon, g as authTypesThatCanBeOmitted, h as WebSocketAuthParams, i as AuthenticationErrorAction, l as GetWebSocketAuthParamsProps, m as WebResourceAuthParams, n as AuthType, o as GetRemoteAuthDataProps, p as RestCallAuthParams, r as AuthTypeThatCanBeOmitted, s as GetRestCallAuthParamsProps, t as AuthModule, u as HandleAuthenticationErrorProps } from "./chunks/auth-types-DVvka7Hz.js";
2
2
 
3
3
  //#region src/public/auth.d.ts
4
4
  /**
package/auth.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as getAuthRuntimeModule } from "./chunks/public-runtime-modules-2KfyI2qM.js";
1
+ import { t as getAuthRuntimeModule } from "./chunks/public-runtime-modules-mBjjPn7I.js";
2
2
 
3
3
  //#region src/public/auth.ts
4
4
  /**
@@ -1,6 +1,4 @@
1
- import { ApiCallOptions } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/automation-connections.d.ts
5
3
  type AutomationConnectionChangeOwnerObject = {
6
4
  /** The unique identifier of the new owner. */userId?: string;
@@ -9,7 +7,8 @@ type AutomationConnectionChangeSpaceObject = {
9
7
  /** The unique identifier of the new space. */spaceId?: string;
10
8
  };
11
9
  type AutomationConnectionCheckObject = {
12
- /** The connection status of the automation connection. When true, the automation connection is connected. */isConnected?: boolean;
10
+ /** The connection status of the automation connection. When true, the automation connection is connected. */connected?: boolean; /** The connection status of the automation connection. When true, the automation connection is connected. */
11
+ is_connected?: boolean;
13
12
  };
14
13
  type AutomationConnectionCreationObject = {
15
14
  /** The unique identifier of the connector from which the automation connection is created. */connectorId: string; /** The name of the created automation connection. */
@@ -90,7 +89,7 @@ type PaginationLink = {
90
89
  /** The URL to a resource request */href?: string;
91
90
  };
92
91
  /**
93
- * Retrieves a list of automation connections
92
+ * Retrieves a list of automation connections the requesting user has access to.
94
93
  *
95
94
  * @param query an object with query parameters
96
95
  * @throws GetAutomationConnectionsHttpError
@@ -98,7 +97,7 @@ type PaginationLink = {
98
97
  declare function getAutomationConnections(query: {
99
98
  /** Filters the result based on the specified criteria: name, connectorId, ownerId, or spaceId. */filter?: string; /** The number of automation connections to retrieve. */
100
99
  limit?: number; /** When true, list all connections. Restricted to tenant admins and analytics admins. */
101
- listAll?: boolean; /** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
100
+ listAll?: boolean; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
102
101
  sort?: "id" | "name" | "createdAt" | "updatedAt" | "+id" | "+name" | "+createdAt" | "+updatedAt" | "-id" | "-name" | "-createdAt" | "-updatedAt";
103
102
  }, options?: ApiCallOptions): Promise<GetAutomationConnectionsHttpResponse>;
104
103
  type GetAutomationConnectionsHttpResponse = {
@@ -244,7 +243,7 @@ type CheckAutomationConnectionHttpError = {
244
243
  declare function clearCache(): void;
245
244
  type AutomationConnectionsAPI = {
246
245
  /**
247
- * Retrieves a list of automation connections
246
+ * Retrieves a list of automation connections the requesting user has access to.
248
247
  *
249
248
  * @param query an object with query parameters
250
249
  * @throws GetAutomationConnectionsHttpError
@@ -1,9 +1,9 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/automation-connections.ts
5
5
  /**
6
- * Retrieves a list of automation connections
6
+ * Retrieves a list of automation connections the requesting user has access to.
7
7
  *
8
8
  * @param query an object with query parameters
9
9
  * @throws GetAutomationConnectionsHttpError
@@ -1,14 +1,16 @@
1
- import { ApiCallOptions } from "./invoke-fetch-types.js";
2
- import "./chunks/invoke-fetch-DFc3yzaj.js";
3
-
1
+ import { b as ApiCallOptions } from "./chunks/auth-types-DVvka7Hz.js";
4
2
  //#region src/public/rest/automation-connectors.d.ts
5
3
  type AutomationConnectorsList = {
6
4
  data?: AutomationConnectorsListObject[];
7
5
  links?: Links;
8
6
  };
9
7
  type AutomationConnectorsListObject = {
10
- /** Indicates if the connector is billable. */billable?: boolean;
11
- readonly id?: string; /** The name of an automation connector. */
8
+ /** Indicates if the connector is billable. */billable?: boolean; /** Indicates if the connector supports webhooks. */
9
+ hasWebhooks?: boolean;
10
+ readonly id?: string; /** The URL to the large logo of the connector. */
11
+ logoLarge?: string; /** The URL to the medium logo of the connector. */
12
+ logoMedium?: string; /** The URL to the small logo of the connector. */
13
+ logoSmall?: string; /** The name of an automation connector. */
12
14
  name?: string;
13
15
  };
14
16
  type Error = {
@@ -35,8 +37,8 @@ type PaginationLink = {
35
37
  */
36
38
  declare function getAutomationConnectors(query: {
37
39
  /** Filters the result based on the specified criteria: name. */filter?: string; /** The number of automation connectors to retrieve. */
38
- limit?: number; /** The field to sort by, with +- prefix indicating sort order. (?sort=-name => sort on the name field using descending order) */
39
- sort?: "name" | "+name" | "-name";
40
+ limit?: number; /** The field to sort by, with +- prefix indicating sort order. (`?sort=-name` => sort on the `name` field using descending order). */
41
+ sort?: "id" | "-id" | "+id" | "name" | "+name" | "-name";
40
42
  }, options?: ApiCallOptions): Promise<GetAutomationConnectorsHttpResponse>;
41
43
  type GetAutomationConnectorsHttpResponse = {
42
44
  data: AutomationConnectorsList;
@@ -1,5 +1,5 @@
1
- import "./chunks/public-runtime-modules-2KfyI2qM.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
1
+ import "./chunks/public-runtime-modules-mBjjPn7I.js";
2
+ import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DxtIsSVQ.js";
3
3
 
4
4
  //#region src/public/rest/automation-connectors.ts
5
5
  /**