@qlik/api 0.0.15 → 0.1.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 (135) hide show
  1. package/README.md +1 -1
  2. package/api-keys.js +25 -25
  3. package/apps.js +97 -97
  4. package/audits.js +23 -23
  5. package/auth.js +14 -14
  6. package/automations.js +47 -47
  7. package/brands.js +35 -35
  8. package/chunks/4HB3TAEO.js +4 -4
  9. package/chunks/{EHAANYDL.mjs → 4V5AAWUI.js} +3 -3
  10. package/chunks/{O4EAKEIN.mjs → D62LI5YU.js} +1 -1
  11. package/chunks/{6WX5AGKQ.mjs → L2BJNKLV.js} +2 -2
  12. package/chunks/{3YV6X7S6.mjs → LHCJKIEO.js} +1 -1
  13. package/chunks/OPRGGO4C.js +8 -8
  14. package/chunks/{HHOVS7QC.mjs → RNLZBOJU.js} +3 -3
  15. package/chunks/{BYD63JCG.mjs → SIU6HO6B.js} +5 -3
  16. package/chunks/{6AD3HYSF.mjs → TFSRDRRS.js} +1 -1
  17. package/chunks/{HOCTJESP.mjs → VK2CODYY.js} +2 -2
  18. package/chunks/{UKVTBYP6.mjs → XOVMZWDC.js} +2 -2
  19. package/collections.js +33 -33
  20. package/csp-origins.js +23 -23
  21. package/data-assets.js +21 -21
  22. package/data-connections.d.ts +97 -61
  23. package/data-connections.js +29 -29
  24. package/data-credentials.d.ts +3 -2
  25. package/data-credentials.js +19 -19
  26. package/data-files.js +35 -35
  27. package/docs/authentication.md +5 -5
  28. package/docs/examples/fetch-spaces.md +1 -15
  29. package/docs/examples/open-without-data.md +1 -1
  30. package/docs/examples/show-sheet-list.md +1 -1
  31. package/docs/features.md +1 -1
  32. package/extensions.js +25 -25
  33. package/glossaries.js +59 -59
  34. package/groups.d.ts +0 -3
  35. package/groups.js +27 -27
  36. package/identity-providers.js +27 -27
  37. package/index.js +53 -53
  38. package/items.js +27 -27
  39. package/licenses.js +29 -29
  40. package/package.json +36 -232
  41. package/qix.d.ts +1 -1
  42. package/qix.js +10 -10
  43. package/quotas.js +15 -15
  44. package/reload-tasks.js +21 -21
  45. package/reloads.js +19 -19
  46. package/roles.js +15 -15
  47. package/spaces.js +35 -35
  48. package/temp-contents.js +17 -17
  49. package/tenants.js +23 -23
  50. package/themes.js +25 -25
  51. package/transports.js +23 -23
  52. package/users.d.ts +1 -3
  53. package/users.js +31 -31
  54. package/web-integrations.js +21 -21
  55. package/web-notifications.js +23 -23
  56. package/webhooks.js +31 -31
  57. package/api-keys.d.mts +0 -336
  58. package/api-keys.mjs +0 -80
  59. package/apps.d.mts +0 -2431
  60. package/apps.mjs +0 -398
  61. package/audits.d.mts +0 -286
  62. package/audits.mjs +0 -64
  63. package/auth-types-nnUcWhuU.d.mts +0 -98
  64. package/auth.d.mts +0 -26
  65. package/auth.mjs +0 -14
  66. package/automations.d.mts +0 -682
  67. package/automations.mjs +0 -173
  68. package/brands.d.mts +0 -670
  69. package/brands.mjs +0 -123
  70. package/chunks/2YWCEGTS.js +0 -21
  71. package/chunks/34ZKUFEA.js +0 -41
  72. package/chunks/4WHZ4EIW.js +0 -57
  73. package/chunks/B4VPD3ZT.js +0 -574
  74. package/chunks/BM4OSDRZ.js +0 -17
  75. package/chunks/DCXUEDOW.mjs +0 -67
  76. package/chunks/MTAQE4WC.js +0 -10411
  77. package/chunks/PLOSYUG2.js +0 -25
  78. package/chunks/URIW2U5M.js +0 -17
  79. package/chunks/VSY5YIQY.mjs +0 -11
  80. package/chunks/WOYJLK4Y.js +0 -1623
  81. package/collections.d.mts +0 -581
  82. package/collections.mjs +0 -114
  83. package/csp-origins.d.mts +0 -273
  84. package/csp-origins.mjs +0 -69
  85. package/data-assets.d.mts +0 -205
  86. package/data-assets.mjs +0 -66
  87. package/data-connections.d.mts +0 -558
  88. package/data-connections.mjs +0 -103
  89. package/data-credentials.d.mts +0 -203
  90. package/data-credentials.mjs +0 -59
  91. package/data-files.d.mts +0 -562
  92. package/data-files.mjs +0 -123
  93. package/extensions.d.mts +0 -293
  94. package/extensions.mjs +0 -77
  95. package/global.types-5iFvFJvX.d.mts +0 -115
  96. package/glossaries.d.mts +0 -1173
  97. package/glossaries.mjs +0 -237
  98. package/groups.d.mts +0 -434
  99. package/groups.mjs +0 -88
  100. package/identity-providers.d.mts +0 -550
  101. package/identity-providers.mjs +0 -83
  102. package/index.d.mts +0 -142
  103. package/index.mjs +0 -716
  104. package/items.d.mts +0 -535
  105. package/items.mjs +0 -87
  106. package/licenses.d.mts +0 -459
  107. package/licenses.mjs +0 -92
  108. package/qix.d.mts +0 -11629
  109. package/qix.mjs +0 -10
  110. package/quotas.d.mts +0 -112
  111. package/quotas.mjs +0 -32
  112. package/reload-tasks.d.mts +0 -227
  113. package/reload-tasks.mjs +0 -62
  114. package/reloads.d.mts +0 -207
  115. package/reloads.mjs +0 -46
  116. package/roles.d.mts +0 -175
  117. package/roles.mjs +0 -31
  118. package/spaces.d.mts +0 -562
  119. package/spaces.mjs +0 -124
  120. package/temp-contents.d.mts +0 -167
  121. package/temp-contents.mjs +0 -41
  122. package/tenants.d.mts +0 -300
  123. package/tenants.mjs +0 -73
  124. package/themes.d.mts +0 -268
  125. package/themes.mjs +0 -77
  126. package/transports.d.mts +0 -319
  127. package/transports.mjs +0 -65
  128. package/users.d.mts +0 -631
  129. package/users.mjs +0 -104
  130. package/web-integrations.d.mts +0 -274
  131. package/web-integrations.mjs +0 -62
  132. package/web-notifications.d.mts +0 -250
  133. package/web-notifications.mjs +0 -69
  134. package/webhooks.d.mts +0 -445
  135. package/webhooks.mjs +0 -104
package/glossaries.js CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/glossaries.ts
9
- var getGlossaries = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
9
+ var getGlossaries = async (query, options) => invokeFetch("glossaries", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/glossaries",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGlossary = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
15
+ var createGlossary = async (body, options) => invokeFetch("glossaries", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/glossaries",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var importGlossary = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
22
+ var importGlossary = async (query, body, options) => invokeFetch("glossaries", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/glossaries/actions/import",
25
25
  query,
@@ -27,19 +27,19 @@ var importGlossary = async (query, body, options) => _URIW2U5Mjs.invokeFetch.cal
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var deleteGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
30
+ var deleteGlossary = async (id, options) => invokeFetch("glossaries", {
31
31
  method: "delete",
32
32
  pathTemplate: "/api/v1/glossaries/{id}",
33
33
  pathVariables: { id },
34
34
  options
35
35
  });
36
- var getGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
36
+ var getGlossary = async (id, options) => invokeFetch("glossaries", {
37
37
  method: "get",
38
38
  pathTemplate: "/api/v1/glossaries/{id}",
39
39
  pathVariables: { id },
40
40
  options
41
41
  });
42
- var patchGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
42
+ var patchGlossary = async (id, body, options) => invokeFetch("glossaries", {
43
43
  method: "patch",
44
44
  pathTemplate: "/api/v1/glossaries/{id}",
45
45
  pathVariables: { id },
@@ -47,7 +47,7 @@ var patchGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(vo
47
47
  contentType: "application/json",
48
48
  options
49
49
  });
50
- var updateGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
50
+ var updateGlossary = async (id, body, options) => invokeFetch("glossaries", {
51
51
  method: "put",
52
52
  pathTemplate: "/api/v1/glossaries/{id}",
53
53
  pathVariables: { id },
@@ -55,20 +55,20 @@ var updateGlossary = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(v
55
55
  contentType: "application/json",
56
56
  options
57
57
  });
58
- var exportGlossary = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
58
+ var exportGlossary = async (id, options) => invokeFetch("glossaries", {
59
59
  method: "get",
60
60
  pathTemplate: "/api/v1/glossaries/{id}/actions/export",
61
61
  pathVariables: { id },
62
62
  options
63
63
  });
64
- var getGlossaryCategories = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
64
+ var getGlossaryCategories = async (id, query, options) => invokeFetch("glossaries", {
65
65
  method: "get",
66
66
  pathTemplate: "/api/v1/glossaries/{id}/categories",
67
67
  pathVariables: { id },
68
68
  query,
69
69
  options
70
70
  });
71
- var createGlossaryCategory = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
71
+ var createGlossaryCategory = async (id, body, options) => invokeFetch("glossaries", {
72
72
  method: "post",
73
73
  pathTemplate: "/api/v1/glossaries/{id}/categories",
74
74
  pathVariables: { id },
@@ -76,19 +76,19 @@ var createGlossaryCategory = async (id, body, options) => _URIW2U5Mjs.invokeFetc
76
76
  contentType: "application/json",
77
77
  options
78
78
  });
79
- var deleteGlossaryCategory = async (id, categoryId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
79
+ var deleteGlossaryCategory = async (id, categoryId, options) => invokeFetch("glossaries", {
80
80
  method: "delete",
81
81
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
82
82
  pathVariables: { id, categoryId },
83
83
  options
84
84
  });
85
- var getGlossaryCategory = async (id, categoryId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
85
+ var getGlossaryCategory = async (id, categoryId, options) => invokeFetch("glossaries", {
86
86
  method: "get",
87
87
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
88
88
  pathVariables: { id, categoryId },
89
89
  options
90
90
  });
91
- var patchGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
91
+ var patchGlossaryCategory = async (id, categoryId, body, options) => invokeFetch("glossaries", {
92
92
  method: "patch",
93
93
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
94
94
  pathVariables: { id, categoryId },
@@ -96,7 +96,7 @@ var patchGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mjs
96
96
  contentType: "application/json",
97
97
  options
98
98
  });
99
- var updateGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
99
+ var updateGlossaryCategory = async (id, categoryId, body, options) => invokeFetch("glossaries", {
100
100
  method: "put",
101
101
  pathTemplate: "/api/v1/glossaries/{id}/categories/{categoryId}",
102
102
  pathVariables: { id, categoryId },
@@ -104,14 +104,14 @@ var updateGlossaryCategory = async (id, categoryId, body, options) => _URIW2U5Mj
104
104
  contentType: "application/json",
105
105
  options
106
106
  });
107
- var getGlossaryTerms = async (id, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
107
+ var getGlossaryTerms = async (id, query, options) => invokeFetch("glossaries", {
108
108
  method: "get",
109
109
  pathTemplate: "/api/v1/glossaries/{id}/terms",
110
110
  pathVariables: { id },
111
111
  query,
112
112
  options
113
113
  });
114
- var createGlossaryTerm = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
114
+ var createGlossaryTerm = async (id, body, options) => invokeFetch("glossaries", {
115
115
  method: "post",
116
116
  pathTemplate: "/api/v1/glossaries/{id}/terms",
117
117
  pathVariables: { id },
@@ -119,19 +119,19 @@ var createGlossaryTerm = async (id, body, options) => _URIW2U5Mjs.invokeFetch.ca
119
119
  contentType: "application/json",
120
120
  options
121
121
  });
122
- var deleteGlossaryTerm = async (id, termId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
122
+ var deleteGlossaryTerm = async (id, termId, options) => invokeFetch("glossaries", {
123
123
  method: "delete",
124
124
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
125
125
  pathVariables: { id, termId },
126
126
  options
127
127
  });
128
- var getGlossaryTerm = async (id, termId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
128
+ var getGlossaryTerm = async (id, termId, options) => invokeFetch("glossaries", {
129
129
  method: "get",
130
130
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
131
131
  pathVariables: { id, termId },
132
132
  options
133
133
  });
134
- var patchGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
134
+ var patchGlossaryTerm = async (id, termId, body, options) => invokeFetch("glossaries", {
135
135
  method: "patch",
136
136
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
137
137
  pathVariables: { id, termId },
@@ -139,7 +139,7 @@ var patchGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invokeF
139
139
  contentType: "application/json",
140
140
  options
141
141
  });
142
- var updateGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
142
+ var updateGlossaryTerm = async (id, termId, body, options) => invokeFetch("glossaries", {
143
143
  method: "put",
144
144
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}",
145
145
  pathVariables: { id, termId },
@@ -147,21 +147,21 @@ var updateGlossaryTerm = async (id, termId, body, options) => _URIW2U5Mjs.invoke
147
147
  contentType: "application/json",
148
148
  options
149
149
  });
150
- var changeGlossaryTermStatus = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
150
+ var changeGlossaryTermStatus = async (id, termId, query, options) => invokeFetch("glossaries", {
151
151
  method: "post",
152
152
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/actions/change-status",
153
153
  pathVariables: { id, termId },
154
154
  query,
155
155
  options
156
156
  });
157
- var getGlossaryTermLinks = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
157
+ var getGlossaryTermLinks = async (id, termId, query, options) => invokeFetch("glossaries", {
158
158
  method: "get",
159
159
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
160
160
  pathVariables: { id, termId },
161
161
  query,
162
162
  options
163
163
  });
164
- var createGlossaryTermLink = async (id, termId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
164
+ var createGlossaryTermLink = async (id, termId, body, options) => invokeFetch("glossaries", {
165
165
  method: "post",
166
166
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/links",
167
167
  pathVariables: { id, termId },
@@ -169,7 +169,7 @@ var createGlossaryTermLink = async (id, termId, body, options) => _URIW2U5Mjs.in
169
169
  contentType: "application/json",
170
170
  options
171
171
  });
172
- var getGlossaryTermRevisions = async (id, termId, query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "glossaries", {
172
+ var getGlossaryTermRevisions = async (id, termId, query, options) => invokeFetch("glossaries", {
173
173
  method: "get",
174
174
  pathTemplate: "/api/v1/glossaries/{id}/terms/{termId}/revisions",
175
175
  pathVariables: { id, termId },
@@ -177,7 +177,7 @@ var getGlossaryTermRevisions = async (id, termId, query, options) => _URIW2U5Mjs
177
177
  options
178
178
  });
179
179
  function clearCache() {
180
- return _URIW2U5Mjs.clearApiCache.call(void 0, "glossaries");
180
+ return clearApiCache("glossaries");
181
181
  }
182
182
  var glossariesExport = {
183
183
  getGlossaries,
@@ -207,31 +207,31 @@ var glossariesExport = {
207
207
  clearCache
208
208
  };
209
209
  var glossaries_default = glossariesExport;
210
-
211
-
212
-
213
-
214
-
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
- exports.changeGlossaryTermStatus = changeGlossaryTermStatus; exports.clearCache = clearCache; exports.createGlossary = createGlossary; exports.createGlossaryCategory = createGlossaryCategory; exports.createGlossaryTerm = createGlossaryTerm; exports.createGlossaryTermLink = createGlossaryTermLink; exports.default = glossaries_default; exports.deleteGlossary = deleteGlossary; exports.deleteGlossaryCategory = deleteGlossaryCategory; exports.deleteGlossaryTerm = deleteGlossaryTerm; exports.exportGlossary = exportGlossary; exports.getGlossaries = getGlossaries; exports.getGlossary = getGlossary; exports.getGlossaryCategories = getGlossaryCategories; exports.getGlossaryCategory = getGlossaryCategory; exports.getGlossaryTerm = getGlossaryTerm; exports.getGlossaryTermLinks = getGlossaryTermLinks; exports.getGlossaryTermRevisions = getGlossaryTermRevisions; exports.getGlossaryTerms = getGlossaryTerms; exports.importGlossary = importGlossary; exports.patchGlossary = patchGlossary; exports.patchGlossaryCategory = patchGlossaryCategory; exports.patchGlossaryTerm = patchGlossaryTerm; exports.updateGlossary = updateGlossary; exports.updateGlossaryCategory = updateGlossaryCategory; exports.updateGlossaryTerm = updateGlossaryTerm;
210
+ export {
211
+ changeGlossaryTermStatus,
212
+ clearCache,
213
+ createGlossary,
214
+ createGlossaryCategory,
215
+ createGlossaryTerm,
216
+ createGlossaryTermLink,
217
+ glossaries_default as default,
218
+ deleteGlossary,
219
+ deleteGlossaryCategory,
220
+ deleteGlossaryTerm,
221
+ exportGlossary,
222
+ getGlossaries,
223
+ getGlossary,
224
+ getGlossaryCategories,
225
+ getGlossaryCategory,
226
+ getGlossaryTerm,
227
+ getGlossaryTermLinks,
228
+ getGlossaryTermRevisions,
229
+ getGlossaryTerms,
230
+ importGlossary,
231
+ patchGlossary,
232
+ patchGlossaryCategory,
233
+ patchGlossaryTerm,
234
+ updateGlossary,
235
+ updateGlossaryCategory,
236
+ updateGlossaryTerm
237
+ };
package/groups.d.ts CHANGED
@@ -11,8 +11,6 @@ type AssignedRoles = {
11
11
  readonly level: "admin" | "user";
12
12
  /** The role name */
13
13
  readonly name: string;
14
- /** An array of permissions associated to a given role. */
15
- readonly permissions: string[];
16
14
  /** The type of role */
17
15
  readonly type: "default";
18
16
  }[];
@@ -76,7 +74,6 @@ type Group = {
76
74
  id: string;
77
75
  readonly level: "admin" | "user";
78
76
  readonly name: string;
79
- readonly permissions: string[];
80
77
  readonly type: "default";
81
78
  }[];
82
79
  /** The timestamp for when the group record was created. */
package/groups.js CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/groups.ts
9
- var getGroups = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
9
+ var getGroups = async (query, options) => invokeFetch("groups", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/groups",
12
12
  query,
13
13
  options
14
14
  });
15
- var createGroup = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
15
+ var createGroup = async (body, options) => invokeFetch("groups", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/groups",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var filterGroups = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
22
+ var filterGroups = async (query, body, options) => invokeFetch("groups", {
23
23
  method: "post",
24
24
  pathTemplate: "/api/v1/groups/actions/filter",
25
25
  query,
@@ -27,31 +27,31 @@ var filterGroups = async (query, body, options) => _URIW2U5Mjs.invokeFetch.call(
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var getGroupsSettings = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
30
+ var getGroupsSettings = async (options) => invokeFetch("groups", {
31
31
  method: "get",
32
32
  pathTemplate: "/api/v1/groups/settings",
33
33
  options
34
34
  });
35
- var patchGroupsSettings = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
35
+ var patchGroupsSettings = async (body, options) => invokeFetch("groups", {
36
36
  method: "patch",
37
37
  pathTemplate: "/api/v1/groups/settings",
38
38
  body,
39
39
  contentType: "application/json",
40
40
  options
41
41
  });
42
- var deleteGroup = async (groupId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
42
+ var deleteGroup = async (groupId, options) => invokeFetch("groups", {
43
43
  method: "delete",
44
44
  pathTemplate: "/api/v1/groups/{groupId}",
45
45
  pathVariables: { groupId },
46
46
  options
47
47
  });
48
- var getGroup = async (groupId, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
48
+ var getGroup = async (groupId, options) => invokeFetch("groups", {
49
49
  method: "get",
50
50
  pathTemplate: "/api/v1/groups/{groupId}",
51
51
  pathVariables: { groupId },
52
52
  options
53
53
  });
54
- var patchGroup = async (groupId, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "groups", {
54
+ var patchGroup = async (groupId, body, options) => invokeFetch("groups", {
55
55
  method: "patch",
56
56
  pathTemplate: "/api/v1/groups/{groupId}",
57
57
  pathVariables: { groupId },
@@ -60,7 +60,7 @@ var patchGroup = async (groupId, body, options) => _URIW2U5Mjs.invokeFetch.call(
60
60
  options
61
61
  });
62
62
  function clearCache() {
63
- return _URIW2U5Mjs.clearApiCache.call(void 0, "groups");
63
+ return clearApiCache("groups");
64
64
  }
65
65
  var groupsExport = {
66
66
  getGroups,
@@ -74,15 +74,15 @@ var groupsExport = {
74
74
  clearCache
75
75
  };
76
76
  var groups_default = groupsExport;
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
- exports.clearCache = clearCache; exports.createGroup = createGroup; exports.default = groups_default; exports.deleteGroup = deleteGroup; exports.filterGroups = filterGroups; exports.getGroup = getGroup; exports.getGroups = getGroups; exports.getGroupsSettings = getGroupsSettings; exports.patchGroup = patchGroup; exports.patchGroupsSettings = patchGroupsSettings;
77
+ export {
78
+ clearCache,
79
+ createGroup,
80
+ groups_default as default,
81
+ deleteGroup,
82
+ filterGroups,
83
+ getGroup,
84
+ getGroups,
85
+ getGroupsSettings,
86
+ patchGroup,
87
+ patchGroupsSettings
88
+ };
@@ -1,52 +1,52 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
5
- require('./chunks/2YWCEGTS.js');
6
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ clearApiCache,
3
+ invokeFetch
4
+ } from "./chunks/LHCJKIEO.js";
5
+ import "./chunks/4V5AAWUI.js";
6
+ import "./chunks/4HB3TAEO.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
9
- var getIdps = async (query, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
9
+ var getIdps = async (query, options) => invokeFetch("identity-providers", {
10
10
  method: "get",
11
11
  pathTemplate: "/api/v1/identity-providers",
12
12
  query,
13
13
  options
14
14
  });
15
- var createIdp = async (body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
15
+ var createIdp = async (body, options) => invokeFetch("identity-providers", {
16
16
  method: "post",
17
17
  pathTemplate: "/api/v1/identity-providers",
18
18
  body,
19
19
  contentType: "application/json",
20
20
  options
21
21
  });
22
- var getIdpWellKnownMetaData = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
22
+ var getIdpWellKnownMetaData = async (options) => invokeFetch("identity-providers", {
23
23
  method: "get",
24
24
  pathTemplate: "/api/v1/identity-providers/.well-known/metadata.json",
25
25
  options
26
26
  });
27
- var getMyIdpMeta = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
27
+ var getMyIdpMeta = async (options) => invokeFetch("identity-providers", {
28
28
  method: "get",
29
29
  pathTemplate: "/api/v1/identity-providers/me/meta",
30
30
  options
31
31
  });
32
- var getIdpStatuses = async (options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
32
+ var getIdpStatuses = async (options) => invokeFetch("identity-providers", {
33
33
  method: "get",
34
34
  pathTemplate: "/api/v1/identity-providers/status",
35
35
  options
36
36
  });
37
- var deleteIdp = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
37
+ var deleteIdp = async (id, options) => invokeFetch("identity-providers", {
38
38
  method: "delete",
39
39
  pathTemplate: "/api/v1/identity-providers/{id}",
40
40
  pathVariables: { id },
41
41
  options
42
42
  });
43
- var getIdp = async (id, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
43
+ var getIdp = async (id, options) => invokeFetch("identity-providers", {
44
44
  method: "get",
45
45
  pathTemplate: "/api/v1/identity-providers/{id}",
46
46
  pathVariables: { id },
47
47
  options
48
48
  });
49
- var patchIdp = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0, "identity-providers", {
49
+ var patchIdp = async (id, body, options) => invokeFetch("identity-providers", {
50
50
  method: "patch",
51
51
  pathTemplate: "/api/v1/identity-providers/{id}",
52
52
  pathVariables: { id },
@@ -55,7 +55,7 @@ var patchIdp = async (id, body, options) => _URIW2U5Mjs.invokeFetch.call(void 0,
55
55
  options
56
56
  });
57
57
  function clearCache() {
58
- return _URIW2U5Mjs.clearApiCache.call(void 0, "identity-providers");
58
+ return clearApiCache("identity-providers");
59
59
  }
60
60
  var identityProvidersExport = {
61
61
  getIdps,
@@ -69,15 +69,15 @@ var identityProvidersExport = {
69
69
  clearCache
70
70
  };
71
71
  var identity_providers_default = identityProvidersExport;
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
- exports.clearCache = clearCache; exports.createIdp = createIdp; exports.default = identity_providers_default; exports.deleteIdp = deleteIdp; exports.getIdp = getIdp; exports.getIdpStatuses = getIdpStatuses; exports.getIdpWellKnownMetaData = getIdpWellKnownMetaData; exports.getIdps = getIdps; exports.getMyIdpMeta = getMyIdpMeta; exports.patchIdp = patchIdp;
72
+ export {
73
+ clearCache,
74
+ createIdp,
75
+ identity_providers_default as default,
76
+ deleteIdp,
77
+ getIdp,
78
+ getIdpStatuses,
79
+ getIdpWellKnownMetaData,
80
+ getIdps,
81
+ getMyIdpMeta,
82
+ patchIdp
83
+ };
package/index.js CHANGED
@@ -1,15 +1,15 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _PLOSYUG2js = require('./chunks/PLOSYUG2.js');
4
-
5
-
6
- var _4WHZ4EIWjs = require('./chunks/4WHZ4EIW.js');
7
-
8
-
9
-
10
- var _URIW2U5Mjs = require('./chunks/URIW2U5M.js');
11
- require('./chunks/2YWCEGTS.js');
12
- require('./chunks/4HB3TAEO.js');
1
+ import {
2
+ auth_default
3
+ } from "./chunks/TFSRDRRS.js";
4
+ import {
5
+ qix_default
6
+ } from "./chunks/D62LI5YU.js";
7
+ import {
8
+ clearApiCache,
9
+ invokeFetch
10
+ } from "./chunks/LHCJKIEO.js";
11
+ import "./chunks/4V5AAWUI.js";
12
+ import "./chunks/4HB3TAEO.js";
13
13
 
14
14
  // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
15
15
  var methodAbbreviations = {
@@ -26,7 +26,7 @@ var methodAbbreviations = {
26
26
  function methodCharToMethodName(method) {
27
27
  try {
28
28
  return methodAbbreviations[method];
29
- } catch (e) {
29
+ } catch {
30
30
  throw new Error(`Unknown short hand method:${method}`);
31
31
  }
32
32
  }
@@ -40,7 +40,7 @@ var contentTypeAbbreviations = {
40
40
  function contentTypeCharToContentType(typeChar) {
41
41
  try {
42
42
  return contentTypeAbbreviations[typeChar];
43
- } catch (e2) {
43
+ } catch {
44
44
  throw new Error(`Unknown short hand content-type: ${typeChar}`);
45
45
  }
46
46
  }
@@ -84,7 +84,7 @@ function apiDefToApi(namespace, def) {
84
84
  return runtimeApiCache[namespace];
85
85
  }
86
86
  const api2 = {
87
- clearCache: () => _URIW2U5Mjs.clearApiCache.call(void 0, namespace)
87
+ clearCache: () => clearApiCache(namespace)
88
88
  };
89
89
  const initFunc = () => {
90
90
  traverse(namespace, "", def, api2);
@@ -153,7 +153,7 @@ function createClassicApiFn(namespace, operationName, pathTemplate, method, argN
153
153
  if (useInstead) {
154
154
  console.warn(`${namespace}.${operationName} is deprecated, use ${useInstead} instead`);
155
155
  }
156
- return _URIW2U5Mjs.invokeFetch.call(void 0, namespace, {
156
+ return invokeFetch(namespace, {
157
157
  method,
158
158
  pathTemplate,
159
159
  pathVariables,
@@ -249,7 +249,7 @@ var audits = apiDefToApi("audits", {
249
249
  }
250
250
  }
251
251
  });
252
- var auth = _PLOSYUG2js.auth_default;
252
+ var auth = auth_default;
253
253
  var automations = apiDefToApi("automations", {
254
254
  api: {
255
255
  v1: {
@@ -496,7 +496,7 @@ var licenses = apiDefToApi("licenses", {
496
496
  }
497
497
  }
498
498
  });
499
- var qix = _4WHZ4EIWjs.qix_default;
499
+ var qix = qix_default;
500
500
  var quotas = apiDefToApi("quotas", {
501
501
  api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
502
502
  });
@@ -679,38 +679,38 @@ var api = {
679
679
  webhooks
680
680
  };
681
681
  var public_default = api;
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
-
712
-
713
-
714
-
715
-
716
- exports.apiKeys = apiKeys; exports.apps = apps; exports.audits = audits; exports.auth = auth; exports.automations = automations; exports.brands = brands; exports.collections = collections; exports.cspOrigins = cspOrigins; exports.dataAssets = dataAssets; exports.dataConnections = dataConnections; exports.dataCredentials = dataCredentials; exports.dataFiles = dataFiles; exports.default = public_default; exports.extensions = extensions; exports.glossaries = glossaries; exports.groups = groups; exports.identityProviders = identityProviders; exports.items = items; exports.licenses = licenses; exports.qix = qix; exports.quotas = quotas; exports.reloadTasks = reloadTasks; exports.reloads = reloads; exports.roles = roles; exports.spaces = spaces; exports.tempContents = tempContents; exports.tenants = tenants; exports.themes = themes; exports.transports = transports; exports.users = users; exports.webIntegrations = webIntegrations; exports.webNotifications = webNotifications; exports.webhooks = webhooks;
682
+ export {
683
+ apiKeys,
684
+ apps,
685
+ audits,
686
+ auth,
687
+ automations,
688
+ brands,
689
+ collections,
690
+ cspOrigins,
691
+ dataAssets,
692
+ dataConnections,
693
+ dataCredentials,
694
+ dataFiles,
695
+ public_default as default,
696
+ extensions,
697
+ glossaries,
698
+ groups,
699
+ identityProviders,
700
+ items,
701
+ licenses,
702
+ qix,
703
+ quotas,
704
+ reloadTasks,
705
+ reloads,
706
+ roles,
707
+ spaces,
708
+ tempContents,
709
+ tenants,
710
+ themes,
711
+ transports,
712
+ users,
713
+ webIntegrations,
714
+ webNotifications,
715
+ webhooks
716
+ };