@qlik/api 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/.github/CODEOWNERS +2 -0
  2. package/.github/workflows/release.yaml +35 -0
  3. package/README.md +1 -3
  4. package/api-keys.d.mts +27 -13
  5. package/api-keys.d.ts +27 -13
  6. package/api-keys.js +17 -13
  7. package/api-keys.mjs +12 -8
  8. package/apps.d.mts +580 -165
  9. package/apps.d.ts +580 -165
  10. package/apps.js +111 -44
  11. package/apps.mjs +78 -11
  12. package/audits.d.mts +20 -8
  13. package/audits.d.ts +20 -8
  14. package/audits.js +12 -11
  15. package/audits.mjs +7 -6
  16. package/auth-AWZV4DPP.js +41 -0
  17. package/{auth-TE272Q34.mjs → auth-CPBNNC7S.mjs} +8 -3
  18. package/auth.js +4 -3
  19. package/auth.mjs +3 -2
  20. package/automations.d.mts +56 -20
  21. package/automations.d.ts +56 -20
  22. package/automations.js +32 -25
  23. package/automations.mjs +18 -11
  24. package/brands.d.mts +45 -4
  25. package/brands.d.ts +45 -4
  26. package/brands.js +20 -15
  27. package/brands.mjs +7 -2
  28. package/{chunk-ZT4C7KCQ.js → chunk-2STFUQKQ.js} +3 -3
  29. package/{chunk-WM7FQU2U.mjs → chunk-3SVRHJII.mjs} +3 -3
  30. package/{chunk-CKPJE4IA.mjs → chunk-67GJTTPV.mjs} +1 -1
  31. package/{chunk-4ES65KO3.js → chunk-7RY3NO6N.js} +2 -2
  32. package/{chunk-4OMEH5SW.mjs → chunk-CYRLVHU3.mjs} +321 -53
  33. package/{chunk-XASXL2NC.js → chunk-D52VW5UN.js} +323 -55
  34. package/{chunk-GUQBHY3H.mjs → chunk-GNWU6SP2.mjs} +1 -1
  35. package/{chunk-4FLMND6T.js → chunk-GV5SRHY2.js} +4 -4
  36. package/{chunk-OULT3V2U.js → chunk-JNGURO23.js} +3 -3
  37. package/chunk-P57PW2II.js +11 -0
  38. package/{chunk-3YE7EI7I.mjs → chunk-TE7XMBT5.mjs} +1 -1
  39. package/chunk-ZFXKCRJC.mjs +11 -0
  40. package/collections.d.mts +52 -18
  41. package/collections.d.ts +52 -18
  42. package/collections.js +28 -14
  43. package/collections.mjs +16 -2
  44. package/csp-origins.d.mts +12 -0
  45. package/csp-origins.d.ts +12 -0
  46. package/csp-origins.js +12 -9
  47. package/csp-origins.mjs +5 -2
  48. package/data-assets.d.mts +10 -0
  49. package/data-assets.d.ts +10 -0
  50. package/data-assets.js +13 -8
  51. package/data-assets.mjs +7 -2
  52. package/data-connections.d.mts +20 -0
  53. package/data-connections.d.ts +20 -0
  54. package/data-connections.js +19 -12
  55. package/data-connections.mjs +9 -2
  56. package/data-credentials.d.mts +10 -0
  57. package/data-credentials.d.ts +10 -0
  58. package/data-credentials.js +10 -7
  59. package/data-credentials.mjs +5 -2
  60. package/data-files.d.mts +114 -29
  61. package/data-files.d.ts +114 -29
  62. package/data-files.js +25 -18
  63. package/data-files.mjs +15 -8
  64. package/{enigma-session-TEB53FAF.js → enigma-session-XPXDQAIV.js} +12 -7
  65. package/{enigma-session-4L373ALV.mjs → enigma-session-ZH6MYA54.mjs} +10 -5
  66. package/{esm-4X3DKK5D.js → esm-3VXX2GKL.js} +13 -9
  67. package/{esm-SOWVJKOQ.mjs → esm-OY4XVIJB.mjs} +13 -9
  68. package/extensions.d.mts +26 -2
  69. package/extensions.d.ts +26 -2
  70. package/extensions.js +13 -10
  71. package/extensions.mjs +5 -2
  72. package/glossaries.d.mts +55 -20
  73. package/glossaries.d.ts +55 -20
  74. package/glossaries.js +39 -27
  75. package/glossaries.mjs +14 -2
  76. package/groups.d.mts +29 -13
  77. package/groups.d.ts +29 -13
  78. package/groups.js +19 -14
  79. package/groups.mjs +13 -8
  80. package/identity-providers.d.mts +23 -7
  81. package/identity-providers.d.ts +23 -7
  82. package/identity-providers.js +16 -13
  83. package/identity-providers.mjs +8 -5
  84. package/index.js +150 -112
  85. package/index.mjs +146 -108
  86. package/{invoke-fetch-MSSJAZ7K.mjs → invoke-fetch-3WZWAAZH.mjs} +4 -1
  87. package/invoke-fetch-UNTAUR7O.js +17 -0
  88. package/items.d.mts +25 -22
  89. package/items.d.ts +25 -22
  90. package/items.js +17 -14
  91. package/items.mjs +11 -8
  92. package/licenses.d.mts +20 -0
  93. package/licenses.d.ts +20 -0
  94. package/licenses.js +17 -12
  95. package/licenses.mjs +7 -2
  96. package/package.json +7 -18
  97. package/{qix-RLTISYTB.js → qix-UNWXPGMA.js} +9 -8
  98. package/{qix-EU7PXRZ6.mjs → qix-ZSJ4PIK3.mjs} +5 -4
  99. package/qix.d.mts +1066 -1017
  100. package/qix.d.ts +1066 -1017
  101. package/qix.js +4 -3
  102. package/qix.mjs +3 -2
  103. package/quotas.d.mts +4 -0
  104. package/quotas.d.ts +4 -0
  105. package/quotas.js +6 -5
  106. package/quotas.mjs +3 -2
  107. package/reload-tasks.d.mts +2 -0
  108. package/reload-tasks.d.ts +2 -0
  109. package/reload-tasks.js +11 -8
  110. package/reload-tasks.mjs +5 -2
  111. package/reloads.d.mts +20 -11
  112. package/reloads.d.ts +20 -11
  113. package/reloads.js +9 -7
  114. package/reloads.mjs +4 -2
  115. package/roles.d.mts +4 -0
  116. package/roles.d.ts +4 -0
  117. package/roles.js +6 -5
  118. package/roles.mjs +3 -2
  119. package/spaces.d.mts +36 -30
  120. package/spaces.d.ts +36 -30
  121. package/spaces.js +21 -15
  122. package/spaces.mjs +8 -2
  123. package/temp-contents.d.mts +9 -70
  124. package/temp-contents.d.ts +9 -70
  125. package/temp-contents.js +10 -29
  126. package/temp-contents.mjs +5 -24
  127. package/tenants.d.mts +12 -0
  128. package/tenants.d.ts +12 -0
  129. package/tenants.js +14 -9
  130. package/tenants.mjs +7 -2
  131. package/themes.d.mts +26 -2
  132. package/themes.d.ts +26 -2
  133. package/themes.js +13 -10
  134. package/themes.mjs +5 -2
  135. package/transports.d.mts +12 -0
  136. package/transports.d.ts +12 -0
  137. package/transports.js +12 -9
  138. package/transports.mjs +5 -2
  139. package/users.d.mts +48 -29
  140. package/users.d.ts +48 -29
  141. package/users.js +18 -13
  142. package/users.mjs +7 -2
  143. package/web-integrations.d.mts +10 -0
  144. package/web-integrations.d.ts +10 -0
  145. package/web-integrations.js +11 -8
  146. package/web-integrations.mjs +5 -2
  147. package/web-notifications.d.mts +12 -0
  148. package/web-notifications.d.ts +12 -0
  149. package/web-notifications.js +12 -9
  150. package/web-notifications.mjs +5 -2
  151. package/webhooks.d.mts +27 -7
  152. package/webhooks.d.ts +27 -7
  153. package/webhooks.js +17 -13
  154. package/webhooks.mjs +6 -2
  155. package/auth-CSVTXOZX.js +0 -36
  156. package/invoke-fetch-PEI54KZO.js +0 -14
package/glossaries.d.mts CHANGED
@@ -113,11 +113,9 @@ type Category = {
113
113
  type CreateCategory = {
114
114
  description?: string;
115
115
  /** The id for resolving updates in future imports/updates.
116
- // Opposed to the id of terms, id on category are not resolved by backend. Any category referred in the category array in terms will have to be identical to the id property of the category. If not, the category reference will be discarded.
117
- // */
116
+ * Opposed to the id of terms, id on category are not resolved by backend. Any category referred in the category array in terms will have to be identical to the id property of the category. If not, the category reference will be discarded. */
118
117
  id?: string;
119
- /** The name of the category. May not be identical to another category belonging to the same parent.
120
- // */
118
+ /** The name of the category. May not be identical to another category belonging to the same parent. */
121
119
  name?: string;
122
120
  parentId?: string;
123
121
  /** This list contains the uuids of the stewards of the category. */
@@ -224,12 +222,10 @@ type ImportOwner = {
224
222
  };
225
223
  type ImportTerm = {
226
224
  abbreviation?: string;
227
- /** Categories that the term belongs to. Refers to the `id` property of the category object
228
- // */
225
+ /** Categories that the term belongs to. Refers to the `id` property of the category object */
229
226
  categories?: string[];
230
227
  description?: string;
231
- /** The id of the term. Used to identify the term in future updates. If not provided, will use the leading 30 chars of the term name and an incremental index
232
- // */
228
+ /** The id of the term. Used to identify the term in future updates. If not provided, will use the leading 30 chars of the term name and an incremental index */
233
229
  id?: string;
234
230
  linksTo?: TermCreateLinksTo[];
235
231
  name?: string;
@@ -335,6 +331,7 @@ type TermsResult = {
335
331
  };
336
332
  /**
337
333
  * Returns all glossaries.
334
+ *
338
335
  * @param query an object with query parameters
339
336
  * @throws GetGlossariesHttpError
340
337
  */
@@ -414,6 +411,7 @@ type ImportGlossary404HttpError = {
414
411
  type ImportGlossaryHttpError = ImportGlossary400HttpError | ImportGlossary403HttpError | ImportGlossary404HttpError;
415
412
  /**
416
413
  * Deletes a glossary and all of its terms.
414
+ *
417
415
  * @param id The id of the glossary to delete.
418
416
  * @throws DeleteGlossaryHttpError
419
417
  */
@@ -430,6 +428,7 @@ type DeleteGlossaryHttpError = {
430
428
  };
431
429
  /**
432
430
  * Retrieves a glossary.
431
+ *
433
432
  * @param id The id of the glossary to retrieve.
434
433
  * @throws GetGlossaryHttpError
435
434
  */
@@ -446,6 +445,7 @@ type GetGlossaryHttpError = {
446
445
  };
447
446
  /**
448
447
  * Updates glossary properties with json-patch formated data
448
+ *
449
449
  * @param id The glossary id.
450
450
  * @param body an object with the body content
451
451
  * @throws PatchGlossaryHttpError
@@ -463,6 +463,7 @@ type PatchGlossaryHttpError = {
463
463
  };
464
464
  /**
465
465
  * Updates a glossary.
466
+ *
466
467
  * @param id The id of the glossary to update.
467
468
  * @param body an object with the body content
468
469
  * @throws UpdateGlossaryHttpError
@@ -480,6 +481,7 @@ type UpdateGlossaryHttpError = {
480
481
  };
481
482
  /**
482
483
  * Exports a glossary.
484
+ *
483
485
  * @param id The glossary id.
484
486
  * @throws ExportGlossaryHttpError
485
487
  */
@@ -496,6 +498,7 @@ type ExportGlossaryHttpError = {
496
498
  };
497
499
  /**
498
500
  * Returns a list of categories for a glossary.
501
+ *
499
502
  * @param id The glossary id.
500
503
  * @param query an object with query parameters
501
504
  * @throws GetGlossaryCategoriesHttpError
@@ -544,6 +547,7 @@ type CreateGlossaryCategoryHttpError = {
544
547
  };
545
548
  /**
546
549
  * Deletes a category.
550
+ *
547
551
  * @param id The id of the glossary.
548
552
  * @param categoryId The id for the category to delete. All subcategories are also deleted
549
553
  * @throws DeleteGlossaryCategoryHttpError
@@ -561,6 +565,7 @@ type DeleteGlossaryCategoryHttpError = {
561
565
  };
562
566
  /**
563
567
  * Retrieves a category.
568
+ *
564
569
  * @param id The glossary id.
565
570
  * @param categoryId The category id.
566
571
  * @throws GetGlossaryCategoryHttpError
@@ -578,6 +583,7 @@ type GetGlossaryCategoryHttpError = {
578
583
  };
579
584
  /**
580
585
  * Updates category properties with json-patch formated data
586
+ *
581
587
  * @param id The glossary id.
582
588
  * @param categoryId The category id.
583
589
  * @param body an object with the body content
@@ -596,6 +602,7 @@ type PatchGlossaryCategoryHttpError = {
596
602
  };
597
603
  /**
598
604
  * Updates a category.
605
+ *
599
606
  * @param id The glossary id.
600
607
  * @param categoryId The category id.
601
608
  * @param body an object with the body content
@@ -614,6 +621,7 @@ type UpdateGlossaryCategoryHttpError = {
614
621
  };
615
622
  /**
616
623
  * Returns a list of terms for a glossary.
624
+ *
617
625
  * @param id The glossary id.
618
626
  * @param query an object with query parameters
619
627
  * @throws GetGlossaryTermsHttpError
@@ -622,18 +630,17 @@ declare const getGlossaryTerms: (id: string, query: {
622
630
  /** Optional parameter to request total count for query */
623
631
  countTotal?: boolean;
624
632
  /** Optional SCIM filter to be used to filter terms
625
- // Usable fields are
626
- //
627
- // - id
628
- // - name
629
- // - relatedInformation
630
- // - description
631
- // - abbreviation
632
- // - tags
633
- // - stewards
634
- // - status
635
- // - categories
636
- // */
633
+ * Usable fields are
634
+ *
635
+ * - id
636
+ * - name
637
+ * - relatedInformation
638
+ * - description
639
+ * - abbreviation
640
+ * - tags
641
+ * - stewards
642
+ * - status
643
+ * - categories */
637
644
  filter?: string;
638
645
  /** The number of terms to get. */
639
646
  limit?: number;
@@ -676,6 +683,7 @@ type CreateGlossaryTermHttpError = {
676
683
  };
677
684
  /**
678
685
  * Deletes a term.
686
+ *
679
687
  * @param id The glossary id.
680
688
  * @param termId The term id.
681
689
  * @throws DeleteGlossaryTermHttpError
@@ -693,6 +701,7 @@ type DeleteGlossaryTermHttpError = {
693
701
  };
694
702
  /**
695
703
  * Retrieves a term.
704
+ *
696
705
  * @param id The glossary id.
697
706
  * @param termId The term id.
698
707
  * @throws GetGlossaryTermHttpError
@@ -710,6 +719,7 @@ type GetGlossaryTermHttpError = {
710
719
  };
711
720
  /**
712
721
  * Updates term properties with json-patch formated data
722
+ *
713
723
  * @param id The glossary id.
714
724
  * @param termId The term id.
715
725
  * @param body an object with the body content
@@ -728,6 +738,7 @@ type PatchGlossaryTermHttpError = {
728
738
  };
729
739
  /**
730
740
  * Updates a term.
741
+ *
731
742
  * @param id The glossary id.
732
743
  * @param termId The term id.
733
744
  * @param body an object with the body content
@@ -746,6 +757,7 @@ type UpdateGlossaryTermHttpError = {
746
757
  };
747
758
  /**
748
759
  * Changes the status of the term. Only a steward can verify a term. Once the term is verified only a steward can modify the term.
760
+ *
749
761
  * @param id The glossary id.
750
762
  * @param termId The term id.
751
763
  * @param query an object with query parameters
@@ -767,6 +779,7 @@ type ChangeGlossaryTermStatusHttpError = {
767
779
  };
768
780
  /**
769
781
  * Returns a list of links assigned to a term.
782
+ *
770
783
  * @param id The glossary id.
771
784
  * @param termId The term id.
772
785
  * @param query an object with query parameters
@@ -800,6 +813,7 @@ type GetGlossaryTermLinksHttpError = {
800
813
  };
801
814
  /**
802
815
  * Creates a new link to a term.
816
+ *
803
817
  * @param id The glossary id.
804
818
  * @param termId The term id.
805
819
  * @param body an object with the body content
@@ -818,6 +832,7 @@ type CreateGlossaryTermLinkHttpError = {
818
832
  };
819
833
  /**
820
834
  * Retrieves previous revisions of a term.
835
+ *
821
836
  * @param id The glossary id.
822
837
  * @param termId The term id.
823
838
  * @param query an object with query parameters
@@ -854,6 +869,7 @@ declare function clearCache(): void;
854
869
  interface GlossariesAPI {
855
870
  /**
856
871
  * Returns all glossaries.
872
+ *
857
873
  * @param query an object with query parameters
858
874
  * @throws GetGlossariesHttpError
859
875
  */
@@ -876,18 +892,21 @@ interface GlossariesAPI {
876
892
  importGlossary: typeof importGlossary;
877
893
  /**
878
894
  * Deletes a glossary and all of its terms.
895
+ *
879
896
  * @param id The id of the glossary to delete.
880
897
  * @throws DeleteGlossaryHttpError
881
898
  */
882
899
  deleteGlossary: typeof deleteGlossary;
883
900
  /**
884
901
  * Retrieves a glossary.
902
+ *
885
903
  * @param id The id of the glossary to retrieve.
886
904
  * @throws GetGlossaryHttpError
887
905
  */
888
906
  getGlossary: typeof getGlossary;
889
907
  /**
890
908
  * Updates glossary properties with json-patch formated data
909
+ *
891
910
  * @param id The glossary id.
892
911
  * @param body an object with the body content
893
912
  * @throws PatchGlossaryHttpError
@@ -895,6 +914,7 @@ interface GlossariesAPI {
895
914
  patchGlossary: typeof patchGlossary;
896
915
  /**
897
916
  * Updates a glossary.
917
+ *
898
918
  * @param id The id of the glossary to update.
899
919
  * @param body an object with the body content
900
920
  * @throws UpdateGlossaryHttpError
@@ -902,12 +922,14 @@ interface GlossariesAPI {
902
922
  updateGlossary: typeof updateGlossary;
903
923
  /**
904
924
  * Exports a glossary.
925
+ *
905
926
  * @param id The glossary id.
906
927
  * @throws ExportGlossaryHttpError
907
928
  */
908
929
  exportGlossary: typeof exportGlossary;
909
930
  /**
910
931
  * Returns a list of categories for a glossary.
932
+ *
911
933
  * @param id The glossary id.
912
934
  * @param query an object with query parameters
913
935
  * @throws GetGlossaryCategoriesHttpError
@@ -923,6 +945,7 @@ interface GlossariesAPI {
923
945
  createGlossaryCategory: typeof createGlossaryCategory;
924
946
  /**
925
947
  * Deletes a category.
948
+ *
926
949
  * @param id The id of the glossary.
927
950
  * @param categoryId The id for the category to delete. All subcategories are also deleted
928
951
  * @throws DeleteGlossaryCategoryHttpError
@@ -930,6 +953,7 @@ interface GlossariesAPI {
930
953
  deleteGlossaryCategory: typeof deleteGlossaryCategory;
931
954
  /**
932
955
  * Retrieves a category.
956
+ *
933
957
  * @param id The glossary id.
934
958
  * @param categoryId The category id.
935
959
  * @throws GetGlossaryCategoryHttpError
@@ -937,6 +961,7 @@ interface GlossariesAPI {
937
961
  getGlossaryCategory: typeof getGlossaryCategory;
938
962
  /**
939
963
  * Updates category properties with json-patch formated data
964
+ *
940
965
  * @param id The glossary id.
941
966
  * @param categoryId The category id.
942
967
  * @param body an object with the body content
@@ -945,6 +970,7 @@ interface GlossariesAPI {
945
970
  patchGlossaryCategory: typeof patchGlossaryCategory;
946
971
  /**
947
972
  * Updates a category.
973
+ *
948
974
  * @param id The glossary id.
949
975
  * @param categoryId The category id.
950
976
  * @param body an object with the body content
@@ -953,6 +979,7 @@ interface GlossariesAPI {
953
979
  updateGlossaryCategory: typeof updateGlossaryCategory;
954
980
  /**
955
981
  * Returns a list of terms for a glossary.
982
+ *
956
983
  * @param id The glossary id.
957
984
  * @param query an object with query parameters
958
985
  * @throws GetGlossaryTermsHttpError
@@ -968,6 +995,7 @@ interface GlossariesAPI {
968
995
  createGlossaryTerm: typeof createGlossaryTerm;
969
996
  /**
970
997
  * Deletes a term.
998
+ *
971
999
  * @param id The glossary id.
972
1000
  * @param termId The term id.
973
1001
  * @throws DeleteGlossaryTermHttpError
@@ -975,6 +1003,7 @@ interface GlossariesAPI {
975
1003
  deleteGlossaryTerm: typeof deleteGlossaryTerm;
976
1004
  /**
977
1005
  * Retrieves a term.
1006
+ *
978
1007
  * @param id The glossary id.
979
1008
  * @param termId The term id.
980
1009
  * @throws GetGlossaryTermHttpError
@@ -982,6 +1011,7 @@ interface GlossariesAPI {
982
1011
  getGlossaryTerm: typeof getGlossaryTerm;
983
1012
  /**
984
1013
  * Updates term properties with json-patch formated data
1014
+ *
985
1015
  * @param id The glossary id.
986
1016
  * @param termId The term id.
987
1017
  * @param body an object with the body content
@@ -990,6 +1020,7 @@ interface GlossariesAPI {
990
1020
  patchGlossaryTerm: typeof patchGlossaryTerm;
991
1021
  /**
992
1022
  * Updates a term.
1023
+ *
993
1024
  * @param id The glossary id.
994
1025
  * @param termId The term id.
995
1026
  * @param body an object with the body content
@@ -998,6 +1029,7 @@ interface GlossariesAPI {
998
1029
  updateGlossaryTerm: typeof updateGlossaryTerm;
999
1030
  /**
1000
1031
  * Changes the status of the term. Only a steward can verify a term. Once the term is verified only a steward can modify the term.
1032
+ *
1001
1033
  * @param id The glossary id.
1002
1034
  * @param termId The term id.
1003
1035
  * @param query an object with query parameters
@@ -1006,6 +1038,7 @@ interface GlossariesAPI {
1006
1038
  changeGlossaryTermStatus: typeof changeGlossaryTermStatus;
1007
1039
  /**
1008
1040
  * Returns a list of links assigned to a term.
1041
+ *
1009
1042
  * @param id The glossary id.
1010
1043
  * @param termId The term id.
1011
1044
  * @param query an object with query parameters
@@ -1014,6 +1047,7 @@ interface GlossariesAPI {
1014
1047
  getGlossaryTermLinks: typeof getGlossaryTermLinks;
1015
1048
  /**
1016
1049
  * Creates a new link to a term.
1050
+ *
1017
1051
  * @param id The glossary id.
1018
1052
  * @param termId The term id.
1019
1053
  * @param body an object with the body content
@@ -1022,6 +1056,7 @@ interface GlossariesAPI {
1022
1056
  createGlossaryTermLink: typeof createGlossaryTermLink;
1023
1057
  /**
1024
1058
  * Retrieves previous revisions of a term.
1059
+ *
1025
1060
  * @param id The glossary id.
1026
1061
  * @param termId The term id.
1027
1062
  * @param query an object with query parameters