@qlik/api 0.0.9 → 0.0.11

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 (145) hide show
  1. package/api-keys.d.mts +9 -0
  2. package/api-keys.d.ts +9 -0
  3. package/api-keys.js +10 -10
  4. package/api-keys.mjs +2 -2
  5. package/apps.d.mts +125 -1
  6. package/apps.d.ts +125 -1
  7. package/apps.js +46 -46
  8. package/apps.mjs +2 -2
  9. package/audits.d.mts +13 -0
  10. package/audits.d.ts +13 -0
  11. package/audits.js +9 -9
  12. package/audits.mjs +2 -2
  13. package/auth.js +3 -3
  14. package/auth.mjs +2 -2
  15. package/automations.d.mts +8 -0
  16. package/automations.d.ts +8 -0
  17. package/automations.js +21 -21
  18. package/automations.mjs +2 -2
  19. package/brands.d.mts +15 -0
  20. package/brands.d.ts +15 -0
  21. package/brands.js +15 -15
  22. package/brands.mjs +2 -2
  23. package/chunks/{XY3AC335.js → 277NFGPR.js} +4 -4
  24. package/chunks/{K4YCNLTC.mjs → 4E3AP3QF.mjs} +1 -1
  25. package/chunks/{AU62SBT4.mjs → 6QHMH76M.mjs} +1 -1
  26. package/chunks/{VLLTA4EY.mjs → E3HDOP72.mjs} +3 -3
  27. package/chunks/{PQ4OWSWX.js → FT7SZRB6.js} +45 -57
  28. package/chunks/{EHZ6H6TD.mjs → G36LDZ2O.mjs} +1 -1
  29. package/chunks/{POR3DZIU.mjs → J3UXBHGX.mjs} +1 -1
  30. package/chunks/{WQHUX4R2.mjs → K2WB4AWW.mjs} +1 -1
  31. package/chunks/{KDW6ZD2R.mjs → MHLTST5J.mjs} +43 -55
  32. package/chunks/{AGASWXYW.js → MQGSH6BQ.js} +167 -23
  33. package/chunks/{W2I5OQA5.js → NBNOAZT5.js} +3 -3
  34. package/chunks/{EL2GSPZZ.js → NZ6E5ZHO.js} +3 -3
  35. package/chunks/{YDB23Q56.mjs → QJNIUMNI.mjs} +164 -20
  36. package/chunks/{F7GJTDIU.js → QMOQD6PE.js} +8 -8
  37. package/chunks/SPJKF5VW.js +17 -0
  38. package/chunks/{L7DRRU3T.mjs → TPTPAX2U.mjs} +2 -2
  39. package/chunks/X3YDQVZ6.js +41 -0
  40. package/chunks/{AULTUQC4.js → XP7ALS4O.js} +2 -2
  41. package/collections.d.mts +29 -1
  42. package/collections.d.ts +29 -1
  43. package/collections.js +14 -14
  44. package/collections.mjs +2 -2
  45. package/csp-origins.js +9 -9
  46. package/csp-origins.mjs +2 -2
  47. package/data-assets.js +8 -8
  48. package/data-assets.mjs +2 -2
  49. package/data-connections.d.mts +12 -1
  50. package/data-connections.d.ts +12 -1
  51. package/data-connections.js +12 -12
  52. package/data-connections.mjs +2 -2
  53. package/data-credentials.d.mts +5 -0
  54. package/data-credentials.d.ts +5 -0
  55. package/data-credentials.js +7 -7
  56. package/data-credentials.mjs +2 -2
  57. package/data-files.d.mts +6 -0
  58. package/data-files.d.ts +6 -0
  59. package/data-files.js +15 -15
  60. package/data-files.mjs +2 -2
  61. package/extensions.d.mts +12 -0
  62. package/extensions.d.ts +12 -0
  63. package/extensions.js +10 -10
  64. package/extensions.mjs +2 -2
  65. package/glossaries.d.mts +50 -0
  66. package/glossaries.d.ts +50 -0
  67. package/glossaries.js +27 -27
  68. package/glossaries.mjs +2 -2
  69. package/groups.d.mts +39 -0
  70. package/groups.d.ts +39 -0
  71. package/groups.js +11 -11
  72. package/groups.mjs +2 -2
  73. package/identity-providers.d.mts +42 -0
  74. package/identity-providers.d.ts +42 -0
  75. package/identity-providers.js +11 -11
  76. package/identity-providers.mjs +2 -2
  77. package/index.js +8 -8
  78. package/index.mjs +4 -4
  79. package/items.d.mts +32 -1
  80. package/items.d.ts +32 -1
  81. package/items.js +11 -11
  82. package/items.mjs +2 -2
  83. package/licenses.d.mts +7 -4
  84. package/licenses.d.ts +7 -4
  85. package/licenses.js +12 -12
  86. package/licenses.mjs +2 -2
  87. package/package.json +1 -1
  88. package/qix.d.mts +1 -1
  89. package/qix.d.ts +1 -1
  90. package/qix.js +3 -3
  91. package/qix.mjs +2 -2
  92. package/quotas.d.mts +3 -0
  93. package/quotas.d.ts +3 -0
  94. package/quotas.js +5 -5
  95. package/quotas.mjs +2 -2
  96. package/reload-tasks.d.mts +6 -3
  97. package/reload-tasks.d.ts +6 -3
  98. package/reload-tasks.js +8 -8
  99. package/reload-tasks.mjs +2 -2
  100. package/reloads.d.mts +9 -0
  101. package/reloads.d.ts +9 -0
  102. package/reloads.js +7 -7
  103. package/reloads.mjs +2 -2
  104. package/roles.d.mts +10 -1
  105. package/roles.d.ts +10 -1
  106. package/roles.js +5 -5
  107. package/roles.mjs +2 -2
  108. package/spaces.d.mts +37 -5
  109. package/spaces.d.ts +37 -5
  110. package/spaces.js +15 -15
  111. package/spaces.mjs +2 -2
  112. package/temp-contents.d.mts +6 -0
  113. package/temp-contents.d.ts +6 -0
  114. package/temp-contents.js +6 -6
  115. package/temp-contents.mjs +2 -2
  116. package/tenants.d.mts +12 -0
  117. package/tenants.d.ts +12 -0
  118. package/tenants.js +9 -9
  119. package/tenants.mjs +2 -2
  120. package/themes.d.mts +9 -0
  121. package/themes.d.ts +9 -0
  122. package/themes.js +10 -10
  123. package/themes.mjs +2 -2
  124. package/transports.d.mts +9 -0
  125. package/transports.d.ts +9 -0
  126. package/transports.js +9 -9
  127. package/transports.mjs +2 -2
  128. package/users.d.mts +85 -14
  129. package/users.d.ts +85 -14
  130. package/users.js +13 -13
  131. package/users.mjs +2 -2
  132. package/web-integrations.d.mts +18 -0
  133. package/web-integrations.d.ts +18 -0
  134. package/web-integrations.js +8 -8
  135. package/web-integrations.mjs +2 -2
  136. package/web-notifications.d.mts +18 -0
  137. package/web-notifications.d.ts +18 -0
  138. package/web-notifications.js +9 -9
  139. package/web-notifications.mjs +2 -2
  140. package/webhooks.d.mts +3 -0
  141. package/webhooks.d.ts +3 -0
  142. package/webhooks.js +13 -13
  143. package/webhooks.mjs +2 -2
  144. package/chunks/37STYSYC.js +0 -41
  145. package/chunks/VC2LAFLZ.js +0 -17
@@ -1,8 +1,9 @@
1
1
  import {
2
+ generateRandomString,
2
3
  getRestCallAuthParams,
3
4
  getWebSocketAuthParams,
4
5
  toValidWebsocketLocationUrl
5
- } from "./KDW6ZD2R.mjs";
6
+ } from "./MHLTST5J.mjs";
6
7
  import "./VSY5YIQY.mjs";
7
8
 
8
9
  // src/qix/session/enigma-session.ts
@@ -9675,6 +9676,148 @@ var mixin5 = {
9675
9676
  }
9676
9677
  };
9677
9678
 
9679
+ // src/qix/session/mixins/doc/create-client-objects.js
9680
+ import merge2 from "lodash/merge.js";
9681
+ var mixin6 = {
9682
+ types: "Doc",
9683
+ override: {
9684
+ createBookmark(_createBookmark, props) {
9685
+ return _createBookmark(
9686
+ merge2(
9687
+ {},
9688
+ {
9689
+ qInfo: {
9690
+ qType: "bookmark"
9691
+ },
9692
+ qMetaDef: {
9693
+ title: "",
9694
+ description: ""
9695
+ },
9696
+ creationDate: (/* @__PURE__ */ new Date()).toISOString()
9697
+ },
9698
+ props
9699
+ )
9700
+ );
9701
+ },
9702
+ createBookmarkEx(_createBookmarkEx, props, patchObjs) {
9703
+ return _createBookmarkEx(
9704
+ merge2(
9705
+ true,
9706
+ {
9707
+ qInfo: {
9708
+ qType: "bookmark"
9709
+ },
9710
+ qMetaDef: {
9711
+ title: "",
9712
+ description: ""
9713
+ },
9714
+ creationDate: (/* @__PURE__ */ new Date()).toISOString()
9715
+ },
9716
+ props
9717
+ ),
9718
+ patchObjs
9719
+ );
9720
+ }
9721
+ },
9722
+ extend: {
9723
+ /**
9724
+ * Creates a Qlik Sense Sheet
9725
+ * @param {Object} [props] The sheet properties to override
9726
+ * @param {String} [props.title] - The new sheet's title
9727
+ * @param {String} [props.description] - The new sheet's description
9728
+ * @param {String} [props.thumbnail] - URL to a thumbnail image
9729
+ * @param {String} [props.rank] - Sorting rank
9730
+ * @param {Number} [props.rows] - number of grid rows
9731
+ * @param {Number} [props.columns] - number of grid columns
9732
+ * @param {Number} [props.customRowBase] - number of rows for grid resolution
9733
+ * @param {String} [props.gridResolution] - number of grid cells: small|medium|large
9734
+ * @param {Object} [props.layoutOptions] - layout options for the sheet
9735
+ *
9736
+ * @returns {Promise<Object,Error>} A Promise that returns an api to the new sheet if resolved or an Error if rejected
9737
+ */
9738
+ createSheet(props) {
9739
+ return this.createObject({
9740
+ qInfo: {
9741
+ // generating id on client side to support multiple undo create operations
9742
+ // raised an engine bug to solve this, when resolved can be changed
9743
+ // TODO: update the jira id for engine bug once created
9744
+ qId: generateRandomString(43),
9745
+ qType: "sheet"
9746
+ },
9747
+ qMetaDef: {
9748
+ title: props.title || "",
9749
+ description: props.description || ""
9750
+ },
9751
+ rank: typeof props.rank !== "undefined" ? props.rank : -1,
9752
+ thumbnail: { qStaticContentUrlDef: props.thumbnail || null },
9753
+ columns: props.columns || 24,
9754
+ rows: props.rows || 12,
9755
+ cells: [],
9756
+ customRowBase: props.rows || void 0,
9757
+ gridResolution: props.gridResolution || void 0,
9758
+ layoutOptions: props.layoutOptions || void 0,
9759
+ qChildListDef: {
9760
+ qData: {
9761
+ title: "/title"
9762
+ }
9763
+ }
9764
+ });
9765
+ },
9766
+ /**
9767
+ * Creates a Qlik Sense Story
9768
+ * @param {Object} [props] The story properties to override
9769
+ * @param {String} [props.title] - The new story's title
9770
+ * @param {String} [props.description] - The new story's description
9771
+ * @param {String} [props.thumbnail] - URL to a thumbnail image
9772
+ * @param {String} [props.rank] - Sorting rank
9773
+ * @returns {Promise<Object,Error>} A Promise that returns an api to the new story if resolved or an Error if rejected
9774
+ */
9775
+ createStory(props) {
9776
+ return this.createObject({
9777
+ qInfo: {
9778
+ // generating id on client side to support multiple undo create operations
9779
+ // raised an engine bug to solve this, when resolved can be changed
9780
+ qId: util.generateId(),
9781
+ qType: "story"
9782
+ },
9783
+ qMetaDef: {
9784
+ title: props.title || "",
9785
+ description: ""
9786
+ },
9787
+ rank: typeof props.rank !== "undefined" ? props.rank : -1,
9788
+ thumbnail: { qStaticContentUrlDef: props.thumbnail || null },
9789
+ qChildListDef: {
9790
+ qData: {
9791
+ title: "/title",
9792
+ rank: "/rank"
9793
+ }
9794
+ }
9795
+ });
9796
+ },
9797
+ /**
9798
+ * Creates a Qlik Sense Master Object
9799
+ * @param {Object} [props] The properties to override
9800
+ * @param {String} [props.title] - The master object title
9801
+ * @param {String} [props.description] - The master object description
9802
+ * @param {String} [props.tags] - The list of tags
9803
+ * @returns {Promise<Object,Error>} A Promise that returns an api to the new master object if resolved or an Error if rejected
9804
+ */
9805
+ createMasterObject(props) {
9806
+ props = props || {};
9807
+ return this.createObject({
9808
+ qInfo: {
9809
+ qType: "masterobject"
9810
+ },
9811
+ qMetaDef: {
9812
+ title: props.title || "",
9813
+ description: props.description || "",
9814
+ tags: props.tags || ""
9815
+ }
9816
+ });
9817
+ }
9818
+ }
9819
+ };
9820
+
9678
9821
  // src/qix/session/mixins/doc/current-selections.ts
9679
9822
  var currentSelectionProps = {
9680
9823
  qInfo: {
@@ -9683,7 +9826,7 @@ var currentSelectionProps = {
9683
9826
  },
9684
9827
  qSelectionObjectDef: {}
9685
9828
  };
9686
- var mixin6 = {
9829
+ var mixin7 = {
9687
9830
  types: ["Doc"],
9688
9831
  extend: {
9689
9832
  getCurrentSelectionObject() {
@@ -9710,7 +9853,7 @@ var dimensionListProps = {
9710
9853
  }
9711
9854
  }
9712
9855
  };
9713
- var mixin7 = {
9856
+ var mixin8 = {
9714
9857
  types: "Doc",
9715
9858
  extend: {
9716
9859
  getDimensionList() {
@@ -9736,7 +9879,7 @@ var listProps = {
9736
9879
  }
9737
9880
  }
9738
9881
  };
9739
- var mixin8 = {
9882
+ var mixin9 = {
9740
9883
  types: "Doc",
9741
9884
  extend: {
9742
9885
  getDynamicAppViewList() {
@@ -9790,7 +9933,7 @@ var onTheFlyWithHiddenListProps = {
9790
9933
  qShowDefinitionOnly: true
9791
9934
  }
9792
9935
  };
9793
- var mixin9 = {
9936
+ var mixin10 = {
9794
9937
  types: "Doc",
9795
9938
  extend: {
9796
9939
  getFieldList() {
@@ -9824,7 +9967,7 @@ var masterObjectListProps = {
9824
9967
  }
9825
9968
  }
9826
9969
  };
9827
- var mixin10 = {
9970
+ var mixin11 = {
9828
9971
  types: "Doc",
9829
9972
  extend: {
9830
9973
  getMasterObjectList() {
@@ -9851,7 +9994,7 @@ var measureListProps = {
9851
9994
  }
9852
9995
  }
9853
9996
  };
9854
- var mixin11 = {
9997
+ var mixin12 = {
9855
9998
  types: "Doc",
9856
9999
  extend: {
9857
10000
  getMeasureList() {
@@ -9877,7 +10020,7 @@ var sheetListProps = {
9877
10020
  }
9878
10021
  }
9879
10022
  };
9880
- var mixin12 = {
10023
+ var mixin13 = {
9881
10024
  types: "Doc",
9882
10025
  extend: {
9883
10026
  getODAGAppLinkList() {
@@ -9915,7 +10058,7 @@ var sheetListProps2 = {
9915
10058
  }
9916
10059
  }
9917
10060
  };
9918
- var mixin13 = {
10061
+ var mixin14 = {
9919
10062
  types: "Doc",
9920
10063
  extend: {
9921
10064
  /**
@@ -9950,7 +10093,7 @@ var snapshotListProps = {
9950
10093
  }
9951
10094
  }
9952
10095
  };
9953
- var mixin14 = {
10096
+ var mixin15 = {
9954
10097
  types: "Doc",
9955
10098
  extend: {
9956
10099
  getSnapshotListObject() {
@@ -9978,7 +10121,7 @@ var storyListProps = {
9978
10121
  }
9979
10122
  }
9980
10123
  };
9981
- var mixin15 = {
10124
+ var mixin16 = {
9982
10125
  types: "Doc",
9983
10126
  extend: {
9984
10127
  getStoryList() {
@@ -9999,7 +10142,7 @@ var undoInfoProps = {
9999
10142
  qUndoInfoDef: {},
10000
10143
  markers: []
10001
10144
  };
10002
- var mixin16 = {
10145
+ var mixin17 = {
10003
10146
  types: ["Doc"],
10004
10147
  extend: {
10005
10148
  getUndoInfoObject() {
@@ -10024,7 +10167,7 @@ var variableListProps = {
10024
10167
  }
10025
10168
  }
10026
10169
  };
10027
- var mixin17 = {
10170
+ var mixin18 = {
10028
10171
  types: "Doc",
10029
10172
  extend: {
10030
10173
  getVariableList() {
@@ -10044,16 +10187,17 @@ var mixins3 = [
10044
10187
  mixin5,
10045
10188
  mixin6,
10046
10189
  mixin7,
10047
- mixin9,
10190
+ mixin8,
10048
10191
  mixin10,
10049
10192
  mixin11,
10050
10193
  mixin12,
10051
- mixin8,
10052
10194
  mixin13,
10195
+ mixin9,
10053
10196
  mixin14,
10054
10197
  mixin15,
10055
10198
  mixin16,
10056
- mixin17
10199
+ mixin17,
10200
+ mixin18
10057
10201
  ];
10058
10202
 
10059
10203
  // src/qix/session/mixins/genericobject/effective-properties.js
@@ -10070,7 +10214,7 @@ function updateQAttribute(properties) {
10070
10214
  });
10071
10215
  }
10072
10216
  }
10073
- var mixin18 = {
10217
+ var mixin19 = {
10074
10218
  types: ["GenericObject"],
10075
10219
  override: {
10076
10220
  setProperties(_setProperties, properties) {
@@ -10089,7 +10233,7 @@ var mixin18 = {
10089
10233
  };
10090
10234
 
10091
10235
  // src/qix/session/mixins/genericobject/export-data.js
10092
- var mixin19 = {
10236
+ var mixin20 = {
10093
10237
  types: "GenericObject",
10094
10238
  override: {
10095
10239
  /**
@@ -10116,7 +10260,7 @@ var mixin19 = {
10116
10260
  };
10117
10261
 
10118
10262
  // src/qix/session/mixins/genericobject/publishing.js
10119
- var mixin20 = {
10263
+ var mixin21 = {
10120
10264
  types: ["GenericObject"],
10121
10265
  override: {
10122
10266
  /**
@@ -10149,7 +10293,7 @@ var mixin20 = {
10149
10293
  };
10150
10294
 
10151
10295
  // src/qix/session/mixins/genericobject/index.ts
10152
- var mixins4 = [mixin19, mixin18, mixin20];
10296
+ var mixins4 = [mixin20, mixin19, mixin21];
10153
10297
 
10154
10298
  // src/qix/session/mixins/index.ts
10155
10299
  var mixins5 = [...mixins3, ...mixins, ...mixins4, ...mixins2];
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _PQ4OWSWXjs = require('./PQ4OWSWX.js');
7
+ var _FT7SZRB6js = require('./FT7SZRB6.js');
8
8
  require('./4HB3TAEO.js');
9
9
 
10
10
  // src/qix/session/shared-sessions.ts
@@ -36,7 +36,7 @@ async function resumeAll() {
36
36
  var initialActions = {};
37
37
  var sharedSessions = {};
38
38
  function toGlobalAppSessionId({ appId, identity, hostConfig }) {
39
- const locationUrl = _PQ4OWSWXjs.toValidWebsocketLocationUrl.call(void 0, hostConfig);
39
+ const locationUrl = _FT7SZRB6js.toValidWebsocketLocationUrl.call(void 0, hostConfig);
40
40
  return identity ? locationUrl + "/" + appId + "/" + identity : locationUrl + "/" + appId;
41
41
  }
42
42
  async function runPendingInitialActions(initialActionsForApp, sharedSession, doc) {
@@ -83,16 +83,16 @@ function listenForWindowsAuthenticationInformation(session) {
83
83
  return authSuggestedInWebsocket;
84
84
  }
85
85
  async function createAndSetupEnigmaSession(props, canRetry) {
86
- const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./AGASWXYW.js")));
86
+ const { createEnigmaSession } = await Promise.resolve().then(() => _interopRequireWildcard(require("./MQGSH6BQ.js")));
87
87
  const session = await createEnigmaSession(props);
88
88
  setupSessionListeners(session, props);
89
89
  let global;
90
- if (await _PQ4OWSWXjs.isWindows.call(void 0, props.hostConfig)) {
90
+ if (await _FT7SZRB6js.isWindows.call(void 0, props.hostConfig)) {
91
91
  const loginInfoPromise = listenForWindowsAuthenticationInformation(session);
92
92
  global = await session.open();
93
93
  const loginInfo = await loginInfoPromise;
94
94
  if (_optionalChain([loginInfo, 'optionalAccess', _ => _.mustAuthenticate])) {
95
- const action = await _PQ4OWSWXjs.handleAuthenticationError.call(void 0, {
95
+ const action = await _FT7SZRB6js.handleAuthenticationError.call(void 0, {
96
96
  headers: new Headers(),
97
97
  status: 101,
98
98
  canRetry,
@@ -389,8 +389,8 @@ async function checkConnectivity(hostConfig) {
389
389
  timeoutMs: 2e3,
390
390
  noCache: true
391
391
  };
392
- const fetchRoot = _PQ4OWSWXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
- const fetchMe = _PQ4OWSWXjs.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
392
+ const fetchRoot = _FT7SZRB6js.invokeFetch.call(void 0, "", { method, pathTemplate: "", options }).catch(catchFunc);
393
+ const fetchMe = _FT7SZRB6js.invokeFetch.call(void 0, "", { method, pathTemplate: "/api/v1/users/me", options }).catch(catchFunc);
394
394
  await Promise.all([fetchRoot, fetchMe]);
395
395
  return Promise.resolve(status);
396
396
  }
@@ -435,7 +435,7 @@ function getOrCreateSharedSession(props) {
435
435
  // src/qix/qix-functions.ts
436
436
  async function createSessionApp() {
437
437
  let sharedSession;
438
- if ((await _PQ4OWSWXjs.getPlatform.call(void 0, )).isCloud) {
438
+ if ((await _FT7SZRB6js.getPlatform.call(void 0, )).isCloud) {
439
439
  sharedSession = await getOrCreateSharedSession({ appId: `SessionApp_${Date.now()}` });
440
440
  } else {
441
441
  sharedSession = await getOrCreateSharedSession({
@@ -0,0 +1,17 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+ var _FT7SZRB6js = require('./FT7SZRB6.js');
9
+ require('./4HB3TAEO.js');
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ exports.EncodingError = _FT7SZRB6js.EncodingError; exports.InvokeFetchError = _FT7SZRB6js.InvokeFetchError; exports.clearApiCache = _FT7SZRB6js.clearApiCache; exports.default = _FT7SZRB6js.invoke_fetch_default; exports.invokeFetch = _FT7SZRB6js.invokeFetch; exports.parseFetchResponse = _FT7SZRB6js.parseFetchResponse;
@@ -4,7 +4,7 @@ import {
4
4
  invokeFetch,
5
5
  isWindows,
6
6
  toValidWebsocketLocationUrl
7
- } from "./KDW6ZD2R.mjs";
7
+ } from "./MHLTST5J.mjs";
8
8
  import "./VSY5YIQY.mjs";
9
9
 
10
10
  // src/qix/session/shared-sessions.ts
@@ -83,7 +83,7 @@ function listenForWindowsAuthenticationInformation(session) {
83
83
  return authSuggestedInWebsocket;
84
84
  }
85
85
  async function createAndSetupEnigmaSession(props, canRetry) {
86
- const { createEnigmaSession } = await import("./YDB23Q56.mjs");
86
+ const { createEnigmaSession } = await import("./QJNIUMNI.mjs");
87
87
  const session = await createEnigmaSession(props);
88
88
  setupSessionListeners(session, props);
89
89
  let global;
@@ -0,0 +1,41 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+ var _FT7SZRB6js = require('./FT7SZRB6.js');
21
+ require('./4HB3TAEO.js');
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+ exports.AuthorizationError = _FT7SZRB6js.AuthorizationError; exports.InvalidAuthTypeError = _FT7SZRB6js.InvalidAuthTypeError; exports.InvalidHostConfigError = _FT7SZRB6js.InvalidHostConfigError; exports.UnexpectedAuthTypeError = _FT7SZRB6js.UnexpectedAuthTypeError; exports.checkForCrossDomainRequest = _FT7SZRB6js.checkForCrossDomainRequest; exports.default = _FT7SZRB6js.auth_default; exports.getRestCallAuthParams = _FT7SZRB6js.getRestCallAuthParams; exports.getWebResourceAuthParams = _FT7SZRB6js.getWebResourceAuthParams; exports.getWebSocketAuthParams = _FT7SZRB6js.getWebSocketAuthParams; exports.handleAuthenticationError = _FT7SZRB6js.handleAuthenticationError; exports.isHostCrossOrigin = _FT7SZRB6js.isHostCrossOrigin; exports.isWindows = _FT7SZRB6js.isWindows; exports.logout = _FT7SZRB6js.logout; exports.registerAuthModule = _FT7SZRB6js.registerAuthModule; exports.setDefaultHostConfig = _FT7SZRB6js.setDefaultHostConfig; exports.toValidEnigmaLocationUrl = _FT7SZRB6js.toValidEnigmaLocationUrl; exports.toValidLocationUrl = _FT7SZRB6js.toValidLocationUrl; exports.toValidWebsocketLocationUrl = _FT7SZRB6js.toValidWebsocketLocationUrl;
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _W2I5OQA5js = require('./W2I5OQA5.js');
3
+ var _NBNOAZT5js = require('./NBNOAZT5.js');
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
7
- const appSessionPromise = _W2I5OQA5js.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
7
+ const appSessionPromise = _NBNOAZT5js.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
8
8
  (impl) => impl.openAppSession(appSessionProps)
9
9
  );
10
10
  const appSessionProxy = {
package/collections.d.mts CHANGED
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
22
22
  name: string;
23
23
  type: CollectionTypes;
24
24
  };
25
+ /**
26
+ * ListCollectionItemsResponseBody result type
27
+ */
25
28
  type CollectionsListCollectionItemsResponseBody = {
26
29
  data: ItemResultResponseBody[];
27
30
  };
31
+ /**
32
+ * ListCollectionsResponseBody result type
33
+ */
28
34
  type CollectionsListCollectionsResponseBody = {
29
35
  data: CollectionResultResponseBody[];
30
36
  links: CollectionsLinksResponseBody;
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
52
58
  items?: Link;
53
59
  self?: Link;
54
60
  };
61
+ /**
62
+ * Collection metadata and computed fields.
63
+ */
55
64
  type CollectionMetaResponseBody = {
56
65
  /** Multiple items. */
57
66
  items?: ItemsResultResponseBody;
58
67
  };
68
+ /**
69
+ * A collection.
70
+ */
59
71
  type CollectionResultResponseBody = {
60
72
  /** The RFC3339 datetime when the collection was created. */
61
73
  createdAt: string;
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
92
104
  self?: Link;
93
105
  thumbnail?: Link;
94
106
  };
107
+ /**
108
+ * Item metadata and computed fields.
109
+ */
95
110
  type ItemMetaResponseBody = {
96
111
  /** The actions that the user can perform on the item. */
97
112
  actions: string[];
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
102
117
  /** An array of tags that the item is part of. */
103
118
  tags: ItemTagResponseBody[];
104
119
  };
120
+ /**
121
+ * The case-sensitive string defining the item's type.
122
+ */
105
123
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ /**
125
+ * An item.
126
+ */
106
127
  type ItemResultResponseBody = {
107
128
  /** The actions that the user can perform on the item. */
108
129
  actions: string[];
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
154
175
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
155
176
  updaterId?: string;
156
177
  };
178
+ /**
179
+ * Holds basic information about a tag or collection.
180
+ */
157
181
  type ItemTagResponseBody = {
158
182
  /** The ID of the tag/collection. */
159
183
  id: string;
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
191
215
  /** Size of the app in memory in bytes. */
192
216
  appMemory?: number;
193
217
  };
218
+ /**
219
+ * Multiple items.
220
+ */
194
221
  type ItemsResultResponseBody = {
195
222
  data: ItemResultResponseBody[];
196
223
  links: ItemsLinksResponseBody;
@@ -381,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
381
408
  resourceLink?: string | undefined;
382
409
  /** The case-sensitive string used to search for an item by resourceType. */
383
410
  resourceType?: ItemResourceTypeEnum | undefined;
384
- /** Whether or not to return items in a shared space. */
411
+ /** @deprecated
412
+ * Whether or not to return items in a shared space. */
385
413
  shared?: boolean | undefined;
386
414
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
387
415
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
package/collections.d.ts CHANGED
@@ -22,9 +22,15 @@ type CollectionsCreateCollectionRequestBody = {
22
22
  name: string;
23
23
  type: CollectionTypes;
24
24
  };
25
+ /**
26
+ * ListCollectionItemsResponseBody result type
27
+ */
25
28
  type CollectionsListCollectionItemsResponseBody = {
26
29
  data: ItemResultResponseBody[];
27
30
  };
31
+ /**
32
+ * ListCollectionsResponseBody result type
33
+ */
28
34
  type CollectionsListCollectionsResponseBody = {
29
35
  data: CollectionResultResponseBody[];
30
36
  links: CollectionsLinksResponseBody;
@@ -52,10 +58,16 @@ type CollectionLinksResponseBody = {
52
58
  items?: Link;
53
59
  self?: Link;
54
60
  };
61
+ /**
62
+ * Collection metadata and computed fields.
63
+ */
55
64
  type CollectionMetaResponseBody = {
56
65
  /** Multiple items. */
57
66
  items?: ItemsResultResponseBody;
58
67
  };
68
+ /**
69
+ * A collection.
70
+ */
59
71
  type CollectionResultResponseBody = {
60
72
  /** The RFC3339 datetime when the collection was created. */
61
73
  createdAt: string;
@@ -92,6 +104,9 @@ type ItemLinksResponseBody = {
92
104
  self?: Link;
93
105
  thumbnail?: Link;
94
106
  };
107
+ /**
108
+ * Item metadata and computed fields.
109
+ */
95
110
  type ItemMetaResponseBody = {
96
111
  /** The actions that the user can perform on the item. */
97
112
  actions: string[];
@@ -102,7 +117,13 @@ type ItemMetaResponseBody = {
102
117
  /** An array of tags that the item is part of. */
103
118
  tags: ItemTagResponseBody[];
104
119
  };
120
+ /**
121
+ * The case-sensitive string defining the item's type.
122
+ */
105
123
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ /**
125
+ * An item.
126
+ */
106
127
  type ItemResultResponseBody = {
107
128
  /** The actions that the user can perform on the item. */
108
129
  actions: string[];
@@ -154,6 +175,9 @@ type ItemResultResponseBody = {
154
175
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
155
176
  updaterId?: string;
156
177
  };
178
+ /**
179
+ * Holds basic information about a tag or collection.
180
+ */
157
181
  type ItemTagResponseBody = {
158
182
  /** The ID of the tag/collection. */
159
183
  id: string;
@@ -191,6 +215,9 @@ type ItemsResourceSizeResponseBody = {
191
215
  /** Size of the app in memory in bytes. */
192
216
  appMemory?: number;
193
217
  };
218
+ /**
219
+ * Multiple items.
220
+ */
194
221
  type ItemsResultResponseBody = {
195
222
  data: ItemResultResponseBody[];
196
223
  links: ItemsLinksResponseBody;
@@ -381,7 +408,8 @@ declare const getCollectionItems: (collectionId: string, query: {
381
408
  resourceLink?: string | undefined;
382
409
  /** The case-sensitive string used to search for an item by resourceType. */
383
410
  resourceType?: ItemResourceTypeEnum | undefined;
384
- /** Whether or not to return items in a shared space. */
411
+ /** @deprecated
412
+ * Whether or not to return items in a shared space. */
385
413
  shared?: boolean | undefined;
386
414
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
387
415
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;