/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.stackConnectors_bundle_jsonpfunction=window.stackConnectors_bundle_jsonpfunction||[]).push([[21,48],{51:function(e,n,t){"use strict";t.r(n),t.d(n,"API_URL_LABEL",(function(){return a})),t.d(n,"ORG_ID_LABEL",(function(){return i})),t.d(n,"API_KEY_ID_LABEL",(function(){return r})),t.d(n,"API_KEY_SECRET_LABEL",(function(){return o})),t.d(n,"NAME_REQUIRED",(function(){return c})),t.d(n,"INCIDENT_TYPES_API_ERROR",(function(){return l})),t.d(n,"SEVERITY_API_ERROR",(function(){return d}));var s=t(0);const a=s.i18n.translate("xpack.stackConnectors.components.resilient.apiUrlTextFieldLabel",{defaultMessage:"URL"}),i=s.i18n.translate("xpack.stackConnectors.components.resilient.orgId",{defaultMessage:"Organization ID"}),r=s.i18n.translate("xpack.stackConnectors.components.resilient.apiKeyId",{defaultMessage:"API Key ID"}),o=s.i18n.translate("xpack.stackConnectors.components.resilient.apiKeySecret",{defaultMessage:"API Key Secret"}),c=s.i18n.translate("xpack.stackConnectors.components.resilient.requiredNameTextField",{defaultMessage:"Name is required."}),l=s.i18n.translate("xpack.stackConnectors.components.resilient.unableToGetIncidentTypesMessage",{defaultMessage:"Unable to get incident types"}),d=s.i18n.translate("xpack.stackConnectors.components.resilient.unableToGetSeverityMessage",{defaultMessage:"Unable to get severity"})},88:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return c})),t(1);var s=t(2),a=t(51),i=t(9);const r=[{id:"apiUrl",label:a.API_URL_LABEL,isUrlField:!0},{id:"orgId",label:a.ORG_ID_LABEL}],o=[{id:"apiKeyId",label:a.API_KEY_ID_LABEL},{id:"apiKeySecret",label:a.API_KEY_SECRET_LABEL,isPasswordField:!0}],c=({readOnly:e,isEdit:n})=>Object(i.jsx)(s.SimpleConnectorForm,{isEdit:n,readOnly:e,configFormSchema:r,secretsFormSchema:o})}}]);