@extrahorizon/javascript-sdk 8.4.1-dev-66-34d7111 → 8.4.1-dev-68-18958c0
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,8 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Fixed
|
|
11
|
+
- Corrected `functioName` field to `functionName` in the `TransitionActionTask` type
|
|
12
|
+
|
|
10
13
|
### Added
|
|
11
14
|
- `exh.data.documents.unlinkAllUsers` and `unlinkAllGroups` methods to unlink all users or groups from a document
|
|
15
|
+
- Added `priority` field to the `TransitionActionTask` type
|
|
16
|
+
- Added `TransitionActionTask` to the `AfterActions`
|
|
17
|
+
- Added `TRANSITION_DOCUMENTS` permission to the `GlobalPermissionName` enum
|
|
18
|
+
- Added `TRANSITION_DOCUMENTS` permission to the documentation of the transition document function
|
|
12
19
|
|
|
13
20
|
### Changed
|
|
14
21
|
- RQL `contains` and `excludes` now have their different variations better separated in the type definitions
|
package/build/index.cjs.js
CHANGED
|
@@ -1070,6 +1070,7 @@ exports.GlobalPermissionName = void 0;
|
|
|
1070
1070
|
GlobalPermissionName["SEND_MAILS"] = "SEND_MAILS";
|
|
1071
1071
|
GlobalPermissionName["SYNC_PROFILE_GROUPS"] = "SYNC_PROFILE_GROUPS";
|
|
1072
1072
|
GlobalPermissionName["TRANSFER_PERIOD"] = "TRANSFER_PERIOD";
|
|
1073
|
+
GlobalPermissionName["TRANSITION_DOCUMENTS"] = "TRANSITION_DOCUMENTS";
|
|
1073
1074
|
GlobalPermissionName["TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION"] = "TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION";
|
|
1074
1075
|
GlobalPermissionName["TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION"] = "TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION";
|
|
1075
1076
|
GlobalPermissionName["UNLINK_USER_FROM_OIDC"] = "UNLINK_USER_FROM_OIDC";
|
|
@@ -1207,8 +1208,6 @@ exports.GlobalPermissionName = void 0;
|
|
|
1207
1208
|
/** @deprecated Not in use any longer */
|
|
1208
1209
|
GlobalPermissionName["MANAGE_SERVICE_ALERTS"] = "MANAGE_SERVICE_ALERTS";
|
|
1209
1210
|
/** @deprecated Not in use any longer */
|
|
1210
|
-
GlobalPermissionName["TRANSITION_DOCUMENTS"] = "TRANSITION_DOCUMENTS";
|
|
1211
|
-
/** @deprecated Not in use any longer */
|
|
1212
1211
|
GlobalPermissionName["VIEW_AWS_SES_STATISTICS"] = "VIEW_AWS_SES_STATISTICS";
|
|
1213
1212
|
/** @deprecated Not in use any longer */
|
|
1214
1213
|
GlobalPermissionName["CREATE_USER_PERIODS"] = "CREATE_USER_PERIODS";
|
|
@@ -5376,7 +5375,7 @@ const logsService = (httpWithAuth) => {
|
|
|
5376
5375
|
};
|
|
5377
5376
|
};
|
|
5378
5377
|
|
|
5379
|
-
const version = '8.4.1-dev-
|
|
5378
|
+
const version = '8.4.1-dev-68-18958c0';
|
|
5380
5379
|
|
|
5381
5380
|
/**
|
|
5382
5381
|
* Create ExtraHorizon client.
|
package/build/index.mjs
CHANGED
|
@@ -1040,6 +1040,7 @@ var GlobalPermissionName;
|
|
|
1040
1040
|
GlobalPermissionName["SEND_MAILS"] = "SEND_MAILS";
|
|
1041
1041
|
GlobalPermissionName["SYNC_PROFILE_GROUPS"] = "SYNC_PROFILE_GROUPS";
|
|
1042
1042
|
GlobalPermissionName["TRANSFER_PERIOD"] = "TRANSFER_PERIOD";
|
|
1043
|
+
GlobalPermissionName["TRANSITION_DOCUMENTS"] = "TRANSITION_DOCUMENTS";
|
|
1043
1044
|
GlobalPermissionName["TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION"] = "TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION";
|
|
1044
1045
|
GlobalPermissionName["TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION"] = "TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION";
|
|
1045
1046
|
GlobalPermissionName["UNLINK_USER_FROM_OIDC"] = "UNLINK_USER_FROM_OIDC";
|
|
@@ -1177,8 +1178,6 @@ var GlobalPermissionName;
|
|
|
1177
1178
|
/** @deprecated Not in use any longer */
|
|
1178
1179
|
GlobalPermissionName["MANAGE_SERVICE_ALERTS"] = "MANAGE_SERVICE_ALERTS";
|
|
1179
1180
|
/** @deprecated Not in use any longer */
|
|
1180
|
-
GlobalPermissionName["TRANSITION_DOCUMENTS"] = "TRANSITION_DOCUMENTS";
|
|
1181
|
-
/** @deprecated Not in use any longer */
|
|
1182
1181
|
GlobalPermissionName["VIEW_AWS_SES_STATISTICS"] = "VIEW_AWS_SES_STATISTICS";
|
|
1183
1182
|
/** @deprecated Not in use any longer */
|
|
1184
1183
|
GlobalPermissionName["CREATE_USER_PERIODS"] = "CREATE_USER_PERIODS";
|
|
@@ -5346,7 +5345,7 @@ const logsService = (httpWithAuth) => {
|
|
|
5346
5345
|
};
|
|
5347
5346
|
};
|
|
5348
5347
|
|
|
5349
|
-
const version = '8.4.1-dev-
|
|
5348
|
+
const version = '8.4.1-dev-68-18958c0';
|
|
5350
5349
|
|
|
5351
5350
|
/**
|
|
5352
5351
|
* Create ExtraHorizon client.
|
|
@@ -133,7 +133,8 @@ export interface TransitionActionRemoveItems {
|
|
|
133
133
|
}
|
|
134
134
|
export interface TransitionActionTask {
|
|
135
135
|
type: 'task';
|
|
136
|
-
|
|
136
|
+
functionName: string;
|
|
137
|
+
priority?: number;
|
|
137
138
|
data: Record<string, unknown>;
|
|
138
139
|
}
|
|
139
140
|
export interface TransitionActionLinkCreator {
|
|
@@ -159,11 +160,12 @@ export interface TransitionActionMeasurementReviewedNotification {
|
|
|
159
160
|
type: 'measurementReviewedNotification';
|
|
160
161
|
}
|
|
161
162
|
export declare type TransitionAction = TransitionActionSet | TransitionActionUnset | TransitionActionAddItems | TransitionActionRemoveItems | TransitionActionTask | TransitionActionLinkCreator | TransitionActionLinkEnlistedGroups | TransitionActionLinkUserFromData | TransitionActionLinkGroupFromData | TransitionActionDelay | TransitionActionMeasurementReviewedNotification;
|
|
162
|
-
export interface
|
|
163
|
+
export interface TransitionActionNotifyAlgoQueueManager {
|
|
163
164
|
type: 'notifyAlgoQueueManager';
|
|
164
165
|
id: string;
|
|
165
166
|
version: string;
|
|
166
167
|
}
|
|
168
|
+
export declare type TransitionAfterAction = TransitionActionNotifyAlgoQueueManager | TransitionActionTask;
|
|
167
169
|
export interface CreationTransition {
|
|
168
170
|
toStatus: string;
|
|
169
171
|
type: CreationTransitionType;
|
|
@@ -534,7 +536,10 @@ export interface DataDocumentsService {
|
|
|
534
536
|
* - | - | -
|
|
535
537
|
* none | | Update your own documents
|
|
536
538
|
* none | `staff enlistment` | Update all the documents belonging to the group
|
|
537
|
-
* `UPDATE_DOCUMENTS` | `global` |
|
|
539
|
+
* `UPDATE_DOCUMENTS` | `global` | Transition all the documents
|
|
540
|
+
* `TRANSITION_DOCUMENTS` | `global` | Transition all the documents
|
|
541
|
+
* `TRANSITION_DOCUMENTS:{SCHEMA_NAME}` | `global` | Transition all the documents of the specified schema
|
|
542
|
+
* `TRANSITION_DOCUMENTS:{SCHEMA_NAME}:{TRANSITION_NAME}` | `global` | Transition all the documents of the specified schema with the specified transition name
|
|
538
543
|
* @param schemaIdOrName The id or name of the targeted schema.
|
|
539
544
|
* @param documentId The id of the targeted document.
|
|
540
545
|
* @param requestBody
|
|
@@ -210,6 +210,7 @@ export declare enum GlobalPermissionName {
|
|
|
210
210
|
SEND_MAILS = "SEND_MAILS",
|
|
211
211
|
SYNC_PROFILE_GROUPS = "SYNC_PROFILE_GROUPS",
|
|
212
212
|
TRANSFER_PERIOD = "TRANSFER_PERIOD",
|
|
213
|
+
TRANSITION_DOCUMENTS = "TRANSITION_DOCUMENTS",
|
|
213
214
|
TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION = "TRIGGER_APP_STORE_SUBSCRIPTION_REEVALUATION",
|
|
214
215
|
TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION = "TRIGGER_PLAY_STORE_SUBSCRIPTION_REEVALUATION",
|
|
215
216
|
UNLINK_USER_FROM_OIDC = "UNLINK_USER_FROM_OIDC",
|
|
@@ -347,8 +348,6 @@ export declare enum GlobalPermissionName {
|
|
|
347
348
|
/** @deprecated Not in use any longer */
|
|
348
349
|
MANAGE_SERVICE_ALERTS = "MANAGE_SERVICE_ALERTS",
|
|
349
350
|
/** @deprecated Not in use any longer */
|
|
350
|
-
TRANSITION_DOCUMENTS = "TRANSITION_DOCUMENTS",
|
|
351
|
-
/** @deprecated Not in use any longer */
|
|
352
351
|
VIEW_AWS_SES_STATISTICS = "VIEW_AWS_SES_STATISTICS",
|
|
353
352
|
/** @deprecated Not in use any longer */
|
|
354
353
|
CREATE_USER_PERIODS = "CREATE_USER_PERIODS",
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.4.1-dev-
|
|
1
|
+
export declare const version = "8.4.1-dev-68-18958c0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.4.1-dev-
|
|
3
|
+
"version": "8.4.1-dev-68-18958c0",
|
|
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",
|