import { IVersionsDetails } from '@cee-eng/hydrajs/@types/api/pcm/products'; import { ICaseBugzilla, ICaseChat, ICaseComment, ICaseDetails, ICaseResourceLink, ICepDetails, INotifiedUser } from '@cee-eng/hydrajs/@types/api/public/case'; import { ICaseGroup, IGroupUser } from '@cee-eng/hydrajs/@types/api/public/caseGroups'; import { IEntitlement } from '@cee-eng/hydrajs/@types/api/public/entitlements'; import { IAccount } from '@cee-eng/hydrajs/@types/models/account'; import { ICaseNotificationAddresses } from '@cee-eng/hydrajs/@types/models/case'; import { IContact } from '@cee-eng/hydrajs/@types/models/contact'; import { IAction, IAPIError, IApiResponseDetails } from '@rh-support/types/shared'; import { IServiceLevelInfo } from '@rh-support/utils'; import { Dispatch } from 'react'; import { ICVEWorkflowRecommendation } from '../models/caseCreationWorkflows'; export declare const TITLE_SUMMARY_LENGTH_LIMIT = 255; export declare const ISSUE_SUMMARY_LENGTH_LIMIT = 20000; export declare const SUMMARY_LENGTH_LIMIT = 255; export declare const KTQUESTION_MAX_LIMIT = 4000; export declare const IDEA_SECOND_KTQUESTION_MAX_LIMIT = 11000; export declare const ATTACHMENT_DESCRIPTION_LENGTH_LIMIT = 255; export declare const ESCALATION_SUBJECT_LENGTH_LIMIT = 255; export declare const ESCALATION_DESCRIPTION_LENGTH_LIMIT = 25000; export declare const ESCALATION_EXPECTATIONS_LENGTH_LIMIT = 7000; export declare const ESCALATION_BUSINESS_IMPACT_LENGTH_LIMIT = 32000; export declare const ESCALATION_SERIALIZED_DESCRIPTION_LENGTH_LIMIT = 32000; export declare const DESCRIPTION_LENGTH_LIMIT = 32000; export declare const MODIFIED_DESCRIPTION_LENGTH_LIMIT = 32000; export declare const HOSTNAME_LENGTH_LIMIT = 255; export declare const CONTACT_INFO_24X7_LIMIT = 32768; export declare const CLUSTER_ID_LIMIT = 255; export declare const CLUSTER_ID_ENABLED_PRODUCTS: string[]; export declare const CASE_REFERENCE_NUMBER_LIMIT = 100; export declare const PHONE_LIMIT = 23; export declare const SESSION_NOTIFIED_USERS_INTERNAL_LIMIT = 1024; export declare const SESSION_NOTIFIED_USERS_EXTERNAL_LIMIT = 1024; export declare const SESSION_TIME_FRAMES_URGENCY_LIMIT = 32768; export declare const SESSION_PERIODICITY_OF_ISSUE_LIMIT = 32768; export declare const SESSION_ISSUE_LIMIT = 32768; export declare const SESSION_ENVIRONMENT_LIMIT = 32768; export declare const SESSION_REFERRER_URL_LIMIT = 1024; export declare const SESSION_NO_CLUSTER_REASON_LENGTH_LIMIT = 255; export declare const SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT = 255; export declare const SESSION_PHONE_LENGTH_LIMIT = 23; export declare const WATSONX_SUMMARY_LIMIT = 255; export declare const WATSONX_DESCRIPTION_LIMIT = 4000; export declare const CASE_DETAILS_ISSUE_LIMIT = 20000; export declare const CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT = 4000; export declare const CASE_DEATILS_ENVIRONMENT_LIMIT = 3000; export declare const CASE_DEATILS_PERIODICITYOFISSUE_LIMIT = 4000; export declare const CASE_DEATILS_SOURCE_REFERRER_LIMIT = 255; export declare const summaryMaxLengthErrorMessage = "Case summary cannot be more than {{limit}} characters."; export declare enum KtQuestionConstant { issue = "Describe your problem. Include specific actions and error messages.", timeFramesAndUrgency = "Describe the impact to you or the business", environment = "In what environment are you experiencing this behavior?", periodicityOfIssue = "How frequently does this behavior occur? Does it occur repeatedly or at certain times?", ideaIssue = "Please describe your request" } export declare const KTQ2LengthError = "That description exceeds 3000 characters. Try shortening it."; export declare const KTQ3LengthError = "That description exceeds 4000 characters. Try shortening it."; export declare const KTQ4LengthError = "That description exceeds 4000 characters. Try shortening it."; export declare const KTQ4LengthErrorIfIdea = "That description exceeds 11000 characters. Try shortening it."; export declare const enum SupportLevelsInternal { SELF_SUPPORT = "selfSupport", STANDARD = "standard", PREMIUM = "premium" } export declare const enum SeverityLevelsInternal { SEV_1 = "1 (Urgent)", SEV_2 = "2 (High)", SEV_3 = "3 (Medium)", SEV_4 = "4 (Low)" } export declare const SupportLevelDisplay: { BASIC: string; AMC: string; STANDARD: string; PROFESSIONAL: string; PREMIUM: string; PREMIUMPLUS: string; 'PREMIUM PLUS': string; }; export declare const ITRForSLASeverity: { selfSupport: { "1 (Urgent)": { initial: string; ongoing: string; }; "2 (High)": { initial: string; ongoing: string; }; "3 (Medium)": { initial: string; ongoing: string; }; "4 (Low)": { initial: string; ongoing: string; }; }; standard: { "1 (Urgent)": { initial: string; ongoing: string; }; "2 (High)": { initial: string; ongoing: string; }; "3 (Medium)": { initial: string; ongoing: string; }; "4 (Low)": { initial: string; ongoing: string; }; }; premium: { "1 (Urgent)": { initial: string; ongoing: string; }; "2 (High)": { initial: string; ongoing: string; }; "3 (Medium)": { initial: string; ongoing: string; }; "4 (Low)": { initial: string; ongoing: string; }; }; }; export declare const SeverityDescription: { "1 (Urgent)": string; "2 (High)": string; "3 (Medium)": string; "4 (Low)": string; }; export declare const SeverityDescriptionDetails: { "1 (Urgent)": string; "2 (High)": string; "3 (Medium)": string; "4 (Low)": string; }; export declare const LargeDescriptionErrorMessage = "Cumulative case description cannot be more than {{limit}} characters"; export declare const EscalationCombinedDescriptionErrorMessage = "Description and expectations combined cannot be more than {{limit}} characters."; export declare enum CaseReducerConstants { caseDetailChanged = "caseDetailChanged", caseStateChanged = "caseStateChanged", caseCreated = "caseCreated", resetCaseState = "resetCaseState", setSelectedNotificationContacts = "setSelectedNotificationContacts", isCreatingCase = "isCreatingCase", setCaseCreationError = "setCaseCreationError", setCaseRecommendations = "setCaseRecommendations", setAddNotifiedUserError = "setAddNotifiedUserError", requestDetectedLanguage = "requestDetectedLanguage", setDetectedLanguage = "setDetectedLanguage", receivedDetectedLanguage = "receivedDetectedLanguage", setIsPostingCep = "setIsPostingCep", setIsPostingCepError = "setIsPostingCepError", updateCaseDetailsError = "updateCaseDetailsError", updateCaseDetailUpdating = "updateCaseDetailUpdating", updateCaseDetailCompleted = "updateCaseDetailCompleted", updateCaseDetails = "updateCaseDetails", receivedCaseDetailsError = "receivedCaseDetailsError", receivedCaseDetails = "receivedCaseDetails", requestCaseDetails = "requestCaseDetails", getSelectedAccountDetailsHydra = "getSelectedAccountDetailsHydra", setSelecteContacts = "setSelecteContacts", setLoadedNotificationContacts = "setLoadedNotificationContacts", requestSelectedAccountDetailsHydra = "requestSelectedAccountDetailsHydra", selectedAccountDetailsHydraError = "selectedAccountDetailsHydraError", updateSelectedContacts = "updateSelectedContacts", setSelectedCaseGroupUsers = "setSelectedCaseGroupUsers", getCustomEmail = "getCustomEmail", updateEmailList = "updateEmailList", getVersionDetails = "getVersionDetails", caseCreation500ErrorStatus = "caseCreation500ErrorStatus", resetCaseNoOfCreatedCase = "resetCaseNoOfCreatedCase", setIsPostingRemoteRequestCommentCompleted = "setIsPostingRemoteRequestCommentCompleted", setIsPostingRemoteRequestCommentCompletedError = "setIsPostingRemoteRequestCommentCompletedError", setABTestVariation = "setABTestVariation" } export declare const initialCaseState: ICaseState; export interface ICaseDetailsState { actionPlan?: string; alternateId?: string; accountNumberRef?: string; bugzillas?: ICaseBugzilla[]; caseLanguage?: string; caseNumber?: string; caseResourceLinks?: ICaseResourceLink[]; caseType?: string; cep?: boolean; chats?: ICaseChat[]; comments?: ICaseComment[]; contactCountry?: string | null; contactEmail?: string; contactInfo24x7?: string; contactName?: string; contactPhone?: string | null; suppliedPhone?: string | null; contactId?: string; contactSSOName?: string; createdById?: string; createdByName?: string; createdDate?: string; description?: string; entitlementSla?: string; environment?: string; externalTrackers?: unknown[]; firstCaseInactivityWarningSentAt?: string; fts?: boolean; groupName?: string; groupNumber?: string | null; hostname?: string; id?: string; internalStatus?: string; isClosed?: boolean; isPrivate?: boolean; isStrategicAccount?: boolean; issue?: string; noClusterIdReason?: string; noClusterIdReasonExplanation?: string; additionalCaseInformation?: string | Record | null; notes?: string; openshiftClusterID?: string | null; openshiftClusterVersion?: string; ownerId?: string; ownerName?: string | null; periodicityOfIssue?: string; phone?: string; phoneAreaCodePrefixLineNumber?: string; phoneCountryCode?: string; product?: string; parentProductId?: string; referrer?: string; remoteSessionTermsAcked?: boolean; sbrGroups?: string[]; screenSessionRequested?: boolean; secondCaseInactivityWarningSentAt?: string; severity?: string; status?: string; summary?: string | null; suppliedPhoneNumberVerified?: 'True' | 'False' | 'Deferred'; timeFramesAndUrgency?: string; version?: string; waitingOnCallback?: boolean; } export interface ICaseState { caseDetailsStrata: IApiResponseDetails>; caseDetails: ICaseDetailsState; customerEscalation: boolean; isClosed: boolean; isStrategicAccount: boolean; notifiedUsers: INotifiedUser[]; selectedNotificationContacts: IContact[]; contactIsPartner: boolean; hotfixRequested: boolean; hotfixDelivered: boolean; isCreatingCase: boolean; caseCreationError: boolean; caseCreationErrorMessage: string | JSX.Element; caseCreationErrorCode?: number | string; addNotifiedUserError: boolean; updateNotifiedUserError: boolean; updateNotifiedUserLoading: boolean; hasLargeCaseDescription: boolean; isLoadingLang: boolean; cepDetails: ICepDetails; isPostingCep: boolean; isPostingCepError: boolean; isPostingCepErrorMessage: string | undefined; selectedAccountDetails: IApiResponseDetails>; selectedOwner: IApiResponseDetails; ownersCaseGroups: IApiResponseDetails; selectedCaseGroupUsers: IApiResponseDetails; customEmailsList: IApiResponseDetails>; ownersEntitlements: IApiResponseDetails; hasInvalidEntitlements: boolean; isProductNotEntitled: boolean; hasCaseUpdateError: boolean; isCaseUpdating: boolean; caseDetailsError: IAPIError; isFetchingCaseDetailsError: boolean; isFetchingCaseDetails: boolean; hasErrorSelectedNotificationContacts: boolean; isFetchingSelectedNotificationContacts: boolean; versionsDetails: IApiResponseDetails; v3ClusterName?: string; caseCreation500ErrorStatus: boolean; openshiftDisplayName?: string; isCaseOwnerUpdating: boolean; isFileRecommendationsTriggered?: boolean; caseNoOfCreatedCase?: string; isPostingRemoteRequestCommentCompleted?: boolean; isPostingRemoteRequestCommentCompletedErrorMessage?: string | undefined; isExistingPhoneNumber?: boolean; /** True only when the user edits the case-owner phone input (not auto-prefill). */ hasUserUpdatedSuppliedPhone?: boolean; hasLoggedInUserConfirmedPhoneNumber?: 'True' | 'False' | 'Deferred' | undefined; shouldNotSetPhoneCountryCode?: boolean; ftsContactSameAsOwner?: boolean; isCasePhoneUpdating?: boolean; cveWorkflowRecommendation?: ICVEWorkflowRecommendation[]; isCveModalOpened?: boolean; ABTestVariation?: string; openShiftClusterSupportLevel?: string; productServiceLevel?: IServiceLevelInfo; otherServiceLevels?: IServiceLevelInfo[]; selectedEntitlementId?: string; accountHasPremiumSla?: boolean; selectedVersionId?: string; /** Label Ids selected during case creation; linked via CaseLabelLink after create. */ selectedLabelIds?: string[]; /** Owner change applied locally; persisted when user selects a required case group. */ pendingCaseOwnerUpdate?: IPendingCaseOwnerUpdate | null; /** Drives the case-edit validation banner when mandatory group selection is invalid. */ showMandatoryCaseGroupValidationError?: boolean; } export interface IPendingCaseOwnerUpdate { contactId: string; contactSSOName: string; phoneCaseUpdate?: { phone?: string; phoneCountryCode?: string; phoneAreaCodePrefixLineNumber?: string; } | null; } export interface IGraphQLCasePayload { ContactId?: string; EntitlementId?: string; Language?: string; Type?: string; Priority?: string; Subject?: string; Description?: string; ImpactOnUserOrBusiness__c?: string; EnvironmentInWhichItOccurs__c?: string; FrequencyOfIssueOccurrence__c?: string; SuppliedPhone?: string; ProductId?: string; Origin?: string; RecordTypeId?: string; AlternateCaseId__c?: string; OpenshiftClusterID__c?: string; OpenshiftClusterVersion__c?: string; Group__c?: string; X24x7__c?: boolean; X24x7ContactInformation__c?: string; AdditionalCaseInformation__c?: string; AccessRestrictions__c?: string; } export interface ICreateCasePayloadType extends ICaseState { } export type ICaseActionType = IAction; export type CaseReducerDispatchType = Dispatch; export declare const ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = "https://access.redhat.com/articles/5967811"; export declare const NON_ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = "https://access.redhat.com/articles/5967831"; export declare const LANGUAGE_MAP: Record; export declare const excludedCaseTypesforARH: string[]; export declare const appSourceId_ARH = "PCM-001"; //# sourceMappingURL=CaseConstNTypes.d.ts.map