import "./index-DfebxkL9.js";
import { i as instance } from "./vendor-i18n-wisIXUFi.js";
import { o as objectType, s as stringType, b as booleanType } from "./types-espwwxTQ.js";
const validateSchemeBrandingCommon = objectType({
  CompanyName: stringType().min(1, {
    message: instance.t("validation.typeCompanyName")
  }).max(64, {
    message: instance.t("validation.maxLengthSymbolsWithCount.symbols", {
      count: 64
    })
  }),
  MainLogoUrl: stringType().min(1, {
    message: instance.t("validation.chooseLogo")
  }),
  BrandColor: stringType().length(7, {
    message: instance.t("validation.brandColorHEXFormat")
  }).regex(/^#/, {
    message: instance.t("validation.brandColorHEXFormat")
  })
});
const validateSchemeProductNotification = objectType({
  UpdateId: stringType().min(1, {
    message: instance.t("validation.enterUpdateId")
  }),
  Version: stringType().min(1, {
    message: instance.t("validation.enterVersion")
  }),
  ReleaseDate: stringType().min(1, {
    message: instance.t("validation.enterReleaseDate")
  }),
  UpdateDate: stringType().min(1, {
    message: instance.t("validation.enterUpdateDate")
  }),
  ImageUrl: stringType().min(1, {
    message: instance.t("validation.enterImageUrl")
  }),
  Topic: stringType().min(1, {
    message: instance.t("validation.enterTitle")
  }).max(64, {
    message: instance.t("validation.maxLengthSymbolsWithCount.symbols", {
      count: 64
    })
  }),
  Text: stringType().min(1, {
    message: instance.t("validation.enterTextMessage")
  }).max(256, {
    message: instance.t("validation.maxLengthSymbolsWithCount.symbols", {
      count: 256
    })
  }),
  UpdateUrl: stringType().min(1, {
    message: instance.t("validation.enterUpdateUrl")
  }),
  IsEnabled: booleanType()
});
export {
  validateSchemeProductNotification as a,
  validateSchemeBrandingCommon as v
};
//# sourceMappingURL=validate-DKrglko6.js.map
