@omnia/fx-models 8.0.111-vnext → 8.0.112-vnext
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/ActionHandler.d.ts +1 -1
- package/AiSettings.d.ts +28 -0
- package/AiSettings.js +42 -0
- package/BusinessProfileDallEPromptDefault.d.ts +5 -0
- package/BusinessProfileDallEPromptDefault.js +11 -0
- package/ClientManifests.d.ts +4 -0
- package/Constants.d.ts +28 -0
- package/Constants.js +34 -31
- package/Enums.d.ts +17 -2
- package/Enums.js +19 -2
- package/Exposes.d.ts +12 -0
- package/Exposes.js +12 -0
- package/FileValidationResult.d.ts +4 -0
- package/FileValidationResult.js +8 -0
- package/FilterEngineStyles.d.ts +8 -0
- package/ISpecialUserConfiguration.d.ts +3 -0
- package/ISpecialUserConfiguration.js +2 -0
- package/Layout.d.ts +7 -0
- package/ManifestIds.d.ts +16 -0
- package/ManifestIds.js +36 -0
- package/PermissionInputSettings.d.ts +2 -0
- package/SignInLayout.d.ts +1 -0
- package/SignInLayout.js +4 -0
- package/apps/App.d.ts +2 -0
- package/auth/AnonymousAccessType.d.ts +5 -0
- package/auth/AnonymousAccessType.js +9 -0
- package/auth/LoginProvider.d.ts +9 -0
- package/auth/LoginProvider.js +9 -0
- package/auth/common/AuthenticationSessionResult.d.ts +1 -0
- package/auth/common/AuthenticationSettings.d.ts +5 -0
- package/auth/index.d.ts +2 -0
- package/auth/index.js +2 -0
- package/azure-openai/dalle/CreateImageResponse.d.ts +1 -1
- package/azure-openai/dalle/index.d.ts +1 -0
- package/azure-openai/dalle/index.js +1 -0
- package/azure-openai/textcompletion/TextCompletionRequest.d.ts +1 -1
- package/azure-openai/textcompletion/TextCompletionResult.d.ts +1 -1
- package/bulkimportusers/BulkImportFileValidation.d.ts +8 -0
- package/bulkimportusers/BulkImportFileValidation.js +4 -0
- package/bulkimportusers/BulkImportUsersScenarios.d.ts +5 -0
- package/bulkimportusers/BulkImportUsersScenarios.js +9 -0
- package/bulkimportusers/BulkImportUsersTasks.d.ts +15 -0
- package/bulkimportusers/BulkImportUsersTasks.js +8 -0
- package/bulkimportusers/TemplateFileData.d.ts +5 -0
- package/bulkimportusers/TemplateFileData.js +2 -0
- package/bulkimportusers/TemplateFileMetaData.d.ts +6 -0
- package/bulkimportusers/TemplateFileMetaData.js +2 -0
- package/bulkimportusers/TemplateFileSettings.d.ts +7 -0
- package/bulkimportusers/TemplateFileSettings.js +2 -0
- package/bulkimportusers/index.d.ts +6 -0
- package/bulkimportusers/index.js +9 -0
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.d.ts +14 -0
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.js +11 -0
- package/businessprofilesettings/index.d.ts +1 -0
- package/businessprofilesettings/index.js +4 -0
- package/enterprise-properties/EnterpriseProperty.d.ts +1 -0
- package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.d.ts +13 -0
- package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.js +18 -0
- package/enterprise-properties/index.d.ts +1 -0
- package/enterprise-properties/index.js +1 -0
- package/filterengine/ITypedFilterEngineHandler.d.ts +3 -2
- package/filterengine/Shared.d.ts +27 -2
- package/filterengine/Shared.js +21 -1
- package/identities/ArchiveIdentityManagementQuery.d.ts +13 -0
- package/identities/ArchiveIdentityManagementQuery.js +16 -0
- package/identities/GroupIdentity.d.ts +2 -0
- package/identities/GroupManagementQuery.d.ts +13 -0
- package/identities/GroupManagementQuery.js +16 -0
- package/identities/Identity.d.ts +7 -4
- package/identities/IdentityCreationRequest.d.ts +76 -0
- package/identities/IdentityCreationRequest.js +44 -0
- package/identities/IdentityPropertyConfiguration.d.ts +10 -0
- package/identities/IdentityPropertyConfiguration.js +6 -0
- package/identities/IdentityProviderRunStatus.d.ts +2 -1
- package/identities/IdentityProviderRunStatus.js +1 -0
- package/identities/IdentityQuery.d.ts +10 -5
- package/identities/IdentityQuery.js +9 -5
- package/identities/UserIdentity.d.ts +4 -0
- package/identities/UserIdentity.js +11 -0
- package/identities/UserIdentityQuery.d.ts +23 -0
- package/identities/UserIdentityQuery.js +26 -0
- package/identities/UserManagementQuery.d.ts +13 -0
- package/identities/UserManagementQuery.js +16 -0
- package/identities/UserTypeSettings.d.ts +25 -0
- package/identities/UserTypeSettings.js +29 -0
- package/identities/index.d.ts +5 -0
- package/identities/index.js +5 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/DynamicState.js +2 -0
- package/internal-do-not-import-from-here/shared/models/Equals.js +8 -0
- package/internal-do-not-import-from-here/shared/models/Future.d.ts +4 -1
- package/internal-do-not-import-from-here/shared/models/Future.js +7 -7
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +5 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.d.ts +29 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/Activity.js +9 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityChannel.js +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +9 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.js +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.d.ts +11 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivitySender.js +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.d.ts +9 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/FeedResult.js +2 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.d.ts +18 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/IdentityActivity.js +31 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.d.ts +6 -0
- package/internal-do-not-import-from-here/shared/models/hub/activities/index.js +9 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/hub/index.js +4 -0
- package/internal-do-not-import-from-here/shared/models/index.d.ts +2 -0
- package/internal-do-not-import-from-here/shared/models/index.js +2 -0
- package/internal-do-not-import-from-here/velcron/core/models/ActionHooks.d.ts +12 -0
- package/internal-do-not-import-from-here/velcron/core/models/ActionHooks.js +2 -0
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +1 -2
- package/internal-do-not-import-from-here/velcron/core/models/index.d.ts +1 -0
- package/internal-do-not-import-from-here/velcron/core/models/index.js +1 -0
- package/linkstatus/LinkStatus.d.ts +32 -0
- package/linkstatus/LinkStatus.js +2 -0
- package/linkstatus/index.d.ts +1 -0
- package/linkstatus/index.js +4 -0
- package/media-gallery/index.d.ts +2 -0
- package/media-gallery/index.js +5 -0
- package/media-gallery/providers/MediaDialogProviderComponentProps.d.ts +8 -0
- package/media-gallery/providers/MediaDialogProviderComponentProps.js +2 -0
- package/media-gallery/providers/MediaDisplayProviderComponentProps.d.ts +11 -0
- package/media-gallery/providers/MediaDisplayProviderComponentProps.js +2 -0
- package/media-gallery/providers/MediaGalleryDialogProvider.d.ts +5 -0
- package/media-gallery/providers/MediaGalleryDialogProvider.js +6 -0
- package/media-gallery/providers/MediaGalleryDisplayProvider.d.ts +5 -0
- package/media-gallery/providers/MediaGalleryDisplayProvider.js +6 -0
- package/media-gallery/providers/PhotoLayoutMap.d.ts +4 -0
- package/media-gallery/providers/PhotoLayoutMap.js +2 -0
- package/media-gallery/providers/PhotoWall.d.ts +10 -0
- package/media-gallery/providers/PhotoWall.js +14 -0
- package/media-gallery/providers/PhotoWallDirection.d.ts +5 -0
- package/media-gallery/providers/PhotoWallDirection.js +2 -0
- package/media-gallery/providers/PhotoWallGridLayout.d.ts +9 -0
- package/media-gallery/providers/PhotoWallGridLayout.js +14 -0
- package/media-gallery/providers/PhotoWallMedia.d.ts +8 -0
- package/media-gallery/providers/PhotoWallMedia.js +2 -0
- package/media-gallery/providers/SliderDialogProvider.d.ts +10 -0
- package/media-gallery/providers/SliderDialogProvider.js +15 -0
- package/media-gallery/providers/index.d.ts +12 -0
- package/media-gallery/providers/index.js +15 -0
- package/media-gallery/styles/IRowPhotos.css.d.ts +4 -0
- package/media-gallery/styles/IRowPhotos.css.js +4 -0
- package/media-gallery/styles/index.d.ts +1 -0
- package/media-gallery/styles/index.js +4 -0
- package/media-picker/MediaPickerMedia.d.ts +9 -2
- package/media-picker/MediaPickerPersistedImageDetails.d.ts +1 -0
- package/media-picker/Providers/BingProvider.d.ts +1 -0
- package/media-picker/Providers/BingProvider.js +1 -0
- package/media-picker/Providers/CentralImageLocationProvider.d.ts +1 -0
- package/media-picker/Providers/CentralImageLocationProvider.js +1 -0
- package/media-picker/Providers/DallEProvider.d.ts +1 -0
- package/media-picker/Providers/DallEProvider.js +1 -0
- package/media-picker/Providers/MediaPickerProvider.d.ts +1 -0
- package/media-picker/Providers/MediaflowProvider.d.ts +18 -0
- package/media-picker/Providers/MediaflowProvider.js +35 -0
- package/media-picker/Providers/MicrosoftStreamProvider.d.ts +1 -0
- package/media-picker/Providers/MicrosoftStreamProvider.js +1 -0
- package/media-picker/Providers/MyComputerProvider.d.ts +1 -0
- package/media-picker/Providers/MyComputerProvider.js +1 -0
- package/media-picker/Providers/PexelProvider.d.ts +1 -0
- package/media-picker/Providers/PexelProvider.js +1 -0
- package/media-picker/Providers/YoutubeProvider.d.ts +1 -0
- package/media-picker/Providers/YoutubeProvider.js +1 -0
- package/media-picker/Providers/index.d.ts +1 -0
- package/media-picker/Providers/index.js +1 -0
- package/media-picker/Shared.d.ts +2 -1
- package/mediaflow/Constants.d.ts +16 -0
- package/mediaflow/Constants.js +21 -0
- package/mediaflow/MediaflowAuthenticationInfo.d.ts +5 -0
- package/mediaflow/MediaflowAuthenticationInfo.js +2 -0
- package/mediaflow/MediaflowImage.d.ts +31 -0
- package/mediaflow/MediaflowImage.js +9 -0
- package/mediaflow/MediaflowSettings.d.ts +6 -0
- package/mediaflow/MediaflowSettings.js +2 -0
- package/mediaflow/MediaflowViewInfo.d.ts +27 -0
- package/mediaflow/MediaflowViewInfo.js +2 -0
- package/mediaflow/index.d.ts +5 -0
- package/mediaflow/index.js +8 -0
- package/omniasearch/IPagedResult.d.ts +4 -0
- package/omniasearch/IPagedResult.js +2 -0
- package/omniasearch/IPagedSearchResult.d.ts +6 -0
- package/omniasearch/IPagedSearchResult.js +2 -0
- package/omniasearch/ISearchResult.d.ts +7 -0
- package/omniasearch/ISearchResult.js +2 -0
- package/omniasearch/IndexSearchRequest.d.ts +25 -0
- package/omniasearch/IndexSearchRequest.js +2 -0
- package/omniasearch/IndexSettings.d.ts +6 -0
- package/omniasearch/IndexSettings.js +2 -0
- package/omniasearch/IndexedDocument.d.ts +7 -0
- package/omniasearch/IndexedDocument.js +2 -0
- package/omniasearch/SearchIndex.d.ts +4 -0
- package/omniasearch/SearchIndex.js +6 -0
- package/omniasearch/SearchQuery.d.ts +7 -0
- package/omniasearch/SearchQuery.js +2 -0
- package/omniasearch/SearchQueryPaging.d.ts +6 -0
- package/omniasearch/SearchQueryPaging.js +2 -0
- package/omniasearch/SearchTask.d.ts +13 -0
- package/omniasearch/SearchTask.js +11 -0
- package/omniasearch/index.d.ts +10 -0
- package/omniasearch/index.js +13 -0
- package/oxide/OxideTypeDefinitions.d.ts +2 -2
- package/oxide/OxideTypeDefinitions.js +2 -2
- package/package.json +1 -1
- package/properties/IPropertyValueRenderer.d.ts +3 -0
- package/properties/PropertyBinding.d.ts +1 -0
- package/properties/PropertyValue.d.ts +2 -0
- package/properties/PropertyValue.js +7 -0
- package/properties/PropertyValuePrimitiveConverter.d.ts +4 -0
- package/properties/PropertyValuePrimitiveConverter.js +6 -0
- package/properties/bindingprovider/IPropertyBindingProvider.d.ts +12 -0
- package/properties/bindingprovider/IPropertyBindingProvider.js +2 -0
- package/properties/bindingprovider/index.d.ts +1 -0
- package/properties/bindingprovider/index.js +4 -0
- package/properties/datasource/DataSourceProperty.d.ts +1 -0
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +1 -1
- package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +15 -0
- package/properties/definitions/BusinessProfilePropertyDefinition.js +17 -0
- package/properties/definitions/DatePropertyDefinition.d.ts +16 -1
- package/properties/definitions/DatePropertyDefinition.js +27 -1
- package/properties/definitions/DateTimePropertyDefinition.d.ts +5 -1
- package/properties/definitions/HtmlPropertyDefinition.d.ts +1 -1
- package/properties/definitions/IdentityPropertyDefinition.d.ts +5 -0
- package/properties/definitions/IdentityPropertyDefinition.js +3 -2
- package/properties/definitions/ImagePropertyDefinition.d.ts +2 -1
- package/properties/definitions/ImagePropertyDefinition.js +3 -2
- package/properties/definitions/LanguagePropertyDefinition.js +1 -1
- package/properties/definitions/LinkPropertyDefinition.d.ts +1 -1
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +1 -0
- package/properties/definitions/MultilingualTextPropertyDefinition.js +3 -2
- package/properties/definitions/TagsPropertyDefinition.d.ts +12 -0
- package/properties/definitions/TagsPropertyDefinition.js +19 -0
- package/properties/definitions/TermSetPropertyDefinition.d.ts +27 -0
- package/properties/definitions/TermSetPropertyDefinition.js +38 -0
- package/properties/definitions/TextPropertyDefinition.d.ts +1 -0
- package/properties/definitions/TextPropertyDefinition.js +3 -2
- package/properties/definitions/UserTypePropertyDefinition.d.ts +16 -0
- package/properties/definitions/UserTypePropertyDefinition.js +17 -0
- package/properties/definitions/index.d.ts +4 -0
- package/properties/definitions/index.js +4 -0
- package/properties/index.d.ts +2 -1
- package/properties/index.js +2 -1
- package/properties/values/BusinessProfilePropertyValue.d.ts +6 -0
- package/properties/values/BusinessProfilePropertyValue.js +11 -0
- package/properties/values/ImagePropertyValue.js +0 -1
- package/properties/values/TagsPropertyValue.d.ts +6 -0
- package/properties/values/TagsPropertyValue.js +11 -0
- package/properties/values/UserTypePropertyValue.d.ts +6 -0
- package/properties/values/UserTypePropertyValue.js +11 -0
- package/properties/values/index.d.ts +3 -0
- package/properties/values/index.js +3 -0
- package/richtext-editor-extensions/TextCompletionExtension.d.ts +1 -0
- package/signin/SignIn.d.ts +4 -0
- package/signin/SignIn.js +10 -0
- package/signin/index.d.ts +1 -0
- package/signin/index.js +4 -0
- package/statuscodelayout/StatusCodeLayoutProvider.d.ts +8 -0
- package/statuscodelayout/StatusCodeLayoutProvider.js +6 -0
- package/statuscodelayout/StatusCodeLayoutSettings.d.ts +17 -0
- package/statuscodelayout/StatusCodeLayoutSettings.js +407 -0
- package/statuscodelayout/index.d.ts +2 -0
- package/statuscodelayout/index.js +5 -0
- package/ux/EnterprisePropertyToPropertySettingMappingApi.d.ts +18 -0
- package/ux/EnterprisePropertyToPropertySettingMappingApi.js +2 -0
- package/ux/FeatureManagementApi.d.ts +1 -1
- package/ux/LayoutEditorCanvas.d.ts +2 -0
- package/ux/MediaGalleryApi.d.ts +21 -0
- package/ux/MediaGalleryApi.js +2 -0
- package/ux/index.d.ts +2 -0
- package/ux/index.js +2 -0
- package/versionedlayout/VersionedLayout.d.ts +1 -0
- package/properties/lock/PropertySettingsLock.d.ts +0 -23
- package/properties/lock/PropertySettingsLock.js +0 -77
@@ -0,0 +1,13 @@
|
|
1
|
+
import { GroupSortColumn } from "@omnia/fx-models";
|
2
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
|
+
export declare class GroupManagementQuery {
|
4
|
+
searchText?: string;
|
5
|
+
groupTypeId?: GuidValue;
|
6
|
+
providerId?: GuidValue;
|
7
|
+
pageNumber?: number;
|
8
|
+
pageSize?: number;
|
9
|
+
sortColumn?: GroupSortColumn;
|
10
|
+
sortDesc?: boolean;
|
11
|
+
ownerId?: string;
|
12
|
+
constructor(searchText?: string, groupTypeId?: GuidValue, providerId?: GuidValue, pageNumber?: number, pageSize?: number, sortColumn?: GroupSortColumn, sortDesc?: boolean, ownerId?: string);
|
13
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GroupManagementQuery = void 0;
|
4
|
+
class GroupManagementQuery {
|
5
|
+
constructor(searchText, groupTypeId, providerId, pageNumber, pageSize, sortColumn, sortDesc, ownerId) {
|
6
|
+
this.searchText = searchText;
|
7
|
+
this.groupTypeId = groupTypeId;
|
8
|
+
this.providerId = providerId;
|
9
|
+
this.pageNumber = pageNumber;
|
10
|
+
this.pageSize = pageSize;
|
11
|
+
this.sortColumn = sortColumn;
|
12
|
+
this.sortDesc = sortDesc;
|
13
|
+
this.ownerId = ownerId;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.GroupManagementQuery = GroupManagementQuery;
|
package/identities/Identity.d.ts
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
import { GuidValue, IEquals } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { PropertyValueBinding } from "../properties";
|
3
3
|
import { IdentityTypes } from "./IdentityTypes";
|
4
|
-
|
4
|
+
interface IIdentityEqual extends IEquals<{
|
5
|
+
identity(value: Identity): boolean;
|
6
|
+
}> {
|
7
|
+
}
|
8
|
+
export interface IResolvedIdentity extends Partial<IIdentityEqual> {
|
5
9
|
id: GuidValue;
|
6
10
|
type: IdentityTypes;
|
7
11
|
providerId: GuidValue;
|
8
12
|
propertyValues: PropertyValueBinding<any>[];
|
9
13
|
toIdString?: () => string;
|
10
14
|
}
|
11
|
-
export declare abstract class Identity implements
|
12
|
-
identity(value: Identity): boolean;
|
13
|
-
}> {
|
15
|
+
export declare abstract class Identity implements IIdentityEqual {
|
14
16
|
readonly id: GuidValue;
|
15
17
|
abstract readonly type: IdentityTypes;
|
16
18
|
constructor(id: GuidValue);
|
@@ -32,3 +34,4 @@ export declare enum ArchiveSortColumn {
|
|
32
34
|
ProviderId = 5,
|
33
35
|
TypeId = 6
|
34
36
|
}
|
37
|
+
export {};
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { PropertyValueBinding } from "../properties";
|
3
|
+
import { BusinessProfileProperty } from "../BusinessProfile";
|
4
|
+
import { BoolFilter } from "../Enums";
|
5
|
+
import { ResolvedUserType } from "./UserType";
|
6
|
+
import { Identity } from "./Identity";
|
7
|
+
import { UserAuthenticationInformation } from "./UserIdentity";
|
8
|
+
export interface ResolvedIdentityCreationRequestSettings {
|
9
|
+
resolvedUserTypes: Array<ResolvedUserType>;
|
10
|
+
captchaEnabled: boolean;
|
11
|
+
captchaSiteKey: string;
|
12
|
+
}
|
13
|
+
export declare enum ConfirmEmailStatus {
|
14
|
+
Incomplete = 0,
|
15
|
+
Expired = 1,
|
16
|
+
Complete = 2
|
17
|
+
}
|
18
|
+
export declare class IdentityCreationRequestBase {
|
19
|
+
id: GuidValue;
|
20
|
+
userTypeId: GuidValue;
|
21
|
+
propertyValues: Array<PropertyValueBinding<any>>;
|
22
|
+
isEmailConfirmed: boolean;
|
23
|
+
approvalState: ApprovalState;
|
24
|
+
comment: string;
|
25
|
+
authenticationInformation: UserAuthenticationInformation;
|
26
|
+
}
|
27
|
+
export declare class IdentityCreationRequest extends IdentityCreationRequestBase {
|
28
|
+
ownerId: GuidValue;
|
29
|
+
authenticationInformation: UserAuthenticationInformation;
|
30
|
+
captchaResponse: string;
|
31
|
+
}
|
32
|
+
export interface IdentityCreationRequestCreatedResponse extends IdentityCreationRequest {
|
33
|
+
magicLinkPublicKey: string;
|
34
|
+
}
|
35
|
+
export interface IdentityCreationRequestUpdate {
|
36
|
+
id: GuidValue;
|
37
|
+
userTypeId: GuidValue;
|
38
|
+
propertyValues: Array<PropertyValueBinding<any>>;
|
39
|
+
isEmailConfirmed: boolean;
|
40
|
+
authenticationInformation: UserAuthenticationInformation;
|
41
|
+
}
|
42
|
+
export declare enum ApprovalState {
|
43
|
+
Approved = 0,
|
44
|
+
Rejected = 1,
|
45
|
+
Pending = 2
|
46
|
+
}
|
47
|
+
export interface IdentityCreationRequestConfirmEmailResult {
|
48
|
+
result: ConfirmEmailStatus;
|
49
|
+
}
|
50
|
+
export declare class IdentityCreationRequestSettings {
|
51
|
+
enabled: boolean;
|
52
|
+
requireApproval: boolean;
|
53
|
+
notifiedIdentities: Array<Identity>;
|
54
|
+
userTypes: Array<GuidValue>;
|
55
|
+
}
|
56
|
+
export declare class IdentityCreationRequestQuery {
|
57
|
+
ownerId: string;
|
58
|
+
isEmailConfirmed: BoolFilter;
|
59
|
+
approvalState: ApprovalState;
|
60
|
+
constructor(ownerId: string, isEmailConfirmed: BoolFilter, approvalState: ApprovalState);
|
61
|
+
}
|
62
|
+
export interface IdentityCreationRequestQueryResult {
|
63
|
+
results: Array<IdentityCreationRequest>;
|
64
|
+
}
|
65
|
+
export interface IdentityCreationRequestApproval {
|
66
|
+
result: ApprovalState;
|
67
|
+
identityCreationRequestId: GuidValue;
|
68
|
+
comment: string;
|
69
|
+
}
|
70
|
+
export declare class BusinessProfileIdentityCreationRequestSettings extends BusinessProfileProperty {
|
71
|
+
static UniqueName: string;
|
72
|
+
omniaServiceId: GuidValue;
|
73
|
+
uniqueModelName: string;
|
74
|
+
settings: IdentityCreationRequestSettings;
|
75
|
+
constructor();
|
76
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BusinessProfileIdentityCreationRequestSettings = exports.IdentityCreationRequestQuery = exports.IdentityCreationRequestSettings = exports.ApprovalState = exports.ConfirmEmailStatus = void 0;
|
4
|
+
const BusinessProfile_1 = require("../BusinessProfile");
|
5
|
+
const ManifestIds_1 = require("../ManifestIds");
|
6
|
+
var ConfirmEmailStatus;
|
7
|
+
(function (ConfirmEmailStatus) {
|
8
|
+
ConfirmEmailStatus[ConfirmEmailStatus["Incomplete"] = 0] = "Incomplete";
|
9
|
+
ConfirmEmailStatus[ConfirmEmailStatus["Expired"] = 1] = "Expired";
|
10
|
+
ConfirmEmailStatus[ConfirmEmailStatus["Complete"] = 2] = "Complete";
|
11
|
+
})(ConfirmEmailStatus = exports.ConfirmEmailStatus || (exports.ConfirmEmailStatus = {}));
|
12
|
+
var ApprovalState;
|
13
|
+
(function (ApprovalState) {
|
14
|
+
ApprovalState[ApprovalState["Approved"] = 0] = "Approved";
|
15
|
+
ApprovalState[ApprovalState["Rejected"] = 1] = "Rejected";
|
16
|
+
ApprovalState[ApprovalState["Pending"] = 2] = "Pending";
|
17
|
+
})(ApprovalState = exports.ApprovalState || (exports.ApprovalState = {}));
|
18
|
+
class IdentityCreationRequestSettings {
|
19
|
+
constructor() {
|
20
|
+
this.enabled = false;
|
21
|
+
this.requireApproval = false;
|
22
|
+
this.notifiedIdentities = [];
|
23
|
+
this.userTypes = [];
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.IdentityCreationRequestSettings = IdentityCreationRequestSettings;
|
27
|
+
class IdentityCreationRequestQuery {
|
28
|
+
constructor(ownerId, isEmailConfirmed, approvalState) {
|
29
|
+
this.ownerId = ownerId;
|
30
|
+
this.isEmailConfirmed = isEmailConfirmed;
|
31
|
+
this.approvalState = approvalState;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
exports.IdentityCreationRequestQuery = IdentityCreationRequestQuery;
|
35
|
+
class BusinessProfileIdentityCreationRequestSettings extends BusinessProfile_1.BusinessProfileProperty {
|
36
|
+
constructor() {
|
37
|
+
super(ManifestIds_1.OmniaService.Id, BusinessProfileIdentityCreationRequestSettings.UniqueName);
|
38
|
+
this.omniaServiceId = ManifestIds_1.OmniaService.Id;
|
39
|
+
this.uniqueModelName = BusinessProfileIdentityCreationRequestSettings.UniqueName;
|
40
|
+
this.settings = new IdentityCreationRequestSettings();
|
41
|
+
}
|
42
|
+
}
|
43
|
+
BusinessProfileIdentityCreationRequestSettings.UniqueName = "self-service";
|
44
|
+
exports.BusinessProfileIdentityCreationRequestSettings = BusinessProfileIdentityCreationRequestSettings;
|
@@ -1,8 +1,18 @@
|
|
1
1
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { IdentityTypes } from "./IdentityTypes";
|
3
|
+
import { ExtendedPropertyEnterprisePropertyDefinition } from "@omnia/fx-models";
|
3
4
|
export interface IdentityProperty {
|
4
5
|
id: GuidValue;
|
5
6
|
propertyBindingId: GuidValue;
|
6
7
|
identityType: IdentityTypes;
|
7
8
|
omniaServiceId: GuidValue;
|
9
|
+
deletedAt?: Date;
|
10
|
+
privacy?: IdentityPropertyPrivacy;
|
11
|
+
}
|
12
|
+
export declare enum IdentityPropertyPrivacy {
|
13
|
+
Public = 1,
|
14
|
+
Private = 2
|
15
|
+
}
|
16
|
+
export interface UserIdentityPropertyDefinition extends ExtendedPropertyEnterprisePropertyDefinition {
|
17
|
+
privacy: IdentityPropertyPrivacy;
|
8
18
|
}
|
@@ -1,2 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IdentityPropertyPrivacy = void 0;
|
4
|
+
var IdentityPropertyPrivacy;
|
5
|
+
(function (IdentityPropertyPrivacy) {
|
6
|
+
IdentityPropertyPrivacy[IdentityPropertyPrivacy["Public"] = 1] = "Public";
|
7
|
+
IdentityPropertyPrivacy[IdentityPropertyPrivacy["Private"] = 2] = "Private";
|
8
|
+
})(IdentityPropertyPrivacy = exports.IdentityPropertyPrivacy || (exports.IdentityPropertyPrivacy = {}));
|
@@ -9,4 +9,5 @@ var IdentityProviderRunStatus;
|
|
9
9
|
IdentityProviderRunStatus[IdentityProviderRunStatus["Cancelled"] = 97] = "Cancelled";
|
10
10
|
IdentityProviderRunStatus[IdentityProviderRunStatus["Error"] = 98] = "Error";
|
11
11
|
IdentityProviderRunStatus[IdentityProviderRunStatus["Success"] = 99] = "Success";
|
12
|
+
IdentityProviderRunStatus[IdentityProviderRunStatus["NoChange"] = 100] = "NoChange";
|
12
13
|
})(IdentityProviderRunStatus = exports.IdentityProviderRunStatus || (exports.IdentityProviderRunStatus = {}));
|
@@ -1,18 +1,23 @@
|
|
1
|
+
import { BoolFilter } from "@omnia/fx-models";
|
1
2
|
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
3
|
import { ItemQuery } from "../ItemQuery";
|
3
4
|
import { IdentityTypes } from "./IdentityTypes";
|
4
5
|
export declare class IdentityQuery extends ItemQuery {
|
5
|
-
readonly
|
6
|
+
readonly types: IdentityTypes[];
|
6
7
|
searchText?: string;
|
7
8
|
/**
|
8
9
|
* This is user type id or group type id value.
|
9
10
|
*/
|
10
|
-
|
11
|
-
excludeTypeIds?: GuidValue[];
|
11
|
+
typeIds?: GuidValue[];
|
12
12
|
providerIds?: GuidValue[];
|
13
|
-
|
13
|
+
excludeTypeIds?: GuidValue[];
|
14
|
+
emailEnabled?: BoolFilter;
|
15
|
+
permissionEnabled?: BoolFilter;
|
16
|
+
ownerId?: string;
|
17
|
+
tenantIdentityOnly?: boolean;
|
18
|
+
constructor(types: IdentityTypes[], searchText?: string,
|
14
19
|
/**
|
15
20
|
* This is user type id or group type id value.
|
16
21
|
*/
|
17
|
-
|
22
|
+
typeIds?: GuidValue[], providerIds?: GuidValue[], excludeTypeIds?: GuidValue[], emailEnabled?: BoolFilter, permissionEnabled?: BoolFilter, ownerId?: string, tenantIdentityOnly?: boolean);
|
18
23
|
}
|
@@ -4,17 +4,21 @@ exports.IdentityQuery = void 0;
|
|
4
4
|
const Constants_1 = require("../Constants");
|
5
5
|
const ItemQuery_1 = require("../ItemQuery");
|
6
6
|
class IdentityQuery extends ItemQuery_1.ItemQuery {
|
7
|
-
constructor(
|
7
|
+
constructor(types, searchText,
|
8
8
|
/**
|
9
9
|
* This is user type id or group type id value.
|
10
10
|
*/
|
11
|
-
|
11
|
+
typeIds, providerIds, excludeTypeIds, emailEnabled, permissionEnabled, ownerId, tenantIdentityOnly) {
|
12
12
|
super();
|
13
|
-
this.
|
13
|
+
this.types = types;
|
14
14
|
this.searchText = searchText;
|
15
|
-
this.
|
16
|
-
this.excludeTypeIds = excludeTypeIds;
|
15
|
+
this.typeIds = typeIds;
|
17
16
|
this.providerIds = providerIds;
|
17
|
+
this.excludeTypeIds = excludeTypeIds;
|
18
|
+
this.emailEnabled = emailEnabled;
|
19
|
+
this.permissionEnabled = permissionEnabled;
|
20
|
+
this.ownerId = ownerId;
|
21
|
+
this.tenantIdentityOnly = tenantIdentityOnly;
|
18
22
|
this.itemLimit = Constants_1.Constants.identityQueryItemLimit;
|
19
23
|
}
|
20
24
|
}
|
@@ -23,10 +23,13 @@ export declare class ResolvedUserIdentity extends UserIdentity implements IResol
|
|
23
23
|
preferredLanguage: PropertyValueBinding<LanguagePropertyDefinition>;
|
24
24
|
uiLanguage: PropertyValueBinding<LanguagePropertyDefinition>;
|
25
25
|
providerIdentity: string;
|
26
|
+
ownerId: string;
|
26
27
|
static create(options: Partial<ResolvedUserIdentity>): ResolvedUserIdentity;
|
27
28
|
static isAzureAdUser(resolvedUser: ResolvedUserIdentity): boolean;
|
28
29
|
static isOmniaUser(resolvedUser: ResolvedUserIdentity): boolean;
|
29
30
|
static tryToGetAzureAdProperties(resolvedUser: ResolvedUserIdentity): AzureAdUserPropertyValues;
|
31
|
+
static safeGetUiLanguage(resolvedUser: ResolvedUserIdentity): PropertyValueBinding<LanguagePropertyDefinition>;
|
32
|
+
static isAnonymousUser(resolvedUser: ResolvedUserIdentity): boolean;
|
30
33
|
}
|
31
34
|
export declare abstract class UserPropertyBagModel extends OmniaNamedModel {
|
32
35
|
}
|
@@ -64,6 +67,7 @@ export interface UserIdentityAddRequest {
|
|
64
67
|
preferredLanguage: PropertyValueBinding<LanguagePropertyDefinition>;
|
65
68
|
uiLanguage: PropertyValueBinding<LanguagePropertyDefinition>;
|
66
69
|
propertyValues: Array<PropertyValueBinding<any>>;
|
70
|
+
ownerId: string;
|
67
71
|
}
|
68
72
|
export interface UserIdentityAddOrUpdateRequestWithPassword extends UserIdentityAddRequest {
|
69
73
|
password: string;
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserSortColumn = exports.DocumentDirectionSettings = exports.UserAccessibilitySettings = exports.UserPropertyBagModel = exports.ResolvedUserIdentity = exports.UserIdentity = void 0;
|
4
4
|
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
5
|
const Constants_1 = require("../Constants");
|
6
|
+
const Enums_1 = require("../Enums");
|
6
7
|
const ManifestIds_1 = require("../ManifestIds");
|
7
8
|
const NamedProperty_1 = require("../NamedProperty");
|
8
9
|
const Identity_1 = require("./Identity");
|
@@ -35,6 +36,7 @@ class ResolvedUserIdentity extends UserIdentity {
|
|
35
36
|
image: null,
|
36
37
|
type: IdentityTypes_1.IdentityTypes.User,
|
37
38
|
propertyValues: [],
|
39
|
+
ownerId: ""
|
38
40
|
}, options);
|
39
41
|
}
|
40
42
|
static isAzureAdUser(resolvedUser) {
|
@@ -49,6 +51,15 @@ class ResolvedUserIdentity extends UserIdentity {
|
|
49
51
|
}
|
50
52
|
return new AzureAdUserPropertyValues(resolvedUser);
|
51
53
|
}
|
54
|
+
static safeGetUiLanguage(resolvedUser) {
|
55
|
+
if (!resolvedUser) {
|
56
|
+
return null;
|
57
|
+
}
|
58
|
+
return resolvedUser.uiLanguage ?? resolvedUser.preferredLanguage;
|
59
|
+
}
|
60
|
+
static isAnonymousUser(resolvedUser) {
|
61
|
+
return resolvedUser.id == Enums_1.SecurityIdentities.AnonymousIdentity;
|
62
|
+
}
|
52
63
|
}
|
53
64
|
exports.ResolvedUserIdentity = ResolvedUserIdentity;
|
54
65
|
class UserPropertyBagModel extends NamedProperty_1.OmniaNamedModel {
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { BoolFilter, Identity } from "@omnia/fx-models";
|
2
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
|
+
import { ItemQuery } from "../ItemQuery";
|
4
|
+
export declare class UserIdentityQuery extends ItemQuery {
|
5
|
+
limitedToIdentities: Identity[];
|
6
|
+
includeTransitiveUsers: boolean;
|
7
|
+
searchText?: string;
|
8
|
+
/**
|
9
|
+
* This is user type id or group type id value.
|
10
|
+
*/
|
11
|
+
typeIds?: GuidValue[];
|
12
|
+
providerIds?: GuidValue[];
|
13
|
+
excludeTypeIds?: GuidValue[];
|
14
|
+
emailEnabled?: BoolFilter;
|
15
|
+
permissionEnabled?: BoolFilter;
|
16
|
+
ownerId?: string;
|
17
|
+
tenantIdentityOnly?: boolean;
|
18
|
+
constructor(limitedToIdentities: Identity[], includeTransitiveUsers: boolean, searchText?: string,
|
19
|
+
/**
|
20
|
+
* This is user type id or group type id value.
|
21
|
+
*/
|
22
|
+
typeIds?: GuidValue[], providerIds?: GuidValue[], excludeTypeIds?: GuidValue[], emailEnabled?: BoolFilter, permissionEnabled?: BoolFilter, ownerId?: string, tenantIdentityOnly?: boolean);
|
23
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserIdentityQuery = void 0;
|
4
|
+
const Constants_1 = require("../Constants");
|
5
|
+
const ItemQuery_1 = require("../ItemQuery");
|
6
|
+
class UserIdentityQuery extends ItemQuery_1.ItemQuery {
|
7
|
+
constructor(limitedToIdentities, includeTransitiveUsers, searchText,
|
8
|
+
/**
|
9
|
+
* This is user type id or group type id value.
|
10
|
+
*/
|
11
|
+
typeIds, providerIds, excludeTypeIds, emailEnabled, permissionEnabled, ownerId, tenantIdentityOnly) {
|
12
|
+
super();
|
13
|
+
this.limitedToIdentities = limitedToIdentities;
|
14
|
+
this.includeTransitiveUsers = includeTransitiveUsers;
|
15
|
+
this.searchText = searchText;
|
16
|
+
this.typeIds = typeIds;
|
17
|
+
this.providerIds = providerIds;
|
18
|
+
this.excludeTypeIds = excludeTypeIds;
|
19
|
+
this.emailEnabled = emailEnabled;
|
20
|
+
this.permissionEnabled = permissionEnabled;
|
21
|
+
this.ownerId = ownerId;
|
22
|
+
this.tenantIdentityOnly = tenantIdentityOnly;
|
23
|
+
this.itemLimit = Constants_1.Constants.identityQueryItemLimit;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
exports.UserIdentityQuery = UserIdentityQuery;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { UserSortColumn } from "@omnia/fx-models";
|
2
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
|
+
export declare class UserManagementQuery {
|
4
|
+
searchText?: string;
|
5
|
+
userTypeId?: GuidValue;
|
6
|
+
providerId?: GuidValue;
|
7
|
+
pageNumber?: number;
|
8
|
+
pageSize?: number;
|
9
|
+
sortColumn?: UserSortColumn;
|
10
|
+
sortDesc?: boolean;
|
11
|
+
ownerId?: string;
|
12
|
+
constructor(searchText?: string, userTypeId?: GuidValue, providerId?: GuidValue, pageNumber?: number, pageSize?: number, sortColumn?: UserSortColumn, sortDesc?: boolean, ownerId?: string);
|
13
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserManagementQuery = void 0;
|
4
|
+
class UserManagementQuery {
|
5
|
+
constructor(searchText, userTypeId, providerId, pageNumber, pageSize, sortColumn, sortDesc, ownerId) {
|
6
|
+
this.searchText = searchText;
|
7
|
+
this.userTypeId = userTypeId;
|
8
|
+
this.providerId = providerId;
|
9
|
+
this.pageNumber = pageNumber;
|
10
|
+
this.pageSize = pageSize;
|
11
|
+
this.sortColumn = sortColumn;
|
12
|
+
this.sortDesc = sortDesc;
|
13
|
+
this.ownerId = ownerId;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.UserManagementQuery = UserManagementQuery;
|
@@ -1,2 +1,27 @@
|
|
1
|
+
import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
+
import { ImagePropertyDefinition, LanguagePropertyDefinition, PropertyBinding, TextPropertyDefinition, EmailPropertyDefinition } from "../properties";
|
3
|
+
export interface UserTypeFormProperties {
|
4
|
+
new: FormProperties;
|
5
|
+
edit: FormProperties;
|
6
|
+
request: FormProperties;
|
7
|
+
[key: string]: FormProperties;
|
8
|
+
}
|
9
|
+
export interface FormProperties {
|
10
|
+
propertyBindingIds: Array<GuidValue>;
|
11
|
+
}
|
1
12
|
export interface UserTypeSettings {
|
13
|
+
formProperties: UserTypeFormProperties;
|
2
14
|
}
|
15
|
+
export declare const builtInPropertyBindings: {
|
16
|
+
user: {
|
17
|
+
displayName: PropertyBinding<TextPropertyDefinition>;
|
18
|
+
username: PropertyBinding<TextPropertyDefinition>;
|
19
|
+
image: PropertyBinding<ImagePropertyDefinition>;
|
20
|
+
email: PropertyBinding<EmailPropertyDefinition>;
|
21
|
+
preferredLanguage: PropertyBinding<LanguagePropertyDefinition>;
|
22
|
+
uiLanguage: PropertyBinding<LanguagePropertyDefinition>;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
export declare const UserTypeSettingsFactory: {
|
26
|
+
default: () => UserTypeSettings;
|
27
|
+
};
|
@@ -1,2 +1,31 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserTypeSettingsFactory = exports.builtInPropertyBindings = void 0;
|
4
|
+
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
|
+
const properties_1 = require("../properties");
|
6
|
+
exports.builtInPropertyBindings = {
|
7
|
+
user: {
|
8
|
+
displayName: new properties_1.PropertyBinding(properties_1.TextPropertyDefinition, new models_1.Guid("44d8238b-97d5-468b-9a4f-4d23d95aa3b9")),
|
9
|
+
username: new properties_1.PropertyBinding(properties_1.TextPropertyDefinition, new models_1.Guid("3f89e33a-143d-4b6f-ba58-b05ad6479dce")),
|
10
|
+
image: new properties_1.PropertyBinding(properties_1.ImagePropertyDefinition, new models_1.Guid("964db53a-309e-4ace-b269-4637a1dd57ef")),
|
11
|
+
email: new properties_1.PropertyBinding(properties_1.EmailPropertyDefinition, new models_1.Guid("143d9a73-ba3d-43ff-9f6b-9808f6ca3d2b")),
|
12
|
+
preferredLanguage: new properties_1.PropertyBinding(properties_1.LanguagePropertyDefinition, new models_1.Guid("aea79130-57c9-4a8a-baa4-f2b2865a4fd7")),
|
13
|
+
uiLanguage: new properties_1.PropertyBinding(properties_1.LanguagePropertyDefinition, new models_1.Guid("5ba31954-1b4d-4578-a3cd-e62ebddc2a03")),
|
14
|
+
},
|
15
|
+
};
|
16
|
+
const buitinUserPropertiesBindingIdList = Object.values(exports.builtInPropertyBindings.user).map(item => item.bindingId);
|
17
|
+
exports.UserTypeSettingsFactory = {
|
18
|
+
default: () => ({
|
19
|
+
formProperties: {
|
20
|
+
new: {
|
21
|
+
propertyBindingIds: buitinUserPropertiesBindingIdList,
|
22
|
+
},
|
23
|
+
edit: {
|
24
|
+
propertyBindingIds: buitinUserPropertiesBindingIdList
|
25
|
+
},
|
26
|
+
request: {
|
27
|
+
propertyBindingIds: buitinUserPropertiesBindingIdList
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}),
|
31
|
+
};
|
package/identities/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from "./GroupIdentity";
|
|
10
10
|
export * from "./ExtensionIdentity";
|
11
11
|
export * from "./RoleIdentity";
|
12
12
|
export * from "./IdentityQuery";
|
13
|
+
export * from "./UserIdentityQuery";
|
13
14
|
export * from "./IdentityTypes";
|
14
15
|
export * from "./DynamicGroupIdentity";
|
15
16
|
export * from "./GroupType";
|
@@ -22,3 +23,7 @@ export * from "./IdentityProviderState";
|
|
22
23
|
export * from "./IdentityProviderProperty";
|
23
24
|
export * from "./IdentityPropertySyncBinding";
|
24
25
|
export * from "./IdentityExternalMapping";
|
26
|
+
export * from "./UserManagementQuery";
|
27
|
+
export * from "./GroupManagementQuery";
|
28
|
+
export * from "./ArchiveIdentityManagementQuery";
|
29
|
+
export * from "./IdentityCreationRequest";
|
package/identities/index.js
CHANGED
@@ -13,6 +13,7 @@ tslib_1.__exportStar(require("./GroupIdentity"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ExtensionIdentity"), exports);
|
14
14
|
tslib_1.__exportStar(require("./RoleIdentity"), exports);
|
15
15
|
tslib_1.__exportStar(require("./IdentityQuery"), exports);
|
16
|
+
tslib_1.__exportStar(require("./UserIdentityQuery"), exports);
|
16
17
|
tslib_1.__exportStar(require("./IdentityTypes"), exports);
|
17
18
|
tslib_1.__exportStar(require("./DynamicGroupIdentity"), exports);
|
18
19
|
tslib_1.__exportStar(require("./GroupType"), exports);
|
@@ -25,3 +26,7 @@ tslib_1.__exportStar(require("./IdentityProviderState"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./IdentityProviderProperty"), exports);
|
26
27
|
tslib_1.__exportStar(require("./IdentityPropertySyncBinding"), exports);
|
27
28
|
tslib_1.__exportStar(require("./IdentityExternalMapping"), exports);
|
29
|
+
tslib_1.__exportStar(require("./UserManagementQuery"), exports);
|
30
|
+
tslib_1.__exportStar(require("./GroupManagementQuery"), exports);
|
31
|
+
tslib_1.__exportStar(require("./ArchiveIdentityManagementQuery"), exports);
|
32
|
+
tslib_1.__exportStar(require("./IdentityCreationRequest"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export type DynamicState = object;
|
@@ -19,6 +19,14 @@ if (globalThis.omnia) {
|
|
19
19
|
configurable: false,
|
20
20
|
enumerable: false
|
21
21
|
});
|
22
|
+
Object.defineProperty(Object.prototype, "equals", {
|
23
|
+
value: function () {
|
24
|
+
return _equalsObject;
|
25
|
+
},
|
26
|
+
writable: true,
|
27
|
+
configurable: false,
|
28
|
+
enumerable: false
|
29
|
+
});
|
22
30
|
// Object.defineProperty(String.prototype["equals"], "element", {
|
23
31
|
// value: function () {
|
24
32
|
// return function (cb: (elements) => any) {
|
@@ -14,7 +14,10 @@ export declare class Future<T> extends Promise<T> {
|
|
14
14
|
* @return {*} {Future<{ success?: T, error?: Error; }>}
|
15
15
|
* @memberof Future
|
16
16
|
*/
|
17
|
-
tryCatch(): Future<
|
17
|
+
tryCatch(): Future<{
|
18
|
+
success: T;
|
19
|
+
error: Error;
|
20
|
+
}>;
|
18
21
|
/**
|
19
22
|
* Aborts the request
|
20
23
|
*
|
@@ -5,16 +5,16 @@ class Future extends Promise {
|
|
5
5
|
constructor(executor) {
|
6
6
|
let resolveLocal;
|
7
7
|
let rejectLocal;
|
8
|
-
|
8
|
+
function onAborted(cb) {
|
9
9
|
setTimeout(() => {
|
10
10
|
this.onAborted = cb;
|
11
11
|
});
|
12
|
-
}
|
13
|
-
|
12
|
+
}
|
13
|
+
function exec(resolve, reject) {
|
14
14
|
// assign to local to prevent error assignbefore call super;
|
15
15
|
resolveLocal = resolve;
|
16
16
|
rejectLocal = reject;
|
17
|
-
}
|
17
|
+
}
|
18
18
|
super(exec);
|
19
19
|
this.resolving = false;
|
20
20
|
this._resolved = false;
|
@@ -46,10 +46,10 @@ class Future extends Promise {
|
|
46
46
|
return new Future(async (resolve) => {
|
47
47
|
try {
|
48
48
|
const data = await this;
|
49
|
-
resolve(
|
49
|
+
resolve({ success: data, error: undefined });
|
50
50
|
}
|
51
|
-
catch (
|
52
|
-
resolve(
|
51
|
+
catch (error) {
|
52
|
+
resolve({ success: undefined, error });
|
53
53
|
}
|
54
54
|
});
|
55
55
|
}
|
@@ -21,6 +21,11 @@ export interface OmniaSharedBootstrapData {
|
|
21
21
|
servingMode?: boolean;
|
22
22
|
serviceDnsMapping: OmniaServiceToDnsMapping;
|
23
23
|
authDisabled?: boolean;
|
24
|
+
analytics: OmniaAnalytics;
|
25
|
+
}
|
26
|
+
export interface OmniaAnalytics {
|
27
|
+
paq: any[];
|
28
|
+
enabled: boolean;
|
24
29
|
}
|
25
30
|
export interface OmniaServiceToDnsMapping {
|
26
31
|
[serviceId: string]: string;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { DynamicState } from "../..";
|
2
|
+
import { ChannelId } from "./ActivityChannel";
|
3
|
+
import { ActivitySenderId } from "./ActivitySender";
|
4
|
+
export declare enum ActivityId {
|
5
|
+
}
|
6
|
+
export declare enum ActivityTypeId {
|
7
|
+
}
|
8
|
+
export interface Activity<TRenderState = DynamicState> extends ActivityBase {
|
9
|
+
id: ActivityId;
|
10
|
+
state: TRenderState;
|
11
|
+
senderId: ActivitySenderId;
|
12
|
+
}
|
13
|
+
export interface ActivityBase {
|
14
|
+
channelId: ChannelId;
|
15
|
+
activityTypeId: ActivityTypeId;
|
16
|
+
targeting: Array<Array<HubIdentityProperty>>;
|
17
|
+
notificationTeaser: NotificationTeaser;
|
18
|
+
expires?: Date;
|
19
|
+
createdAt: Date;
|
20
|
+
}
|
21
|
+
export interface HubIdentityProperty {
|
22
|
+
name: string;
|
23
|
+
values: Array<string>;
|
24
|
+
}
|
25
|
+
export interface NotificationTeaser {
|
26
|
+
title: string;
|
27
|
+
description: string;
|
28
|
+
url: string;
|
29
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ActivityTypeId = exports.ActivityId = void 0;
|
4
|
+
var ActivityId;
|
5
|
+
(function (ActivityId) {
|
6
|
+
})(ActivityId = exports.ActivityId || (exports.ActivityId = {}));
|
7
|
+
var ActivityTypeId;
|
8
|
+
(function (ActivityTypeId) {
|
9
|
+
})(ActivityTypeId = exports.ActivityTypeId || (exports.ActivityTypeId = {}));
|