@qlik/api 2.3.0 → 2.4.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.
- package/analytics/change-stores.d.ts +40 -76
- package/analytics/change-stores.js +9 -10
- package/analytics.d.ts +1 -2
- package/analytics.js +5 -6
- package/api-keys.d.ts +46 -100
- package/api-keys.js +3 -4
- package/apps.d.ts +334 -461
- package/apps.js +74 -6
- package/assistants.d.ts +172 -337
- package/assistants.js +3 -4
- package/audits.d.ts +41 -85
- package/audits.js +3 -4
- package/auth-types.d.ts +110 -1
- package/auth-types.js +22 -1
- package/auth.d.ts +1 -2
- package/auth.js +1 -1
- package/automation-connections.d.ts +44 -95
- package/automation-connections.js +3 -4
- package/automation-connectors.d.ts +10 -20
- package/automation-connectors.js +3 -4
- package/automations.d.ts +54 -112
- package/automations.js +3 -4
- package/automl-deployments.d.ts +17 -36
- package/automl-deployments.js +3 -4
- package/automl-predictions.d.ts +12 -24
- package/automl-predictions.js +3 -4
- package/banners.d.ts +8 -14
- package/banners.js +3 -4
- package/brands.d.ts +19 -39
- package/brands.js +3 -4
- package/chunks/auth-B8lJw7rm.js +31 -0
- package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
- package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
- package/collections.d.ts +67 -144
- package/collections.js +3 -4
- package/conditions.d.ts +87 -190
- package/conditions.js +3 -4
- package/consumption.d.ts +35 -72
- package/consumption.js +3 -4
- package/core/ip-policies.d.ts +43 -93
- package/core/ip-policies.js +5 -6
- package/core.d.ts +1 -2
- package/core.js +5 -6
- package/csp-origins.d.ts +42 -85
- package/csp-origins.js +3 -4
- package/csrf-token.d.ts +6 -11
- package/csrf-token.js +3 -4
- package/data-alerts.d.ts +152 -325
- package/data-alerts.js +3 -4
- package/data-assets.d.ts +16 -31
- package/data-assets.js +3 -4
- package/data-connections.d.ts +123 -257
- package/data-connections.js +3 -4
- package/data-credentials.d.ts +36 -76
- package/data-credentials.js +3 -4
- package/data-files.d.ts +60 -121
- package/data-files.js +3 -4
- package/data-governance/data-products.d.ts +429 -0
- package/data-governance/data-products.js +212 -0
- package/data-governance.d.ts +13 -0
- package/data-governance.js +12 -0
- package/data-qualities.d.ts +11 -25
- package/data-qualities.js +3 -4
- package/data-sets.d.ts +28 -57
- package/data-sets.js +3 -4
- package/data-sources.d.ts +45 -97
- package/data-sources.js +3 -4
- package/data-stores.d.ts +53 -107
- package/data-stores.js +3 -4
- package/dcaas.d.ts +32 -67
- package/dcaas.js +3 -4
- package/di-projects.d.ts +111 -136
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +29 -63
- package/direct-access-agents.js +3 -4
- package/encryption.d.ts +28 -59
- package/encryption.js +3 -4
- package/extensions.d.ts +35 -73
- package/extensions.js +3 -4
- package/global-types.d.ts +139 -1
- package/glossaries.d.ts +75 -158
- package/glossaries.js +3 -4
- package/groups.d.ts +58 -125
- package/groups.js +3 -4
- package/identity-providers.d.ts +148 -324
- package/identity-providers.js +3 -4
- package/index.d.ts +18 -4
- package/index.js +64 -19
- package/interceptors.d.ts +2 -3
- package/interceptors.js +104 -2
- package/invoke-fetch-types.d.ts +97 -1
- package/items.d.ts +85 -181
- package/items.js +3 -4
- package/knowledgebases.d.ts +137 -270
- package/knowledgebases.js +3 -4
- package/licenses.d.ts +71 -153
- package/licenses.js +3 -4
- package/lineage-graphs.d.ts +39 -85
- package/lineage-graphs.js +3 -4
- package/ml.d.ts +290 -621
- package/ml.js +3 -4
- package/notes.d.ts +9 -18
- package/notes.js +3 -4
- package/notifications.d.ts +14 -30
- package/notifications.js +3 -4
- package/oauth-clients.d.ts +98 -159
- package/oauth-clients.js +4 -5
- package/oauth-tokens.d.ts +16 -33
- package/oauth-tokens.js +3 -4
- package/package.json +6 -4
- package/qix.d.ts +46 -2
- package/qix.js +2 -3
- package/questions.d.ts +53 -110
- package/questions.js +3 -4
- package/quotas.d.ts +13 -26
- package/quotas.js +3 -4
- package/reload-tasks.d.ts +23 -46
- package/reload-tasks.js +3 -4
- package/reloads.d.ts +26 -52
- package/reloads.js +3 -4
- package/report-templates.d.ts +30 -63
- package/report-templates.js +3 -4
- package/reports.d.ts +111 -238
- package/reports.js +3 -4
- package/roles.d.ts +36 -77
- package/roles.js +3 -4
- package/sharing-tasks.d.ts +201 -427
- package/sharing-tasks.js +3 -4
- package/spaces.d.ts +71 -157
- package/spaces.js +3 -4
- package/tasks.d.ts +76 -164
- package/tasks.js +3 -4
- package/temp-contents.d.ts +17 -35
- package/temp-contents.js +3 -4
- package/tenant-settings.d.ts +298 -0
- package/tenant-settings.js +107 -0
- package/tenants.d.ts +31 -67
- package/tenants.js +3 -4
- package/themes.d.ts +27 -55
- package/themes.js +3 -4
- package/transports.d.ts +46 -106
- package/transports.js +3 -4
- package/ui-config.d.ts +8 -17
- package/ui-config.js +3 -4
- package/users.d.ts +80 -170
- package/users.js +3 -4
- package/web-integrations.d.ts +38 -83
- package/web-integrations.js +3 -4
- package/web-notifications.d.ts +14 -29
- package/web-notifications.js +3 -4
- package/webhooks.d.ts +77 -162
- package/webhooks.js +3 -4
- package/chunks/auth-BowS4SUR.js +0 -28
- package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
- package/chunks/auth-types-h43TVDpB.js +0 -24
- package/chunks/global-types-CEVAJebk.js +0 -1
- /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
- /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
- /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
- /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/themes.d.ts
CHANGED
|
@@ -1,73 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions, DownloadableBlob } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/themes.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* An error object.
|
|
7
7
|
*/
|
|
8
8
|
type Error = {
|
|
9
|
-
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/** The HTTP status code. */
|
|
14
|
-
status?: number;
|
|
15
|
-
/** Title of the HTTP status code. */
|
|
16
|
-
title: string;
|
|
17
|
-
/** The active traceId. */
|
|
9
|
+
/** Object containing meta data regarding an error. It does not necessarily contain all the properties. */meta?: Meta; /** Optional JSON patch object pointing to an invalid property. */
|
|
10
|
+
source?: unknown; /** The HTTP status code. */
|
|
11
|
+
status?: number; /** Title of the HTTP status code. */
|
|
12
|
+
title: string; /** The active traceId. */
|
|
18
13
|
traceId?: string;
|
|
19
14
|
};
|
|
20
15
|
/**
|
|
21
16
|
* Object containing meta data regarding an error. It does not necessarily contain all the properties.
|
|
22
17
|
*/
|
|
23
18
|
type Meta = {
|
|
24
|
-
/** A more detailed message explaining the error. */
|
|
25
|
-
|
|
26
|
-
/** Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created. */
|
|
27
|
-
resourceName?: string;
|
|
28
|
-
/** Full stack trace of the error that was raised. */
|
|
19
|
+
/** A more detailed message explaining the error. */message?: string; /** Name of the resource related to the error. If there is a conflict, it is the name of the model attempting to be created. */
|
|
20
|
+
resourceName?: string; /** Full stack trace of the error that was raised. */
|
|
29
21
|
stack?: string;
|
|
30
22
|
};
|
|
31
23
|
/**
|
|
32
24
|
* The theme model.
|
|
33
25
|
*/
|
|
34
26
|
type Theme = {
|
|
35
|
-
/** Author of the theme. */
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
description?: string;
|
|
42
|
-
/** The file that was uploaded with the theme. */
|
|
43
|
-
file?: unknown;
|
|
44
|
-
/** Home page of the theme. */
|
|
45
|
-
homepage?: string;
|
|
46
|
-
/** Icon to show in the client. */
|
|
27
|
+
/** Author of the theme. */author?: string;
|
|
28
|
+
readonly createdAt?: string; /** Map of dependencies describing version of the component it requires. */
|
|
29
|
+
dependencies?: unknown; /** Description of the theme. */
|
|
30
|
+
description?: string; /** The file that was uploaded with the theme. */
|
|
31
|
+
file?: unknown; /** Home page of the theme. */
|
|
32
|
+
homepage?: string; /** Icon to show in the client. */
|
|
47
33
|
icon?: string;
|
|
48
|
-
readonly id?: string;
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
qextFilename?: string;
|
|
57
|
-
/** The version from the qext file that was uploaded with this extension. */
|
|
58
|
-
qextVersion?: string;
|
|
59
|
-
/** Link to the theme source code. */
|
|
60
|
-
repository?: string;
|
|
61
|
-
/** Supplier of the theme. */
|
|
62
|
-
supplier?: string;
|
|
63
|
-
/** List of tags. */
|
|
34
|
+
readonly id?: string; /** Keywords for the theme. */
|
|
35
|
+
keywords?: string; /** Under which license this theme is published. */
|
|
36
|
+
license?: string; /** The display name of this theme. */
|
|
37
|
+
name?: string; /** The name of the qext file that was uploaded with this theme. */
|
|
38
|
+
qextFilename?: string; /** The version from the qext file that was uploaded with this extension. */
|
|
39
|
+
qextVersion?: string; /** Link to the theme source code. */
|
|
40
|
+
repository?: string; /** Supplier of the theme. */
|
|
41
|
+
supplier?: string; /** List of tags. */
|
|
64
42
|
tags?: string[];
|
|
65
|
-
readonly tenantId?: string;
|
|
66
|
-
/** The type of this theme (visualization, etc.). */
|
|
43
|
+
readonly tenantId?: string; /** The type of this theme (visualization, etc.). */
|
|
67
44
|
type?: string;
|
|
68
45
|
readonly updateAt?: string;
|
|
69
|
-
readonly userId?: string;
|
|
70
|
-
/** Version of the theme. */
|
|
46
|
+
readonly userId?: string; /** Version of the theme. */
|
|
71
47
|
version?: string;
|
|
72
48
|
};
|
|
73
49
|
type Themes = {
|
|
@@ -96,9 +72,7 @@ type GetThemesHttpError = {
|
|
|
96
72
|
* @throws UploadThemeHttpError
|
|
97
73
|
*/
|
|
98
74
|
declare function uploadTheme(body: {
|
|
99
|
-
/** The theme model. */
|
|
100
|
-
data?: Theme;
|
|
101
|
-
/** Theme archive. */
|
|
75
|
+
/** The theme model. */data?: Theme; /** Theme archive. */
|
|
102
76
|
file?: BodyInit;
|
|
103
77
|
}, options?: ApiCallOptions): Promise<UploadThemeHttpResponse>;
|
|
104
78
|
type UploadThemeHttpResponse = {
|
|
@@ -153,9 +127,7 @@ type GetThemeHttpError = {
|
|
|
153
127
|
* @throws PatchThemeHttpError
|
|
154
128
|
*/
|
|
155
129
|
declare function patchTheme(id: string, body: {
|
|
156
|
-
/** The theme model. */
|
|
157
|
-
data?: Theme;
|
|
158
|
-
/** Theme archive. */
|
|
130
|
+
/** The theme model. */data?: Theme; /** Theme archive. */
|
|
159
131
|
file?: BodyInit;
|
|
160
132
|
}, options?: ApiCallOptions): Promise<PatchThemeHttpResponse>;
|
|
161
133
|
type PatchThemeHttpResponse = {
|
|
@@ -176,7 +148,7 @@ type PatchThemeHttpError = {
|
|
|
176
148
|
*/
|
|
177
149
|
declare function downloadTheme(id: string, options?: ApiCallOptions): Promise<DownloadThemeHttpResponse>;
|
|
178
150
|
type DownloadThemeHttpResponse = {
|
|
179
|
-
data:
|
|
151
|
+
data: DownloadableBlob;
|
|
180
152
|
headers: Headers;
|
|
181
153
|
status: 200;
|
|
182
154
|
};
|
package/themes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/themes.ts
|
|
5
5
|
/**
|
|
@@ -125,7 +125,6 @@ const themesExport = {
|
|
|
125
125
|
downloadFileFromTheme,
|
|
126
126
|
clearCache
|
|
127
127
|
};
|
|
128
|
-
var themes_default = themesExport;
|
|
129
128
|
|
|
130
129
|
//#endregion
|
|
131
|
-
export { clearCache,
|
|
130
|
+
export { clearCache, themesExport as default, deleteTheme, downloadFileFromTheme, downloadTheme, getTheme, getThemes, patchTheme, uploadTheme };
|
package/transports.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/transports.d.ts
|
|
5
5
|
type DeleteConfigNotFoundError = {
|
|
6
6
|
errors?: {
|
|
7
|
-
/** The error code. */
|
|
8
|
-
code: string;
|
|
9
|
-
/** Summary of the problem */
|
|
7
|
+
/** The error code. */code: string; /** Summary of the problem */
|
|
10
8
|
title: string;
|
|
11
9
|
}[];
|
|
12
10
|
};
|
|
@@ -14,9 +12,7 @@ type DeleteConfigNotFoundError = {
|
|
|
14
12
|
* An error object.
|
|
15
13
|
*/
|
|
16
14
|
type ErrorPublic = {
|
|
17
|
-
/** The error code. */
|
|
18
|
-
code: string;
|
|
19
|
-
/** Summary of the problem. */
|
|
15
|
+
/** The error code. */code: string; /** Summary of the problem. */
|
|
20
16
|
title: string;
|
|
21
17
|
};
|
|
22
18
|
type ErrorsPublic = {
|
|
@@ -24,53 +20,39 @@ type ErrorsPublic = {
|
|
|
24
20
|
};
|
|
25
21
|
type SendTestMailConfigNotFoundError = {
|
|
26
22
|
errors?: {
|
|
27
|
-
/** The error code. */
|
|
28
|
-
code: string;
|
|
29
|
-
/** Summary of the problem */
|
|
23
|
+
/** The error code. */code: string; /** Summary of the problem */
|
|
30
24
|
title: string;
|
|
31
25
|
}[];
|
|
32
26
|
};
|
|
33
27
|
type TenantAdminError = {
|
|
34
28
|
errors?: {
|
|
35
|
-
/** The error code. */
|
|
36
|
-
code: string;
|
|
37
|
-
/** Summary of the problem */
|
|
29
|
+
/** The error code. */code: string; /** Summary of the problem */
|
|
38
30
|
title: string;
|
|
39
31
|
}[];
|
|
40
32
|
};
|
|
41
33
|
type UpdateEmailConfigError = {
|
|
42
34
|
errors?: {
|
|
43
|
-
/** The error code. */
|
|
44
|
-
code: string;
|
|
45
|
-
/** Summary of the problem */
|
|
35
|
+
/** The error code. */code: string; /** Summary of the problem */
|
|
46
36
|
title: string;
|
|
47
37
|
}[];
|
|
48
38
|
};
|
|
49
39
|
type VerifyConnectionConfigNotFoundError = {
|
|
50
40
|
errors?: {
|
|
51
|
-
/** The error code. */
|
|
52
|
-
code: string;
|
|
53
|
-
/** Summary of the problem */
|
|
41
|
+
/** The error code. */code: string; /** Summary of the problem */
|
|
54
42
|
title: string;
|
|
55
43
|
}[];
|
|
56
44
|
};
|
|
57
45
|
type Email = {
|
|
58
|
-
/** email body */
|
|
59
|
-
|
|
60
|
-
/** email recipient (email address) */
|
|
61
|
-
recipient?: string;
|
|
62
|
-
/** email subject */
|
|
46
|
+
/** email body */body?: string; /** email recipient (email address) */
|
|
47
|
+
recipient?: string; /** email subject */
|
|
63
48
|
subject?: string;
|
|
64
49
|
};
|
|
65
50
|
/**
|
|
66
51
|
* A JSON Patch document as defined in https://datatracker.ietf.org/doc/html/rfc6902.
|
|
67
52
|
*/
|
|
68
53
|
type EmailConfigFieldPatch = {
|
|
69
|
-
/** The operation to be performed. */
|
|
70
|
-
|
|
71
|
-
/** The path for the given resource field to patch. */
|
|
72
|
-
path: "/username" | "/serverAddress" | "/serverPort" | "/securityType" | "/emailAddress" | "/emailPassword";
|
|
73
|
-
/** The value to be used for this operation. */
|
|
54
|
+
/** The operation to be performed. */op: "replace, remove, add"; /** The path for the given resource field to patch. */
|
|
55
|
+
path: "/username" | "/serverAddress" | "/serverPort" | "/securityType" | "/emailAddress" | "/emailPassword"; /** The value to be used for this operation. */
|
|
74
56
|
value: string;
|
|
75
57
|
};
|
|
76
58
|
/**
|
|
@@ -84,117 +66,75 @@ type EmailConfigFieldPatch = {
|
|
|
84
66
|
*/
|
|
85
67
|
type EmailConfigPatch = EmailConfigFieldPatch[];
|
|
86
68
|
type GetBasicAuthConfig = {
|
|
87
|
-
/** The email address that should appear in From field when sending emails with this account */
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
senderName?: string;
|
|
93
|
-
/** domain name or IP address of SMTP server */
|
|
94
|
-
serverAddress?: string;
|
|
95
|
-
/** smtp server port */
|
|
96
|
-
serverPort?: number;
|
|
97
|
-
/** user name used for SMTP login */
|
|
69
|
+
/** The email address that should appear in From field when sending emails with this account */emailAddress?: string; /** The selected SMTP security mechanism. Could be either 'none', 'StartTLS' or 'SSL/TLS' */
|
|
70
|
+
securityType?: string; /** The name that should appear in From field when sending emails with this account */
|
|
71
|
+
senderName?: string; /** domain name or IP address of SMTP server */
|
|
72
|
+
serverAddress?: string; /** smtp server port */
|
|
73
|
+
serverPort?: number; /** user name used for SMTP login */
|
|
98
74
|
username?: string;
|
|
99
75
|
};
|
|
100
76
|
type GetEmailConfig = {
|
|
101
|
-
/** Number of authentication failures */
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
emailAddress?: string;
|
|
105
|
-
/** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */
|
|
106
|
-
errorCode?: string;
|
|
107
|
-
/** Is the configuration valid */
|
|
77
|
+
/** Number of authentication failures */authFailures?: number; /** used for SMTP authentication */
|
|
78
|
+
emailAddress?: string; /** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */
|
|
79
|
+
errorCode?: string; /** Is the configuration valid */
|
|
108
80
|
isValid?: boolean;
|
|
109
|
-
lastUpdated?: string;
|
|
110
|
-
/**
|
|
111
|
-
modificationTime?: string;
|
|
112
|
-
/** Indicates if password is defined for this smtp config. The password itself is not returned! */
|
|
81
|
+
lastUpdated?: string; /** Last modification time. Formatted as a ISO 8601 string. */
|
|
82
|
+
modificationTime?: string; /** Indicates if password is defined for this smtp config. The password itself is not returned! */
|
|
113
83
|
passwordExists?: boolean;
|
|
114
|
-
providerConfig?: GetMicrosoft365Config | GetBasicAuthConfig;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
/** Name of the service provider for authentication */
|
|
122
|
-
serviceProvider?: "Microsoft365" | "BasicAuth";
|
|
123
|
-
/** Contains statusCode and statusReason */
|
|
124
|
-
status?: SmtpConfigStatus;
|
|
125
|
-
/** The tenant Id */
|
|
126
|
-
tenantId?: string;
|
|
127
|
-
/** user name */
|
|
84
|
+
providerConfig?: GetMicrosoft365Config | GetBasicAuthConfig; /** one of none, StartTLS or SSL/TLS */
|
|
85
|
+
securityType?: string; /** domain name or IP address of SMTP server */
|
|
86
|
+
serverAddress?: string; /** smtp server listening port */
|
|
87
|
+
serverPort?: number; /** Name of the service provider for authentication */
|
|
88
|
+
serviceProvider?: "Microsoft365" | "BasicAuth"; /** Contains statusCode and statusReason */
|
|
89
|
+
status?: SmtpConfigStatus; /** The tenant Id */
|
|
90
|
+
tenantId?: string; /** user name */
|
|
128
91
|
username?: string;
|
|
129
92
|
};
|
|
130
93
|
type GetMicrosoft365Config = {
|
|
131
|
-
/** Microsoft365 client identifier */
|
|
132
|
-
|
|
133
|
-
/** The email address that should appear in From field when sending emails with this account */
|
|
134
|
-
emailAddress?: string;
|
|
135
|
-
/** Microsoft365 tenant identifier */
|
|
94
|
+
/** Microsoft365 client identifier */clientId?: string; /** The email address that should appear in From field when sending emails with this account */
|
|
95
|
+
emailAddress?: string; /** Microsoft365 tenant identifier */
|
|
136
96
|
providerTenantId?: string;
|
|
137
97
|
};
|
|
138
98
|
/**
|
|
139
99
|
* SMTP basic authentication configuration. Provides server address, credentials, and sender information for standard SMTP email delivery.
|
|
140
100
|
*/
|
|
141
101
|
type PutBasicAuthConfig = {
|
|
142
|
-
/** The email address that should appear in From field when sending emails with this account */
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
/** The name that should appear in From field when sending emails with this account */
|
|
149
|
-
senderName?: string;
|
|
150
|
-
/** domain name or IP address of SMTP server */
|
|
151
|
-
serverAddress?: string;
|
|
152
|
-
/** smtp server port */
|
|
153
|
-
serverPort?: number;
|
|
154
|
-
/** user name used for SMTP login */
|
|
102
|
+
/** The email address that should appear in From field when sending emails with this account */emailAddress?: string; /** password for SMTP basic authentication */
|
|
103
|
+
emailPassword?: string; /** SMTP security mechanism to use. Could be either 'none', 'StartTLS' or 'SSL/TLS' */
|
|
104
|
+
securityType?: string; /** The name that should appear in From field when sending emails with this account */
|
|
105
|
+
senderName?: string; /** domain name or IP address of SMTP server */
|
|
106
|
+
serverAddress?: string; /** smtp server port */
|
|
107
|
+
serverPort?: number; /** user name used for SMTP login */
|
|
155
108
|
username?: string;
|
|
156
109
|
};
|
|
157
110
|
type PutEmailConfig = {
|
|
158
|
-
providerConfig?: PutMicrosoft365Config | PutBasicAuthConfig;
|
|
159
|
-
/** Name of the service provider for authentication */
|
|
111
|
+
providerConfig?: PutMicrosoft365Config | PutBasicAuthConfig; /** Name of the service provider for authentication */
|
|
160
112
|
serviceProvider?: "Microsoft365" | "BasicAuth";
|
|
161
113
|
};
|
|
162
114
|
/**
|
|
163
115
|
* Microsoft 365 authentication configuration. Provides OAuth credentials and tenant information for Microsoft 365 email delivery.
|
|
164
116
|
*/
|
|
165
117
|
type PutMicrosoft365Config = {
|
|
166
|
-
/** Microsoft365 client identifier */
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
clientSecret?: string;
|
|
170
|
-
/** The email address that should appear in From field when sending emails with this account */
|
|
171
|
-
emailAddress?: string;
|
|
172
|
-
/** Microsoft365 tenant identifier */
|
|
118
|
+
/** Microsoft365 client identifier */clientId?: string; /** secret to authenticate the Microsoft365 account */
|
|
119
|
+
clientSecret?: string; /** The email address that should appear in From field when sending emails with this account */
|
|
120
|
+
emailAddress?: string; /** Microsoft365 tenant identifier */
|
|
173
121
|
providerTenantId?: string;
|
|
174
122
|
};
|
|
175
123
|
type SmtpCheck = {
|
|
176
|
-
/** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */
|
|
177
|
-
errorCode?: string;
|
|
178
|
-
/** true if smtp config is correct and complete. Will return false if smtp-config does not exist at all */
|
|
124
|
+
/** Indicates error with this email configuration. OK means that no error is indicated. Possible values are OK, CONFIG_NOT_SET, INCOMPLETE_CONFIG, INVALID_CREDENTIALS, PROVIDER_ERROR */errorCode?: string; /** true if smtp config is correct and complete. Will return false if smtp-config does not exist at all */
|
|
179
125
|
isValid?: boolean;
|
|
180
126
|
};
|
|
181
127
|
/**
|
|
182
128
|
* Contains statusCode and statusReason
|
|
183
129
|
*/
|
|
184
130
|
type SmtpConfigStatus = {
|
|
185
|
-
/** Status code */
|
|
186
|
-
statusCode?: number;
|
|
187
|
-
/** Status reason */
|
|
131
|
+
/** Status code */statusCode?: number; /** Status reason */
|
|
188
132
|
statusReason?: string;
|
|
189
133
|
};
|
|
190
134
|
type SmtpResult = {
|
|
191
|
-
/** could not resolve domain name, connection refused, connection timed out, SSL mismatch */
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
message?: string;
|
|
195
|
-
/** smtp result code string from the SMTP server. eg. "250 2.6.0" */
|
|
196
|
-
smtpResponseCode?: number;
|
|
197
|
-
/** was SMTP operation successful or not. Other fields herein provide more detail */
|
|
135
|
+
/** could not resolve domain name, connection refused, connection timed out, SSL mismatch */connectionFailed?: boolean; /** error message from SMTP middleware .. a bit technical but could be useful to administrator */
|
|
136
|
+
message?: string; /** smtp result code string from the SMTP server. eg. "250 2.6.0" */
|
|
137
|
+
smtpResponseCode?: number; /** was SMTP operation successful or not. Other fields herein provide more detail */
|
|
198
138
|
success?: boolean;
|
|
199
139
|
};
|
|
200
140
|
/**
|
package/transports.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/transports.ts
|
|
5
5
|
/**
|
|
@@ -116,7 +116,6 @@ const transportsExport = {
|
|
|
116
116
|
verifyEmailConfigConnection,
|
|
117
117
|
clearCache
|
|
118
118
|
};
|
|
119
|
-
var transports_default = transportsExport;
|
|
120
119
|
|
|
121
120
|
//#endregion
|
|
122
|
-
export { clearCache,
|
|
121
|
+
export { clearCache, transportsExport as default, deleteEmailConfig, getEmailConfig, patchEmailConfig, sendTestEmail, updateEmailConfig, validateEmailConfig, verifyEmailConfigConnection };
|
package/ui-config.d.ts
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/ui-config.d.ts
|
|
5
5
|
type BulkCreatePinnedLinkItemPayload = CreatePinnedLinkConfigPayload & {
|
|
6
6
|
links: CreatePinnedLinkPayload[];
|
|
7
7
|
};
|
|
8
8
|
type CreatePinnedLinkConfigPayload = {
|
|
9
|
-
/** Specifies the scope of the link. Only supports `tenant`. */
|
|
10
|
-
scope: "tenant";
|
|
11
|
-
/** Specifies the type of the link. Only supports `custom-link`. */
|
|
9
|
+
/** Specifies the scope of the link. Only supports `tenant`. */scope: "tenant"; /** Specifies the type of the link. Only supports `custom-link`. */
|
|
12
10
|
type: "custom-link";
|
|
13
11
|
};
|
|
14
12
|
type CreatePinnedLinkPayload = {
|
|
15
|
-
/** The URL the user will be taken to when they click on the custom link. Must be https. */
|
|
16
|
-
link: string;
|
|
17
|
-
/** The title of the link, which will be shown in the navigation bar. Max length 50 characters. */
|
|
13
|
+
/** The URL the user will be taken to when they click on the custom link. Must be https. */link: string; /** The title of the link, which will be shown in the navigation bar. Max length 50 characters. */
|
|
18
14
|
name: string;
|
|
19
15
|
};
|
|
20
16
|
type Error = {
|
|
21
|
-
/** Error code. */
|
|
22
|
-
readonly code?: number;
|
|
23
|
-
/** Error cause. */
|
|
17
|
+
/** Error code. */readonly code?: number; /** Error cause. */
|
|
24
18
|
readonly message?: string;
|
|
25
19
|
};
|
|
26
20
|
type ErrorResponse403 = {
|
|
@@ -33,21 +27,18 @@ type ErrorResponse403 = {
|
|
|
33
27
|
};
|
|
34
28
|
type JSONPatchPinnedLinkPayload = {
|
|
35
29
|
op: "replace";
|
|
36
|
-
path: "/name" | "/link";
|
|
37
|
-
/** The value to be used for this operation. */
|
|
30
|
+
path: "/name" | "/link"; /** The value to be used for this operation. */
|
|
38
31
|
value: string;
|
|
39
32
|
}[];
|
|
40
33
|
type PinnedLink = {
|
|
41
|
-
/** Date string */
|
|
42
|
-
createdAt: string;
|
|
34
|
+
/** Date string */createdAt: string;
|
|
43
35
|
createdBy: string;
|
|
44
36
|
id: string;
|
|
45
37
|
link: string;
|
|
46
38
|
name: string;
|
|
47
39
|
scope: "user" | "tenant";
|
|
48
40
|
tenantId: string;
|
|
49
|
-
type: "custom-link";
|
|
50
|
-
/** Date string */
|
|
41
|
+
type: "custom-link"; /** Date string */
|
|
51
42
|
updatedAt?: string;
|
|
52
43
|
updatedBy?: string;
|
|
53
44
|
};
|
package/ui-config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/public-runtime-modules-
|
|
2
|
-
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-
|
|
1
|
+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
|
|
2
|
+
import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-DMAi6Fg3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/ui-config.ts
|
|
5
5
|
/**
|
|
@@ -120,7 +120,6 @@ const uiConfigExport = {
|
|
|
120
120
|
patchUiConfigPinnedLink,
|
|
121
121
|
clearCache
|
|
122
122
|
};
|
|
123
|
-
var ui_config_default = uiConfigExport;
|
|
124
123
|
|
|
125
124
|
//#endregion
|
|
126
|
-
export { clearCache, createUiConfigPinnedLink, createUiConfigPinnedLinks,
|
|
125
|
+
export { clearCache, createUiConfigPinnedLink, createUiConfigPinnedLinks, uiConfigExport as default, deleteAllUiConfigPinnedLinks, deleteUiConfigPinnedLink, getUiConfigPinnedLink, getUiConfigPinnedLinks, patchUiConfigPinnedLink };
|