@extrahorizon/javascript-sdk 8.9.1-feat-150-69ae468 → 8.10.0-dev-159-0e9a0f1
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
|
@@ -5,13 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [8.10.0]
|
|
9
|
+
|
|
8
10
|
## [8.9.1]
|
|
9
11
|
|
|
10
12
|
### Fixed
|
|
11
|
-
- exh.users.updatePasswordPolicy now correctly accepts a partial `PasswordPolicy` object.
|
|
12
|
-
- `
|
|
13
|
-
- `
|
|
14
|
-
- `
|
|
13
|
+
- `exh.users.updatePasswordPolicy` now correctly accepts a partial `PasswordPolicy` object.
|
|
14
|
+
- The type of the request body for `exh.data.statuses.update` now correctly includes the `data` property.
|
|
15
|
+
- The return type of `sdk.data.transitions.create` is correctly typed as `Transition` rather than `AffectedRecords`.
|
|
16
|
+
- The `VerificationSettings` type is now exported
|
|
17
|
+
- The `ForgotPasswordRequest` type is now exported
|
|
18
|
+
- The `ActivationRequest` type is now exported
|
|
15
19
|
|
|
16
20
|
## [8.9.0]
|
|
17
21
|
|
package/build/index.cjs.js
CHANGED
package/build/index.mjs
CHANGED
|
@@ -1428,7 +1428,9 @@ export interface DataStatusesService {
|
|
|
1428
1428
|
* @returns AffectedRecords
|
|
1429
1429
|
* @throws {ResourceUnknownError}
|
|
1430
1430
|
*/
|
|
1431
|
-
update(schemaIdOrName: ObjectId | string, name: string, requestBody:
|
|
1431
|
+
update(schemaIdOrName: ObjectId | string, name: string, requestBody: {
|
|
1432
|
+
data: StatusData;
|
|
1433
|
+
}, options?: OptionsBase): Promise<AffectedRecords>;
|
|
1432
1434
|
/**
|
|
1433
1435
|
* Delete a status
|
|
1434
1436
|
*
|
|
@@ -1467,7 +1469,7 @@ export interface DataTransitionsService {
|
|
|
1467
1469
|
* @returns {Promise<AffectedRecords>}
|
|
1468
1470
|
* @throws {IllegalArgumentError}
|
|
1469
1471
|
*/
|
|
1470
|
-
create(schemaIdOrName: ObjectId | string, requestBody: TransitionInput, options?: OptionsBase): Promise<
|
|
1472
|
+
create(schemaIdOrName: ObjectId | string, requestBody: TransitionInput, options?: OptionsBase): Promise<Transition>;
|
|
1471
1473
|
/**
|
|
1472
1474
|
* Update a transition
|
|
1473
1475
|
*
|
|
@@ -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.
|
|
1
|
+
export declare const version = "8.10.0-dev-159-0e9a0f1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.0-dev-159-0e9a0f1",
|
|
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",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"jest": "^29.7.0",
|
|
55
55
|
"nock": "^13.5.4",
|
|
56
56
|
"rimraf": "^5.0.5",
|
|
57
|
-
"rollup": "^2.
|
|
57
|
+
"rollup": "^2.80.0",
|
|
58
58
|
"ts-jest": "^29.1.2",
|
|
59
59
|
"typescript": "^4.5.5"
|
|
60
60
|
}
|