@omnia/fx-models 8.0.192-dev → 8.0.193-dev
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 +5 -5
- package/ActionHandler.js +2 -2
- package/AiSettings.d.ts +2 -2
- package/AzureAd.d.ts +2 -2
- package/AzureAdAppPermissions.d.ts +3 -3
- package/AzurePermissionResource.d.ts +3 -2
- package/BusinessProfile.d.ts +5 -5
- package/BusinessProfileDallEPromptDefault.js +2 -2
- package/ChromeLayoutDefinition.js +2 -1
- package/ClientManifests.d.ts +8 -8
- package/Clipboard.d.ts +2 -2
- package/ComponentComposer.d.ts +3 -3
- package/Constants.d.ts +81 -82
- package/Constants.js +80 -80
- package/Contexts.d.ts +10 -11
- package/Enums.d.ts +28 -25
- package/Enums.js +26 -27
- package/Enums.tooling.d.ts +8 -0
- package/Enums.tooling.js +13 -0
- package/Extensions.d.ts +3 -3
- package/Feature.d.ts +8 -8
- package/FilePicker/FilePickerProviderContext.d.ts +3 -3
- package/FilePicker/FilePickerProviderVersionedLayoutContext.d.ts +3 -3
- package/FilePicker/FilePickerProviderVersionedLayoutContext.js +1 -1
- package/FilePicker/Providers/FilePickerProvider.d.ts +2 -2
- package/FileStorage.d.ts +3 -3
- package/IPropertiesApi.d.ts +5 -5
- package/Journey.d.ts +2 -2
- package/Layout.d.ts +13 -13
- package/LayoutDefinition.d.ts +7 -7
- package/LikeActionSettings.d.ts +3 -3
- package/LinkHandler/ILinkHandlerProvider.d.ts +2 -2
- package/LinkHandler/linktype/DefaultLinkType.d.ts +3 -3
- package/LinkHandler/linktype/DefaultLinkType.js +2 -1
- package/LinkHandler/linktype/DocumentLinkType.d.ts +3 -3
- package/LinkHandler/linktype/DocumentLinkType.js +2 -1
- package/LinkHandler/linktype/LinkType.d.ts +2 -2
- package/LoginLogItem.d.ts +2 -2
- package/ManifestIds.d.ts +524 -524
- package/ManifestIds.js +565 -565
- package/MediaScalingSettings.d.ts +3 -3
- package/Messaging.d.ts +6 -6
- package/NamedProperty.d.ts +4 -4
- package/PermissionInputSettings.d.ts +2 -2
- package/Post.d.ts +9 -9
- package/PromotedTagOptions.d.ts +2 -2
- package/PropertyArchive.d.ts +2 -2
- package/QueryablePropertyMessage.d.ts +2 -2
- package/RichTextEditorExtension.d.ts +3 -3
- package/RollupQuery.d.ts +4 -4
- package/Routing.d.ts +7 -7
- package/Secrets.d.ts +3 -3
- package/Security.d.ts +7 -7
- package/Store.d.ts +2 -2
- package/TargetingProperty.d.ts +11 -11
- package/ThemeDefinition.d.ts +7 -7
- package/ThemeDefinition.js +1 -1
- package/Token.d.ts +3 -3
- package/Translation.d.ts +5 -5
- package/UserdefinedLocalization.d.ts +2 -2
- package/VersionedData.d.ts +7 -7
- package/VersionedData.js +2 -2
- package/admin/AdminModels.d.ts +5 -5
- package/apps/App.d.ts +24 -24
- package/apps/AppInstanceRollup.d.ts +9 -9
- package/apps/AppNamingPolicy.d.ts +6 -6
- package/apps/AppProvisioning.d.ts +10 -10
- package/apps/AppProvisioning.js +8 -7
- package/auth/MagicLinkData.d.ts +3 -3
- package/auth/MagicLinkData.js +2 -2
- package/auth/OTPData.d.ts +3 -3
- package/auth/OTPData.js +2 -2
- package/auth/PasswordAuthData.d.ts +3 -3
- package/auth/PasswordAuthData.js +2 -2
- package/auth/PostProcessingAuthData.d.ts +3 -3
- package/auth/PostProcessingAuthData.js +2 -2
- package/auth/common/AuthenticationSettings.d.ts +2 -2
- package/auth/common/base.d.ts +3 -3
- package/authentication/Authentication.js +2 -1
- package/bulkimportusers/TemplateFileMetaData.d.ts +2 -2
- package/bulkimportusers/TemplateFileSettings.d.ts +3 -3
- package/businessprofilesettings/BusinessProfileAuthenticationSettings.d.ts +3 -3
- package/connected-tenants/ConnectedTenant.d.ts +2 -2
- package/editor-chrome/IActionButton.d.ts +2 -1
- package/editor-chrome/IEditorDisplayActionButton.d.ts +2 -1
- package/enterprise-glossary/EnterpriseGlossary.d.ts +3 -3
- package/enterprise-glossary/EnterpriseGlossary.js +1 -1
- package/enterprise-glossary/EnterpriseGlossaryInformationProvider.d.ts +2 -2
- package/enterprise-glossary/EnterpriseGlossaryInformationSourceSettings.d.ts +2 -2
- package/enterprise-glossary/EnterpriseGlossaryMapping.d.ts +3 -3
- package/enterprise-glossary/EnterpriseGlossaryProvider.d.ts +2 -2
- package/enterprise-properties/EnterpriseProperty.d.ts +7 -7
- package/enterprise-properties/EnterprisePropertyCategory.d.ts +2 -2
- package/enterprise-properties/EnterprisePropertyColumnMapping.d.ts +2 -2
- package/enterprise-properties/EnterprisePropertyItemSettings.d.ts +6 -6
- package/enterprise-properties/EnterprisePropertySet.d.ts +3 -3
- package/enterprise-properties/EnterprisePropertySettings.d.ts +2 -2
- package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.d.ts +3 -3
- package/filterengine/Shared.d.ts +33 -32
- package/filterengine/Shared.js +17 -17
- package/identities/ArchiveIdentityManagementQuery.d.ts +4 -4
- package/identities/BuiltInIdentityProvider.d.ts +5 -5
- package/identities/BuiltInIdentityProvider.js +3 -3
- package/identities/DynamicGroupIdentity.d.ts +3 -3
- package/identities/ExtensionIdentity.d.ts +2 -2
- package/identities/GroupIdentity.d.ts +5 -5
- package/identities/GroupManagementQuery.d.ts +4 -4
- package/identities/GroupType.d.ts +3 -3
- package/identities/Identity.d.ts +6 -6
- package/identities/Identity.js +6 -6
- package/identities/IdentityCreationRequest.d.ts +11 -11
- package/identities/IdentityPropertyConfiguration.d.ts +4 -4
- package/identities/IdentityPropertySyncBinding.d.ts +4 -4
- package/identities/IdentityProviderRunLog.d.ts +3 -3
- package/identities/IdentityProviderSettings.d.ts +2 -2
- package/identities/IdentityQuery.d.ts +6 -6
- package/identities/IdentitySyncProvider.d.ts +2 -2
- package/identities/InternalIdentity.js +1 -1
- package/identities/RoleIdentity.d.ts +2 -2
- package/identities/UserIdentity.d.ts +7 -7
- package/identities/UserIdentity.js +2 -3
- package/identities/UserIdentityQuery.d.ts +5 -5
- package/identities/UserManagementQuery.d.ts +5 -5
- package/identities/UserType.d.ts +5 -5
- package/identities/UserType.js +3 -3
- package/identities/UserTypeSettings.d.ts +2 -2
- package/identities/UserTypeSettings.js +8 -8
- package/internal-do-not-import-from-here/shared/broadcasting/InternalTopics.d.ts +4 -4
- package/internal-do-not-import-from-here/shared/factory/DefineFactory.d.ts +6 -6
- package/internal-do-not-import-from-here/shared/factory/ServiceContainer.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/http/Http.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/Guid.d.ts +55 -10
- package/internal-do-not-import-from-here/shared/models/Guid.js +40 -10
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/Tenant.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +4 -4
- package/internal-do-not-import-from-here/shared/models/Tooling.d.ts +13 -0
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +2 -2
- package/internal-do-not-import-from-here/shared/models/Workers.d.ts +4 -4
- package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +3 -3
- package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +3 -3
- package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js +1 -2
- package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.d.ts +2 -1
- package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.js +2 -1
- package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +5 -5
- package/internal-do-not-import-from-here/shared/models/theming/Typography.d.ts +6 -6
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronContentSection.d.ts +2 -2
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +3 -3
- package/internal-do-not-import-from-here/shared/services/ActivityService.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/utils/index.d.ts +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +3 -3
- package/media-gallery/providers/MediaGalleryDialogProvider.d.ts +2 -2
- package/media-gallery/providers/MediaGalleryDisplayProvider.d.ts +2 -2
- package/media-gallery/providers/PhotoWall.d.ts +2 -2
- package/media-gallery/providers/SliderDialogProvider.d.ts +2 -2
- package/media-picker/MediaPickerIconsStorageProviderContext.d.ts +3 -3
- package/media-picker/MediaPickerIconsStorageProviderContext.js +1 -1
- package/media-picker/MediaPickerImageRatio.d.ts +10 -10
- package/media-picker/MediaPickerImageRatio.js +6 -6
- package/media-picker/MediaPickerImageScaling.d.ts +3 -3
- package/media-picker/MediaPickerMedia.d.ts +3 -3
- package/media-picker/MediaPickerProvider.d.ts +3 -3
- package/media-picker/MediaPickerProviderContext.d.ts +3 -3
- package/media-picker/SharePointVideoResult.d.ts +2 -2
- package/media-picker/interfaces/types.d.ts +4 -4
- package/mediaflow/Constants.d.ts +2 -1
- package/mediaflow/Constants.js +2 -1
- package/omniasearch/IndexSearchRequest.d.ts +3 -3
- package/omniasearch/IndexedDocument.d.ts +2 -2
- package/omniasearch/OmniaUserSource.d.ts +2 -2
- package/omniasearch/OmniaUserSource.js +2 -1
- package/omniasearch/PropertySource.d.ts +4 -4
- package/omniasearch/SearchIndex.d.ts +2 -2
- package/oxide/OxideTypeDefinitions.d.ts +3 -3
- package/oxide/OxideTypeDefinitions.js +3 -3
- package/package.json +1 -1
- package/properties/PropertyBinding.d.ts +3 -3
- package/properties/PropertyDefinition.d.ts +2 -2
- package/properties/PropertyTestCode.js +3 -3
- package/properties/PropertyValue.d.ts +2 -2
- package/properties/datasource/AppDataSourceProperty.d.ts +4 -5
- package/properties/datasource/DataSourceProperty.d.ts +3 -3
- package/properties/datasource/DataSourcePropertyDisplayInformation.d.ts +3 -3
- package/properties/datasource/UserDataSourceProperty.d.ts +3 -4
- package/properties/datasource/index.d.ts +0 -1
- package/properties/datasource/index.js +0 -1
- package/properties/definitions/BirthdayPropertyDefinition.d.ts +3 -3
- package/properties/definitions/BirthdayPropertyDefinition.js +2 -2
- package/properties/definitions/BooleanPropertyDefinition.d.ts +3 -3
- package/properties/definitions/BooleanPropertyDefinition.js +2 -2
- package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +3 -3
- package/properties/definitions/BusinessProfilePropertyDefinition.js +2 -2
- package/properties/definitions/DatePropertyDefinition.d.ts +3 -3
- package/properties/definitions/DatePropertyDefinition.js +2 -2
- package/properties/definitions/DateTimePropertyDefinition.d.ts +3 -3
- package/properties/definitions/DateTimePropertyDefinition.js +2 -2
- package/properties/definitions/EmailPropertyDefinition.d.ts +3 -3
- package/properties/definitions/EmailPropertyDefinition.js +2 -2
- package/properties/definitions/HtmlPropertyDefinition.d.ts +3 -3
- package/properties/definitions/HtmlPropertyDefinition.js +2 -2
- package/properties/definitions/IdentityPropertyDefinition.d.ts +3 -3
- package/properties/definitions/IdentityPropertyDefinition.js +2 -2
- package/properties/definitions/ImagePropertyDefinition.d.ts +5 -5
- package/properties/definitions/ImagePropertyDefinition.js +1 -1
- package/properties/definitions/IntegerPropertyDefinition.d.ts +3 -3
- package/properties/definitions/IntegerPropertyDefinition.js +2 -2
- package/properties/definitions/LanguagePropertyDefinition.d.ts +3 -3
- package/properties/definitions/LanguagePropertyDefinition.js +2 -2
- package/properties/definitions/LinkPropertyDefinition.d.ts +3 -3
- package/properties/definitions/LinkPropertyDefinition.js +2 -2
- package/properties/definitions/MediaPropertyDefinition.d.ts +3 -3
- package/properties/definitions/MediaPropertyDefinition.js +2 -2
- package/properties/definitions/MultilineTextPropertyDefinition.d.ts +3 -3
- package/properties/definitions/MultilineTextPropertyDefinition.js +2 -2
- package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +3 -3
- package/properties/definitions/MultilingualTextPropertyDefinition.js +2 -2
- package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +3 -3
- package/properties/definitions/PhoneNumberPropertyDefinition.js +2 -2
- package/properties/definitions/TagsPropertyDefinition.d.ts +3 -3
- package/properties/definitions/TagsPropertyDefinition.js +2 -2
- package/properties/definitions/TermSetPropertyDefinition.d.ts +6 -6
- package/properties/definitions/TermSetPropertyDefinition.js +2 -2
- package/properties/definitions/TextPropertyDefinition.d.ts +3 -3
- package/properties/definitions/TextPropertyDefinition.js +2 -2
- package/properties/definitions/TimePropertyDefinition.d.ts +3 -3
- package/properties/definitions/TimePropertyDefinition.js +2 -2
- package/properties/definitions/UserTypePropertyDefinition.d.ts +3 -3
- package/properties/definitions/UserTypePropertyDefinition.js +2 -2
- package/properties/values/BusinessProfilePropertyValue.d.ts +3 -3
- package/properties/values/UserTypePropertyValue.d.ts +3 -3
- package/richtext-editor-extensions/HeadingExtension.d.ts +3 -3
- package/richtext-editor-extensions/TipTapEditor.d.ts +2 -2
- package/richtext-editor-extensions/ToolbarProperties.d.ts +2 -2
- package/statuscodelayout/SystemLayout.js +2 -1
- package/system-logs/TransactionLog.d.ts +5 -5
- package/user-profile/EditUserProfileHandlerRegistration.d.ts +2 -2
- package/ux/AdminApi.d.ts +3 -3
- package/ux/AppManagementApi.d.ts +12 -12
- package/ux/AppProvisioningValidatorApi.d.ts +2 -2
- package/ux/DynamicPlaceholderApi.d.ts +4 -4
- package/ux/EnterprisePropertyDataTypeProviderApi.d.ts +2 -2
- package/ux/EnterprisePropertyToPropertySettingMappingApi.d.ts +3 -3
- package/ux/FeatureManagementApi.d.ts +2 -2
- package/ux/InternalAdminApi.d.ts +3 -3
- package/ux/UserProfileHandlerApi.d.ts +2 -2
- package/velcron/VelcronDefinitionRegistration.d.ts +2 -2
- package/versionedlayout/VersionedLayout.d.ts +9 -9
- package/versionedlayout/VersionedLayout.js +4 -3
- package/properties/datasource/DataSourceId.d.ts +0 -2
- /package/{properties/datasource/DataSourceId.js → internal-do-not-import-from-here/shared/models/Tooling.js} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { PropertyConfiguration, PropertyDefinition, PropertyDefinitionId } from "@omnia/fx-models";
|
3
3
|
import { PropertyIndexedType } from "../Enums";
|
4
4
|
import { EnterprisePropertiesDisplaySettings, EnterprisePropertySettings } from "./EnterprisePropertySettings";
|
5
5
|
import { MultilingualString } from "../MultilingualString";
|
6
6
|
export interface EnterprisePropertyDataType {
|
7
|
-
id:
|
7
|
+
id: guid;
|
8
8
|
title: string;
|
9
9
|
uiOptions: EnterprisePropertyUIOptions;
|
10
10
|
valuePropertyPaths: string[];
|
@@ -20,10 +20,10 @@ export interface ExtendedPropertyEnterprisePropertyDefinition extends Enterprise
|
|
20
20
|
settings: IExtendedEnterprisepropertiesPropertyDefinitionSettings;
|
21
21
|
}
|
22
22
|
export interface EnterprisePropertyDefinition {
|
23
|
-
id:
|
23
|
+
id: guid;
|
24
24
|
internalName: string;
|
25
25
|
title: MultilingualString;
|
26
|
-
enterprisePropertyDataTypeId:
|
26
|
+
enterprisePropertyDataTypeId: guid;
|
27
27
|
settings: EnterprisePropertySettings;
|
28
28
|
spSearchable: boolean;
|
29
29
|
msSearchable?: boolean;
|
@@ -31,13 +31,13 @@ export interface EnterprisePropertyDefinition {
|
|
31
31
|
managedPropertySettings?: ManagedPropertySettings;
|
32
32
|
msSearchPropertySettings?: ManagedPropertySettings;
|
33
33
|
enterprisePropertyDataType: EnterprisePropertyDataType;
|
34
|
-
enterprisePropertyCategoryId?:
|
34
|
+
enterprisePropertyCategoryId?: guid;
|
35
35
|
multilingualTitle: string;
|
36
36
|
uniqueMultilingualTitle: string;
|
37
37
|
deletedAt?: Date;
|
38
38
|
}
|
39
39
|
export interface ProvisioningTemplateEnterpriseProperty {
|
40
|
-
id:
|
40
|
+
id: guid;
|
41
41
|
internalName: string;
|
42
42
|
allowMultipleValues?: boolean;
|
43
43
|
required?: boolean;
|
@@ -63,7 +63,7 @@ export interface EnterprisePropertyUIOptions {
|
|
63
63
|
export interface ExternalPropertySelectionItem {
|
64
64
|
internalName: string;
|
65
65
|
multilingualTitle: string;
|
66
|
-
categoryId?:
|
66
|
+
categoryId?: guid;
|
67
67
|
}
|
68
68
|
export interface Property {
|
69
69
|
title: string;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { MultilingualString } from "../MultilingualString";
|
3
3
|
export interface EnterprisePropertyCategory {
|
4
|
-
id:
|
4
|
+
id: guid;
|
5
5
|
title: MultilingualString;
|
6
6
|
order: number;
|
7
7
|
builtIn: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export interface EnterprisePropertyColumnMapping {
|
3
|
-
enterprisePropertyId:
|
3
|
+
enterprisePropertyId: guid;
|
4
4
|
tableName: string;
|
5
5
|
enterprisePropertyInternalName: string;
|
6
6
|
createdAt: Date;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, MultilingualString, PromotedTagOptions, PropertyIndexedType, RichTextEditorExtension } from "../";
|
2
2
|
export interface EnterprisePropertyItemSettings {
|
3
3
|
type: PropertyIndexedType;
|
4
|
-
id:
|
4
|
+
id: guid;
|
5
5
|
required: boolean;
|
6
6
|
showLabel?: boolean;
|
7
7
|
customLabel?: string;
|
@@ -40,12 +40,12 @@ export interface EnterprisePropertyTagsItemSettings extends EnterprisePropertyIt
|
|
40
40
|
export interface EnterprisePropertyPersonItemSettings extends EnterprisePropertyItemSettings {
|
41
41
|
type: PropertyIndexedType.Person;
|
42
42
|
allowMultipleValues: boolean;
|
43
|
-
providerIds?: Array<
|
43
|
+
providerIds?: Array<guid>;
|
44
44
|
}
|
45
45
|
export interface EnterprisePropertyTaxonomyItemSettings extends EnterprisePropertyItemSettings {
|
46
46
|
type: PropertyIndexedType.Taxonomy;
|
47
47
|
allowMultipleValues: boolean;
|
48
|
-
parentEnterprisePropertyDefinitionId?:
|
48
|
+
parentEnterprisePropertyDefinitionId?: guid;
|
49
49
|
limitLevel?: number;
|
50
50
|
}
|
51
51
|
export interface EnterprisePropertyDateTimeItemSettings extends EnterprisePropertyItemSettings {
|
@@ -54,10 +54,10 @@ export interface EnterprisePropertyDateTimeItemSettings extends EnterpriseProper
|
|
54
54
|
}
|
55
55
|
export interface EnterprisePropertyDataItemSettings extends EnterprisePropertyItemSettings {
|
56
56
|
type: PropertyIndexedType.Data;
|
57
|
-
providerId?:
|
57
|
+
providerId?: guid;
|
58
58
|
}
|
59
59
|
export interface EnterprisePropertyDataTypeProviderRegistration {
|
60
|
-
id:
|
60
|
+
id: guid;
|
61
61
|
name: string;
|
62
62
|
editModeElementName: string;
|
63
63
|
displayModeElementName?: string;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { MultilingualString } from "../MultilingualString";
|
3
3
|
import { EnterprisePropertyItemSettings } from "./EnterprisePropertyItemSettings";
|
4
4
|
export interface EnterprisePropertySet {
|
5
|
-
id:
|
5
|
+
id: guid;
|
6
6
|
title: MultilingualString;
|
7
7
|
settings: EnterprisePropertySetSettings;
|
8
|
-
enterprisePropertyCategoryId?:
|
8
|
+
enterprisePropertyCategoryId?: guid;
|
9
9
|
multilingualTitle: string;
|
10
10
|
}
|
11
11
|
export interface EnterprisePropertySetSettings {
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ColorValue, IIcon, MultilingualString, Spacing } from "../";
|
1
|
+
import { ColorValue, IIcon, MultilingualString, Spacing, guid } from "../";
|
2
2
|
export interface EnterprisePropertySettings {
|
3
3
|
}
|
4
4
|
export interface TaxonomyPropertySettings extends EnterprisePropertySettings {
|
5
|
-
termSetId:
|
5
|
+
termSetId: guid;
|
6
6
|
}
|
7
7
|
export interface EnterprisePropertiesDisplaySettings {
|
8
8
|
internalName?: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EnterprisePropertyDataTypeId } from "../filterengine";
|
2
2
|
import { PropertyConfiguration, PropertyDefinition, PropertyDefinitionId } from "../properties";
|
3
3
|
import { EnterprisePropertySettings } from "./EnterprisePropertySettings";
|
4
4
|
export declare abstract class PropertySetting<TEnterprisePropertySettings extends EnterprisePropertySettings> {
|
@@ -6,8 +6,8 @@ export declare abstract class PropertySetting<TEnterprisePropertySettings extend
|
|
6
6
|
abstract getPropertyConfiguration(enterprisePropertySettings: TEnterprisePropertySettings): Promise<PropertyConfiguration<PropertyDefinition<any, any, any, any>>>;
|
7
7
|
}
|
8
8
|
export declare class EnterprisePropertyToPropertySettingsMap {
|
9
|
-
readonly enterprisePropertyDataTypeId:
|
9
|
+
readonly enterprisePropertyDataTypeId: EnterprisePropertyDataTypeId;
|
10
10
|
readonly propertyDefintionId: PropertyDefinitionId;
|
11
11
|
readonly propertySettings?: new () => PropertySetting<any>;
|
12
|
-
constructor(propDefinitionCtor: new () => PropertyDefinition<any, any, any>, enterprisePropertyDataTypeId:
|
12
|
+
constructor(propDefinitionCtor: new () => PropertyDefinition<any, any, any>, enterprisePropertyDataTypeId: EnterprisePropertyDataTypeId, propSettingCtor?: new () => PropertySetting<any>);
|
13
13
|
}
|
package/filterengine/Shared.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "../../shared";
|
2
2
|
import { EnterprisePropertyDefinition } from "../enterprise-properties";
|
3
3
|
import { PrincipalTypes, PropertyIndexedType, UserPickingType } from "../Enums";
|
4
4
|
import { Identity } from "../identities";
|
@@ -60,35 +60,36 @@ export declare enum DateTimePeriod {
|
|
60
60
|
Today = 5,
|
61
61
|
LaterThanToday = 6
|
62
62
|
}
|
63
|
-
export
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
63
|
+
export type EnterprisePropertyDataTypeId = typeof EnterprisePropertyDataTypeIds[keyof typeof EnterprisePropertyDataTypeIds];
|
64
|
+
export declare const EnterprisePropertyDataTypeIds: {
|
65
|
+
EnterpriseKeywords: guid;
|
66
|
+
Media: guid;
|
67
|
+
RichText: guid;
|
68
|
+
Language: guid;
|
69
|
+
Data: guid;
|
70
|
+
Tags: guid;
|
71
|
+
Text: guid;
|
72
|
+
Number: guid;
|
73
|
+
DateTime: guid;
|
74
|
+
Boolean: guid;
|
75
|
+
Person: guid;
|
76
|
+
Taxonomy: guid;
|
77
|
+
Extended: guid;
|
78
|
+
};
|
78
79
|
export interface Refiner<T> {
|
79
80
|
name: string;
|
80
81
|
entries?: Array<T>;
|
81
82
|
}
|
82
83
|
export interface Refinement {
|
83
84
|
refinementName: string;
|
84
|
-
refinementValue:
|
85
|
+
refinementValue: guid;
|
85
86
|
refinementToken: string;
|
86
87
|
refinementCount: number;
|
87
88
|
}
|
88
89
|
export interface FilterEngineContextProperty {
|
89
90
|
title: string;
|
90
91
|
type: BaseFilterEnginePropertyType;
|
91
|
-
inheritFromType?:
|
92
|
+
inheritFromType?: guid;
|
92
93
|
}
|
93
94
|
export interface FilterEngineIdentityType {
|
94
95
|
identityType: PrincipalTypes;
|
@@ -102,10 +103,10 @@ export interface FilterEnginePropertySelectionsAreaProps<T extends ITypedFilterE
|
|
102
103
|
}
|
103
104
|
export interface FilterEngineContextPropertyDefinition {
|
104
105
|
typedHandler: new (property: any, defaultRouterValue: any, isRefinable: boolean, hasFilterState: boolean, enterpriseProperty: EnterprisePropertyDefinition) => ITypedFilterEngineHandler;
|
105
|
-
propertyRendererManifestIds:
|
106
|
-
propertySettingsManifestId?:
|
107
|
-
propertyDefaultValueInputManifestId?:
|
108
|
-
selectionsAreaPropertyRendererManifestId?:
|
106
|
+
propertyRendererManifestIds: guid[];
|
107
|
+
propertySettingsManifestId?: guid;
|
108
|
+
propertyDefaultValueInputManifestId?: guid;
|
109
|
+
selectionsAreaPropertyRendererManifestId?: guid;
|
109
110
|
propertySettingsFixer?: (context: FilterEngineContext, property: BaseFilterEngineProperty, propertyDefinitionHash: {
|
110
111
|
[internalName: string]: EnterprisePropertyDefinition;
|
111
112
|
}) => void;
|
@@ -151,7 +152,7 @@ export interface FilterEnginePropertySettingsProps<T extends BaseFilterEnginePro
|
|
151
152
|
};
|
152
153
|
context: FilterEngineContext;
|
153
154
|
}
|
154
|
-
export type BaseFilterEnginePropertyType = PropertyIndexedType |
|
155
|
+
export type BaseFilterEnginePropertyType = PropertyIndexedType | guid;
|
155
156
|
export interface BaseFilterEngineProperty {
|
156
157
|
value: unknown;
|
157
158
|
name: string;
|
@@ -221,7 +222,7 @@ export interface DateTimeFilterEnginePropertyOutput extends TypedFilterEnginePro
|
|
221
222
|
periodValue: [DateTimePeriod, DateTimePeriod];
|
222
223
|
}
|
223
224
|
export interface TypeFilterEnginePropertyOutput extends TypedFilterEnginePropertyOutput {
|
224
|
-
value: Array<
|
225
|
+
value: Array<guid>;
|
225
226
|
type: PropertyIndexedType.Text;
|
226
227
|
sub: TypeFilterEnginePropertyOutput[];
|
227
228
|
}
|
@@ -296,7 +297,7 @@ export interface FilterEngineSettings {
|
|
296
297
|
breakLine: boolean;
|
297
298
|
}
|
298
299
|
export interface FilterEngineRouterState {
|
299
|
-
id:
|
300
|
+
id: guid;
|
300
301
|
keyword: string;
|
301
302
|
filters: Array<FilterEngineRouterProperty>;
|
302
303
|
pageNumber: number;
|
@@ -306,17 +307,17 @@ export interface FilterEngineRouterProperty {
|
|
306
307
|
name: string;
|
307
308
|
}
|
308
309
|
export declare abstract class FilterEngineContext {
|
309
|
-
componentId:
|
310
|
-
constructor(componentId:
|
310
|
+
componentId: guid;
|
311
|
+
constructor(componentId: guid);
|
311
312
|
isRefinable(prop: BaseFilterEngineProperty): boolean;
|
312
313
|
getAvailableProperties(): EnterprisePropertyDefinition[];
|
313
|
-
getExcludedPropertyTypeIds():
|
314
|
-
readonly abstract uniqueId:
|
314
|
+
getExcludedPropertyTypeIds(): guid[];
|
315
|
+
readonly abstract uniqueId: guid;
|
315
316
|
readonly supportFullTextSearch: boolean;
|
316
317
|
readonly isSortableRefinementValue: boolean;
|
317
318
|
}
|
318
319
|
export declare abstract class DbQueryFilterEngineContext extends FilterEngineContext {
|
319
|
-
componentId:
|
320
|
-
readonly abstract uniqueId:
|
321
|
-
constructor(componentId:
|
320
|
+
componentId: guid;
|
321
|
+
readonly abstract uniqueId: guid;
|
322
|
+
constructor(componentId: guid);
|
322
323
|
}
|
package/filterengine/Shared.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DbQueryFilterEngineContext = exports.FilterEngineContext = exports.EnterprisePropertyDataTypeIds = exports.DateTimePeriod = exports.DateType = exports.FilterEngineTagsValueSortOrder = exports.FilterEngineTextValueSortOrder = exports.FilterEnginePersonValueSortOrder = exports.FilterEngineOperator = exports.FilterEngineSearchBoxMode = exports.FilterEngineBooleanOption = exports.FilterEngineChipColorType = exports.FilterEngineDefaultPosition = exports.FilterEngineRenderType = void 0;
|
4
|
+
const shared_1 = require("../../shared");
|
4
5
|
var FilterEngineRenderType;
|
5
6
|
(function (FilterEngineRenderType) {
|
6
7
|
FilterEngineRenderType[FilterEngineRenderType["Dropdown"] = 0] = "Dropdown";
|
@@ -66,22 +67,21 @@ var DateTimePeriod;
|
|
66
67
|
DateTimePeriod[DateTimePeriod["Today"] = 5] = "Today";
|
67
68
|
DateTimePeriod[DateTimePeriod["LaterThanToday"] = 6] = "LaterThanToday";
|
68
69
|
})(DateTimePeriod || (exports.DateTimePeriod = DateTimePeriod = {}));
|
69
|
-
|
70
|
-
(
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
})(EnterprisePropertyDataTypeIds || (exports.EnterprisePropertyDataTypeIds = EnterprisePropertyDataTypeIds = {}));
|
70
|
+
exports.EnterprisePropertyDataTypeIds = {
|
71
|
+
EnterpriseKeywords: (0, shared_1.guid)("c65cc969-4f63-41bf-9956-f6e2c843b196"),
|
72
|
+
Media: (0, shared_1.guid)("8883bebf-4c38-4b70-8195-8a9cb66f8252"),
|
73
|
+
RichText: (0, shared_1.guid)("927c1f21-d34b-4e7b-aa97-d12d5e31711e"),
|
74
|
+
Language: (0, shared_1.guid)("19cd4544-e2a0-4498-8db8-c8fc74fcce54"),
|
75
|
+
Data: (0, shared_1.guid)("502f7df9-e961-4c6a-85f0-2e2b0b06b476"),
|
76
|
+
Tags: (0, shared_1.guid)("581eb7ee-a9af-42e0-a73e-d23af3332813"),
|
77
|
+
Text: (0, shared_1.guid)("7667bdd4-7995-4536-b3e9-bacb829d6f5e"),
|
78
|
+
Number: (0, shared_1.guid)("a7ad0d68-0fec-44ab-b468-028e718dbffc"),
|
79
|
+
DateTime: (0, shared_1.guid)("b8549e8c-e60f-48bb-8f57-2d03ed84131d"),
|
80
|
+
Boolean: (0, shared_1.guid)("f27cdaac-fd29-4552-bd56-72cd2f6fb3f1"),
|
81
|
+
Person: (0, shared_1.guid)("8a96e2a9-963d-47fe-b0d8-851fbf948e33"),
|
82
|
+
Taxonomy: (0, shared_1.guid)("786bfddc-df08-4441-b1ce-ec0730af8113"),
|
83
|
+
Extended: (0, shared_1.guid)("e85eda7f-029e-4bb9-902d-fcd631ab564b")
|
84
|
+
};
|
85
85
|
class FilterEngineContext {
|
86
86
|
constructor(componentId) {
|
87
87
|
this.componentId = componentId;
|
@@ -95,7 +95,7 @@ class FilterEngineContext {
|
|
95
95
|
return [];
|
96
96
|
}
|
97
97
|
getExcludedPropertyTypeIds() {
|
98
|
-
return [EnterprisePropertyDataTypeIds.Extended];
|
98
|
+
return [exports.EnterprisePropertyDataTypeIds.Extended];
|
99
99
|
}
|
100
100
|
}
|
101
101
|
exports.FilterEngineContext = FilterEngineContext;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { ArchiveSortColumn, IdentityTypes, LanguageTags } from "@omnia/fx-models";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
export declare class ArchiveIdentityManagementQuery {
|
4
4
|
searchText?: string;
|
5
5
|
identityType?: IdentityTypes;
|
6
|
-
providerId?:
|
6
|
+
providerId?: guid;
|
7
7
|
pageNumber?: number;
|
8
8
|
pageSize?: number;
|
9
9
|
sortColumn?: ArchiveSortColumn;
|
10
10
|
sortDesc?: boolean;
|
11
|
-
businessProfileId?:
|
11
|
+
businessProfileId?: guid;
|
12
12
|
language?: LanguageTags;
|
13
|
-
constructor(searchText?: string, identityType?: IdentityTypes, providerId?:
|
13
|
+
constructor(searchText?: string, identityType?: IdentityTypes, providerId?: guid, pageNumber?: number, pageSize?: number, sortColumn?: ArchiveSortColumn, sortDesc?: boolean, businessProfileId?: guid, language?: LanguageTags);
|
14
14
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
export declare class BuiltInIdentityProviderIds {
|
3
|
-
static get azureAd():
|
4
|
-
static get omnia():
|
5
|
-
static get ldap():
|
6
|
-
static get defaultAd():
|
3
|
+
static get azureAd(): guid;
|
4
|
+
static get omnia(): guid;
|
5
|
+
static get ldap(): guid;
|
6
|
+
static get defaultAd(): guid;
|
7
7
|
}
|
@@ -5,13 +5,13 @@ const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shar
|
|
5
5
|
const Enums_1 = require("../Enums");
|
6
6
|
class BuiltInIdentityProviderIds {
|
7
7
|
static get azureAd() {
|
8
|
-
return
|
8
|
+
return (0, models_1.guid)("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c");
|
9
9
|
}
|
10
10
|
static get omnia() {
|
11
|
-
return
|
11
|
+
return (0, models_1.guid)("aa000000-0000-aaaa-0000-0000000000aa");
|
12
12
|
}
|
13
13
|
static get ldap() {
|
14
|
-
return
|
14
|
+
return (0, models_1.guid)("ab5c4983-1254-44d7-87e9-72021703dfc5");
|
15
15
|
}
|
16
16
|
static get defaultAd() {
|
17
17
|
if (window.omnia?.enviroment?.backendRuntime === Enums_1.OmniaBackendRuntimes.SharePointServer) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { ImagePropertyDefinition, MultilingualTextPropertyDefinition, PropertyValueBinding, TextPropertyDefinition } from "../properties";
|
3
3
|
import { Identity, IResolvedIdentity } from "./Identity";
|
4
4
|
import { IdentityTypes } from "./IdentityTypes";
|
@@ -6,8 +6,8 @@ export declare class DynamicGroupIdentity extends Identity {
|
|
6
6
|
type: IdentityTypes;
|
7
7
|
}
|
8
8
|
export declare class ResolvedDynamicGroupIdentity extends DynamicGroupIdentity implements IResolvedIdentity {
|
9
|
-
groupTypeId:
|
10
|
-
providerId:
|
9
|
+
groupTypeId: guid;
|
10
|
+
providerId: guid;
|
11
11
|
propertyValues: PropertyValueBinding<any>[];
|
12
12
|
displayName: PropertyValueBinding<MultilingualTextPropertyDefinition>;
|
13
13
|
image: PropertyValueBinding<ImagePropertyDefinition>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { ImagePropertyDefinition, PropertyValueBinding, TextPropertyDefinition } from "../properties";
|
3
3
|
import { Identity, IResolvedIdentity } from "./Identity";
|
4
4
|
import { IdentityTypes } from "./IdentityTypes";
|
@@ -6,7 +6,7 @@ export declare class ExtensionIdentity extends Identity {
|
|
6
6
|
type: IdentityTypes;
|
7
7
|
}
|
8
8
|
export declare class ResolvedExtensionIdentity extends ExtensionIdentity implements IResolvedIdentity {
|
9
|
-
providerId:
|
9
|
+
providerId: guid;
|
10
10
|
propertyValues: PropertyValueBinding<any>[];
|
11
11
|
displayName: PropertyValueBinding<TextPropertyDefinition>;
|
12
12
|
image: PropertyValueBinding<ImagePropertyDefinition>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { EmailPropertyDefinition, ImagePropertyDefinition, PropertyValueBinding, TextPropertyDefinition } from "../properties";
|
3
3
|
import { IResolvedIdentity, Identity } from "./Identity";
|
4
4
|
import { IdentityTypes } from "./IdentityTypes";
|
@@ -8,8 +8,8 @@ export declare class GroupIdentity extends Identity {
|
|
8
8
|
type: IdentityTypes;
|
9
9
|
}
|
10
10
|
export declare class ResolvedGroupIdentity extends GroupIdentity implements IResolvedIdentity {
|
11
|
-
groupTypeId:
|
12
|
-
providerId:
|
11
|
+
groupTypeId: guid;
|
12
|
+
providerId: guid;
|
13
13
|
propertyValues: PropertyValueBinding<any>[];
|
14
14
|
displayName: PropertyValueBinding<TextPropertyDefinition>;
|
15
15
|
email: PropertyValueBinding<EmailPropertyDefinition>;
|
@@ -28,8 +28,8 @@ export declare enum GroupSortColumn {
|
|
28
28
|
GroupTypeId = 4
|
29
29
|
}
|
30
30
|
export interface GroupIdentityAddOrUpdateRequest {
|
31
|
-
id:
|
32
|
-
providerId:
|
31
|
+
id: guid;
|
32
|
+
providerId: guid;
|
33
33
|
displayName: PropertyValueBinding<TextPropertyDefinition>;
|
34
34
|
description: PropertyValueBinding<TextPropertyDefinition>;
|
35
35
|
email: PropertyValueBinding<EmailPropertyDefinition>;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { GroupSortColumn, ScopeTypes } from "@omnia/fx-models";
|
2
|
-
import {
|
2
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
3
|
export declare class GroupManagementQuery {
|
4
4
|
searchText?: string;
|
5
|
-
groupTypeId?:
|
6
|
-
providerId?:
|
5
|
+
groupTypeId?: guid;
|
6
|
+
providerId?: guid;
|
7
7
|
pageNumber?: number;
|
8
8
|
pageSize?: number;
|
9
9
|
sortColumn?: GroupSortColumn;
|
10
10
|
sortDesc?: boolean;
|
11
11
|
scope?: string[];
|
12
12
|
scopeType?: ScopeTypes;
|
13
|
-
constructor(searchText?: string, groupTypeId?:
|
13
|
+
constructor(searchText?: string, groupTypeId?: guid, providerId?: guid, pageNumber?: number, pageSize?: number, sortColumn?: GroupSortColumn, sortDesc?: boolean, scope?: string[], scopeType?: ScopeTypes);
|
14
14
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { MultilingualString } from "../MultilingualString";
|
3
3
|
export declare class GroupType {
|
4
|
-
id:
|
4
|
+
id: guid;
|
5
5
|
displayName: MultilingualString;
|
6
|
-
constructor(id:
|
6
|
+
constructor(id: guid, displayName: MultilingualString);
|
7
7
|
}
|
package/identities/Identity.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid, 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<{
|
@@ -6,17 +6,17 @@ interface IIdentityEqual extends IEquals<{
|
|
6
6
|
}> {
|
7
7
|
}
|
8
8
|
export interface IResolvedIdentity extends Partial<IIdentityEqual> {
|
9
|
-
id:
|
9
|
+
id: guid;
|
10
10
|
type: IdentityTypes;
|
11
|
-
providerId:
|
11
|
+
providerId: guid;
|
12
12
|
isRemoved: boolean;
|
13
13
|
propertyValues: PropertyValueBinding<any>[];
|
14
14
|
toIdString?: () => string;
|
15
15
|
}
|
16
16
|
export declare abstract class Identity implements IIdentityEqual {
|
17
|
-
readonly id:
|
17
|
+
readonly id: guid;
|
18
18
|
abstract readonly type: IdentityTypes;
|
19
|
-
constructor(id:
|
19
|
+
constructor(id: guid);
|
20
20
|
toIdString(): string;
|
21
21
|
get equals(): {
|
22
22
|
identity: (value: Identity) => boolean;
|
@@ -24,7 +24,7 @@ export declare abstract class Identity implements IIdentityEqual {
|
|
24
24
|
static parse(identity: Identity | IResolvedIdentity | string): Identity;
|
25
25
|
static isValid(identity: Identity): boolean;
|
26
26
|
static createFromString(idAndType: string): Identity;
|
27
|
-
private static
|
27
|
+
private static getguid;
|
28
28
|
private static getIdAsString;
|
29
29
|
}
|
30
30
|
export declare enum ArchiveSortColumn {
|
package/identities/Identity.js
CHANGED
@@ -37,7 +37,7 @@ class Identity {
|
|
37
37
|
return null;
|
38
38
|
}
|
39
39
|
if (typeof idAndType === "string" && idAndType.toLowerCase().indexOf("2faa499e-907b-4fd2-b78b-420090ec813e") > -1) {
|
40
|
-
return this["createIdentity"](IdentityTypes_1.IdentityTypes.User,
|
40
|
+
return this["createIdentity"](IdentityTypes_1.IdentityTypes.User, (0, models_1.guid)("2faa499e-907b-4fd2-b78b-420090ec813e")); // from Internal Identiy, to prevent circular reference
|
41
41
|
}
|
42
42
|
if (typeof idAndType === "object") {
|
43
43
|
if (!idAndType.toString()) {
|
@@ -51,23 +51,23 @@ class Identity {
|
|
51
51
|
const endIndex = idAndType.lastIndexOf("]");
|
52
52
|
if (startIndex > -1 && endIndex > -1) {
|
53
53
|
type = parseInt(idAndType.substring(startIndex + 1, endIndex));
|
54
|
-
id = this.
|
54
|
+
id = this.getguid(idAndType);
|
55
55
|
}
|
56
56
|
if (id === null) {
|
57
57
|
throw new Error(`Can't create identity from string ${idAndType} type is not valid`);
|
58
58
|
}
|
59
59
|
return this["createIdentity"](type, id); // from Internal Identity, to prevent circular reference
|
60
60
|
}
|
61
|
-
static
|
61
|
+
static getguid(value) {
|
62
62
|
if (value) {
|
63
63
|
const matchs = value.match(/([A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12})/i);
|
64
64
|
if (matchs)
|
65
|
-
return matchs[0];
|
65
|
+
return (0, models_1.maybeGuid)(matchs[0]);
|
66
66
|
}
|
67
67
|
return null;
|
68
68
|
}
|
69
69
|
static getIdAsString(id, type) {
|
70
|
-
return `${id.
|
70
|
+
return `${id.toLowerCase()}[${type}]`;
|
71
71
|
}
|
72
72
|
}
|
73
73
|
exports.Identity = Identity;
|
@@ -84,7 +84,7 @@ var ArchiveSortColumn;
|
|
84
84
|
if (globalThis.omnia) {
|
85
85
|
Object.defineProperty(Object.prototype, "toIdString", {
|
86
86
|
value: function () {
|
87
|
-
return `${this.id.
|
87
|
+
return `${this.id.toLowerCase()}[${this.type}]`;
|
88
88
|
},
|
89
89
|
writable: false,
|
90
90
|
configurable: false,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
2
|
import { PropertyValueBinding } from "../properties";
|
3
3
|
import { BusinessProfileProperty } from "../BusinessProfile";
|
4
4
|
import { BoolFilter } from "../Enums";
|
@@ -13,7 +13,7 @@ export interface ResolvedIdentityCreationRequestSettings {
|
|
13
13
|
captchaSiteKey: string;
|
14
14
|
}
|
15
15
|
export interface UserRequestFormDisplaySetting {
|
16
|
-
userTypeId:
|
16
|
+
userTypeId: guid;
|
17
17
|
userTypeDisplayName: MultilingualString;
|
18
18
|
propertyBindings: Array<PropertyBindingDisplay>;
|
19
19
|
}
|
@@ -23,8 +23,8 @@ export declare enum ConfirmEmailStatus {
|
|
23
23
|
Complete = 2
|
24
24
|
}
|
25
25
|
export declare class IdentityCreationRequestBase {
|
26
|
-
id:
|
27
|
-
userTypeId:
|
26
|
+
id: guid;
|
27
|
+
userTypeId: guid;
|
28
28
|
propertyValues: Array<PropertyValueBinding<any>>;
|
29
29
|
isEmailConfirmed: boolean;
|
30
30
|
approvalState: ApprovalState;
|
@@ -42,14 +42,14 @@ export interface IdentityCreationRequestCreatedResponse extends IdentityCreation
|
|
42
42
|
magicLinkPublicKey: string;
|
43
43
|
}
|
44
44
|
export interface IdentityCreationRequestUpdate {
|
45
|
-
id:
|
46
|
-
userTypeId:
|
45
|
+
id: guid;
|
46
|
+
userTypeId: guid;
|
47
47
|
propertyValues: Array<PropertyValueBinding<any>>;
|
48
48
|
isEmailConfirmed: boolean;
|
49
49
|
authenticationInformation: UserAuthenticationInformation;
|
50
50
|
}
|
51
51
|
export interface IdentityEmailConfirmationRequest {
|
52
|
-
id:
|
52
|
+
id: guid;
|
53
53
|
magicLinkPublicKey: string;
|
54
54
|
redirectUrl: string;
|
55
55
|
}
|
@@ -72,11 +72,11 @@ export declare class PropertyBindingDisplay {
|
|
72
72
|
propertyBindingSetting: PropertyBindingSetting;
|
73
73
|
}
|
74
74
|
export declare class UserRequestFormSetting {
|
75
|
-
userTypeId:
|
75
|
+
userTypeId: guid;
|
76
76
|
propertyBindings: Array<PropertyBindingSetting>;
|
77
77
|
}
|
78
78
|
export declare class PropertyBindingSetting {
|
79
|
-
propertyBindingId:
|
79
|
+
propertyBindingId: guid;
|
80
80
|
}
|
81
81
|
export declare class IdentityPropertyBindingSetting extends PropertyBindingSetting {
|
82
82
|
allowMultipleValues: boolean;
|
@@ -98,13 +98,13 @@ export interface IdentityCreationRequestQueryResult {
|
|
98
98
|
}
|
99
99
|
export interface IdentityCreationRequestApproval {
|
100
100
|
result: ApprovalState;
|
101
|
-
identityCreationRequestId:
|
101
|
+
identityCreationRequestId: guid;
|
102
102
|
comment: string;
|
103
103
|
sendApprovalResultEmail: boolean;
|
104
104
|
}
|
105
105
|
export declare class BusinessProfileIdentityCreationRequestSettings extends BusinessProfileProperty {
|
106
106
|
static UniqueName: string;
|
107
|
-
omniaServiceId:
|
107
|
+
omniaServiceId: guid;
|
108
108
|
uniqueModelName: string;
|
109
109
|
settings: IdentityCreationRequestSettings;
|
110
110
|
constructor();
|