@extrahorizon/javascript-sdk 8.5.0-dev-77-cdf0205 → 8.5.0-dev-78-7b06d51

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,27 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [8.5.0]
9
9
 
10
- ### Fixed
11
- - Corrected `functioName` field to `functionName` in the `TransitionActionTask` type
12
- - `exh.templates.findFirst`, `findById` and `findByName` now correctly state `undefined` can be returned
13
- - The `notifyAlgoQueueManager` transition action type no longer claims it has a `id` and `version` field
14
- - Transitions now correctly state `name` is optional and `id` is only a returned field.
15
-
16
10
  ### Added
17
- - Added `exh.data.documents.unlinkAllUsers` and `unlinkAllGroups` methods to unlink all users or groups from a document
18
- - Added `priority` field to the `TransitionActionTask` type
19
- - Added `TransitionActionTask` to the `AfterActions`
20
- - Added `TRANSITION_DOCUMENTS` permission to the `GlobalPermissionName` enum
21
- - Added `TRANSITION_DOCUMENTS` permission to the documentation of the transition document function
22
- - Added a `name` field to the `exh.data.documents.transition` body, allowing a transition to be triggered by its name rather then its id
11
+ - Data Service:
12
+ - Schema `createMode`, `readMode`, `updateMode` and `deleteMode` have been updated to accept multiple granular options, matching the revamped access mode changes in Data Service `1.4.0`
13
+ - Schema Transition Action `type: "task"` now supports the `priority` field
14
+ - Schema Transition `afterActions` now supports the `type: "task"` Action
15
+ - Access mode documentation has been revamped for the relevant `exh.data.documents.*` methods
16
+ - `exh.data.documents.transition` now accepts a `name` field the `requestBody`, allowing a Transition to be triggered by its `name`
17
+ - `exh.data.documents.unlinkAllUsers` and `unlinkAllGroups` methods added, to unlink all users or groups from a Document
18
+ - `TRANSITION_DOCUMENTS` has been added as a supported permission
23
19
 
24
20
  ### Changed
25
- - RQL `contains` and `excludes` now have their different variations better separated in the type definitions
26
- - `exh.data.documents.unlinkUsers` and `unlinkGroups` now also accept an array of user or group ids directly rather than nested in a request body object
21
+ - `exh.data.documents.unlinkUsers` and `unlinkGroups` now also accept an array of user or group ids directly
27
22
  - Thanks to `tran-simon` for the pointing out the initially incorrect `unlinkUsers` type definition!
28
- - Data service schemas `createMode`, `readMode`, `updateMode` and `deleteMode` accepted values updated
29
- - Matching the access mode changes in Data Service 1.4.0
30
- - `readMode`, `updateMode` and `deleteMode` now also accept an array of relational modes
23
+ - The RQL `contains` and `excludes` methods type definitions have been improved
24
+
25
+ ### Fixed
26
+ - Data Service Schema Transition:
27
+ - Now correctly states `name` is optional and `id` is only a returned field.
28
+ - Action `type: "task"` now correctly types `functioName` as `functionName`
29
+ - Action `type: "notifyAlgoQueueManager"` no longer claims it has an `id` and `version` field
30
+ - `exh.templates.findFirst`, `findById` and `findByName` now correctly defines `undefined` as a return type
31
31
 
32
32
  ### Deprecated
33
33
  - `exh.data.documents.unlinkUsers` usage with an object is deprecated in favor of an array of ids directly or `unlinkAllUsers` for unlinking all users
@@ -5375,7 +5375,7 @@ const logsService = (httpWithAuth) => {
5375
5375
  };
5376
5376
  };
5377
5377
 
5378
- const version = '8.5.0-dev-77-cdf0205';
5378
+ const version = '8.5.0-dev-78-7b06d51';
5379
5379
 
5380
5380
  /**
5381
5381
  * Create ExtraHorizon client.
package/build/index.mjs CHANGED
@@ -5345,7 +5345,7 @@ const logsService = (httpWithAuth) => {
5345
5345
  };
5346
5346
  };
5347
5347
 
5348
- const version = '8.5.0-dev-77-cdf0205';
5348
+ const version = '8.5.0-dev-78-7b06d51';
5349
5349
 
5350
5350
  /**
5351
5351
  * Create ExtraHorizon client.
@@ -1 +1 @@
1
- export declare const version = "8.5.0-dev-77-cdf0205";
1
+ export declare const version = "8.5.0-dev-78-7b06d51";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/javascript-sdk",
3
- "version": "8.5.0-dev-77-cdf0205",
3
+ "version": "8.5.0-dev-78-7b06d51",
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",