@extrahorizon/javascript-sdk 8.9.1-dev-151-819d661 → 8.9.1-dev-153-23dbf01

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
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [8.9.1]
9
9
 
10
+ ### Fixed
11
+ - `exh.users.updatePasswordPolicy` now correctly accepts a partial `PasswordPolicy` object.
12
+ - The `VerificationSettings` type is now exported
13
+ - The `ForgotPasswordRequest` type is now exported
14
+ - The `ActivationRequest` type is now exported
15
+
10
16
  ## [8.9.0]
11
17
 
12
18
  ### Added
@@ -5615,7 +5615,7 @@ const templatesV2Service = (httpWithAuth) => {
5615
5615
  };
5616
5616
  };
5617
5617
 
5618
- const version = '8.9.1-dev-151-819d661';
5618
+ const version = '8.9.1-dev-153-23dbf01';
5619
5619
 
5620
5620
  /**
5621
5621
  * Create ExtraHorizon client.
package/build/index.mjs CHANGED
@@ -5585,7 +5585,7 @@ const templatesV2Service = (httpWithAuth) => {
5585
5585
  };
5586
5586
  };
5587
5587
 
5588
- const version = '8.9.1-dev-151-819d661';
5588
+ const version = '8.9.1-dev-153-23dbf01';
5589
5589
 
5590
5590
  /**
5591
5591
  * Create ExtraHorizon client.
@@ -1467,7 +1467,7 @@ export interface DataTransitionsService {
1467
1467
  * @returns {Promise<AffectedRecords>}
1468
1468
  * @throws {IllegalArgumentError}
1469
1469
  */
1470
- create(schemaIdOrName: ObjectId | string, requestBody: TransitionInput, options?: OptionsBase): Promise<AffectedRecords>;
1470
+ create(schemaIdOrName: ObjectId | string, requestBody: TransitionInput, options?: OptionsBase): Promise<Transition>;
1471
1471
  /**
1472
1472
  * Update a transition
1473
1473
  *
@@ -1,6 +1,9 @@
1
1
  import { RQLString } from '../../rql';
2
2
  import { FindAllIterator } from '../../services/helpers';
3
3
  import { ObjectId, LanguageCode, TimeZone, PagedResult, AffectedRecords, OptionsBase, OptionsWithRql, PagedResultWithPager } from '../types';
4
+ export { VerificationSettings } from './settings/types';
5
+ export { ActivationRequest } from './activationRequests/types';
6
+ export { ForgotPasswordRequest } from './forgotPasswordRequests/types';
4
7
  export interface UserData {
5
8
  id: string;
6
9
  firstName: string;
@@ -1184,14 +1187,14 @@ export interface UsersService {
1184
1187
  */
1185
1188
  passwordPolicy(options?: OptionsBase): Promise<PasswordPolicy>;
1186
1189
  /**
1187
- * Update the current pasword policy
1190
+ * Update the current password policy
1188
1191
  *
1189
1192
  * Permission | Scope | Effect
1190
1193
  * - | - | -
1191
1194
  * `UPDATE_PASSWORD_POLICY` | `global` | Update password policy
1192
1195
  * @returns {PasswordPolicy} PasswordPolicy
1193
1196
  */
1194
- updatePasswordPolicy(requestBody: PasswordPolicy, options?: OptionsBase): Promise<PasswordPolicy>;
1197
+ updatePasswordPolicy(requestBody: Partial<PasswordPolicy>, options?: OptionsBase): Promise<PasswordPolicy>;
1195
1198
  /**
1196
1199
  * ## Retrieve a list of email templates
1197
1200
  *
@@ -1 +1 @@
1
- export declare const version = "8.9.1-dev-151-819d661";
1
+ export declare const version = "8.9.1-dev-153-23dbf01";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/javascript-sdk",
3
- "version": "8.9.1-dev-151-819d661",
3
+ "version": "8.9.1-dev-153-23dbf01",
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",