export type Features = { localizationVersion?: number; pyLocalizationVersion?: string; granularUIRefresh?: boolean; pyHideFollowAction?: boolean; pyEnableGranularUIRefresh?: boolean; deferUpdateCaseSummaryView?: boolean; pyEnableOptimizedCaseLoading?: boolean; optimizedCaseLoading?: boolean; pyAutoUpdateLandingPageTabCounts?: boolean; pyShouldHideCaseTypeFiltersInSearch?: boolean; form?: { attachmentPageInstructionEnabled: boolean; disableUnsupportedAttachmentFeatures: boolean; enableRTEImageAttachments: boolean; }; availableLanguagePacks?: string[]; isUnifiedObject?: boolean; insight?: { exportToExcelEnabled?: boolean; exportToCSVEnabled?: boolean; insightsCRUDInRuntime?: { insightsListDataPage?: string; }; }; pyEnableQueryInfoDebugTool?: boolean; pyUseDataViewsExport?: boolean; enableCaseSummaryExpandable?: boolean; pyEnableAttachmentWidgetOperations?: boolean; pyUseURLParams?: boolean; isNamespaceEnabled?: boolean; namespaceList?: string[]; pyRecentInsights?: boolean; legacyNavigationItems?: string[]; fromBlueprintExperience?: boolean; pyEnabledRadioOnclickDeselection?: boolean; pyAutoSaveDurationInMS?: string; } & Partial; export type FeaturesFromInfinity = { pyEnableGranularUIRefresh: string; pyEnableOpenGraphPreview?: boolean; pyEnableStreamingForRepositories?: boolean; pyEnableC11nInlineEditing?: boolean; pyEnableInsightCreation?: boolean; pyEnableDashboardCreation?: boolean; }; export type EnvironmentInfoObj = { pxOperator?: { pyUserName: string; pyWorkGroup: string; pyUserIdentifier: string; pyImageInsKey: string; pyAccessGroup: string; pyDefaultPortal: string; pyAuthenticationTimeout?: number; }; pyActionName?: string; pyLanguagePacks?: LanguagePack[]; features?: Features; pyExecutionRuntimeName?: 'Infinity'; pyFeatures?: FeaturesFromInfinity; pyGenAIEnabled?: boolean; pyRewriteGenAIDP?: string; pxApplication?: { pyRuleId: string; pyLabel: string; pyRuleName: string; pyMaxAttachmentSize: string; pyDefaultOperatorDP: string; pyDocumentUrlDP: string; pyCaseInstanceListDP: string; pyBaseLocale: string; pyBuiltOnApplications: string; pxUpdateDateTime?: string; pyApplicationURL?: string; pyBlueprintCreatedApp?: string | boolean; }; encCSRFToken?: string; pxLocale?: { pyUseLocale: string; pyTimeZone: string; }; renderingMode: 'FULL_PORTAL' | 'EMBED' | 'HYBRID' | 'PREVIEW'; pyClassesAccessList?: { pxResults: ({ pyHasCreateAccess: boolean; } & { [key: string]: string; })[]; }; pyCaseTypeList?: (({ hasCreateAccess?: boolean; pyHasCreateAccess?: never; } | { hasCreateAccess?: never; pyHasCreateAccess?: boolean; }) & { [key: string]: string; })[]; pyUserSettings?: string; pyAvailableLocalePacks?: { [key: string]: string; }[]; pxMashupDetails: { pyLaunchCaseInModal: string; pyIsTraditionalCoexistence?: string; }; pyRemoteCaseTypeList: RemoteCaseTypeMetadata[]; pyRemoteAppPlatformVersion?: string; pyC11nDXCBDevURL?: string; pyInfinityStaticService?: string; pyPortalTemplate?: string; pyApplications?: { pyLabel: string; pzApplicationURL: string; }[]; pyAccessGroupSwitchURLFragment?: string; pyDataPages?: { pxObjClass: string; pyName: string; pyPath: string; }[]; requestContext?: RequestContextEntry[] | undefined; pyInlineEditActions?: InlineEditAction[]; pyFullObjectDisplayTemplate?: string; pyNavOrientation?: 'side-rail' | 'top-bar'; }; export type RemoteCaseTypeMetadata = { pxObjClass: string; pyWorkTypeImplementationClassName: string; pyWorkTypeName: string; pxIcon?: string; [key: string]: string | boolean | undefined | number; }; export type CookieComplianceMethod = 'none' | 'default'; export type UpdateFeatureMapObj = { case: { assignment?: { hideCancelButtonFor: string; }; createInModal?: boolean; }; }; export type Bundle = { pyBundleName: string; pyOrder: number; pyBundleVersion: string; }; export type LanguagePack = { pyLangCode: string; pyBundles: Bundle[]; }; export type RequestContextEntry = { Key: string; IncludeInURL: boolean; IncludeInHeaders: { Value: string; }[]; }; export interface InlineEditAction { pxObjClass: string; pyActionName: string; pyClassName: string; pyViewName: string; }