@qlik/api 0.0.9 → 0.0.10

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/{YDB23Q56.mjs → 34FMVD4C.mjs} +164 -20
  24. package/chunks/{PQ4OWSWX.js → 37PLWNAN.js} +44 -56
  25. package/chunks/{AULTUQC4.js → 3MHXEHLQ.js} +2 -2
  26. package/chunks/{AU62SBT4.mjs → 42LZKDDD.mjs} +1 -1
  27. package/chunks/{AGASWXYW.js → AVQ3WHH7.js} +167 -23
  28. package/chunks/{W2I5OQA5.js → FG5GDUSZ.js} +3 -3
  29. package/chunks/{EHZ6H6TD.mjs → FUU5VIC4.mjs} +1 -1
  30. package/chunks/{L7DRRU3T.mjs → HFNJ3ERI.mjs} +2 -2
  31. package/chunks/{POR3DZIU.mjs → HWZC3PIL.mjs} +1 -1
  32. package/chunks/{XY3AC335.js → ILOY5QEA.js} +4 -4
  33. package/chunks/{K4YCNLTC.mjs → KEPPVUY3.mjs} +1 -1
  34. package/chunks/{WQHUX4R2.mjs → MMUU2CQM.mjs} +1 -1
  35. package/chunks/{VLLTA4EY.mjs → O5POHH2Q.mjs} +3 -3
  36. package/chunks/{EL2GSPZZ.js → QMWU5E4D.js} +3 -3
  37. package/chunks/RMNAO4DP.js +17 -0
  38. package/chunks/SUYUL6MB.js +41 -0
  39. package/chunks/{KDW6ZD2R.mjs → VMS4MOCI.mjs} +42 -54
  40. package/chunks/{F7GJTDIU.js → WCJ4JQHA.js} +8 -8
  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
package/glossaries.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
6
+ */
4
7
  type JSONPatch = {
5
8
  /** The operation to be performed. */
6
9
  op: "replace";
@@ -9,6 +12,9 @@ type JSONPatch = {
9
12
  /** The value to be used for this operation. */
10
13
  value: string | number;
11
14
  };
15
+ /**
16
+ * An array of JSON Patch documents
17
+ */
12
18
  type JSONPatchArray = JSONPatch[];
13
19
  type AtlanEntity = {
14
20
  attributes?: AtlanEntityAttributes;
@@ -30,6 +36,9 @@ type AtlanEntityAttributes = {
30
36
  usage?: string;
31
37
  userDescription?: string;
32
38
  };
39
+ /**
40
+ * Atlan glossary format. See https://apidocs.atlan.com/
41
+ */
33
42
  type AtlanGlossary = {
34
43
  entity?: AtlanEntity;
35
44
  referredEntities?: AtlanEntity[];
@@ -151,6 +160,28 @@ type ErrorResponse = {
151
160
  errors?: ErrorResponseCode[];
152
161
  traceId?: string;
153
162
  };
163
+ /**
164
+ * ### Custom error codes
165
+ * * BG-1 - Context JWT is missing tenantId.
166
+ * * BG-2 - Context JWT is missing userId.
167
+ * * BG-4 - Invalid or unsupported Content Type. Valid types are: application/json, application/json+qlik, application/json+atlan, application/json+atlas
168
+ * * BG-5 - Failed to decode JSON payload.
169
+ * * BG-6 - A glossary name is required.
170
+ * * BG-7 - Two categories with the same name cannot have the same parent.
171
+ * * BG-11 - Glossary validation failed - A value or parameter is invalid or not set
172
+ * * BG-12 - Category validation failed - A value or parameter is invalid or not set
173
+ * * BG-13 - Term validation failed - A value or parameter is invalid or not set
174
+ * * BG-14 - Two or more categories share Id
175
+ * * BG-15 - Two or more terms share Id
176
+ * * BG-16 - Not detecting proper Atlas format
177
+ * * BG-17 - Not detecting proper Atlan format
178
+ * * BG-18 - Not detecting proper Qlik format
179
+ * * BG-19 - Invalid format in term
180
+ * * BG-20 - Duplicate link definition
181
+ * * BG-21 - Rich text validation failed
182
+ * * BG-22 - Import cancelled
183
+ * * BG-23 - Duplicate link related
184
+ */
154
185
  type ErrorResponseBadRequest = {
155
186
  errors?: ErrorResponseCode[];
156
187
  traceId?: string;
@@ -160,10 +191,20 @@ type ErrorResponseCode = {
160
191
  detail?: string;
161
192
  title?: string;
162
193
  };
194
+ /**
195
+ * ### Custom error codes
196
+ * * BG-3 - Access denied, no read access
197
+ */
163
198
  type ErrorResponseForbidden = {
164
199
  errors?: ErrorResponseCode[];
165
200
  traceId?: string;
166
201
  };
202
+ /**
203
+ * ### Custom error codes
204
+ * * BG-8 - Glossary not found
205
+ * * BG-9 - Category not found
206
+ * * BG-10 - Term not found
207
+ */
167
208
  type ErrorResponseNotFound = {
168
209
  errors?: ErrorResponseCode[];
169
210
  traceId?: string;
@@ -324,6 +365,9 @@ type Term = {
324
365
  /** The uuid of the user who last updated the term */
325
366
  readonly updatedBy: string;
326
367
  };
368
+ /**
369
+ * Describes links to other data assets such as analytics applications or dataset.
370
+ */
327
371
  type TermCreateLinksTo = {
328
372
  resourceId: string;
329
373
  resourceType: "app" | "dataset";
@@ -332,6 +376,9 @@ type TermCreateLinksTo = {
332
376
  subResourceType?: "master_dimension" | "master_measure";
333
377
  type?: "definition" | "related";
334
378
  };
379
+ /**
380
+ * Describes links to other entities such as qlik charts, dataset columns etc.
381
+ */
335
382
  type TermLinksTo = {
336
383
  readonly createdAt?: string;
337
384
  createdBy?: string;
@@ -356,6 +403,9 @@ type TermRelatesTo = {
356
403
  /** How the term related to the other object */
357
404
  type: "isA" | "hasA" | "seeAlso" | "synonym" | "antonym" | "classifies" | "other";
358
405
  };
406
+ /**
407
+ * Terms status is used determine the status of a term
408
+ */
359
409
  type TermStatus = {
360
410
  type: "draft" | "verified" | "deprecated";
361
411
  /** Time when the state was changed */
package/glossaries.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/glossaries.ts
9
- var getGlossaries = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
9
+ var getGlossaries = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
15
+ var createGlossary = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
22
+ var importGlossary = async (query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.cal
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var deleteGlossary = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
30
+ var deleteGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
36
+ var getGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
42
+ var patchGlossary = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(vo
47
47
  contentType: "application/json",
48
48
  options
49
49
  });
50
- var updateGlossary = async (id, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
50
+ var updateGlossary = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(v
55
55
  contentType: "application/json",
56
56
  options
57
57
  });
58
- var exportGlossary = async (id, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
58
+ var exportGlossary = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
64
+ var getGlossaryCategories = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
71
+ var createGlossaryCategory = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetc
76
76
  contentType: "application/json",
77
77
  options
78
78
  });
79
- var deleteGlossaryCategory = async (id, categoryId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
79
+ var deleteGlossaryCategory = async (id, categoryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
85
+ var getGlossaryCategory = async (id, categoryId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
91
+ var patchGlossaryCategory = async (id, categoryId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs
96
96
  contentType: "application/json",
97
97
  options
98
98
  });
99
- var updateGlossaryCategory = async (id, categoryId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
99
+ var updateGlossaryCategory = async (id, categoryId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZj
104
104
  contentType: "application/json",
105
105
  options
106
106
  });
107
- var getGlossaryTerms = async (id, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
107
+ var getGlossaryTerms = async (id, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
114
+ var createGlossaryTerm = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.ca
119
119
  contentType: "application/json",
120
120
  options
121
121
  });
122
- var deleteGlossaryTerm = async (id, termId, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
122
+ var deleteGlossaryTerm = async (id, termId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
128
+ var getGlossaryTerm = async (id, termId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
134
+ var patchGlossaryTerm = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeF
139
139
  contentType: "application/json",
140
140
  options
141
141
  });
142
- var updateGlossaryTerm = async (id, termId, body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
142
+ var updateGlossaryTerm = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invoke
147
147
  contentType: "application/json",
148
148
  options
149
149
  });
150
- var changeGlossaryTermStatus = async (id, termId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
150
+ var changeGlossaryTermStatus = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
157
+ var getGlossaryTermLinks = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
164
+ var createGlossaryTermLink = async (id, termId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.in
169
169
  contentType: "application/json",
170
170
  options
171
171
  });
172
- var getGlossaryTermRevisions = async (id, termId, query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "glossaries", {
172
+ var getGlossaryTermRevisions = async (id, termId, query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs
177
177
  options
178
178
  });
179
179
  function clearCache() {
180
- return _EL2GSPZZjs.clearApiCache.call(void 0, "glossaries");
180
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "glossaries");
181
181
  }
182
182
  var glossariesExport = {
183
183
  getGlossaries,
package/glossaries.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.d.mts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { A as ApiCallOptions } from './global.types-5iFvFJvX.mjs';
2
2
  import './auth-types-nnUcWhuU.mjs';
3
3
 
4
+ /**
5
+ * An array of role references.
6
+ */
4
7
  type AssignedRoles = {
5
8
  /** The unique role identitier */
6
9
  id: string;
@@ -13,14 +16,23 @@ type AssignedRoles = {
13
16
  /** The type of role */
14
17
  readonly type: "default";
15
18
  }[];
19
+ /**
20
+ * An array of role reference identifiers.
21
+ */
16
22
  type AssignedRolesRefIDs = {
17
23
  /** The unique role identitier */
18
24
  id: string;
19
25
  }[];
26
+ /**
27
+ * An array of role reference names.
28
+ */
20
29
  type AssignedRolesRefNames = {
21
30
  /** The name of the role */
22
31
  name: string;
23
32
  }[];
33
+ /**
34
+ * An error object describing the error.
35
+ */
24
36
  type Error = {
25
37
  /** The error code. */
26
38
  code: string;
@@ -40,16 +52,25 @@ type Error = {
40
52
  /** Summary of the problem. */
41
53
  title: string;
42
54
  };
55
+ /**
56
+ * The error response object describing the error from the handling of an HTTP request.
57
+ */
43
58
  type Errors = {
44
59
  /** An array of errors related to the operation. */
45
60
  errors?: Error[];
46
61
  /** A unique identifier for tracing the error. */
47
62
  traceId?: string;
48
63
  };
64
+ /**
65
+ * An advanced query filter to be used for complex user querying in the tenant.
66
+ */
49
67
  type Filter = {
50
68
  /** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
51
69
  filter?: string;
52
70
  };
71
+ /**
72
+ * represents a Group document
73
+ */
53
74
  type Group = {
54
75
  assignedRoles?: {
55
76
  id: string;
@@ -78,6 +99,9 @@ type Group = {
78
99
  /** The tenant identifier associated with the given group */
79
100
  tenantId: string;
80
101
  };
102
+ /**
103
+ * A JSON Patch document.
104
+ */
81
105
  type GroupPatch = {
82
106
  /** The operation to be performed. Currently "replace" is the only supported operation. */
83
107
  op: "replace";
@@ -86,6 +110,9 @@ type GroupPatch = {
86
110
  /** The roles to assign to the group (limit of 100 roles per group). */
87
111
  value: AssignedRolesRefIDs | AssignedRolesRefNames;
88
112
  };
113
+ /**
114
+ * An array of JSON Patches for a group.
115
+ */
89
116
  type GroupPatchSchema = GroupPatch[];
90
117
  type GroupPostSchema = {
91
118
  /** The roles to assign to the group (limit of 100 roles per group). */
@@ -95,6 +122,9 @@ type GroupPostSchema = {
95
122
  /** The status of the created group within the tenant. Defaults to active if empty. */
96
123
  status?: "active";
97
124
  };
125
+ /**
126
+ * represents a GroupSetting document
127
+ */
98
128
  type GroupSettings = {
99
129
  /** Determines if groups should be created on login. */
100
130
  autoCreateGroups: boolean;
@@ -126,6 +156,9 @@ type GroupSettings = {
126
156
  /** The unique tenant identifier. */
127
157
  tenantId: string;
128
158
  };
159
+ /**
160
+ * A result object when listing groups.
161
+ */
129
162
  type Groups = {
130
163
  /** An array of groups. */
131
164
  data?: Group[];
@@ -146,6 +179,9 @@ type Groups = {
146
179
  /** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
147
180
  totalResults?: number;
148
181
  };
182
+ /**
183
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
184
+ */
149
185
  type SettingsPatch = {
150
186
  /** The operation to be performed. */
151
187
  op: "replace";
@@ -154,6 +190,9 @@ type SettingsPatch = {
154
190
  /** The value to be used for this operation. */
155
191
  value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
156
192
  };
193
+ /**
194
+ * An array of JSON Patches for the groups settings.
195
+ */
157
196
  type SettingsPatchSchema = SettingsPatch[];
158
197
  /**
159
198
  * Returns a list of groups with cursor-based pagination.
package/groups.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { A as ApiCallOptions } from './global.types-TzVhFPid.js';
2
2
  import './auth-types-nnUcWhuU.js';
3
3
 
4
+ /**
5
+ * An array of role references.
6
+ */
4
7
  type AssignedRoles = {
5
8
  /** The unique role identitier */
6
9
  id: string;
@@ -13,14 +16,23 @@ type AssignedRoles = {
13
16
  /** The type of role */
14
17
  readonly type: "default";
15
18
  }[];
19
+ /**
20
+ * An array of role reference identifiers.
21
+ */
16
22
  type AssignedRolesRefIDs = {
17
23
  /** The unique role identitier */
18
24
  id: string;
19
25
  }[];
26
+ /**
27
+ * An array of role reference names.
28
+ */
20
29
  type AssignedRolesRefNames = {
21
30
  /** The name of the role */
22
31
  name: string;
23
32
  }[];
33
+ /**
34
+ * An error object describing the error.
35
+ */
24
36
  type Error = {
25
37
  /** The error code. */
26
38
  code: string;
@@ -40,16 +52,25 @@ type Error = {
40
52
  /** Summary of the problem. */
41
53
  title: string;
42
54
  };
55
+ /**
56
+ * The error response object describing the error from the handling of an HTTP request.
57
+ */
43
58
  type Errors = {
44
59
  /** An array of errors related to the operation. */
45
60
  errors?: Error[];
46
61
  /** A unique identifier for tracing the error. */
47
62
  traceId?: string;
48
63
  };
64
+ /**
65
+ * An advanced query filter to be used for complex user querying in the tenant.
66
+ */
49
67
  type Filter = {
50
68
  /** The advanced filtering to be applied the query. All conditional statements within this query parameter are case insensitive. */
51
69
  filter?: string;
52
70
  };
71
+ /**
72
+ * represents a Group document
73
+ */
53
74
  type Group = {
54
75
  assignedRoles?: {
55
76
  id: string;
@@ -78,6 +99,9 @@ type Group = {
78
99
  /** The tenant identifier associated with the given group */
79
100
  tenantId: string;
80
101
  };
102
+ /**
103
+ * A JSON Patch document.
104
+ */
81
105
  type GroupPatch = {
82
106
  /** The operation to be performed. Currently "replace" is the only supported operation. */
83
107
  op: "replace";
@@ -86,6 +110,9 @@ type GroupPatch = {
86
110
  /** The roles to assign to the group (limit of 100 roles per group). */
87
111
  value: AssignedRolesRefIDs | AssignedRolesRefNames;
88
112
  };
113
+ /**
114
+ * An array of JSON Patches for a group.
115
+ */
89
116
  type GroupPatchSchema = GroupPatch[];
90
117
  type GroupPostSchema = {
91
118
  /** The roles to assign to the group (limit of 100 roles per group). */
@@ -95,6 +122,9 @@ type GroupPostSchema = {
95
122
  /** The status of the created group within the tenant. Defaults to active if empty. */
96
123
  status?: "active";
97
124
  };
125
+ /**
126
+ * represents a GroupSetting document
127
+ */
98
128
  type GroupSettings = {
99
129
  /** Determines if groups should be created on login. */
100
130
  autoCreateGroups: boolean;
@@ -126,6 +156,9 @@ type GroupSettings = {
126
156
  /** The unique tenant identifier. */
127
157
  tenantId: string;
128
158
  };
159
+ /**
160
+ * A result object when listing groups.
161
+ */
129
162
  type Groups = {
130
163
  /** An array of groups. */
131
164
  data?: Group[];
@@ -146,6 +179,9 @@ type Groups = {
146
179
  /** Indicates the total number of matching documents. Will only be returned if the query parameter "totalResults" is true. */
147
180
  totalResults?: number;
148
181
  };
182
+ /**
183
+ * A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.
184
+ */
149
185
  type SettingsPatch = {
150
186
  /** The operation to be performed. */
151
187
  op: "replace";
@@ -154,6 +190,9 @@ type SettingsPatch = {
154
190
  /** The value to be used for this operation. */
155
191
  value: boolean | AssignedRolesRefIDs | AssignedRolesRefNames;
156
192
  };
193
+ /**
194
+ * An array of JSON Patches for the groups settings.
195
+ */
157
196
  type SettingsPatchSchema = SettingsPatch[];
158
197
  /**
159
198
  * Returns a list of groups with cursor-based pagination.
package/groups.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
5
- require('./chunks/W2I5OQA5.js');
4
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
5
+ require('./chunks/FG5GDUSZ.js');
6
6
  require('./chunks/4HB3TAEO.js');
7
7
 
8
8
  // src/public/rest/groups.ts
9
- var getGroups = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
9
+ var getGroups = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
15
+ var createGroup = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
22
+ var filterGroups = async (query, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(
27
27
  contentType: "application/json",
28
28
  options
29
29
  });
30
- var getGroupsSettings = async (options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
30
+ var getGroupsSettings = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "groups", {
31
31
  method: "get",
32
32
  pathTemplate: "/api/v1/groups/settings",
33
33
  options
34
34
  });
35
- var patchGroupsSettings = async (body, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
35
+ var patchGroupsSettings = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
42
+ var deleteGroup = async (groupId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
48
+ var getGroup = async (groupId, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "groups", {
54
+ var patchGroup = async (groupId, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(
60
60
  options
61
61
  });
62
62
  function clearCache() {
63
- return _EL2GSPZZjs.clearApiCache.call(void 0, "groups");
63
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "groups");
64
64
  }
65
65
  var groupsExport = {
66
66
  getGroups,
package/groups.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/POR3DZIU.mjs";
5
- import "./chunks/VLLTA4EY.mjs";
4
+ } from "./chunks/HWZC3PIL.mjs";
5
+ import "./chunks/O5POHH2Q.mjs";
6
6
  import "./chunks/VSY5YIQY.mjs";
7
7
 
8
8
  // src/public/rest/groups.ts