'use strict';
import { authErrorMessages } from '../../../fd-toolbox/constants/auth-error-messages.js';
import { toolboxErrorMessages } from '../../../fd-toolbox/constants/toolbox-error-messages-constants.js';
import { metaValidationMessages } from '../server/constants/meta-validation-messages.js';
import { odataErrors } from '../../../fd-toolbox/odata/odata-constants.js';
import { apiErrorMessages } from '../../../fd-toolbox/constants/api-error-constants.js';
import { childProcessEvents } from '../../../fd-toolbox/constants/child-process-events.js';
import { pushStatuses } from '../../../base-repo/constants/push-statuses.js';
import { transactionCantBeCreated } from '../../../base-repo/app-constants/internal-system-constants.js';

const metaErrorMessages={'resourceRequiresRelation':'Resource\x20requires\x20relation\x20property.\x20Resource\x20{0}\x20related\x20to\x20resource\x20{1}\x20requires\x20relation\x20property\x20{2}','crudActionIsNotSupported':'Crud\x20action\x20{0}\x20is\x20not\x20supported\x20by\x20resource\x20{1}','expandPropertyDoesNotExist':'{0}\x20expand\x20property\x20does\x20not\x20exist\x20on\x20{1}\x20resource','mirrorManyToManyResourcesAreSame':'Mirror\x20Many\x20To\x20Many\x20resource\x20references\x20same\x20resource','missingResourcePermissionException':'Missing\x20permission\x20for\x20resource:\x20{0},\x20user\x20id:\x20{1}.\x20Crud\x20action:\x20{2}.','missingPropertyPermissionException':'Missing\x20permission\x20for\x20property:\x20{0},\x20user\x20id:\x20{1}.\x20Crud\x20action:\x20{2}.','missingTypeForResource':'Couldn\x27t\x20find\x20Type\x20for\x20resource\x20{0}','expandPropertyNotFound':'Expand\x20property\x20not\x20found','noPermissionForCrudAction':'No\x20permission\x20to\x20perform\x20{0}\x20with\x20resource\x20{1}','relationNotFound':'Relation\x20property\x20with\x20name:\x20{0}\x20not\x20found','roleNotFound':'Role\x20with\x20name\x20{0}\x20not\x20found','noRolesForUser':'User\x20with\x20id\x20{0}\x20have\x20no\x20roles','databaseInsertionConflictFound':'Insertion\x20object\x20with\x20id\x20{0}\x20into\x20table\x20{1}\x20cannot\x20be\x20done\x20due\x20to\x20conflict.','missingFeatureCodeOrUserId':'Missing\x20featureCode\x20or\x20userId','resourceNotCreated':'Resource\x20not\x20created.','noUserIdProvided':'CrudService:\x20No\x20user\x20id\x20provided\x20for\x20{0}','featureNotFound':'Feature\x20with\x20code\x20{0}\x20not\x20found','noPermissionForUserAction':'No\x20permission\x20to\x20{0}\x20user','userNotFound':authErrorMessages['userNotFound'],'onlyAdminsAreAllowedToEditAdmins':'Only\x20admins\x20are\x20allowed\x20to\x20edit\x20admins.','missingUserId':'Missing\x20Id.\x20Please\x20provide\x20the\x20Id\x20of\x20the\x20user\x20you\x20want\x20to\x20edit.','tokenNotFound':authErrorMessages['tokenNotFound'],'invalidToken':authErrorMessages['invalidToken'],'featureCodeMissing':'Please\x20add\x20feature\x20code\x20{0}\x20inside\x20getAllFeatureCodes','manyToManyInfoNotDefined':'ManyToManyInfo\x20is\x20not\x20defined.','manyToManyInternalPropertyNotDefined':'ManyToMany\x20property\x20configurations\x20are\x20not\x20defined.','unknownHandlerType':'Unknown\x20handler\x20type:\x20{0}','resourceCannotBeOrderedByNavigationProperty':'Resource\x20{0}\x20cannot\x20be\x20ordered\x20by\x20navigation\x20property','unsupportedType':toolboxErrorMessages['odataUnsupportedType'],'propertyRelationSyncInfoNotFound':'PropertyRelationSyncInfo\x20with\x20{0}\x20not\x20found.','consoleErrorMessageType':childProcessEvents['error'],'invalidValue':metaValidationMessages['invalidValue'],'invalid':metaValidationMessages['invalidUserFriendly'],'resourceBodyNotFound':'{0}\x20properties\x20must\x20not\x20be\x20empty.','transactionCantBeCreated':transactionCantBeCreated,'internalResourceMetaNotFound':'Internal\x20resource\x20meta\x20for\x20{0}\x20key\x20not\x20found','fileNotFound':'file\x20{0}\x20is\x20not\x20found','fileIsNotProvided':'file\x20is\x20not\x20provided','resourceNameNotConverted':'Resource\x20name\x20\x27{0}\x27\x20could\x20not\x20be\x20converted\x20to\x20resourceId','propertyMetaRelationNotFound':'Meta\x20relation\x20for\x20property\x20{0}\x20not\x20found','propertyManyToManyMetaRelationNotFound':'Many\x20to\x20Many\x20meta\x20relation\x20for\x20property\x20{0}\x20not\x20found','resourceMetaIdNotConverted':'Resource\x20meta\x20id\x20\x27{0}\x27\x20could\x20not\x20be\x20converted\x20to\x20resource\x20name','valueIsNull':odataErrors['valueIsNull'],'valueIsNegative':odataErrors['valueIsNegative'],'errorAddingProduct':'It\x20seems\x20you\x27ve\x20reached\x20the\x20product\x20limit\x20for\x20your\x20subscription\x20plan.\x20Want\x20more\x20options?\x20Consider\x20upgrading\x20your\x20plan!','invalidInput':'Invalid\x20input:\x20input\x20cannot\x20be\x20undefined\x20or\x20null.','messageServicePublishError':'Error\x20in\x20message\x20service','messageConsumerError':'Error\x20in\x20consumer\x20{0}','invalidResponseFromApi':apiErrorMessages['invalidResponseFromApi'],'consoleErrorMessage':pushStatuses['Error'],'exportItemsTypeError':'Error\x20occurred\x20while\x20exporting\x20items','invalidPlaidEnvironment':'Invalid\x20Plaid\x20environment','resetPasswordError':'Error\x20occurred\x20while\x20resetting\x20password','resourceIsNull':'Cannot\x20set\x20default\x20property\x20values:\x20resource\x20is\x20null\x20or\x20undefined\x20for\x20resource\x20type\x20{0}','resourceIsNotObject':'Cannot\x20set\x20default\x20property\x20values:\x20resource\x20is\x20not\x20an\x20object\x20(type:\x20{0})\x20for\x20resource\x20type\x20{1}','propertyResourceIsNull':'Cannot\x20set\x20default\x20property\x20value:\x20resource\x20is\x20null\x20or\x20undefined\x20for\x20property\x20{0}','propertyResourceIsNotObject':'Cannot\x20set\x20default\x20property\x20value:\x20resource\x20is\x20not\x20an\x20object\x20(type:\x20{0})\x20for\x20property\x20{1}','unsupportedFileType':'Unsupported\x20file\x20type.\x20Allowed\x20types:\x20{0}','noFileContent':'No\x20file\x20content','unsupportedResourceName':'Unsupported\x20resource\x20name:\x20{0}','leadGroupNotFound':'Lead\x20group\x20not\x20found','failedToProcessGooglePlace':'Failed\x20to\x20process\x20Google\x20Place:\x20{0}','failedToUpdateWebsiteScanResult':'Failed\x20to\x20update\x20website\x20scan\x20result\x20for\x20{0}','failedToAssociateLeadWithGroup':'Failed\x20to\x20associate\x20lead\x20with\x20group\x20for\x20{0}','failedToCreateLeadFromGooglePlace':'Failed\x20to\x20create\x20lead\x20from\x20Google\x20Place:\x20{0}','failedToSaveGooglePlacesToGroup':'Failed\x20to\x20save\x20Google\x20Places\x20to\x20group','hookWithoutProvider':'Hook\x20{0}\x20must\x20be\x20used\x20within\x20the\x20{1}','genericErrorMessage':'An\x20error\x20has\x20occurred.\x20Please\x20try\x20later\x20or\x20contact\x20technical\x20support','fileCouldNotBeSaved':'File\x20could\x20not\x20be\x20saved.','typeMismatch':'The\x20received\x20type\x20does\x20not\x20match\x20the\x20expected\x20one','valueIsNotObjectWithId':'Value\x20is\x20not\x20an\x20object\x20with\x20id','importFunctionNotFound':'No\x20import\x20function\x20found\x20for\x20path:\x20{0}','missingQueryParamId':'Query\x20parameter\x20\x27id\x27\x20is\x20not\x20set.','themeProviderError':'useTheme\x20must\x20be\x20used\x20within\x20a\x20ThemeProvider','missingAuthParam':'Missing\x20required\x20authentication\x20parameters','missingResourceMetaAndName':'UiResourceMeta\x20and\x20resourceName\x20are\x20not\x20found','missingResources':'Resources\x20are\x20not\x20found','resourceNameThemeProviderError':'useResourceNameContext\x20must\x20be\x20used\x20within\x20a\x20ResourceNameContextProvider','completeSetup':'Account\x20setup\x20is\x20incomplete.\x20You\x20have\x20been\x20redirected\x20to\x20complete\x20the\x20process.','sidebarResourceNamesUsedOutside':'useSidebarResources\x20must\x20be\x20used\x20within\x20a\x20SidebarResourcesProvider','globalContextUsedOutside':'useGlobalConfig\x20must\x20be\x20used\x20within\x20a\x20GlobalContextProvider','authProviderUsedOutside':'useAuth\x20must\x20be\x20used\x20within\x20a\x20AuthProvider','missingHookUrlInRequest':'hookUrl\x20is\x20not\x20found\x20in\x20request\x20body','unexpectedHookUrlType':'hookUrl\x20has\x20unexpected\x20type','resourceNotDefined':'Resource\x20is\x20not\x20defined','requestBodyEmpty':'Request\x20body\x20is\x20empty','unexpectedPermissionError':'Unexpected\x20permission\x20error\x20occured','noElementFound':'Expected\x20at\x20least\x20one\x20element,\x20but\x20found\x20none.','resourceNameNotSet':'resourceName\x20is\x20not\x20set'};

export { metaErrorMessages };
