@qlik/api 0.0.7 → 0.0.8

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 (87) hide show
  1. package/api-keys.js +10 -10
  2. package/api-keys.mjs +2 -2
  3. package/apps.js +46 -46
  4. package/apps.mjs +2 -2
  5. package/audits.js +9 -9
  6. package/audits.mjs +2 -2
  7. package/{auth-UH5NRF5W.mjs → auth-U6QTT3H4.mjs} +1 -1
  8. package/auth-XY6FVSVM.js +41 -0
  9. package/auth.js +3 -3
  10. package/auth.mjs +2 -2
  11. package/automations.js +21 -21
  12. package/automations.mjs +2 -2
  13. package/brands.js +15 -15
  14. package/brands.mjs +2 -2
  15. package/{chunk-ZNLWUSS5.mjs → chunk-4MWB2T3C.mjs} +1 -1
  16. package/{chunk-OQ7JMHBC.mjs → chunk-4R2XCEVK.mjs} +1 -1
  17. package/{chunk-ZXQHFWQH.js → chunk-BRDPNGQ7.js} +3 -3
  18. package/{chunk-KPCXSJ7B.js → chunk-EALMXU6S.js} +3 -3
  19. package/{chunk-AHWPRCGA.mjs → chunk-F24SLAYP.mjs} +3 -0
  20. package/{chunk-RG5MJMTS.js → chunk-GY2TAYQH.js} +2 -2
  21. package/{chunk-7HKUAHVA.mjs → chunk-LLLEO6K6.mjs} +3 -3
  22. package/{chunk-2EGD2BDX.js → chunk-QTCDGPKS.js} +3 -0
  23. package/{chunk-VTS2AFOU.js → chunk-RYBRKLOY.js} +4 -4
  24. package/{chunk-AHJ5TCGF.mjs → chunk-YILVC32M.mjs} +1 -1
  25. package/collections.js +14 -14
  26. package/collections.mjs +2 -2
  27. package/csp-origins.js +9 -9
  28. package/csp-origins.mjs +2 -2
  29. package/data-assets.js +8 -8
  30. package/data-assets.mjs +2 -2
  31. package/data-connections.js +12 -12
  32. package/data-connections.mjs +2 -2
  33. package/data-credentials.js +7 -7
  34. package/data-credentials.mjs +2 -2
  35. package/data-files.js +15 -15
  36. package/data-files.mjs +2 -2
  37. package/{enigma-session-BUSRMT72.mjs → enigma-session-VSFGLOYW.mjs} +1 -1
  38. package/{enigma-session-SX3S4D67.js → enigma-session-VTHT4O6N.js} +4 -4
  39. package/extensions.js +10 -10
  40. package/extensions.mjs +2 -2
  41. package/glossaries.js +27 -27
  42. package/glossaries.mjs +2 -2
  43. package/groups.js +11 -11
  44. package/groups.mjs +2 -2
  45. package/identity-providers.js +11 -11
  46. package/identity-providers.mjs +2 -2
  47. package/index.js +8 -8
  48. package/index.mjs +4 -4
  49. package/invoke-fetch-FRLO3CK6.js +17 -0
  50. package/{invoke-fetch-O6G2T5EO.mjs → invoke-fetch-X42FV2FS.mjs} +1 -1
  51. package/items.js +11 -11
  52. package/items.mjs +2 -2
  53. package/licenses.js +12 -12
  54. package/licenses.mjs +2 -2
  55. package/package.json +1 -1
  56. package/{qix-6ZR6KLUS.mjs → qix-57OF6A7B.mjs} +2 -2
  57. package/{qix-H5YPUSPO.js → qix-QWSMFPQY.js} +8 -8
  58. package/qix.js +3 -3
  59. package/qix.mjs +2 -2
  60. package/quotas.js +5 -5
  61. package/quotas.mjs +2 -2
  62. package/reload-tasks.js +8 -8
  63. package/reload-tasks.mjs +2 -2
  64. package/reloads.js +7 -7
  65. package/reloads.mjs +2 -2
  66. package/roles.js +5 -5
  67. package/roles.mjs +2 -2
  68. package/spaces.js +15 -15
  69. package/spaces.mjs +2 -2
  70. package/temp-contents.js +6 -6
  71. package/temp-contents.mjs +2 -2
  72. package/tenants.js +9 -9
  73. package/tenants.mjs +2 -2
  74. package/themes.js +10 -10
  75. package/themes.mjs +2 -2
  76. package/transports.js +9 -9
  77. package/transports.mjs +2 -2
  78. package/users.js +13 -13
  79. package/users.mjs +2 -2
  80. package/web-integrations.js +8 -8
  81. package/web-integrations.mjs +2 -2
  82. package/web-notifications.js +9 -9
  83. package/web-notifications.mjs +2 -2
  84. package/webhooks.js +13 -13
  85. package/webhooks.mjs +2 -2
  86. package/auth-TB6NYHVR.js +0 -41
  87. package/invoke-fetch-JU62OAXK.js +0 -17
package/automations.js CHANGED
@@ -1,55 +1,55 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
4
+ var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
+ require('./chunk-BRDPNGQ7.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/automations.ts
9
- var getAutomations = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
9
+ var getAutomations = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/automations",
12
12
  query,
13
13
  options
14
14
  });
15
- var createAutomation = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
15
+ var createAutomation = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/automations",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getAutomationsSettings = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
22
+ var getAutomationsSettings = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/automations/settings",
25
25
  options
26
26
  });
27
- var updateAutomationsSettings = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
27
+ var updateAutomationsSettings = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
28
28
  method: "put",
29
29
  pathTemplate: "/api/v1/automations/settings",
30
30
  body,
31
31
  contentType: "application/json",
32
32
  options
33
33
  });
34
- var getAutomationsUsageMetrics = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
34
+ var getAutomationsUsageMetrics = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
35
35
  method: "get",
36
36
  pathTemplate: "/api/v1/automations/usage",
37
37
  query,
38
38
  options
39
39
  });
40
- var deleteAutomation = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
40
+ var deleteAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
41
41
  method: "delete",
42
42
  pathTemplate: "/api/v1/automations/{id}",
43
43
  pathVariables: { id },
44
44
  options
45
45
  });
46
- var getAutomation = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
46
+ var getAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
47
47
  method: "get",
48
48
  pathTemplate: "/api/v1/automations/{id}",
49
49
  pathVariables: { id },
50
50
  options
51
51
  });
52
- var updateAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
52
+ var updateAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
53
53
  method: "put",
54
54
  pathTemplate: "/api/v1/automations/{id}",
55
55
  pathVariables: { id },
@@ -57,7 +57,7 @@ var updateAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch
57
57
  contentType: "application/json",
58
58
  options
59
59
  });
60
- var copyAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
60
+ var copyAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
61
61
  method: "post",
62
62
  pathTemplate: "/api/v1/automations/{id}/actions/copy",
63
63
  pathVariables: { id },
@@ -65,19 +65,19 @@ var copyAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.c
65
65
  contentType: "application/json",
66
66
  options
67
67
  });
68
- var disableAutomation = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
68
+ var disableAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
69
69
  method: "post",
70
70
  pathTemplate: "/api/v1/automations/{id}/actions/disable",
71
71
  pathVariables: { id },
72
72
  options
73
73
  });
74
- var enableAutomation = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
74
+ var enableAutomation = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
75
75
  method: "post",
76
76
  pathTemplate: "/api/v1/automations/{id}/actions/enable",
77
77
  pathVariables: { id },
78
78
  options
79
79
  });
80
- var moveAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
80
+ var moveAutomation = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
81
81
  method: "post",
82
82
  pathTemplate: "/api/v1/automations/{id}/actions/move",
83
83
  pathVariables: { id },
@@ -85,14 +85,14 @@ var moveAutomation = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.c
85
85
  contentType: "application/json",
86
86
  options
87
87
  });
88
- var getAutomationRuns = async (id, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
88
+ var getAutomationRuns = async (id, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
89
89
  method: "get",
90
90
  pathTemplate: "/api/v1/automations/{id}/runs",
91
91
  pathVariables: { id },
92
92
  query,
93
93
  options
94
94
  });
95
- var queueAutomationRun = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
95
+ var queueAutomationRun = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
96
96
  method: "post",
97
97
  pathTemplate: "/api/v1/automations/{id}/runs",
98
98
  pathVariables: { id },
@@ -100,32 +100,32 @@ var queueAutomationRun = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFet
100
100
  contentType: "application/json",
101
101
  options
102
102
  });
103
- var getAutomationRun = async (id, runId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
103
+ var getAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
104
104
  method: "get",
105
105
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}",
106
106
  pathVariables: { id, runId },
107
107
  options
108
108
  });
109
- var getAutomationRunDetails = async (id, runId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
109
+ var getAutomationRunDetails = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
110
110
  method: "post",
111
111
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/export",
112
112
  pathVariables: { id, runId },
113
113
  options
114
114
  });
115
- var retryAutomationRun = async (id, runId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
115
+ var retryAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
116
116
  method: "post",
117
117
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/retry",
118
118
  pathVariables: { id, runId },
119
119
  options
120
120
  });
121
- var stopAutomationRun = async (id, runId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "automations", {
121
+ var stopAutomationRun = async (id, runId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "automations", {
122
122
  method: "post",
123
123
  pathTemplate: "/api/v1/automations/{id}/runs/{runId}/actions/stop",
124
124
  pathVariables: { id, runId },
125
125
  options
126
126
  });
127
127
  function clearCache() {
128
- return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "automations");
128
+ return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "automations");
129
129
  }
130
130
  var automationsExport = {
131
131
  getAutomations,
package/automations.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
4
+ } from "./chunk-4MWB2T3C.mjs";
5
+ import "./chunk-LLLEO6K6.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/automations.ts
package/brands.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
4
+ var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
+ require('./chunk-BRDPNGQ7.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/brands.ts
9
- var getBrands = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
9
+ var getBrands = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/brands",
12
12
  query,
13
13
  options
14
14
  });
15
- var createBrand = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
15
+ var createBrand = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/brands",
18
18
  body,
19
19
  contentType: "multipart/form-data",
20
20
  options
21
21
  });
22
- var getActiveBrand = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
22
+ var getActiveBrand = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/brands/active",
25
25
  options
26
26
  });
27
- var deleteBrand = async (brandId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
27
+ var deleteBrand = async (brandId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/brands/{brand-id}",
30
30
  pathVariables: { "brand-id": brandId },
31
31
  options
32
32
  });
33
- var getBrand = async (brandId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
33
+ var getBrand = async (brandId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/brands/{brand-id}",
36
36
  pathVariables: { "brand-id": brandId },
37
37
  options
38
38
  });
39
- var patchBrand = async (brandId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
39
+ var patchBrand = async (brandId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/brands/{brand-id}",
42
42
  pathVariables: { "brand-id": brandId },
@@ -44,33 +44,33 @@ var patchBrand = async (brandId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var activateBrand = async (brandId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
47
+ var activateBrand = async (brandId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
48
48
  method: "post",
49
49
  pathTemplate: "/api/v1/brands/{brand-id}/actions/activate",
50
50
  pathVariables: { "brand-id": brandId },
51
51
  body,
52
52
  options
53
53
  });
54
- var deactivateBrand = async (brandId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
54
+ var deactivateBrand = async (brandId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
55
55
  method: "post",
56
56
  pathTemplate: "/api/v1/brands/{brand-id}/actions/deactivate",
57
57
  pathVariables: { "brand-id": brandId },
58
58
  body,
59
59
  options
60
60
  });
61
- var deleteBrandFile = async (brandId, brandFileId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
61
+ var deleteBrandFile = async (brandId, brandFileId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
62
62
  method: "delete",
63
63
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
64
64
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
65
65
  options
66
66
  });
67
- var getBrandFile = async (brandId, brandFileId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
67
+ var getBrandFile = async (brandId, brandFileId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
68
68
  method: "get",
69
69
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
70
70
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
71
71
  options
72
72
  });
73
- var createBrandFile = async (brandId, brandFileId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
73
+ var createBrandFile = async (brandId, brandFileId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
74
74
  method: "post",
75
75
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
76
76
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
@@ -78,7 +78,7 @@ var createBrandFile = async (brandId, brandFileId, body, options) => _chunkKPCXS
78
78
  contentType: "multipart/form-data",
79
79
  options
80
80
  });
81
- var updateBrandFile = async (brandId, brandFileId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "brands", {
81
+ var updateBrandFile = async (brandId, brandFileId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "brands", {
82
82
  method: "put",
83
83
  pathTemplate: "/api/v1/brands/{brand-id}/files/{brand-file-id}",
84
84
  pathVariables: { "brand-id": brandId, "brand-file-id": brandFileId },
@@ -87,7 +87,7 @@ var updateBrandFile = async (brandId, brandFileId, body, options) => _chunkKPCXS
87
87
  options
88
88
  });
89
89
  function clearCache() {
90
- return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "brands");
90
+ return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "brands");
91
91
  }
92
92
  var brandsExport = {
93
93
  getBrands,
package/brands.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
4
+ } from "./chunk-4MWB2T3C.mjs";
5
+ import "./chunk-LLLEO6K6.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/brands.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getInvokeFetchRuntimeModule
3
- } from "./chunk-7HKUAHVA.mjs";
3
+ } from "./chunk-LLLEO6K6.mjs";
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getAuthRuntimeModule
3
- } from "./chunk-7HKUAHVA.mjs";
3
+ } from "./chunk-LLLEO6K6.mjs";
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/public/public-runtime-modules.ts
2
2
  function getAuthRuntimeModule(hostConfig) {
3
3
  const isNode = !!_optionalChain([globalThis, 'access', _ => _.process, 'optionalAccess', _2 => _2.argv]);
4
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./auth-TB6NYHVR.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./auth-XY6FVSVM.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
5
5
  }
6
6
  async function getQixRuntimeModule(hostConfig) {
7
7
  await getAuthRuntimeModule(hostConfig);
8
8
  const isNode = !!_optionalChain([globalThis, 'access', _3 => _3.process, 'optionalAccess', _4 => _4.argv]);
9
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./qix-H5YPUSPO.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./qix-QWSMFPQY.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
10
10
  }
11
11
  async function getInvokeFetchRuntimeModule(hostConfig) {
12
12
  await getAuthRuntimeModule(hostConfig);
13
13
  const isNode = !!_optionalChain([globalThis, 'access', _5 => _5.process, 'optionalAccess', _6 => _6.argv]);
14
- return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./invoke-fetch-JU62OAXK.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? Promise.resolve().then(() => _interopRequireWildcard(require("./invoke-fetch-FRLO3CK6.js"))) : Promise.resolve().then(() => _interopRequireWildcard(require("./esm-PXQUPJYJ.js"))).then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
 
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkZXQHFWQHjs = require('./chunk-ZXQHFWQH.js');
3
+ var _chunkBRDPNGQ7js = require('./chunk-BRDPNGQ7.js');
4
4
 
5
5
  // src/public/invoke-fetch.ts
6
6
  async function invokeFetch(api, props) {
7
7
  const hostConfig = _optionalChain([props, 'access', _ => _.options, 'optionalAccess', _2 => _2.hostConfig]);
8
- return (await _chunkZXQHFWQHjs.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
8
+ return (await _chunkBRDPNGQ7js.getInvokeFetchRuntimeModule.call(void 0, hostConfig)).invokeFetch(api, props);
9
9
  }
10
10
  function clearApiCache(api) {
11
- void _chunkZXQHFWQHjs.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
11
+ void _chunkBRDPNGQ7js.getInvokeFetchRuntimeModule.call(void 0, ).then((runtimeModule) => runtimeModule.clearApiCache(api));
12
12
  }
13
13
 
14
14
 
@@ -1408,6 +1408,9 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
1408
1408
  function addPagingFunctions(api, value, method, body, options, interceptors, authHeaders, credentials) {
1409
1409
  return value.then((resp) => {
1410
1410
  const dataWithPotentialLinks = resp.data;
1411
+ if (!dataWithPotentialLinks) {
1412
+ return resp;
1413
+ }
1411
1414
  const prevUrl = dataWithPotentialLinks.links?.prev?.href;
1412
1415
  const nextUrl = dataWithPotentialLinks.links?.next?.href;
1413
1416
  if (prevUrl) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZXQHFWQHjs = require('./chunk-ZXQHFWQH.js');
3
+ var _chunkBRDPNGQ7js = require('./chunk-BRDPNGQ7.js');
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
7
- const appSessionPromise = _chunkZXQHFWQHjs.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
7
+ const appSessionPromise = _chunkBRDPNGQ7js.getQixRuntimeModule.call(void 0, appSessionProps.hostConfig).then(
8
8
  (impl) => impl.openAppSession(appSessionProps)
9
9
  );
10
10
  const appSessionProxy = {
@@ -1,17 +1,17 @@
1
1
  // src/public/public-runtime-modules.ts
2
2
  function getAuthRuntimeModule(hostConfig) {
3
3
  const isNode = !!globalThis.process?.argv;
4
- return isNode ? import("./auth-UH5NRF5W.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
4
+ return isNode ? import("./auth-U6QTT3H4.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("auth@v1", hostConfig));
5
5
  }
6
6
  async function getQixRuntimeModule(hostConfig) {
7
7
  await getAuthRuntimeModule(hostConfig);
8
8
  const isNode = !!globalThis.process?.argv;
9
- return isNode ? import("./qix-6ZR6KLUS.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
9
+ return isNode ? import("./qix-57OF6A7B.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("qix@v1", hostConfig));
10
10
  }
11
11
  async function getInvokeFetchRuntimeModule(hostConfig) {
12
12
  await getAuthRuntimeModule(hostConfig);
13
13
  const isNode = !!globalThis.process?.argv;
14
- return isNode ? import("./invoke-fetch-O6G2T5EO.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
14
+ return isNode ? import("./invoke-fetch-X42FV2FS.mjs") : import("./esm-HMY2LVVZ.mjs").then((mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig));
15
15
  }
16
16
 
17
17
  export {
@@ -1408,6 +1408,9 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
1408
1408
  function addPagingFunctions(api, value, method, body, options, interceptors, authHeaders, credentials) {
1409
1409
  return value.then((resp) => {
1410
1410
  const dataWithPotentialLinks = resp.data;
1411
+ if (!dataWithPotentialLinks) {
1412
+ return resp;
1413
+ }
1411
1414
  const prevUrl = _optionalChain([dataWithPotentialLinks, 'access', _36 => _36.links, 'optionalAccess', _37 => _37.prev, 'optionalAccess', _38 => _38.href]);
1412
1415
  const nextUrl = _optionalChain([dataWithPotentialLinks, 'access', _39 => _39.links, 'optionalAccess', _40 => _40.next, 'optionalAccess', _41 => _41.href]);
1413
1416
  if (prevUrl) {
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZXQHFWQHjs = require('./chunk-ZXQHFWQH.js');
3
+ var _chunkBRDPNGQ7js = require('./chunk-BRDPNGQ7.js');
4
4
 
5
5
  // src/public/auth.ts
6
6
  function registerAuthModule(name, authModule) {
7
- void _chunkZXQHFWQHjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
7
+ void _chunkBRDPNGQ7js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.registerAuthModule(name, authModule));
8
8
  }
9
9
  function logout() {
10
- void _chunkZXQHFWQHjs.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
10
+ void _chunkBRDPNGQ7js.getAuthRuntimeModule.call(void 0, ).then((impl) => impl.logout());
11
11
  }
12
12
  function setDefaultHostConfig(hostConfig) {
13
- void _chunkZXQHFWQHjs.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
13
+ void _chunkBRDPNGQ7js.getAuthRuntimeModule.call(void 0, hostConfig).then((impl) => impl.setDefaultHostConfig(hostConfig));
14
14
  }
15
15
  var auth_default = {
16
16
  registerAuthModule,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getQixRuntimeModule
3
- } from "./chunk-7HKUAHVA.mjs";
3
+ } from "./chunk-LLLEO6K6.mjs";
4
4
 
5
5
  // src/public/qix.ts
6
6
  function openAppSession(appSessionProps) {
package/collections.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
4
+ var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
+ require('./chunk-BRDPNGQ7.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/collections.ts
9
- var getCollections = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
9
+ var getCollections = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/collections",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCollection = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
15
+ var createCollection = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/collections",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getFavoritesCollection = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
22
+ var getFavoritesCollection = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/collections/favorites",
25
25
  options
26
26
  });
27
- var deleteCollection = async (collectionId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
27
+ var deleteCollection = async (collectionId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/collections/{collectionId}",
30
30
  pathVariables: { collectionId },
31
31
  options
32
32
  });
33
- var getCollection = async (collectionId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
33
+ var getCollection = async (collectionId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/collections/{collectionId}",
36
36
  pathVariables: { collectionId },
37
37
  options
38
38
  });
39
- var patchCollection = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
39
+ var patchCollection = async (collectionId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
40
40
  method: "patch",
41
41
  pathTemplate: "/api/v1/collections/{collectionId}",
42
42
  pathVariables: { collectionId },
@@ -44,7 +44,7 @@ var patchCollection = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.in
44
44
  contentType: "application/json",
45
45
  options
46
46
  });
47
- var updateCollection = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
47
+ var updateCollection = async (collectionId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
48
48
  method: "put",
49
49
  pathTemplate: "/api/v1/collections/{collectionId}",
50
50
  pathVariables: { collectionId },
@@ -52,14 +52,14 @@ var updateCollection = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.i
52
52
  contentType: "application/json",
53
53
  options
54
54
  });
55
- var getCollectionItems = async (collectionId, query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
55
+ var getCollectionItems = async (collectionId, query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
56
56
  method: "get",
57
57
  pathTemplate: "/api/v1/collections/{collectionId}/items",
58
58
  pathVariables: { collectionId },
59
59
  query,
60
60
  options
61
61
  });
62
- var addCollectionItem = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
62
+ var addCollectionItem = async (collectionId, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
63
63
  method: "post",
64
64
  pathTemplate: "/api/v1/collections/{collectionId}/items",
65
65
  pathVariables: { collectionId },
@@ -67,20 +67,20 @@ var addCollectionItem = async (collectionId, body, options) => _chunkKPCXSJ7Bjs.
67
67
  contentType: "application/json",
68
68
  options
69
69
  });
70
- var deleteCollectionItem = async (collectionId, itemId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
70
+ var deleteCollectionItem = async (collectionId, itemId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
71
71
  method: "delete",
72
72
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
73
73
  pathVariables: { collectionId, itemId },
74
74
  options
75
75
  });
76
- var getCollectionItem = async (collectionId, itemId, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "collections", {
76
+ var getCollectionItem = async (collectionId, itemId, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "collections", {
77
77
  method: "get",
78
78
  pathTemplate: "/api/v1/collections/{collectionId}/items/{itemId}",
79
79
  pathVariables: { collectionId, itemId },
80
80
  options
81
81
  });
82
82
  function clearCache() {
83
- return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "collections");
83
+ return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "collections");
84
84
  }
85
85
  var collectionsExport = {
86
86
  getCollections,
package/collections.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
4
+ } from "./chunk-4MWB2T3C.mjs";
5
+ import "./chunk-LLLEO6K6.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/collections.ts
package/csp-origins.js CHANGED
@@ -1,42 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkKPCXSJ7Bjs = require('./chunk-KPCXSJ7B.js');
5
- require('./chunk-ZXQHFWQH.js');
4
+ var _chunkEALMXU6Sjs = require('./chunk-EALMXU6S.js');
5
+ require('./chunk-BRDPNGQ7.js');
6
6
  require('./chunk-P57PW2II.js');
7
7
 
8
8
  // src/public/rest/csp-origins.ts
9
- var getCSPEntries = async (query, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
9
+ var getCSPEntries = async (query, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/csp-origins",
12
12
  query,
13
13
  options
14
14
  });
15
- var createCSPEntry = async (body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
15
+ var createCSPEntry = async (body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/csp-origins",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getCSPHeader = async (options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
22
+ var getCSPHeader = async (options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/csp-origins/actions/generate-header",
25
25
  options
26
26
  });
27
- var deleteCSPEntry = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
27
+ var deleteCSPEntry = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
28
28
  method: "delete",
29
29
  pathTemplate: "/api/v1/csp-origins/{id}",
30
30
  pathVariables: { id },
31
31
  options
32
32
  });
33
- var getCSPEntry = async (id, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
33
+ var getCSPEntry = async (id, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
34
34
  method: "get",
35
35
  pathTemplate: "/api/v1/csp-origins/{id}",
36
36
  pathVariables: { id },
37
37
  options
38
38
  });
39
- var updateCSPEntry = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.call(void 0, "csp-origins", {
39
+ var updateCSPEntry = async (id, body, options) => _chunkEALMXU6Sjs.invokeFetch.call(void 0, "csp-origins", {
40
40
  method: "put",
41
41
  pathTemplate: "/api/v1/csp-origins/{id}",
42
42
  pathVariables: { id },
@@ -45,7 +45,7 @@ var updateCSPEntry = async (id, body, options) => _chunkKPCXSJ7Bjs.invokeFetch.c
45
45
  options
46
46
  });
47
47
  function clearCache() {
48
- return _chunkKPCXSJ7Bjs.clearApiCache.call(void 0, "csp-origins");
48
+ return _chunkEALMXU6Sjs.clearApiCache.call(void 0, "csp-origins");
49
49
  }
50
50
  var cspOriginsExport = {
51
51
  getCSPEntries,
package/csp-origins.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunk-ZNLWUSS5.mjs";
5
- import "./chunk-7HKUAHVA.mjs";
4
+ } from "./chunk-4MWB2T3C.mjs";
5
+ import "./chunk-LLLEO6K6.mjs";
6
6
  import "./chunk-ZFXKCRJC.mjs";
7
7
 
8
8
  // src/public/rest/csp-origins.ts