@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
@@ -26,6 +26,9 @@ type BaseIDP = {
26
26
  /** The tenant identifiers associated with the given IdP. */
27
27
  tenantIds?: string[];
28
28
  };
29
+ /**
30
+ * Payload for creating an identity provider using JWT authentication.
31
+ */
29
32
  type CreateJWTAuthPayload = {
30
33
  /** There can be clock skew between the IdP and Qlik's login server, in these cases a tolerance can be set, decimals will be rounded off. */
31
34
  clockToleranceSec?: number;
@@ -49,6 +52,9 @@ type CreateJWTAuthPayload = {
49
52
  /** The tenant identifiers that map to the given IdP. */
50
53
  tenantIds?: string[];
51
54
  };
55
+ /**
56
+ * Payload for creating an OIDC-compatible identity provider.
57
+ */
52
58
  type CreateOIDCPayload = {
53
59
  /** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set, decimals will be rounded off. */
54
60
  clockToleranceSec?: number;
@@ -106,6 +112,9 @@ type CreateOIDCPayload = {
106
112
  /** The tenant identifiers that map to the given IdP. */
107
113
  tenantIds?: string[];
108
114
  };
115
+ /**
116
+ * An error object.
117
+ */
109
118
  type Error = {
110
119
  /** The error code. */
111
120
  code: string;
@@ -125,6 +134,9 @@ type Error = {
125
134
  /** Summary of the problem. */
126
135
  title: string;
127
136
  };
137
+ /**
138
+ * A representation of the errors encountered from the HTTP request.
139
+ */
128
140
  type Errors = {
129
141
  errors?: Error[];
130
142
  };
@@ -135,6 +147,9 @@ type IDPArray = {
135
147
  /** Contains pagination links. */
136
148
  links?: Links;
137
149
  };
150
+ /**
151
+ * An identity provider for JWT authentication.
152
+ */
138
153
  type IDPJWTAuth = BaseIDP & {
139
154
  options?: {
140
155
  /** The expected JWT issuer */
@@ -153,6 +168,9 @@ type IDPMeta = {
153
168
  /** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
154
169
  userPortalLink?: string;
155
170
  };
171
+ /**
172
+ * An OIDC-compliant identity provider.
173
+ */
156
174
  type IDPOIDC = BaseIDP & {
157
175
  options?: IDPOptions;
158
176
  pendingOptions?: IDPOptions;
@@ -184,7 +202,13 @@ type IDPOptions = {
184
202
  };
185
203
  type IDPPatchSchema = PatchOIDCPayload[] | PatchJWTAuthPayload[];
186
204
  type IDPPostSchema = CreateOIDCPayload | CreateJWTAuthPayload;
205
+ /**
206
+ * The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `jwtAuth`, and `qsefw-local-bearer-token`.
207
+ */
187
208
  type IDPProtocol = "OIDC" | "jwtAuth" | "qsefw-local-bearer-token";
209
+ /**
210
+ * The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`.
211
+ */
188
212
  type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycloak" | "adfs" | "external" | "azureAD";
189
213
  type IDPsStatus = {
190
214
  /** The number of active interactive IdPs. */
@@ -199,6 +223,9 @@ type IDPsStatus = {
199
223
  provider?: IDPProvider;
200
224
  }[];
201
225
  };
226
+ /**
227
+ * Contains pagination links.
228
+ */
202
229
  type Links = {
203
230
  next?: {
204
231
  /** Link to the next page of items. */
@@ -213,6 +240,9 @@ type Links = {
213
240
  href?: string;
214
241
  };
215
242
  };
243
+ /**
244
+ * OpenID configuration
245
+ */
216
246
  type OpenIDConfiguration = {
217
247
  /** OAuth 2.0 Authorization Endpoint */
218
248
  authorization_endpoint: string;
@@ -229,6 +259,9 @@ type OpenIDConfiguration = {
229
259
  /** URL of the OP's UserInfo Endpoint */
230
260
  userinfo_endpoint?: string;
231
261
  };
262
+ /**
263
+ * A patch request for an identity provider using the `jwtAuth` protocol.
264
+ */
232
265
  type PatchJWTAuthPayload = {
233
266
  /** The "operation" to be performed on a given IdP. */
234
267
  op: "replace";
@@ -237,6 +270,9 @@ type PatchJWTAuthPayload = {
237
270
  /** The "value" data type is dependent on the path value being used. */
238
271
  value?: unknown;
239
272
  };
273
+ /**
274
+ * A patch request for an identity provider using the `OIDC` protocol.
275
+ */
240
276
  type PatchOIDCPayload = {
241
277
  /** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
242
278
  op: "replace" | "promote-options";
@@ -265,6 +301,9 @@ type PendingResult = {
265
301
  /** The status of the IdP configuration being tested. */
266
302
  status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
267
303
  };
304
+ /**
305
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
306
+ */
268
307
  type ClaimsMappingInteractive = {
269
308
  /** A list of JSON pointers used to map the user's client ID. */
270
309
  client_id?: string[];
@@ -285,6 +324,9 @@ type ClaimsMappingInteractive = {
285
324
  /** A list of JSON pointers used to map the user's zoneinfo. */
286
325
  zoneinfo?: string[];
287
326
  };
327
+ /**
328
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
329
+ */
288
330
  type ClaimsMappingNonInteractive = {
289
331
  /** A list of JSON pointers used to map the user's client ID. */
290
332
  client_id?: string[];
@@ -26,6 +26,9 @@ type BaseIDP = {
26
26
  /** The tenant identifiers associated with the given IdP. */
27
27
  tenantIds?: string[];
28
28
  };
29
+ /**
30
+ * Payload for creating an identity provider using JWT authentication.
31
+ */
29
32
  type CreateJWTAuthPayload = {
30
33
  /** There can be clock skew between the IdP and Qlik's login server, in these cases a tolerance can be set, decimals will be rounded off. */
31
34
  clockToleranceSec?: number;
@@ -49,6 +52,9 @@ type CreateJWTAuthPayload = {
49
52
  /** The tenant identifiers that map to the given IdP. */
50
53
  tenantIds?: string[];
51
54
  };
55
+ /**
56
+ * Payload for creating an OIDC-compatible identity provider.
57
+ */
52
58
  type CreateOIDCPayload = {
53
59
  /** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set, decimals will be rounded off. */
54
60
  clockToleranceSec?: number;
@@ -106,6 +112,9 @@ type CreateOIDCPayload = {
106
112
  /** The tenant identifiers that map to the given IdP. */
107
113
  tenantIds?: string[];
108
114
  };
115
+ /**
116
+ * An error object.
117
+ */
109
118
  type Error = {
110
119
  /** The error code. */
111
120
  code: string;
@@ -125,6 +134,9 @@ type Error = {
125
134
  /** Summary of the problem. */
126
135
  title: string;
127
136
  };
137
+ /**
138
+ * A representation of the errors encountered from the HTTP request.
139
+ */
128
140
  type Errors = {
129
141
  errors?: Error[];
130
142
  };
@@ -135,6 +147,9 @@ type IDPArray = {
135
147
  /** Contains pagination links. */
136
148
  links?: Links;
137
149
  };
150
+ /**
151
+ * An identity provider for JWT authentication.
152
+ */
138
153
  type IDPJWTAuth = BaseIDP & {
139
154
  options?: {
140
155
  /** The expected JWT issuer */
@@ -153,6 +168,9 @@ type IDPMeta = {
153
168
  /** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
154
169
  userPortalLink?: string;
155
170
  };
171
+ /**
172
+ * An OIDC-compliant identity provider.
173
+ */
156
174
  type IDPOIDC = BaseIDP & {
157
175
  options?: IDPOptions;
158
176
  pendingOptions?: IDPOptions;
@@ -184,7 +202,13 @@ type IDPOptions = {
184
202
  };
185
203
  type IDPPatchSchema = PatchOIDCPayload[] | PatchJWTAuthPayload[];
186
204
  type IDPPostSchema = CreateOIDCPayload | CreateJWTAuthPayload;
205
+ /**
206
+ * The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `jwtAuth`, and `qsefw-local-bearer-token`.
207
+ */
187
208
  type IDPProtocol = "OIDC" | "jwtAuth" | "qsefw-local-bearer-token";
209
+ /**
210
+ * The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`.
211
+ */
188
212
  type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycloak" | "adfs" | "external" | "azureAD";
189
213
  type IDPsStatus = {
190
214
  /** The number of active interactive IdPs. */
@@ -199,6 +223,9 @@ type IDPsStatus = {
199
223
  provider?: IDPProvider;
200
224
  }[];
201
225
  };
226
+ /**
227
+ * Contains pagination links.
228
+ */
202
229
  type Links = {
203
230
  next?: {
204
231
  /** Link to the next page of items. */
@@ -213,6 +240,9 @@ type Links = {
213
240
  href?: string;
214
241
  };
215
242
  };
243
+ /**
244
+ * OpenID configuration
245
+ */
216
246
  type OpenIDConfiguration = {
217
247
  /** OAuth 2.0 Authorization Endpoint */
218
248
  authorization_endpoint: string;
@@ -229,6 +259,9 @@ type OpenIDConfiguration = {
229
259
  /** URL of the OP's UserInfo Endpoint */
230
260
  userinfo_endpoint?: string;
231
261
  };
262
+ /**
263
+ * A patch request for an identity provider using the `jwtAuth` protocol.
264
+ */
232
265
  type PatchJWTAuthPayload = {
233
266
  /** The "operation" to be performed on a given IdP. */
234
267
  op: "replace";
@@ -237,6 +270,9 @@ type PatchJWTAuthPayload = {
237
270
  /** The "value" data type is dependent on the path value being used. */
238
271
  value?: unknown;
239
272
  };
273
+ /**
274
+ * A patch request for an identity provider using the `OIDC` protocol.
275
+ */
240
276
  type PatchOIDCPayload = {
241
277
  /** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
242
278
  op: "replace" | "promote-options";
@@ -265,6 +301,9 @@ type PendingResult = {
265
301
  /** The status of the IdP configuration being tested. */
266
302
  status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
267
303
  };
304
+ /**
305
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
306
+ */
268
307
  type ClaimsMappingInteractive = {
269
308
  /** A list of JSON pointers used to map the user's client ID. */
270
309
  client_id?: string[];
@@ -285,6 +324,9 @@ type ClaimsMappingInteractive = {
285
324
  /** A list of JSON pointers used to map the user's zoneinfo. */
286
325
  zoneinfo?: string[];
287
326
  };
327
+ /**
328
+ * Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
329
+ */
288
330
  type ClaimsMappingNonInteractive = {
289
331
  /** A list of JSON pointers used to map the user's client ID. */
290
332
  client_id?: string[];
@@ -1,52 +1,52 @@
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/identity-providers.ts
9
- var getIdps = async (query, options) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
9
+ var getIdps = async (query, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
15
+ var createIdp = async (body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
22
+ var getIdpWellKnownMetaData = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
27
+ var getMyIdpMeta = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
32
+ var getIdpStatuses = async (options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
37
+ var deleteIdp = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
43
+ var getIdp = async (id, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0, "identity-providers", {
49
+ var patchIdp = async (id, body, options) => _QMWU5E4Djs.invokeFetch.call(void 0, "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) => _EL2GSPZZjs.invokeFetch.call(void 0,
55
55
  options
56
56
  });
57
57
  function clearCache() {
58
- return _EL2GSPZZjs.clearApiCache.call(void 0, "identity-providers");
58
+ return _QMWU5E4Djs.clearApiCache.call(void 0, "identity-providers");
59
59
  }
60
60
  var identityProvidersExport = {
61
61
  getIdps,
@@ -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/identity-providers.ts
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _XY3AC335js = require('./chunks/XY3AC335.js');
3
+ var _ILOY5QEAjs = require('./chunks/ILOY5QEA.js');
4
4
 
5
5
 
6
- var _AULTUQC4js = require('./chunks/AULTUQC4.js');
6
+ var _3MHXEHLQjs = require('./chunks/3MHXEHLQ.js');
7
7
 
8
8
 
9
9
 
10
- var _EL2GSPZZjs = require('./chunks/EL2GSPZZ.js');
11
- require('./chunks/W2I5OQA5.js');
10
+ var _QMWU5E4Djs = require('./chunks/QMWU5E4D.js');
11
+ require('./chunks/FG5GDUSZ.js');
12
12
  require('./chunks/4HB3TAEO.js');
13
13
 
14
14
  // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
@@ -84,7 +84,7 @@ function apiDefToApi(namespace, def) {
84
84
  return runtimeApiCache[namespace];
85
85
  }
86
86
  const api2 = {
87
- clearCache: () => _EL2GSPZZjs.clearApiCache.call(void 0, namespace)
87
+ clearCache: () => _QMWU5E4Djs.clearApiCache.call(void 0, 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 _EL2GSPZZjs.invokeFetch.call(void 0, namespace, {
156
+ return _QMWU5E4Djs.invokeFetch.call(void 0, 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 = _XY3AC335js.auth_default;
252
+ var auth = _ILOY5QEAjs.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 = _AULTUQC4js.qix_default;
499
+ var qix = _3MHXEHLQjs.qix_default;
500
500
  var quotas = apiDefToApi("quotas", {
501
501
  api: { v1: { quotas: { "": ["getQuotas:GQ:"], "{id}": ["getQuota:GQ:"] } } }
502
502
  });
package/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  auth_default
3
- } from "./chunks/EHZ6H6TD.mjs";
3
+ } from "./chunks/FUU5VIC4.mjs";
4
4
  import {
5
5
  qix_default
6
- } from "./chunks/K4YCNLTC.mjs";
6
+ } from "./chunks/KEPPVUY3.mjs";
7
7
  import {
8
8
  clearApiCache,
9
9
  invokeFetch
10
- } from "./chunks/POR3DZIU.mjs";
11
- import "./chunks/VLLTA4EY.mjs";
10
+ } from "./chunks/HWZC3PIL.mjs";
11
+ import "./chunks/O5POHH2Q.mjs";
12
12
  import "./chunks/VSY5YIQY.mjs";
13
13
 
14
14
  // src/public/public-runtime-api-generator/public-runtime-api-generator.ts
package/items.d.mts CHANGED
@@ -5,10 +5,16 @@ type CollectionTypes = "private" | "public" | "publicgoverned";
5
5
  type ErrorResponseBody = {
6
6
  errors?: ServiceError[];
7
7
  };
8
+ /**
9
+ * ListItemCollectionsResponseBody result type
10
+ */
8
11
  type ItemsListItemCollectionsResponseBody = {
9
12
  data: CollectionResultResponseBody[];
10
13
  links: CollectionsLinksResponseBody;
11
14
  };
15
+ /**
16
+ * ListItemsResponseBody result type
17
+ */
12
18
  type ItemsListItemsResponseBody = {
13
19
  data: ItemResultResponseBody[];
14
20
  links: ItemsLinksResponseBody;
@@ -61,10 +67,16 @@ type CollectionLinksResponseBody = {
61
67
  items?: Link;
62
68
  self?: Link;
63
69
  };
70
+ /**
71
+ * Collection metadata and computed fields.
72
+ */
64
73
  type CollectionMetaResponseBody = {
65
74
  /** Multiple items. */
66
75
  items?: ItemsResultResponseBody;
67
76
  };
77
+ /**
78
+ * A collection.
79
+ */
68
80
  type CollectionResultResponseBody = {
69
81
  /** The RFC3339 datetime when the collection was created. */
70
82
  createdAt: string;
@@ -101,6 +113,9 @@ type ItemLinksResponseBody = {
101
113
  self?: Link;
102
114
  thumbnail?: Link;
103
115
  };
116
+ /**
117
+ * Item metadata and computed fields.
118
+ */
104
119
  type ItemMetaResponseBody = {
105
120
  /** The actions that the user can perform on the item. */
106
121
  actions: string[];
@@ -111,7 +126,13 @@ type ItemMetaResponseBody = {
111
126
  /** An array of tags that the item is part of. */
112
127
  tags: ItemTagResponseBody[];
113
128
  };
129
+ /**
130
+ * The case-sensitive string defining the item's type.
131
+ */
114
132
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
133
+ /**
134
+ * An item.
135
+ */
115
136
  type ItemResultResponseBody = {
116
137
  /** The actions that the user can perform on the item. */
117
138
  actions: string[];
@@ -163,6 +184,9 @@ type ItemResultResponseBody = {
163
184
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
164
185
  updaterId?: string;
165
186
  };
187
+ /**
188
+ * Holds basic information about a tag or collection.
189
+ */
166
190
  type ItemTagResponseBody = {
167
191
  /** The ID of the tag/collection. */
168
192
  id: string;
@@ -200,6 +224,9 @@ type ItemsResourceSizeResponseBody = {
200
224
  /** Size of the app in memory in bytes. */
201
225
  appMemory?: number;
202
226
  };
227
+ /**
228
+ * Multiple items.
229
+ */
203
230
  type ItemsResultResponseBody = {
204
231
  data: ItemResultResponseBody[];
205
232
  links: ItemsLinksResponseBody;
@@ -214,6 +241,9 @@ type Meta = {
214
241
  /** Is the error a timeout? */
215
242
  timeout?: boolean;
216
243
  };
244
+ /**
245
+ * The case-sensitive string defining the space type.
246
+ */
217
247
  type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
218
248
  /**
219
249
  * Finds and returns items that the user has access to.
@@ -256,7 +286,8 @@ declare const getItems: (query: {
256
286
  resourceSubType?: string | undefined;
257
287
  /** The case-sensitive string used to filter items by resourceType(s). For example '?resourceType=app,qvapp'. Additionally, a optional resourceSubType filter can be added to each resourceType. For example '?resourceType=app[qvd,chart-monitoring],qvapp'. An trailing comma can be used to include the empty resourceSubType, e.g. '?resourceType=app[qvd,chart-monitoring,]', or, to include only empty resourceSubTypes, '?resourceType=app[]' This syntax replaces the 'resourceSubType' query param, and using both in the same query will result in a 400 error. */
258
288
  resourceType?: ItemResourceTypeEnum | undefined;
259
- /** Whether or not to return items in a shared space. */
289
+ /** @deprecated
290
+ * Whether or not to return items in a shared space. */
260
291
  shared?: boolean | undefined;
261
292
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
262
293
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;
package/items.d.ts CHANGED
@@ -5,10 +5,16 @@ type CollectionTypes = "private" | "public" | "publicgoverned";
5
5
  type ErrorResponseBody = {
6
6
  errors?: ServiceError[];
7
7
  };
8
+ /**
9
+ * ListItemCollectionsResponseBody result type
10
+ */
8
11
  type ItemsListItemCollectionsResponseBody = {
9
12
  data: CollectionResultResponseBody[];
10
13
  links: CollectionsLinksResponseBody;
11
14
  };
15
+ /**
16
+ * ListItemsResponseBody result type
17
+ */
12
18
  type ItemsListItemsResponseBody = {
13
19
  data: ItemResultResponseBody[];
14
20
  links: ItemsLinksResponseBody;
@@ -61,10 +67,16 @@ type CollectionLinksResponseBody = {
61
67
  items?: Link;
62
68
  self?: Link;
63
69
  };
70
+ /**
71
+ * Collection metadata and computed fields.
72
+ */
64
73
  type CollectionMetaResponseBody = {
65
74
  /** Multiple items. */
66
75
  items?: ItemsResultResponseBody;
67
76
  };
77
+ /**
78
+ * A collection.
79
+ */
68
80
  type CollectionResultResponseBody = {
69
81
  /** The RFC3339 datetime when the collection was created. */
70
82
  createdAt: string;
@@ -101,6 +113,9 @@ type ItemLinksResponseBody = {
101
113
  self?: Link;
102
114
  thumbnail?: Link;
103
115
  };
116
+ /**
117
+ * Item metadata and computed fields.
118
+ */
104
119
  type ItemMetaResponseBody = {
105
120
  /** The actions that the user can perform on the item. */
106
121
  actions: string[];
@@ -111,7 +126,13 @@ type ItemMetaResponseBody = {
111
126
  /** An array of tags that the item is part of. */
112
127
  tags: ItemTagResponseBody[];
113
128
  };
129
+ /**
130
+ * The case-sensitive string defining the item's type.
131
+ */
114
132
  type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
133
+ /**
134
+ * An item.
135
+ */
115
136
  type ItemResultResponseBody = {
116
137
  /** The actions that the user can perform on the item. */
117
138
  actions: string[];
@@ -163,6 +184,9 @@ type ItemResultResponseBody = {
163
184
  /** ID of the user who last updated the item. This is only populated if the JWT contains a userId. */
164
185
  updaterId?: string;
165
186
  };
187
+ /**
188
+ * Holds basic information about a tag or collection.
189
+ */
166
190
  type ItemTagResponseBody = {
167
191
  /** The ID of the tag/collection. */
168
192
  id: string;
@@ -200,6 +224,9 @@ type ItemsResourceSizeResponseBody = {
200
224
  /** Size of the app in memory in bytes. */
201
225
  appMemory?: number;
202
226
  };
227
+ /**
228
+ * Multiple items.
229
+ */
203
230
  type ItemsResultResponseBody = {
204
231
  data: ItemResultResponseBody[];
205
232
  links: ItemsLinksResponseBody;
@@ -214,6 +241,9 @@ type Meta = {
214
241
  /** Is the error a timeout? */
215
242
  timeout?: boolean;
216
243
  };
244
+ /**
245
+ * The case-sensitive string defining the space type.
246
+ */
217
247
  type SpaceTypeEnum = "shared" | "managed" | "personal" | "data";
218
248
  /**
219
249
  * Finds and returns items that the user has access to.
@@ -256,7 +286,8 @@ declare const getItems: (query: {
256
286
  resourceSubType?: string | undefined;
257
287
  /** The case-sensitive string used to filter items by resourceType(s). For example '?resourceType=app,qvapp'. Additionally, a optional resourceSubType filter can be added to each resourceType. For example '?resourceType=app[qvd,chart-monitoring],qvapp'. An trailing comma can be used to include the empty resourceSubType, e.g. '?resourceType=app[qvd,chart-monitoring,]', or, to include only empty resourceSubTypes, '?resourceType=app[]' This syntax replaces the 'resourceSubType' query param, and using both in the same query will result in a 400 error. */
258
288
  resourceType?: ItemResourceTypeEnum | undefined;
259
- /** Whether or not to return items in a shared space. */
289
+ /** @deprecated
290
+ * Whether or not to return items in a shared space. */
260
291
  shared?: boolean | undefined;
261
292
  /** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
262
293
  sort?: "-name" | "+name" | "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt" | undefined;