@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.
Files changed (167) hide show
  1. package/analytics/change-stores.d.ts +40 -76
  2. package/analytics/change-stores.js +9 -10
  3. package/analytics.d.ts +1 -2
  4. package/analytics.js +5 -6
  5. package/api-keys.d.ts +46 -100
  6. package/api-keys.js +3 -4
  7. package/apps.d.ts +334 -461
  8. package/apps.js +74 -6
  9. package/assistants.d.ts +172 -337
  10. package/assistants.js +3 -4
  11. package/audits.d.ts +41 -85
  12. package/audits.js +3 -4
  13. package/auth-types.d.ts +110 -1
  14. package/auth-types.js +22 -1
  15. package/auth.d.ts +1 -2
  16. package/auth.js +1 -1
  17. package/automation-connections.d.ts +44 -95
  18. package/automation-connections.js +3 -4
  19. package/automation-connectors.d.ts +10 -20
  20. package/automation-connectors.js +3 -4
  21. package/automations.d.ts +54 -112
  22. package/automations.js +3 -4
  23. package/automl-deployments.d.ts +17 -36
  24. package/automl-deployments.js +3 -4
  25. package/automl-predictions.d.ts +12 -24
  26. package/automl-predictions.js +3 -4
  27. package/banners.d.ts +8 -14
  28. package/banners.js +3 -4
  29. package/brands.d.ts +19 -39
  30. package/brands.js +3 -4
  31. package/chunks/auth-B8lJw7rm.js +31 -0
  32. package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
  33. package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
  34. package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
  35. package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
  36. package/chunks/platform-types-CECrZkOF.d.ts +29 -0
  37. package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
  38. package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
  39. package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
  40. package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
  41. package/collections.d.ts +67 -144
  42. package/collections.js +3 -4
  43. package/conditions.d.ts +87 -190
  44. package/conditions.js +3 -4
  45. package/consumption.d.ts +35 -72
  46. package/consumption.js +3 -4
  47. package/core/ip-policies.d.ts +43 -93
  48. package/core/ip-policies.js +5 -6
  49. package/core.d.ts +1 -2
  50. package/core.js +5 -6
  51. package/csp-origins.d.ts +42 -85
  52. package/csp-origins.js +3 -4
  53. package/csrf-token.d.ts +6 -11
  54. package/csrf-token.js +3 -4
  55. package/data-alerts.d.ts +152 -325
  56. package/data-alerts.js +3 -4
  57. package/data-assets.d.ts +16 -31
  58. package/data-assets.js +3 -4
  59. package/data-connections.d.ts +123 -257
  60. package/data-connections.js +3 -4
  61. package/data-credentials.d.ts +36 -76
  62. package/data-credentials.js +3 -4
  63. package/data-files.d.ts +60 -121
  64. package/data-files.js +3 -4
  65. package/data-governance/data-products.d.ts +429 -0
  66. package/data-governance/data-products.js +212 -0
  67. package/data-governance.d.ts +13 -0
  68. package/data-governance.js +12 -0
  69. package/data-qualities.d.ts +11 -25
  70. package/data-qualities.js +3 -4
  71. package/data-sets.d.ts +28 -57
  72. package/data-sets.js +3 -4
  73. package/data-sources.d.ts +45 -97
  74. package/data-sources.js +3 -4
  75. package/data-stores.d.ts +53 -107
  76. package/data-stores.js +3 -4
  77. package/dcaas.d.ts +32 -67
  78. package/dcaas.js +3 -4
  79. package/di-projects.d.ts +111 -136
  80. package/di-projects.js +25 -4
  81. package/direct-access-agents.d.ts +29 -63
  82. package/direct-access-agents.js +3 -4
  83. package/encryption.d.ts +28 -59
  84. package/encryption.js +3 -4
  85. package/extensions.d.ts +35 -73
  86. package/extensions.js +3 -4
  87. package/global-types.d.ts +139 -1
  88. package/glossaries.d.ts +75 -158
  89. package/glossaries.js +3 -4
  90. package/groups.d.ts +58 -125
  91. package/groups.js +3 -4
  92. package/identity-providers.d.ts +148 -324
  93. package/identity-providers.js +3 -4
  94. package/index.d.ts +18 -4
  95. package/index.js +64 -19
  96. package/interceptors.d.ts +2 -3
  97. package/interceptors.js +104 -2
  98. package/invoke-fetch-types.d.ts +97 -1
  99. package/items.d.ts +85 -181
  100. package/items.js +3 -4
  101. package/knowledgebases.d.ts +137 -270
  102. package/knowledgebases.js +3 -4
  103. package/licenses.d.ts +71 -153
  104. package/licenses.js +3 -4
  105. package/lineage-graphs.d.ts +39 -85
  106. package/lineage-graphs.js +3 -4
  107. package/ml.d.ts +290 -621
  108. package/ml.js +3 -4
  109. package/notes.d.ts +9 -18
  110. package/notes.js +3 -4
  111. package/notifications.d.ts +14 -30
  112. package/notifications.js +3 -4
  113. package/oauth-clients.d.ts +98 -159
  114. package/oauth-clients.js +4 -5
  115. package/oauth-tokens.d.ts +16 -33
  116. package/oauth-tokens.js +3 -4
  117. package/package.json +6 -4
  118. package/qix.d.ts +46 -2
  119. package/qix.js +2 -3
  120. package/questions.d.ts +53 -110
  121. package/questions.js +3 -4
  122. package/quotas.d.ts +13 -26
  123. package/quotas.js +3 -4
  124. package/reload-tasks.d.ts +23 -46
  125. package/reload-tasks.js +3 -4
  126. package/reloads.d.ts +26 -52
  127. package/reloads.js +3 -4
  128. package/report-templates.d.ts +30 -63
  129. package/report-templates.js +3 -4
  130. package/reports.d.ts +111 -238
  131. package/reports.js +3 -4
  132. package/roles.d.ts +36 -77
  133. package/roles.js +3 -4
  134. package/sharing-tasks.d.ts +201 -427
  135. package/sharing-tasks.js +3 -4
  136. package/spaces.d.ts +71 -157
  137. package/spaces.js +3 -4
  138. package/tasks.d.ts +76 -164
  139. package/tasks.js +3 -4
  140. package/temp-contents.d.ts +17 -35
  141. package/temp-contents.js +3 -4
  142. package/tenant-settings.d.ts +298 -0
  143. package/tenant-settings.js +107 -0
  144. package/tenants.d.ts +31 -67
  145. package/tenants.js +3 -4
  146. package/themes.d.ts +27 -55
  147. package/themes.js +3 -4
  148. package/transports.d.ts +46 -106
  149. package/transports.js +3 -4
  150. package/ui-config.d.ts +8 -17
  151. package/ui-config.js +3 -4
  152. package/users.d.ts +80 -170
  153. package/users.js +3 -4
  154. package/web-integrations.d.ts +38 -83
  155. package/web-integrations.js +3 -4
  156. package/web-notifications.d.ts +14 -29
  157. package/web-notifications.js +3 -4
  158. package/webhooks.d.ts +77 -162
  159. package/webhooks.js +3 -4
  160. package/chunks/auth-BowS4SUR.js +0 -28
  161. package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
  162. package/chunks/auth-types-h43TVDpB.js +0 -24
  163. package/chunks/global-types-CEVAJebk.js +0 -1
  164. /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
  165. /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
  166. /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
  167. /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/themes.d.ts CHANGED
@@ -1,73 +1,49 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
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
- meta?: Meta;
11
- /** Optional JSON patch object pointing to an invalid property. */
12
- source?: unknown;
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
- message?: string;
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
- author?: string;
37
- readonly createdAt?: string;
38
- /** Map of dependencies describing version of the component it requires. */
39
- dependencies?: unknown;
40
- /** Description of the theme. */
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
- /** Keywords for the theme. */
50
- keywords?: string;
51
- /** Under which license this theme is published. */
52
- license?: string;
53
- /** The display name of this theme. */
54
- name?: string;
55
- /** The name of the qext file that was uploaded with this theme. */
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: void;
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-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
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, themes_default as default, deleteTheme, downloadFileFromTheme, downloadTheme, getTheme, getThemes, patchTheme, uploadTheme };
130
+ export { clearCache, themesExport as default, deleteTheme, downloadFileFromTheme, downloadTheme, getTheme, getThemes, patchTheme, uploadTheme };
package/transports.d.ts CHANGED
@@ -1,12 +1,10 @@
1
- import { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
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
- body?: string;
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
- op: "replace, remove, add";
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
- emailAddress?: string;
89
- /** The selected SMTP security mechanism. Could be either 'none', 'StartTLS' or 'SSL/TLS' */
90
- securityType?: string;
91
- /** The name that should appear in From field when sending emails with this account */
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
- authFailures?: number;
103
- /** used for SMTP authentication */
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
- /** Last modification time. Formatted as a ISO 8601 string. */
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
- /** one of none, StartTLS or SSL/TLS */
116
- securityType?: string;
117
- /** domain name or IP address of SMTP server */
118
- serverAddress?: string;
119
- /** smtp server listening port */
120
- serverPort?: number;
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
- clientId?: string;
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
- emailAddress?: string;
144
- /** password for SMTP basic authentication */
145
- emailPassword?: string;
146
- /** SMTP security mechanism to use. Could be either 'none', 'StartTLS' or 'SSL/TLS' */
147
- securityType?: string;
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
- clientId?: string;
168
- /** secret to authenticate the Microsoft365 account */
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
- connectionFailed?: boolean;
193
- /** error message from SMTP middleware .. a bit technical but could be useful to administrator */
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-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
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, transports_default as default, deleteEmailConfig, getEmailConfig, patchEmailConfig, sendTestEmail, updateEmailConfig, validateEmailConfig, verifyEmailConfigConnection };
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 { y as ApiCallOptions } from "./chunks/auth-types-YrlH_R9f.js";
2
- import "./chunks/invoke-fetch-C1Z0RJYU.js";
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-QhLPeQr5.js";
2
- import { n as invokeFetch, t as clearApiCache } from "./chunks/invoke-fetch-B7lGscuQ.js";
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, ui_config_default as default, deleteAllUiConfigPinnedLinks, deleteUiConfigPinnedLink, getUiConfigPinnedLink, getUiConfigPinnedLinks, patchUiConfigPinnedLink };
125
+ export { clearCache, createUiConfigPinnedLink, createUiConfigPinnedLinks, uiConfigExport as default, deleteAllUiConfigPinnedLinks, deleteUiConfigPinnedLink, getUiConfigPinnedLink, getUiConfigPinnedLinks, patchUiConfigPinnedLink };