@extrahorizon/javascript-sdk 8.9.1-dev-155-ab27db9 → 8.9.1-dev-157-93ccb92
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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
10
|
### Fixed
|
|
11
11
|
- `exh.users.updatePasswordPolicy` now correctly accepts a partial `PasswordPolicy` object.
|
|
12
12
|
- The type of the request body for `exh.data.statuses.update` now correctly includes the `data` property.
|
|
13
|
+
- The return type of `sdk.data.transitions.create` is correctly typed as `Transition` rather than `AffectedRecords`.
|
|
13
14
|
- The `VerificationSettings` type is now exported
|
|
14
15
|
- The `ForgotPasswordRequest` type is now exported
|
|
15
16
|
- The `ActivationRequest` type is now exported
|
package/build/index.cjs.js
CHANGED
package/build/index.mjs
CHANGED
|
@@ -129,6 +129,14 @@ export interface PasswordPolicy {
|
|
|
129
129
|
pattern?: string;
|
|
130
130
|
messageFormat?: string;
|
|
131
131
|
}
|
|
132
|
+
export interface PasswordPolicyUpdate {
|
|
133
|
+
minimumLength?: number;
|
|
134
|
+
maximumLength?: number;
|
|
135
|
+
upperCaseRequired?: boolean;
|
|
136
|
+
lowerCaseRequired?: boolean;
|
|
137
|
+
symbolRequired?: boolean;
|
|
138
|
+
numberRequired?: boolean;
|
|
139
|
+
}
|
|
132
140
|
export declare enum GlobalPermissionName {
|
|
133
141
|
ACTIVATE_PRESCRIPTIONS = "ACTIVATE_PRESCRIPTIONS",
|
|
134
142
|
ADD_CREDITS = "ADD_CREDITS",
|
|
@@ -1192,9 +1200,8 @@ export interface UsersService {
|
|
|
1192
1200
|
* Permission | Scope | Effect
|
|
1193
1201
|
* - | - | -
|
|
1194
1202
|
* `UPDATE_PASSWORD_POLICY` | `global` | Update password policy
|
|
1195
|
-
* @returns {PasswordPolicy} PasswordPolicy
|
|
1196
1203
|
*/
|
|
1197
|
-
updatePasswordPolicy(requestBody:
|
|
1204
|
+
updatePasswordPolicy(requestBody: PasswordPolicyUpdate, options?: OptionsBase): Promise<PasswordPolicyUpdate>;
|
|
1198
1205
|
/**
|
|
1199
1206
|
* ## Retrieve a list of email templates
|
|
1200
1207
|
*
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.9.1-dev-
|
|
1
|
+
export declare const version = "8.9.1-dev-157-93ccb92";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.9.1-dev-
|
|
3
|
+
"version": "8.9.1-dev-157-93ccb92",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|