@omnia/fx-models 8.0.192-dev → 8.0.194-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.
Files changed (254) hide show
  1. package/ActionHandler.d.ts +5 -5
  2. package/ActionHandler.js +2 -2
  3. package/AiSettings.d.ts +2 -2
  4. package/AzureAd.d.ts +2 -2
  5. package/AzureAdAppPermissions.d.ts +3 -3
  6. package/AzurePermissionResource.d.ts +3 -2
  7. package/BusinessProfile.d.ts +5 -5
  8. package/BusinessProfileDallEPromptDefault.js +2 -2
  9. package/ChromeLayoutDefinition.js +2 -1
  10. package/ClientManifests.d.ts +8 -8
  11. package/Clipboard.d.ts +2 -2
  12. package/ComponentComposer.d.ts +3 -3
  13. package/Constants.d.ts +81 -82
  14. package/Constants.js +80 -80
  15. package/Contexts.d.ts +10 -11
  16. package/Enums.d.ts +29 -25
  17. package/Enums.js +27 -27
  18. package/Enums.tooling.d.ts +8 -0
  19. package/Enums.tooling.js +13 -0
  20. package/Extensions.d.ts +3 -3
  21. package/Feature.d.ts +8 -8
  22. package/FilePicker/FilePickerProviderContext.d.ts +3 -3
  23. package/FilePicker/FilePickerProviderVersionedLayoutContext.d.ts +3 -3
  24. package/FilePicker/FilePickerProviderVersionedLayoutContext.js +1 -1
  25. package/FilePicker/Providers/FilePickerProvider.d.ts +2 -2
  26. package/FileStorage.d.ts +3 -3
  27. package/IPropertiesApi.d.ts +5 -5
  28. package/Journey.d.ts +2 -2
  29. package/Layout.d.ts +13 -13
  30. package/LayoutDefinition.d.ts +7 -7
  31. package/LikeActionSettings.d.ts +3 -3
  32. package/LinkHandler/ILinkHandlerProvider.d.ts +2 -2
  33. package/LinkHandler/linktype/DefaultLinkType.d.ts +3 -3
  34. package/LinkHandler/linktype/DefaultLinkType.js +2 -1
  35. package/LinkHandler/linktype/DocumentLinkType.d.ts +3 -3
  36. package/LinkHandler/linktype/DocumentLinkType.js +2 -1
  37. package/LinkHandler/linktype/LinkType.d.ts +2 -2
  38. package/LoginLogItem.d.ts +2 -2
  39. package/ManifestIds.d.ts +524 -524
  40. package/ManifestIds.js +565 -565
  41. package/MediaScalingSettings.d.ts +3 -3
  42. package/Messaging.d.ts +6 -6
  43. package/NamedProperty.d.ts +4 -4
  44. package/PermissionInputSettings.d.ts +2 -2
  45. package/Post.d.ts +9 -9
  46. package/PromotedTagOptions.d.ts +2 -2
  47. package/PropertyArchive.d.ts +2 -2
  48. package/QueryablePropertyMessage.d.ts +2 -2
  49. package/RichTextEditorExtension.d.ts +3 -3
  50. package/RollupQuery.d.ts +4 -4
  51. package/Routing.d.ts +7 -7
  52. package/Secrets.d.ts +3 -3
  53. package/Security.d.ts +7 -7
  54. package/Store.d.ts +2 -2
  55. package/TargetingProperty.d.ts +11 -11
  56. package/ThemeDefinition.d.ts +7 -7
  57. package/ThemeDefinition.js +1 -1
  58. package/Token.d.ts +3 -3
  59. package/Translation.d.ts +5 -5
  60. package/UserdefinedLocalization.d.ts +2 -2
  61. package/VersionedData.d.ts +7 -7
  62. package/VersionedData.js +2 -2
  63. package/admin/AdminModels.d.ts +5 -5
  64. package/apps/App.d.ts +24 -24
  65. package/apps/AppInstanceRollup.d.ts +9 -9
  66. package/apps/AppNamingPolicy.d.ts +6 -6
  67. package/apps/AppProvisioning.d.ts +10 -10
  68. package/apps/AppProvisioning.js +8 -7
  69. package/auth/MagicLinkData.d.ts +3 -3
  70. package/auth/MagicLinkData.js +2 -2
  71. package/auth/OTPData.d.ts +3 -3
  72. package/auth/OTPData.js +2 -2
  73. package/auth/PasswordAuthData.d.ts +3 -3
  74. package/auth/PasswordAuthData.js +2 -2
  75. package/auth/PostProcessingAuthData.d.ts +3 -3
  76. package/auth/PostProcessingAuthData.js +2 -2
  77. package/auth/common/AuthenticationSettings.d.ts +2 -2
  78. package/auth/common/base.d.ts +3 -3
  79. package/authentication/Authentication.js +2 -1
  80. package/bulkimportusers/TemplateFileMetaData.d.ts +2 -2
  81. package/bulkimportusers/TemplateFileSettings.d.ts +3 -3
  82. package/businessprofilesettings/BusinessProfileAuthenticationSettings.d.ts +3 -3
  83. package/connected-tenants/ConnectedTenant.d.ts +2 -2
  84. package/editor-chrome/IActionButton.d.ts +2 -1
  85. package/editor-chrome/IEditorDisplayActionButton.d.ts +2 -1
  86. package/enterprise-glossary/EnterpriseGlossary.d.ts +3 -3
  87. package/enterprise-glossary/EnterpriseGlossary.js +1 -1
  88. package/enterprise-glossary/EnterpriseGlossaryInformationProvider.d.ts +2 -2
  89. package/enterprise-glossary/EnterpriseGlossaryInformationSourceSettings.d.ts +2 -2
  90. package/enterprise-glossary/EnterpriseGlossaryMapping.d.ts +3 -3
  91. package/enterprise-glossary/EnterpriseGlossaryProvider.d.ts +2 -2
  92. package/enterprise-properties/EnterpriseProperty.d.ts +7 -7
  93. package/enterprise-properties/EnterprisePropertyCategory.d.ts +2 -2
  94. package/enterprise-properties/EnterprisePropertyColumnMapping.d.ts +2 -2
  95. package/enterprise-properties/EnterprisePropertyItemSettings.d.ts +6 -6
  96. package/enterprise-properties/EnterprisePropertySet.d.ts +3 -3
  97. package/enterprise-properties/EnterprisePropertySettings.d.ts +2 -2
  98. package/enterprise-properties/EnterprisePropertyToPropertySettingsMapping.d.ts +3 -3
  99. package/filterengine/Shared.d.ts +33 -32
  100. package/filterengine/Shared.js +17 -17
  101. package/identities/ArchiveIdentityManagementQuery.d.ts +4 -4
  102. package/identities/BuiltInIdentityProvider.d.ts +5 -5
  103. package/identities/BuiltInIdentityProvider.js +3 -3
  104. package/identities/DynamicGroupIdentity.d.ts +3 -3
  105. package/identities/ExtensionIdentity.d.ts +2 -2
  106. package/identities/GroupIdentity.d.ts +5 -5
  107. package/identities/GroupManagementQuery.d.ts +4 -4
  108. package/identities/GroupType.d.ts +3 -3
  109. package/identities/Identity.d.ts +6 -6
  110. package/identities/Identity.js +6 -6
  111. package/identities/IdentityCreationRequest.d.ts +11 -11
  112. package/identities/IdentityPropertyConfiguration.d.ts +4 -4
  113. package/identities/IdentityPropertySyncBinding.d.ts +4 -4
  114. package/identities/IdentityProviderRunLog.d.ts +3 -3
  115. package/identities/IdentityProviderSettings.d.ts +2 -2
  116. package/identities/IdentityQuery.d.ts +6 -6
  117. package/identities/IdentitySyncProvider.d.ts +2 -2
  118. package/identities/InternalIdentity.js +1 -1
  119. package/identities/RoleIdentity.d.ts +2 -2
  120. package/identities/UserIdentity.d.ts +7 -7
  121. package/identities/UserIdentity.js +2 -3
  122. package/identities/UserIdentityQuery.d.ts +5 -5
  123. package/identities/UserManagementQuery.d.ts +5 -5
  124. package/identities/UserType.d.ts +5 -5
  125. package/identities/UserType.js +3 -3
  126. package/identities/UserTypeSettings.d.ts +2 -2
  127. package/identities/UserTypeSettings.js +8 -8
  128. package/internal-do-not-import-from-here/shared/broadcasting/InternalTopics.d.ts +4 -4
  129. package/internal-do-not-import-from-here/shared/factory/DefineFactory.d.ts +6 -6
  130. package/internal-do-not-import-from-here/shared/factory/ServiceContainer.d.ts +2 -2
  131. package/internal-do-not-import-from-here/shared/http/Http.d.ts +2 -2
  132. package/internal-do-not-import-from-here/shared/models/Guid.d.ts +55 -10
  133. package/internal-do-not-import-from-here/shared/models/Guid.js +40 -10
  134. package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +1 -1
  135. package/internal-do-not-import-from-here/shared/models/Tenant.d.ts +2 -2
  136. package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +4 -4
  137. package/internal-do-not-import-from-here/shared/models/Tooling.d.ts +13 -0
  138. package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.d.ts +2 -2
  139. package/internal-do-not-import-from-here/shared/models/WorkerProxyFuncs.js +2 -2
  140. package/internal-do-not-import-from-here/shared/models/Workers.d.ts +4 -4
  141. package/internal-do-not-import-from-here/shared/models/hub/activities/ActivityRenderer.d.ts +3 -3
  142. package/internal-do-not-import-from-here/shared/models/hub/fileupload/TemporaryFileId.d.ts +3 -3
  143. package/internal-do-not-import-from-here/shared/models/hub/targeting/ExternalIdentityProperty.js +1 -2
  144. package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.d.ts +2 -1
  145. package/internal-do-not-import-from-here/shared/models/hub/targeting/HubSource.js +2 -1
  146. package/internal-do-not-import-from-here/shared/models/index.d.ts +1 -0
  147. package/internal-do-not-import-from-here/shared/models/index.js +1 -0
  148. package/internal-do-not-import-from-here/shared/models/theming/Blueprints.d.ts +2 -2
  149. package/internal-do-not-import-from-here/shared/models/theming/ThemeDefinitionV2.d.ts +5 -5
  150. package/internal-do-not-import-from-here/shared/models/theming/Typography.d.ts +6 -6
  151. package/internal-do-not-import-from-here/shared/models/velcron/VelcronContentSection.d.ts +2 -2
  152. package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +3 -3
  153. package/internal-do-not-import-from-here/shared/services/ActivityService.d.ts +1 -1
  154. package/internal-do-not-import-from-here/shared/utils/index.d.ts +1 -1
  155. package/internal-do-not-import-from-here/velcron/core/models/VelcronDefinitions.d.ts +3 -3
  156. package/media-gallery/providers/MediaGalleryDialogProvider.d.ts +2 -2
  157. package/media-gallery/providers/MediaGalleryDisplayProvider.d.ts +2 -2
  158. package/media-gallery/providers/PhotoWall.d.ts +2 -2
  159. package/media-gallery/providers/SliderDialogProvider.d.ts +2 -2
  160. package/media-picker/MediaPickerIconsStorageProviderContext.d.ts +3 -3
  161. package/media-picker/MediaPickerIconsStorageProviderContext.js +1 -1
  162. package/media-picker/MediaPickerImageRatio.d.ts +10 -10
  163. package/media-picker/MediaPickerImageRatio.js +6 -6
  164. package/media-picker/MediaPickerImageScaling.d.ts +3 -3
  165. package/media-picker/MediaPickerMedia.d.ts +3 -3
  166. package/media-picker/MediaPickerProvider.d.ts +3 -3
  167. package/media-picker/MediaPickerProviderContext.d.ts +3 -3
  168. package/media-picker/SharePointVideoResult.d.ts +2 -2
  169. package/media-picker/interfaces/types.d.ts +4 -4
  170. package/mediaflow/Constants.d.ts +2 -1
  171. package/mediaflow/Constants.js +2 -1
  172. package/omniasearch/IndexSearchRequest.d.ts +3 -3
  173. package/omniasearch/IndexedDocument.d.ts +2 -2
  174. package/omniasearch/OmniaUserSource.d.ts +2 -2
  175. package/omniasearch/OmniaUserSource.js +2 -1
  176. package/omniasearch/PropertySource.d.ts +4 -4
  177. package/omniasearch/SearchIndex.d.ts +2 -2
  178. package/oxide/OxideTypeDefinitions.d.ts +3 -3
  179. package/oxide/OxideTypeDefinitions.js +3 -3
  180. package/package.json +1 -1
  181. package/properties/PropertyBinding.d.ts +3 -3
  182. package/properties/PropertyDefinition.d.ts +2 -2
  183. package/properties/PropertyTestCode.js +3 -3
  184. package/properties/PropertyValue.d.ts +2 -2
  185. package/properties/datasource/AppDataSourceProperty.d.ts +4 -5
  186. package/properties/datasource/DataSourceProperty.d.ts +3 -3
  187. package/properties/datasource/DataSourcePropertyDisplayInformation.d.ts +3 -3
  188. package/properties/datasource/UserDataSourceProperty.d.ts +3 -4
  189. package/properties/datasource/index.d.ts +0 -1
  190. package/properties/datasource/index.js +0 -1
  191. package/properties/definitions/BirthdayPropertyDefinition.d.ts +3 -3
  192. package/properties/definitions/BirthdayPropertyDefinition.js +2 -2
  193. package/properties/definitions/BooleanPropertyDefinition.d.ts +3 -3
  194. package/properties/definitions/BooleanPropertyDefinition.js +2 -2
  195. package/properties/definitions/BusinessProfilePropertyDefinition.d.ts +3 -3
  196. package/properties/definitions/BusinessProfilePropertyDefinition.js +2 -2
  197. package/properties/definitions/DatePropertyDefinition.d.ts +3 -3
  198. package/properties/definitions/DatePropertyDefinition.js +2 -2
  199. package/properties/definitions/DateTimePropertyDefinition.d.ts +3 -3
  200. package/properties/definitions/DateTimePropertyDefinition.js +2 -2
  201. package/properties/definitions/EmailPropertyDefinition.d.ts +3 -3
  202. package/properties/definitions/EmailPropertyDefinition.js +2 -2
  203. package/properties/definitions/HtmlPropertyDefinition.d.ts +3 -3
  204. package/properties/definitions/HtmlPropertyDefinition.js +2 -2
  205. package/properties/definitions/IdentityPropertyDefinition.d.ts +3 -3
  206. package/properties/definitions/IdentityPropertyDefinition.js +2 -2
  207. package/properties/definitions/ImagePropertyDefinition.d.ts +5 -5
  208. package/properties/definitions/ImagePropertyDefinition.js +1 -1
  209. package/properties/definitions/IntegerPropertyDefinition.d.ts +3 -3
  210. package/properties/definitions/IntegerPropertyDefinition.js +2 -2
  211. package/properties/definitions/LanguagePropertyDefinition.d.ts +3 -3
  212. package/properties/definitions/LanguagePropertyDefinition.js +2 -2
  213. package/properties/definitions/LinkPropertyDefinition.d.ts +3 -3
  214. package/properties/definitions/LinkPropertyDefinition.js +2 -2
  215. package/properties/definitions/MediaPropertyDefinition.d.ts +3 -3
  216. package/properties/definitions/MediaPropertyDefinition.js +2 -2
  217. package/properties/definitions/MultilineTextPropertyDefinition.d.ts +3 -3
  218. package/properties/definitions/MultilineTextPropertyDefinition.js +2 -2
  219. package/properties/definitions/MultilingualTextPropertyDefinition.d.ts +3 -3
  220. package/properties/definitions/MultilingualTextPropertyDefinition.js +2 -2
  221. package/properties/definitions/PhoneNumberPropertyDefinition.d.ts +3 -3
  222. package/properties/definitions/PhoneNumberPropertyDefinition.js +2 -2
  223. package/properties/definitions/TagsPropertyDefinition.d.ts +3 -3
  224. package/properties/definitions/TagsPropertyDefinition.js +2 -2
  225. package/properties/definitions/TermSetPropertyDefinition.d.ts +6 -6
  226. package/properties/definitions/TermSetPropertyDefinition.js +2 -2
  227. package/properties/definitions/TextPropertyDefinition.d.ts +3 -3
  228. package/properties/definitions/TextPropertyDefinition.js +2 -2
  229. package/properties/definitions/TimePropertyDefinition.d.ts +3 -3
  230. package/properties/definitions/TimePropertyDefinition.js +2 -2
  231. package/properties/definitions/UserTypePropertyDefinition.d.ts +3 -3
  232. package/properties/definitions/UserTypePropertyDefinition.js +2 -2
  233. package/properties/values/BusinessProfilePropertyValue.d.ts +3 -3
  234. package/properties/values/UserTypePropertyValue.d.ts +3 -3
  235. package/richtext-editor-extensions/HeadingExtension.d.ts +3 -3
  236. package/richtext-editor-extensions/TipTapEditor.d.ts +2 -2
  237. package/richtext-editor-extensions/ToolbarProperties.d.ts +2 -2
  238. package/statuscodelayout/SystemLayout.js +2 -1
  239. package/system-logs/TransactionLog.d.ts +5 -5
  240. package/user-profile/EditUserProfileHandlerRegistration.d.ts +2 -2
  241. package/ux/AdminApi.d.ts +3 -3
  242. package/ux/AppManagementApi.d.ts +12 -12
  243. package/ux/AppProvisioningValidatorApi.d.ts +2 -2
  244. package/ux/DynamicPlaceholderApi.d.ts +4 -4
  245. package/ux/EnterprisePropertyDataTypeProviderApi.d.ts +2 -2
  246. package/ux/EnterprisePropertyToPropertySettingMappingApi.d.ts +3 -3
  247. package/ux/FeatureManagementApi.d.ts +2 -2
  248. package/ux/InternalAdminApi.d.ts +3 -3
  249. package/ux/UserProfileHandlerApi.d.ts +2 -2
  250. package/velcron/VelcronDefinitionRegistration.d.ts +2 -2
  251. package/versionedlayout/VersionedLayout.d.ts +9 -9
  252. package/versionedlayout/VersionedLayout.js +4 -3
  253. package/properties/datasource/DataSourceId.d.ts +0 -2
  254. /package/{properties/datasource/DataSourceId.js → internal-do-not-import-from-here/shared/models/Tooling.js} +0 -0
@@ -1,10 +1,10 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
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: GuidValue;
23
+ id: guid;
24
24
  internalName: string;
25
25
  title: MultilingualString;
26
- enterprisePropertyDataTypeId: GuidValue;
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?: GuidValue;
34
+ enterprisePropertyCategoryId?: guid;
35
35
  multilingualTitle: string;
36
36
  uniqueMultilingualTitle: string;
37
37
  deletedAt?: Date;
38
38
  }
39
39
  export interface ProvisioningTemplateEnterpriseProperty {
40
- id: GuidValue;
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?: GuidValue;
66
+ categoryId?: guid;
67
67
  }
68
68
  export interface Property {
69
69
  title: string;
@@ -1,7 +1,7 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
4
+ id: guid;
5
5
  title: MultilingualString;
6
6
  order: number;
7
7
  builtIn: boolean;
@@ -1,6 +1,6 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
1
+ import { guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
2
  export interface EnterprisePropertyColumnMapping {
3
- enterprisePropertyId: GuidValue;
3
+ enterprisePropertyId: guid;
4
4
  tableName: string;
5
5
  enterprisePropertyInternalName: string;
6
6
  createdAt: Date;
@@ -1,7 +1,7 @@
1
- import { GuidValue, MultilingualString, PromotedTagOptions, PropertyIndexedType, RichTextEditorExtension } from "../";
1
+ import { guid, MultilingualString, PromotedTagOptions, PropertyIndexedType, RichTextEditorExtension } from "../";
2
2
  export interface EnterprisePropertyItemSettings {
3
3
  type: PropertyIndexedType;
4
- id: GuidValue;
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<GuidValue>;
43
+ providerIds?: Array<guid>;
44
44
  }
45
45
  export interface EnterprisePropertyTaxonomyItemSettings extends EnterprisePropertyItemSettings {
46
46
  type: PropertyIndexedType.Taxonomy;
47
47
  allowMultipleValues: boolean;
48
- parentEnterprisePropertyDefinitionId?: GuidValue;
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?: GuidValue;
57
+ providerId?: guid;
58
58
  }
59
59
  export interface EnterprisePropertyDataTypeProviderRegistration {
60
- id: GuidValue;
60
+ id: guid;
61
61
  name: string;
62
62
  editModeElementName: string;
63
63
  displayModeElementName?: string;
@@ -1,11 +1,11 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
5
+ id: guid;
6
6
  title: MultilingualString;
7
7
  settings: EnterprisePropertySetSettings;
8
- enterprisePropertyCategoryId?: GuidValue;
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: string;
5
+ termSetId: guid;
6
6
  }
7
7
  export interface EnterprisePropertiesDisplaySettings {
8
8
  internalName?: string;
@@ -1,4 +1,4 @@
1
- import { EnterprisePropertyDataTypeIds } from "../filterengine";
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: EnterprisePropertyDataTypeIds;
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: EnterprisePropertyDataTypeIds, propSettingCtor?: new () => PropertySetting<any>);
12
+ constructor(propDefinitionCtor: new () => PropertyDefinition<any, any, any>, enterprisePropertyDataTypeId: EnterprisePropertyDataTypeId, propSettingCtor?: new () => PropertySetting<any>);
13
13
  }
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "../../shared";
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 declare enum EnterprisePropertyDataTypeIds {
64
- EnterpriseKeywords = "c65cc969-4f63-41bf-9956-f6e2c843b196",
65
- Media = "8883bebf-4c38-4b70-8195-8a9cb66f8252",
66
- RichText = "927c1f21-d34b-4e7b-aa97-d12d5e31711e",
67
- Language = "19cd4544-e2a0-4498-8db8-c8fc74fcce54",
68
- Data = "502f7df9-e961-4c6a-85f0-2e2b0b06b476",
69
- Tags = "581eb7ee-a9af-42e0-a73e-d23af3332813",
70
- Text = "7667bdd4-7995-4536-b3e9-bacb829d6f5e",
71
- Number = "a7ad0d68-0fec-44ab-b468-028e718dbffc",
72
- DateTime = "b8549e8c-e60f-48bb-8f57-2d03ed84131d",
73
- Boolean = "f27cdaac-fd29-4552-bd56-72cd2f6fb3f1",
74
- Person = "8a96e2a9-963d-47fe-b0d8-851fbf948e33",
75
- Taxonomy = "786bfddc-df08-4441-b1ce-ec0730af8113",
76
- Extended = "e85eda7f-029e-4bb9-902d-fcd631ab564b"
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: string;
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?: GuidValue;
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: GuidValue[];
106
- propertySettingsManifestId?: GuidValue;
107
- propertyDefaultValueInputManifestId?: GuidValue;
108
- selectionsAreaPropertyRendererManifestId?: GuidValue;
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 | GuidValue;
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<GuidValue>;
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: GuidValue;
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: string;
310
- constructor(componentId: string);
310
+ componentId: guid;
311
+ constructor(componentId: guid);
311
312
  isRefinable(prop: BaseFilterEngineProperty): boolean;
312
313
  getAvailableProperties(): EnterprisePropertyDefinition[];
313
- getExcludedPropertyTypeIds(): GuidValue[];
314
- readonly abstract uniqueId: string;
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: string;
320
- readonly abstract uniqueId: string;
321
- constructor(componentId: string);
320
+ componentId: guid;
321
+ readonly abstract uniqueId: guid;
322
+ constructor(componentId: guid);
322
323
  }
@@ -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
- var EnterprisePropertyDataTypeIds;
70
- (function (EnterprisePropertyDataTypeIds) {
71
- EnterprisePropertyDataTypeIds["EnterpriseKeywords"] = "c65cc969-4f63-41bf-9956-f6e2c843b196";
72
- EnterprisePropertyDataTypeIds["Media"] = "8883bebf-4c38-4b70-8195-8a9cb66f8252";
73
- EnterprisePropertyDataTypeIds["RichText"] = "927c1f21-d34b-4e7b-aa97-d12d5e31711e";
74
- EnterprisePropertyDataTypeIds["Language"] = "19cd4544-e2a0-4498-8db8-c8fc74fcce54";
75
- EnterprisePropertyDataTypeIds["Data"] = "502f7df9-e961-4c6a-85f0-2e2b0b06b476";
76
- EnterprisePropertyDataTypeIds["Tags"] = "581eb7ee-a9af-42e0-a73e-d23af3332813";
77
- EnterprisePropertyDataTypeIds["Text"] = "7667bdd4-7995-4536-b3e9-bacb829d6f5e";
78
- EnterprisePropertyDataTypeIds["Number"] = "a7ad0d68-0fec-44ab-b468-028e718dbffc";
79
- EnterprisePropertyDataTypeIds["DateTime"] = "b8549e8c-e60f-48bb-8f57-2d03ed84131d";
80
- EnterprisePropertyDataTypeIds["Boolean"] = "f27cdaac-fd29-4552-bd56-72cd2f6fb3f1";
81
- EnterprisePropertyDataTypeIds["Person"] = "8a96e2a9-963d-47fe-b0d8-851fbf948e33";
82
- EnterprisePropertyDataTypeIds["Taxonomy"] = "786bfddc-df08-4441-b1ce-ec0730af8113";
83
- EnterprisePropertyDataTypeIds["Extended"] = "e85eda7f-029e-4bb9-902d-fcd631ab564b";
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 { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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?: GuidValue;
6
+ providerId?: guid;
7
7
  pageNumber?: number;
8
8
  pageSize?: number;
9
9
  sortColumn?: ArchiveSortColumn;
10
10
  sortDesc?: boolean;
11
- businessProfileId?: GuidValue;
11
+ businessProfileId?: guid;
12
12
  language?: LanguageTags;
13
- constructor(searchText?: string, identityType?: IdentityTypes, providerId?: GuidValue, pageNumber?: number, pageSize?: number, sortColumn?: ArchiveSortColumn, sortDesc?: boolean, businessProfileId?: GuidValue, language?: LanguageTags);
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 { GuidValue, Guid } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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(): Guid;
4
- static get omnia(): Guid;
5
- static get ldap(): Guid;
6
- static get defaultAd(): GuidValue;
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 new models_1.Guid("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c");
8
+ return (0, models_1.guid)("bb9f80dd-9dfa-4147-b923-7e2f8e0e7a0c");
9
9
  }
10
10
  static get omnia() {
11
- return new models_1.Guid("aa000000-0000-aaaa-0000-0000000000aa");
11
+ return (0, models_1.guid)("aa000000-0000-aaaa-0000-0000000000aa");
12
12
  }
13
13
  static get ldap() {
14
- return new models_1.Guid("ab5c4983-1254-44d7-87e9-72021703dfc5");
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 { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
10
- providerId: GuidValue;
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 { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
9
+ providerId: guid;
10
10
  propertyValues: PropertyValueBinding<any>[];
11
11
  displayName: PropertyValueBinding<TextPropertyDefinition>;
12
12
  image: PropertyValueBinding<ImagePropertyDefinition>;
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
12
- providerId: GuidValue;
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: GuidValue;
32
- providerId: GuidValue;
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 { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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?: GuidValue;
6
- providerId?: GuidValue;
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?: GuidValue, providerId?: GuidValue, pageNumber?: number, pageSize?: number, sortColumn?: GroupSortColumn, sortDesc?: boolean, scope?: string[], scopeType?: ScopeTypes);
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 { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
4
+ id: guid;
5
5
  displayName: MultilingualString;
6
- constructor(id: GuidValue, displayName: MultilingualString);
6
+ constructor(id: guid, displayName: MultilingualString);
7
7
  }
@@ -1,4 +1,4 @@
1
- import { GuidValue, IEquals } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
9
+ id: guid;
10
10
  type: IdentityTypes;
11
- providerId: GuidValue;
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: GuidValue;
17
+ readonly id: guid;
18
18
  abstract readonly type: IdentityTypes;
19
- constructor(id: GuidValue);
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 getGuidValue;
27
+ private static getguid;
28
28
  private static getIdAsString;
29
29
  }
30
30
  export declare enum ArchiveSortColumn {
@@ -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, new models_1.Guid("2faa499e-907b-4fd2-b78b-420090ec813e")); // from Internal Identiy, to prevent circular reference
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.getGuidValue(idAndType);
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 getGuidValue(value) {
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.toString().toLowerCase()}[${type}]`;
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.toString().toLowerCase()}[${this.type}]`;
87
+ return `${this.id.toLowerCase()}[${this.type}]`;
88
88
  },
89
89
  writable: false,
90
90
  configurable: false,
@@ -1,4 +1,4 @@
1
- import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
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: GuidValue;
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: GuidValue;
27
- userTypeId: GuidValue;
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: GuidValue;
46
- userTypeId: GuidValue;
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: GuidValue;
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: GuidValue;
75
+ userTypeId: guid;
76
76
  propertyBindings: Array<PropertyBindingSetting>;
77
77
  }
78
78
  export declare class PropertyBindingSetting {
79
- propertyBindingId: GuidValue;
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: GuidValue;
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: GuidValue;
107
+ omniaServiceId: guid;
108
108
  uniqueModelName: string;
109
109
  settings: IdentityCreationRequestSettings;
110
110
  constructor();