mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	Merge branch 'develop' into chore/load-reply-message
This commit is contained in:
		
							
								
								
									
										36
									
								
								app/javascript/dashboard/api/captain/customTools.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								app/javascript/dashboard/api/captain/customTools.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | |||||||
|  | /* global axios */ | ||||||
|  | import ApiClient from '../ApiClient'; | ||||||
|  |  | ||||||
|  | class CaptainCustomTools extends ApiClient { | ||||||
|  |   constructor() { | ||||||
|  |     super('captain/custom_tools', { accountScoped: true }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   get({ page = 1, searchKey } = {}) { | ||||||
|  |     return axios.get(this.url, { | ||||||
|  |       params: { page, searchKey }, | ||||||
|  |     }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   show(id) { | ||||||
|  |     return axios.get(`${this.url}/${id}`); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   create(data = {}) { | ||||||
|  |     return axios.post(this.url, { | ||||||
|  |       custom_tool: data, | ||||||
|  |     }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   update(id, data = {}) { | ||||||
|  |     return axios.put(`${this.url}/${id}`, { | ||||||
|  |       custom_tool: data, | ||||||
|  |     }); | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   delete(id) { | ||||||
|  |     return axios.delete(`${this.url}/${id}`); | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
|  | export default new CaptainCustomTools(); | ||||||
| @@ -10,6 +10,10 @@ const props = defineProps({ | |||||||
|     type: String, |     type: String, | ||||||
|     required: true, |     required: true, | ||||||
|   }, |   }, | ||||||
|  |   translationKey: { | ||||||
|  |     type: String, | ||||||
|  |     required: true, | ||||||
|  |   }, | ||||||
|   entity: { |   entity: { | ||||||
|     type: Object, |     type: Object, | ||||||
|     required: true, |     required: true, | ||||||
| @@ -25,7 +29,9 @@ const emit = defineEmits(['deleteSuccess']); | |||||||
| const { t } = useI18n(); | const { t } = useI18n(); | ||||||
| const store = useStore(); | const store = useStore(); | ||||||
| const deleteDialogRef = ref(null); | const deleteDialogRef = ref(null); | ||||||
| const i18nKey = computed(() => props.type.toUpperCase()); | const i18nKey = computed(() => { | ||||||
|  |   return props.translationKey || props.type.toUpperCase(); | ||||||
|  | }); | ||||||
|  |  | ||||||
| const deleteEntity = async payload => { | const deleteEntity = async payload => { | ||||||
|   if (!payload) return; |   if (!payload) return; | ||||||
|   | |||||||
| @@ -0,0 +1,73 @@ | |||||||
|  | <script setup> | ||||||
|  | import { defineModel, watch } from 'vue'; | ||||||
|  | import { useI18n } from 'vue-i18n'; | ||||||
|  | import Input from 'dashboard/components-next/input/Input.vue'; | ||||||
|  |  | ||||||
|  | const props = defineProps({ | ||||||
|  |   authType: { | ||||||
|  |     type: String, | ||||||
|  |     required: true, | ||||||
|  |     validator: value => ['none', 'bearer', 'basic', 'api_key'].includes(value), | ||||||
|  |   }, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const { t } = useI18n(); | ||||||
|  |  | ||||||
|  | const authConfig = defineModel('authConfig', { | ||||||
|  |   type: Object, | ||||||
|  |   default: () => ({}), | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | watch( | ||||||
|  |   () => props.authType, | ||||||
|  |   () => { | ||||||
|  |     authConfig.value = {}; | ||||||
|  |   } | ||||||
|  | ); | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <div class="flex flex-col gap-2"> | ||||||
|  |     <Input | ||||||
|  |       v-if="authType === 'bearer'" | ||||||
|  |       v-model="authConfig.token" | ||||||
|  |       :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.BEARER_TOKEN')" | ||||||
|  |       :placeholder=" | ||||||
|  |         t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.BEARER_TOKEN_PLACEHOLDER') | ||||||
|  |       " | ||||||
|  |     /> | ||||||
|  |     <template v-else-if="authType === 'basic'"> | ||||||
|  |       <Input | ||||||
|  |         v-model="authConfig.username" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.USERNAME')" | ||||||
|  |         :placeholder=" | ||||||
|  |           t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.USERNAME_PLACEHOLDER') | ||||||
|  |         " | ||||||
|  |       /> | ||||||
|  |       <Input | ||||||
|  |         v-model="authConfig.password" | ||||||
|  |         type="password" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.PASSWORD')" | ||||||
|  |         :placeholder=" | ||||||
|  |           t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.PASSWORD_PLACEHOLDER') | ||||||
|  |         " | ||||||
|  |       /> | ||||||
|  |     </template> | ||||||
|  |     <template v-else-if="authType === 'api_key'"> | ||||||
|  |       <Input | ||||||
|  |         v-model="authConfig.name" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.API_KEY')" | ||||||
|  |         :placeholder=" | ||||||
|  |           t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.API_KEY_PLACEHOLDER') | ||||||
|  |         " | ||||||
|  |       /> | ||||||
|  |       <Input | ||||||
|  |         v-model="authConfig.key" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.API_VALUE')" | ||||||
|  |         :placeholder=" | ||||||
|  |           t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_CONFIG.API_VALUE_PLACEHOLDER') | ||||||
|  |         " | ||||||
|  |       /> | ||||||
|  |     </template> | ||||||
|  |   </div> | ||||||
|  | </template> | ||||||
| @@ -0,0 +1,87 @@ | |||||||
|  | <script setup> | ||||||
|  | import { ref, computed } from 'vue'; | ||||||
|  | import { useStore } from 'dashboard/composables/store'; | ||||||
|  | import { useAlert } from 'dashboard/composables'; | ||||||
|  | import { useI18n } from 'vue-i18n'; | ||||||
|  | import { parseAPIErrorResponse } from 'dashboard/store/utils/api'; | ||||||
|  |  | ||||||
|  | import Dialog from 'dashboard/components-next/dialog/Dialog.vue'; | ||||||
|  | import CustomToolForm from './CustomToolForm.vue'; | ||||||
|  |  | ||||||
|  | const props = defineProps({ | ||||||
|  |   selectedTool: { | ||||||
|  |     type: Object, | ||||||
|  |     default: () => ({}), | ||||||
|  |   }, | ||||||
|  |   type: { | ||||||
|  |     type: String, | ||||||
|  |     default: 'create', | ||||||
|  |     validator: value => ['create', 'edit'].includes(value), | ||||||
|  |   }, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const emit = defineEmits(['close']); | ||||||
|  | const { t } = useI18n(); | ||||||
|  | const store = useStore(); | ||||||
|  |  | ||||||
|  | const dialogRef = ref(null); | ||||||
|  |  | ||||||
|  | const updateTool = toolDetails => | ||||||
|  |   store.dispatch('captainCustomTools/update', { | ||||||
|  |     id: props.selectedTool.id, | ||||||
|  |     ...toolDetails, | ||||||
|  |   }); | ||||||
|  |  | ||||||
|  | const i18nKey = computed( | ||||||
|  |   () => `CAPTAIN.CUSTOM_TOOLS.${props.type.toUpperCase()}` | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | const createTool = toolDetails => | ||||||
|  |   store.dispatch('captainCustomTools/create', toolDetails); | ||||||
|  |  | ||||||
|  | const handleSubmit = async updatedTool => { | ||||||
|  |   try { | ||||||
|  |     if (props.type === 'edit') { | ||||||
|  |       await updateTool(updatedTool); | ||||||
|  |     } else { | ||||||
|  |       await createTool(updatedTool); | ||||||
|  |     } | ||||||
|  |     useAlert(t(`${i18nKey.value}.SUCCESS_MESSAGE`)); | ||||||
|  |     dialogRef.value.close(); | ||||||
|  |   } catch (error) { | ||||||
|  |     const errorMessage = | ||||||
|  |       parseAPIErrorResponse(error) || t(`${i18nKey.value}.ERROR_MESSAGE`); | ||||||
|  |     useAlert(errorMessage); | ||||||
|  |   } | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const handleClose = () => { | ||||||
|  |   emit('close'); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const handleCancel = () => { | ||||||
|  |   dialogRef.value.close(); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | defineExpose({ dialogRef }); | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <Dialog | ||||||
|  |     ref="dialogRef" | ||||||
|  |     width="2xl" | ||||||
|  |     :title="$t(`${i18nKey}.TITLE`)" | ||||||
|  |     :description="$t('CAPTAIN.CUSTOM_TOOLS.FORM_DESCRIPTION')" | ||||||
|  |     :show-cancel-button="false" | ||||||
|  |     :show-confirm-button="false" | ||||||
|  |     @close="handleClose" | ||||||
|  |   > | ||||||
|  |     <CustomToolForm | ||||||
|  |       :mode="type" | ||||||
|  |       :tool="selectedTool" | ||||||
|  |       @submit="handleSubmit" | ||||||
|  |       @cancel="handleCancel" | ||||||
|  |     /> | ||||||
|  |     <template #footer /> | ||||||
|  |   </Dialog> | ||||||
|  | </template> | ||||||
| @@ -0,0 +1,125 @@ | |||||||
|  | <script setup> | ||||||
|  | import { computed } from 'vue'; | ||||||
|  | import { useToggle } from '@vueuse/core'; | ||||||
|  | import { useI18n } from 'vue-i18n'; | ||||||
|  | import { dynamicTime } from 'shared/helpers/timeHelper'; | ||||||
|  |  | ||||||
|  | import CardLayout from 'dashboard/components-next/CardLayout.vue'; | ||||||
|  | import DropdownMenu from 'dashboard/components-next/dropdown-menu/DropdownMenu.vue'; | ||||||
|  | import Button from 'dashboard/components-next/button/Button.vue'; | ||||||
|  | import Policy from 'dashboard/components/policy.vue'; | ||||||
|  |  | ||||||
|  | const props = defineProps({ | ||||||
|  |   id: { | ||||||
|  |     type: Number, | ||||||
|  |     required: true, | ||||||
|  |   }, | ||||||
|  |   title: { | ||||||
|  |     type: String, | ||||||
|  |     required: true, | ||||||
|  |   }, | ||||||
|  |   description: { | ||||||
|  |     type: String, | ||||||
|  |     default: '', | ||||||
|  |   }, | ||||||
|  |   authType: { | ||||||
|  |     type: String, | ||||||
|  |     default: 'none', | ||||||
|  |   }, | ||||||
|  |   updatedAt: { | ||||||
|  |     type: Number, | ||||||
|  |     required: true, | ||||||
|  |   }, | ||||||
|  |   createdAt: { | ||||||
|  |     type: Number, | ||||||
|  |     required: true, | ||||||
|  |   }, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const emit = defineEmits(['action']); | ||||||
|  |  | ||||||
|  | const { t } = useI18n(); | ||||||
|  |  | ||||||
|  | const [showActionsDropdown, toggleDropdown] = useToggle(); | ||||||
|  |  | ||||||
|  | const menuItems = computed(() => [ | ||||||
|  |   { | ||||||
|  |     label: t('CAPTAIN.CUSTOM_TOOLS.OPTIONS.EDIT_TOOL'), | ||||||
|  |     value: 'edit', | ||||||
|  |     action: 'edit', | ||||||
|  |     icon: 'i-lucide-pencil-line', | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     label: t('CAPTAIN.CUSTOM_TOOLS.OPTIONS.DELETE_TOOL'), | ||||||
|  |     value: 'delete', | ||||||
|  |     action: 'delete', | ||||||
|  |     icon: 'i-lucide-trash', | ||||||
|  |   }, | ||||||
|  | ]); | ||||||
|  |  | ||||||
|  | const timestamp = computed(() => | ||||||
|  |   dynamicTime(props.updatedAt || props.createdAt) | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | const handleAction = ({ action, value }) => { | ||||||
|  |   toggleDropdown(false); | ||||||
|  |   emit('action', { action, value, id: props.id }); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const authTypeLabel = computed(() => { | ||||||
|  |   return t( | ||||||
|  |     `CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPES.${props.authType.toUpperCase()}` | ||||||
|  |   ); | ||||||
|  | }); | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <CardLayout class="relative"> | ||||||
|  |     <div class="flex relative justify-between w-full gap-1"> | ||||||
|  |       <span class="text-base text-n-slate-12 line-clamp-1 font-medium"> | ||||||
|  |         {{ title }} | ||||||
|  |       </span> | ||||||
|  |       <div class="flex items-center gap-2"> | ||||||
|  |         <Policy | ||||||
|  |           v-on-clickaway="() => toggleDropdown(false)" | ||||||
|  |           :permissions="['administrator']" | ||||||
|  |           class="relative flex items-center group" | ||||||
|  |         > | ||||||
|  |           <Button | ||||||
|  |             icon="i-lucide-ellipsis-vertical" | ||||||
|  |             color="slate" | ||||||
|  |             size="xs" | ||||||
|  |             class="rounded-md group-hover:bg-n-alpha-2" | ||||||
|  |             @click="toggleDropdown()" | ||||||
|  |           /> | ||||||
|  |           <DropdownMenu | ||||||
|  |             v-if="showActionsDropdown" | ||||||
|  |             :menu-items="menuItems" | ||||||
|  |             class="mt-1 ltr:right-0 rtl:right-0 top-full" | ||||||
|  |             @action="handleAction($event)" | ||||||
|  |           /> | ||||||
|  |         </Policy> | ||||||
|  |       </div> | ||||||
|  |     </div> | ||||||
|  |     <div class="flex items-center justify-between w-full gap-4"> | ||||||
|  |       <div class="flex items-center gap-3 flex-1"> | ||||||
|  |         <span | ||||||
|  |           v-if="description" | ||||||
|  |           class="text-sm truncate text-n-slate-11 flex-1" | ||||||
|  |         > | ||||||
|  |           {{ description }} | ||||||
|  |         </span> | ||||||
|  |         <span | ||||||
|  |           v-if="authType !== 'none'" | ||||||
|  |           class="text-sm shrink-0 text-n-slate-11 inline-flex items-center gap-1" | ||||||
|  |         > | ||||||
|  |           <i class="i-lucide-lock text-base" /> | ||||||
|  |           {{ authTypeLabel }} | ||||||
|  |         </span> | ||||||
|  |       </div> | ||||||
|  |       <span class="text-sm text-n-slate-11 line-clamp-1 shrink-0"> | ||||||
|  |         {{ timestamp }} | ||||||
|  |       </span> | ||||||
|  |     </div> | ||||||
|  |   </CardLayout> | ||||||
|  | </template> | ||||||
| @@ -0,0 +1,271 @@ | |||||||
|  | <script setup> | ||||||
|  | import { reactive, computed, useTemplateRef, watch } from 'vue'; | ||||||
|  | import { useI18n } from 'vue-i18n'; | ||||||
|  | import { useVuelidate } from '@vuelidate/core'; | ||||||
|  | import { required } from '@vuelidate/validators'; | ||||||
|  | import { useMapGetter } from 'dashboard/composables/store'; | ||||||
|  |  | ||||||
|  | import Input from 'dashboard/components-next/input/Input.vue'; | ||||||
|  | import TextArea from 'dashboard/components-next/textarea/TextArea.vue'; | ||||||
|  | import Button from 'dashboard/components-next/button/Button.vue'; | ||||||
|  | import ComboBox from 'dashboard/components-next/combobox/ComboBox.vue'; | ||||||
|  | import ParamRow from './ParamRow.vue'; | ||||||
|  | import AuthConfig from './AuthConfig.vue'; | ||||||
|  |  | ||||||
|  | const props = defineProps({ | ||||||
|  |   mode: { | ||||||
|  |     type: String, | ||||||
|  |     default: 'create', | ||||||
|  |     validator: value => ['create', 'edit'].includes(value), | ||||||
|  |   }, | ||||||
|  |   tool: { | ||||||
|  |     type: Object, | ||||||
|  |     default: () => ({}), | ||||||
|  |   }, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const emit = defineEmits(['submit', 'cancel']); | ||||||
|  |  | ||||||
|  | const { t } = useI18n(); | ||||||
|  |  | ||||||
|  | const formState = { | ||||||
|  |   uiFlags: useMapGetter('captainCustomTools/getUIFlags'), | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const initialState = { | ||||||
|  |   title: '', | ||||||
|  |   description: '', | ||||||
|  |   endpoint_url: '', | ||||||
|  |   http_method: 'GET', | ||||||
|  |   request_template: '', | ||||||
|  |   response_template: '', | ||||||
|  |   auth_type: 'none', | ||||||
|  |   auth_config: {}, | ||||||
|  |   param_schema: [], | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const state = reactive({ ...initialState }); | ||||||
|  |  | ||||||
|  | // Populate form when in edit mode | ||||||
|  | watch( | ||||||
|  |   () => props.tool, | ||||||
|  |   newTool => { | ||||||
|  |     if (props.mode === 'edit' && newTool && newTool.id) { | ||||||
|  |       state.title = newTool.title || ''; | ||||||
|  |       state.description = newTool.description || ''; | ||||||
|  |       state.endpoint_url = newTool.endpoint_url || ''; | ||||||
|  |       state.http_method = newTool.http_method || 'GET'; | ||||||
|  |       state.request_template = newTool.request_template || ''; | ||||||
|  |       state.response_template = newTool.response_template || ''; | ||||||
|  |       state.auth_type = newTool.auth_type || 'none'; | ||||||
|  |       state.auth_config = newTool.auth_config || {}; | ||||||
|  |       state.param_schema = newTool.param_schema || []; | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   { immediate: true } | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | const DEFAULT_PARAM = { | ||||||
|  |   name: '', | ||||||
|  |   type: 'string', | ||||||
|  |   description: '', | ||||||
|  |   required: false, | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const validationRules = { | ||||||
|  |   title: { required }, | ||||||
|  |   endpoint_url: { required }, | ||||||
|  |   http_method: { required }, | ||||||
|  |   auth_type: { required }, | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const httpMethodOptions = computed(() => [ | ||||||
|  |   { value: 'GET', label: 'GET' }, | ||||||
|  |   { value: 'POST', label: 'POST' }, | ||||||
|  | ]); | ||||||
|  |  | ||||||
|  | const authTypeOptions = computed(() => [ | ||||||
|  |   { value: 'none', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPES.NONE') }, | ||||||
|  |   { value: 'bearer', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPES.BEARER') }, | ||||||
|  |   { value: 'basic', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPES.BASIC') }, | ||||||
|  |   { | ||||||
|  |     value: 'api_key', | ||||||
|  |     label: t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPES.API_KEY'), | ||||||
|  |   }, | ||||||
|  | ]); | ||||||
|  |  | ||||||
|  | const v$ = useVuelidate(validationRules, state); | ||||||
|  |  | ||||||
|  | const isLoading = computed(() => | ||||||
|  |   props.mode === 'edit' | ||||||
|  |     ? formState.uiFlags.value.updatingItem | ||||||
|  |     : formState.uiFlags.value.creatingItem | ||||||
|  | ); | ||||||
|  |  | ||||||
|  | const getErrorMessage = (field, errorKey) => { | ||||||
|  |   return v$.value[field].$error | ||||||
|  |     ? t(`CAPTAIN.CUSTOM_TOOLS.FORM.${errorKey}.ERROR`) | ||||||
|  |     : ''; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const formErrors = computed(() => ({ | ||||||
|  |   title: getErrorMessage('title', 'TITLE'), | ||||||
|  |   endpoint_url: getErrorMessage('endpoint_url', 'ENDPOINT_URL'), | ||||||
|  | })); | ||||||
|  |  | ||||||
|  | const paramsRef = useTemplateRef('paramsRef'); | ||||||
|  |  | ||||||
|  | const isParamsValid = () => { | ||||||
|  |   if (!paramsRef.value || paramsRef.value.length === 0) { | ||||||
|  |     return true; | ||||||
|  |   } | ||||||
|  |   return paramsRef.value.every(param => param.validate()); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const removeParam = index => { | ||||||
|  |   state.param_schema.splice(index, 1); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const addParam = () => { | ||||||
|  |   state.param_schema.push({ ...DEFAULT_PARAM }); | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | const handleCancel = () => emit('cancel'); | ||||||
|  |  | ||||||
|  | const handleSubmit = async () => { | ||||||
|  |   const isFormValid = await v$.value.$validate(); | ||||||
|  |   if (!isFormValid || !isParamsValid()) { | ||||||
|  |     return; | ||||||
|  |   } | ||||||
|  |  | ||||||
|  |   emit('submit', state); | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <form | ||||||
|  |     class="flex flex-col px-4 -mx-4 gap-4 max-h-[calc(100vh-200px)] overflow-y-scroll" | ||||||
|  |     @submit.prevent="handleSubmit" | ||||||
|  |   > | ||||||
|  |     <Input | ||||||
|  |       v-model="state.title" | ||||||
|  |       :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.TITLE.LABEL')" | ||||||
|  |       :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.TITLE.PLACEHOLDER')" | ||||||
|  |       :message="formErrors.title" | ||||||
|  |       :message-type="formErrors.title ? 'error' : 'info'" | ||||||
|  |     /> | ||||||
|  |  | ||||||
|  |     <TextArea | ||||||
|  |       v-model="state.description" | ||||||
|  |       :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.DESCRIPTION.LABEL')" | ||||||
|  |       :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.DESCRIPTION.PLACEHOLDER')" | ||||||
|  |       :rows="2" | ||||||
|  |     /> | ||||||
|  |  | ||||||
|  |     <div class="flex gap-2"> | ||||||
|  |       <div class="flex flex-col gap-1 w-28"> | ||||||
|  |         <label class="mb-0.5 text-sm font-medium text-n-slate-12"> | ||||||
|  |           {{ t('CAPTAIN.CUSTOM_TOOLS.FORM.HTTP_METHOD.LABEL') }} | ||||||
|  |         </label> | ||||||
|  |         <ComboBox | ||||||
|  |           v-model="state.http_method" | ||||||
|  |           :options="httpMethodOptions" | ||||||
|  |           class="[&>div>button]:bg-n-alpha-black2 [&_li]:font-mono [&_button]:font-mono [&>div>button]:outline-offset-[-1px]" | ||||||
|  |         /> | ||||||
|  |       </div> | ||||||
|  |       <Input | ||||||
|  |         v-model="state.endpoint_url" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.ENDPOINT_URL.LABEL')" | ||||||
|  |         :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.ENDPOINT_URL.PLACEHOLDER')" | ||||||
|  |         :message="formErrors.endpoint_url" | ||||||
|  |         :message-type="formErrors.endpoint_url ? 'error' : 'info'" | ||||||
|  |         class="flex-1" | ||||||
|  |       /> | ||||||
|  |     </div> | ||||||
|  |  | ||||||
|  |     <div class="flex flex-col gap-1"> | ||||||
|  |       <label class="mb-0.5 text-sm font-medium text-n-slate-12"> | ||||||
|  |         {{ t('CAPTAIN.CUSTOM_TOOLS.FORM.AUTH_TYPE.LABEL') }} | ||||||
|  |       </label> | ||||||
|  |       <ComboBox | ||||||
|  |         v-model="state.auth_type" | ||||||
|  |         :options="authTypeOptions" | ||||||
|  |         class="[&>div>button]:bg-n-alpha-black2" | ||||||
|  |       /> | ||||||
|  |     </div> | ||||||
|  |  | ||||||
|  |     <AuthConfig | ||||||
|  |       v-model:auth-config="state.auth_config" | ||||||
|  |       :auth-type="state.auth_type" | ||||||
|  |     /> | ||||||
|  |  | ||||||
|  |     <div class="flex flex-col gap-2"> | ||||||
|  |       <label class="text-sm font-medium text-n-slate-12"> | ||||||
|  |         {{ t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAMETERS.LABEL') }} | ||||||
|  |       </label> | ||||||
|  |       <p class="text-xs text-n-slate-11 -mt-1"> | ||||||
|  |         {{ t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAMETERS.HELP_TEXT') }} | ||||||
|  |       </p> | ||||||
|  |       <ul v-if="state.param_schema.length > 0" class="grid gap-2 list-none"> | ||||||
|  |         <ParamRow | ||||||
|  |           v-for="(param, index) in state.param_schema" | ||||||
|  |           :key="index" | ||||||
|  |           ref="paramsRef" | ||||||
|  |           v-model:name="param.name" | ||||||
|  |           v-model:type="param.type" | ||||||
|  |           v-model:description="param.description" | ||||||
|  |           v-model:required="param.required" | ||||||
|  |           @remove="removeParam(index)" | ||||||
|  |         /> | ||||||
|  |       </ul> | ||||||
|  |       <Button | ||||||
|  |         type="button" | ||||||
|  |         sm | ||||||
|  |         ghost | ||||||
|  |         blue | ||||||
|  |         icon="i-lucide-plus" | ||||||
|  |         :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.ADD_PARAMETER')" | ||||||
|  |         @click="addParam" | ||||||
|  |       /> | ||||||
|  |     </div> | ||||||
|  |  | ||||||
|  |     <TextArea | ||||||
|  |       v-if="state.http_method === 'POST'" | ||||||
|  |       v-model="state.request_template" | ||||||
|  |       :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.REQUEST_TEMPLATE.LABEL')" | ||||||
|  |       :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.REQUEST_TEMPLATE.PLACEHOLDER')" | ||||||
|  |       :rows="4" | ||||||
|  |       class="[&_textarea]:font-mono" | ||||||
|  |     /> | ||||||
|  |  | ||||||
|  |     <TextArea | ||||||
|  |       v-model="state.response_template" | ||||||
|  |       :label="t('CAPTAIN.CUSTOM_TOOLS.FORM.RESPONSE_TEMPLATE.LABEL')" | ||||||
|  |       :placeholder=" | ||||||
|  |         t('CAPTAIN.CUSTOM_TOOLS.FORM.RESPONSE_TEMPLATE.PLACEHOLDER') | ||||||
|  |       " | ||||||
|  |       :rows="4" | ||||||
|  |       class="[&_textarea]:font-mono" | ||||||
|  |     /> | ||||||
|  |  | ||||||
|  |     <div class="flex gap-3 justify-between items-center w-full"> | ||||||
|  |       <Button | ||||||
|  |         type="button" | ||||||
|  |         variant="faded" | ||||||
|  |         color="slate" | ||||||
|  |         :label="t('CAPTAIN.FORM.CANCEL')" | ||||||
|  |         class="w-full bg-n-alpha-2 text-n-blue-text hover:bg-n-alpha-3" | ||||||
|  |         @click="handleCancel" | ||||||
|  |       /> | ||||||
|  |       <Button | ||||||
|  |         type="submit" | ||||||
|  |         :label=" | ||||||
|  |           t(mode === 'edit' ? 'CAPTAIN.FORM.EDIT' : 'CAPTAIN.FORM.CREATE') | ||||||
|  |         " | ||||||
|  |         class="w-full" | ||||||
|  |         :is-loading="isLoading" | ||||||
|  |         :disabled="isLoading" | ||||||
|  |       /> | ||||||
|  |     </div> | ||||||
|  |   </form> | ||||||
|  | </template> | ||||||
| @@ -0,0 +1,113 @@ | |||||||
|  | <script setup> | ||||||
|  | import { computed, defineModel, ref, watch } from 'vue'; | ||||||
|  | import { useI18n } from 'vue-i18n'; | ||||||
|  | import Button from 'dashboard/components-next/button/Button.vue'; | ||||||
|  | import Input from 'dashboard/components-next/input/Input.vue'; | ||||||
|  | import ComboBox from 'dashboard/components-next/combobox/ComboBox.vue'; | ||||||
|  | import Checkbox from 'dashboard/components-next/checkbox/Checkbox.vue'; | ||||||
|  |  | ||||||
|  | const emit = defineEmits(['remove']); | ||||||
|  | const { t } = useI18n(); | ||||||
|  | const showErrors = ref(false); | ||||||
|  |  | ||||||
|  | const name = defineModel('name', { | ||||||
|  |   type: String, | ||||||
|  |   required: true, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const type = defineModel('type', { | ||||||
|  |   type: String, | ||||||
|  |   required: true, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const description = defineModel('description', { | ||||||
|  |   type: String, | ||||||
|  |   default: '', | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const required = defineModel('required', { | ||||||
|  |   type: Boolean, | ||||||
|  |   default: false, | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const paramTypeOptions = computed(() => [ | ||||||
|  |   { value: 'string', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPES.STRING') }, | ||||||
|  |   { value: 'number', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPES.NUMBER') }, | ||||||
|  |   { | ||||||
|  |     value: 'boolean', | ||||||
|  |     label: t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPES.BOOLEAN'), | ||||||
|  |   }, | ||||||
|  |   { value: 'array', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPES.ARRAY') }, | ||||||
|  |   { value: 'object', label: t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPES.OBJECT') }, | ||||||
|  | ]); | ||||||
|  |  | ||||||
|  | const validationError = computed(() => { | ||||||
|  |   if (!name.value || name.value.trim() === '') { | ||||||
|  |     return 'PARAM_NAME_REQUIRED'; | ||||||
|  |   } | ||||||
|  |   return null; | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | watch([name, type, description, required], () => { | ||||||
|  |   showErrors.value = false; | ||||||
|  | }); | ||||||
|  |  | ||||||
|  | const validate = () => { | ||||||
|  |   showErrors.value = true; | ||||||
|  |   return !validationError.value; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | defineExpose({ validate }); | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <li class="list-none"> | ||||||
|  |     <div | ||||||
|  |       class="flex items-start gap-2 p-3 rounded-lg border border-n-weak bg-n-alpha-2" | ||||||
|  |       :class="{ | ||||||
|  |         'animate-wiggle border-n-ruby-9': showErrors && validationError, | ||||||
|  |       }" | ||||||
|  |     > | ||||||
|  |       <div class="flex flex-col flex-1 gap-3"> | ||||||
|  |         <div class="grid grid-cols-3 gap-2"> | ||||||
|  |           <Input | ||||||
|  |             v-model="name" | ||||||
|  |             :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_NAME.PLACEHOLDER')" | ||||||
|  |             class="col-span-2" | ||||||
|  |           /> | ||||||
|  |           <ComboBox | ||||||
|  |             v-model="type" | ||||||
|  |             :options="paramTypeOptions" | ||||||
|  |             :placeholder="t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_TYPE.PLACEHOLDER')" | ||||||
|  |             class="[&>div>button]:bg-n-alpha-black2" | ||||||
|  |           /> | ||||||
|  |         </div> | ||||||
|  |         <Input | ||||||
|  |           v-model="description" | ||||||
|  |           :placeholder=" | ||||||
|  |             t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_DESCRIPTION.PLACEHOLDER') | ||||||
|  |           " | ||||||
|  |         /> | ||||||
|  |         <label class="flex items-center gap-2 cursor-pointer"> | ||||||
|  |           <Checkbox v-model="required" /> | ||||||
|  |           <span class="text-sm text-n-slate-11"> | ||||||
|  |             {{ t('CAPTAIN.CUSTOM_TOOLS.FORM.PARAM_REQUIRED.LABEL') }} | ||||||
|  |           </span> | ||||||
|  |         </label> | ||||||
|  |       </div> | ||||||
|  |       <Button | ||||||
|  |         solid | ||||||
|  |         slate | ||||||
|  |         icon="i-lucide-trash" | ||||||
|  |         class="flex-shrink-0" | ||||||
|  |         @click.stop="emit('remove')" | ||||||
|  |       /> | ||||||
|  |     </div> | ||||||
|  |     <span | ||||||
|  |       v-if="showErrors && validationError" | ||||||
|  |       class="block mt-1 text-sm text-n-ruby-11" | ||||||
|  |     > | ||||||
|  |       {{ t(`CAPTAIN.CUSTOM_TOOLS.FORM.ERRORS.${validationError}`) }} | ||||||
|  |     </span> | ||||||
|  |   </li> | ||||||
|  | </template> | ||||||
| @@ -0,0 +1,29 @@ | |||||||
|  | <script setup> | ||||||
|  | import EmptyStateLayout from 'dashboard/components-next/EmptyStateLayout.vue'; | ||||||
|  | import Button from 'dashboard/components-next/button/Button.vue'; | ||||||
|  |  | ||||||
|  | const emit = defineEmits(['click']); | ||||||
|  |  | ||||||
|  | const onClick = () => { | ||||||
|  |   emit('click'); | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  |  | ||||||
|  | <template> | ||||||
|  |   <EmptyStateLayout | ||||||
|  |     :title="$t('CAPTAIN.CUSTOM_TOOLS.EMPTY_STATE.TITLE')" | ||||||
|  |     :subtitle="$t('CAPTAIN.CUSTOM_TOOLS.EMPTY_STATE.SUBTITLE')" | ||||||
|  |     :action-perms="['administrator']" | ||||||
|  |   > | ||||||
|  |     <template #empty-state-item> | ||||||
|  |       <div class="min-h-[600px]" /> | ||||||
|  |     </template> | ||||||
|  |     <template #actions> | ||||||
|  |       <Button | ||||||
|  |         :label="$t('CAPTAIN.CUSTOM_TOOLS.ADD_NEW')" | ||||||
|  |         icon="i-lucide-plus" | ||||||
|  |         @click="onClick" | ||||||
|  |       /> | ||||||
|  |     </template> | ||||||
|  |   </EmptyStateLayout> | ||||||
|  | </template> | ||||||
| @@ -232,6 +232,11 @@ const menuItems = computed(() => { | |||||||
|           label: t('SIDEBAR.CAPTAIN_RESPONSES'), |           label: t('SIDEBAR.CAPTAIN_RESPONSES'), | ||||||
|           to: accountScopedRoute('captain_responses_index'), |           to: accountScopedRoute('captain_responses_index'), | ||||||
|         }, |         }, | ||||||
|  |         { | ||||||
|  |           name: 'Tools', | ||||||
|  |           label: t('SIDEBAR.CAPTAIN_TOOLS'), | ||||||
|  |           to: accountScopedRoute('captain_tools_index'), | ||||||
|  |         }, | ||||||
|       ], |       ], | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -49,6 +49,5 @@ export const PREMIUM_FEATURES = [ | |||||||
|   FEATURE_FLAGS.CUSTOM_ROLES, |   FEATURE_FLAGS.CUSTOM_ROLES, | ||||||
|   FEATURE_FLAGS.AUDIT_LOGS, |   FEATURE_FLAGS.AUDIT_LOGS, | ||||||
|   FEATURE_FLAGS.HELP_CENTER, |   FEATURE_FLAGS.HELP_CENTER, | ||||||
|   FEATURE_FLAGS.CAPTAIN_V2, |  | ||||||
|   FEATURE_FLAGS.SAML, |   FEATURE_FLAGS.SAML, | ||||||
| ]; | ]; | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "نعم، احذف", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "الوصف", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "لا شيء", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "مفتاح API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "كلمة المرور", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "النوع" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "العدد", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "مطلوب" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "الرئيسية", |     "HOME": "الرئيسية", | ||||||
|     "AGENTS": "وكيل الدعم", |     "AGENTS": "وكيل الدعم", | ||||||
|     "AGENT_BOTS": "الروبوتات", |     "AGENT_BOTS": "الروبوتات", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Описание", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Тип" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Агенти", |     "AGENTS": "Агенти", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Sí, esborra", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Descripció", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Ningú", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Contrasenya", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tipus" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Número", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Necessari" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Inici", |     "HOME": "Inici", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Nic", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Heslo", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Domů", |     "HOME": "Domů", | ||||||
|     "AGENTS": "Agenti", |     "AGENTS": "Agenti", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Beskrivelse", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Ingen", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Nøgle" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Adgangskode", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Nummer", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Påkrævet" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Hjem", |     "HOME": "Hjem", | ||||||
|     "AGENTS": "Agenter", |     "AGENTS": "Agenter", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Ja, löschen", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Beschreibung", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Keine", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API-Schlüssel" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Passwort", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Typ" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Nummer", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Benötigt" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Hauptseite", |     "HOME": "Hauptseite", | ||||||
|     "AGENTS": "Agenten", |     "AGENTS": "Agenten", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Περιγραφή", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Κανένα", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "Κλειδί API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Κωδικός", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Τύπος" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Αριθμός", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Υποχρεωτικό" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Αρχική", |     "HOME": "Αρχική", | ||||||
|     "AGENTS": "Πράκτορες", |     "AGENTS": "Πράκτορες", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -750,6 +750,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Sí, eliminar", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Descripción", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Ninguna", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "Clave de API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Contraseña", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tipo" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Número", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Requerido" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "Preguntas frecuentes", |       "HEADER": "Preguntas frecuentes", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Asistentes", |     "CAPTAIN_ASSISTANTS": "Asistentes", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documentos", |     "CAPTAIN_DOCUMENTS": "Documentos", | ||||||
|     "CAPTAIN_RESPONSES": "Preguntas frecuentes", |     "CAPTAIN_RESPONSES": "Preguntas frecuentes", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Inicio", |     "HOME": "Inicio", | ||||||
|     "AGENTS": "Agentes", |     "AGENTS": "Agentes", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "بله، حذف شود", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "توضیحات", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "هیچکدام", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "رمز عبور", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "نوع" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "شماره", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "ضروری" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "صفحه اصلی", |     "HOME": "صفحه اصلی", | ||||||
|     "AGENTS": "ایجنت ها", |     "AGENTS": "ایجنت ها", | ||||||
|     "AGENT_BOTS": "رباتها", |     "AGENT_BOTS": "رباتها", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Kuvaus", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Salasana", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Koti", |     "HOME": "Koti", | ||||||
|     "AGENTS": "Edustajat", |     "AGENTS": "Edustajat", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Outils", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Oui, supprimer", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Aucun", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "Clé de l'API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Mot de passe", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Nombre", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Obligatoire" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Outils", | ||||||
|     "HOME": "Accueil", |     "HOME": "Accueil", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "תיאור", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "כלום", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "מפתח API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "סיסמה", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "סוג" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "מספר", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "נדרש" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "בית", |     "HOME": "בית", | ||||||
|     "AGENTS": "סוכנים", |     "AGENTS": "סוכנים", | ||||||
|     "AGENT_BOTS": "בוטים", |     "AGENT_BOTS": "בוטים", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Da, izbriši", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Broj", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agenti", |     "AGENTS": "Agenti", | ||||||
|     "AGENT_BOTS": "Botovi", |     "AGENT_BOTS": "Botovi", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Igen, törlés", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Leírás", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Nincs", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API kulcs" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Jelszó", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Típus" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Szám", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Kötelező" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Nyitólap", |     "HOME": "Nyitólap", | ||||||
|     "AGENTS": "Ügynökök", |     "AGENTS": "Ügynökök", | ||||||
|     "AGENT_BOTS": "Botok", |     "AGENT_BOTS": "Botok", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Ya, hapus", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Deskripsi", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Tidak ada", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Kata Sandi", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tipe" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Nomor", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Diperlukan" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Beranda", |     "HOME": "Beranda", | ||||||
|     "AGENTS": "Agen", |     "AGENTS": "Agen", | ||||||
|     "AGENT_BOTS": "Bot Agen", |     "AGENT_BOTS": "Bot Agen", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Enginn", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Lykill" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Lykilorð", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Nauðsynlegt" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Þjónustufulltrúar", |     "AGENTS": "Þjónustufulltrúar", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -7,6 +7,6 @@ | |||||||
|     }, |     }, | ||||||
|     "CLOSE": "Chiudi", |     "CLOSE": "Chiudi", | ||||||
|     "BETA": "Beta", |     "BETA": "Beta", | ||||||
|     "BETA_DESCRIPTION": "This feature is in beta and may change as we improve it." |     "BETA_DESCRIPTION": "Questa funzione è in beta e può cambiare mentre la miglioriamo." | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Descrizione", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Nessuno", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "Chiave API" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tipo" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Numero", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Obbligatorio" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agenti", |     "AGENTS": "Agenti", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "承認済み", |           "APPROVED": "承認済み", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "はい、削除します", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "説明", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "なし", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "APIキー" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "パスワード", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "タイプ" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "数値", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "必須" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQ", |       "HEADER": "FAQ", | ||||||
|       "ADD_NEW": "新しいFAQを作成", |       "ADD_NEW": "新しいFAQを作成", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "アシスタント", |     "CAPTAIN_ASSISTANTS": "アシスタント", | ||||||
|     "CAPTAIN_DOCUMENTS": "ドキュメント", |     "CAPTAIN_DOCUMENTS": "ドキュメント", | ||||||
|     "CAPTAIN_RESPONSES": "FAQ", |     "CAPTAIN_RESPONSES": "FAQ", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "ホーム", |     "HOME": "ホーム", | ||||||
|     "AGENTS": "担当者", |     "AGENTS": "担当者", | ||||||
|     "AGENT_BOTS": "ボット", |     "AGENT_BOTS": "ボット", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Agents", |     "AGENTS": "Agents", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "내용", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "없음", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "비밀번호", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "숫자", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "홈", |     "HOME": "홈", | ||||||
|     "AGENTS": "에이전트", |     "AGENTS": "에이전트", | ||||||
|     "AGENT_BOTS": "봇", |     "AGENT_BOTS": "봇", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Taip, Trinti", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Aprašymas", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Nėra", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API raktas" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Slaptažodis", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tipas" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Numeris", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Reikalingas" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Pagrindinis", |     "HOME": "Pagrindinis", | ||||||
|     "AGENTS": "Agentai", |     "AGENTS": "Agentai", | ||||||
|     "AGENT_BOTS": "Botai", |     "AGENT_BOTS": "Botai", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Apstiprināts", |           "APPROVED": "Apstiprināts", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Jā, dzēst", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Apraksts", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "Nav", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API atslēga" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Parole", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Tips" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Numurs", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Nepieciešams" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "Bieži uzdotie jautājumi", |       "HEADER": "Bieži uzdotie jautājumi", | ||||||
|       "ADD_NEW": "Izveidot jaunu sarakstu ar bieži uzdotiem jautājumiem", |       "ADD_NEW": "Izveidot jaunu sarakstu ar bieži uzdotiem jautājumiem", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Asistenti", |     "CAPTAIN_ASSISTANTS": "Asistenti", | ||||||
|     "CAPTAIN_DOCUMENTS": "Dokumenti", |     "CAPTAIN_DOCUMENTS": "Dokumenti", | ||||||
|     "CAPTAIN_RESPONSES": "Bieži uzdotie jautājumi", |     "CAPTAIN_RESPONSES": "Bieži uzdotie jautājumi", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Sākums", |     "HOME": "Sākums", | ||||||
|     "AGENTS": "Aģenti", |     "AGENTS": "Aģenti", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "വിവരണം", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "പാസ്വേഡ്", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "ഹോം", |     "HOME": "ഹോം", | ||||||
|     "AGENTS": "ഏജന്റുമാർ", |     "AGENTS": "ഏജന്റുമാർ", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Nombor", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
| @@ -304,6 +304,7 @@ | |||||||
|     "CAPTAIN_ASSISTANTS": "Assistants", |     "CAPTAIN_ASSISTANTS": "Assistants", | ||||||
|     "CAPTAIN_DOCUMENTS": "Documents", |     "CAPTAIN_DOCUMENTS": "Documents", | ||||||
|     "CAPTAIN_RESPONSES": "FAQs", |     "CAPTAIN_RESPONSES": "FAQs", | ||||||
|  |     "CAPTAIN_TOOLS": "Tools", | ||||||
|     "HOME": "Home", |     "HOME": "Home", | ||||||
|     "AGENTS": "Ejen", |     "AGENTS": "Ejen", | ||||||
|     "AGENT_BOTS": "Bots", |     "AGENT_BOTS": "Bots", | ||||||
|   | |||||||
| @@ -648,14 +648,16 @@ | |||||||
|           "TIER_1K": "1K customers per 24h", |           "TIER_1K": "1K customers per 24h", | ||||||
|           "TIER_10K": "10K customers per 24h", |           "TIER_10K": "10K customers per 24h", | ||||||
|           "TIER_100K": "100K customers per 24h", |           "TIER_100K": "100K customers per 24h", | ||||||
|           "TIER_UNLIMITED": "Unlimited customers per 24h" |           "TIER_UNLIMITED": "Unlimited customers per 24h", | ||||||
|  |           "UNKNOWN": "Rating not available" | ||||||
|         }, |         }, | ||||||
|         "STATUSES": { |         "STATUSES": { | ||||||
|           "APPROVED": "Approved", |           "APPROVED": "Approved", | ||||||
|           "PENDING_REVIEW": "Pending Review", |           "PENDING_REVIEW": "Pending Review", | ||||||
|           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", |           "AVAILABLE_WITHOUT_REVIEW": "Available Without Review", | ||||||
|           "REJECTED": "Rejected", |           "REJECTED": "Rejected", | ||||||
|           "DECLINED": "Declined" |           "DECLINED": "Declined", | ||||||
|  |           "NON_EXISTS": "Non exists" | ||||||
|         }, |         }, | ||||||
|         "MODES": { |         "MODES": { | ||||||
|           "SANDBOX": "Sandbox", |           "SANDBOX": "Sandbox", | ||||||
|   | |||||||
| @@ -752,6 +752,115 @@ | |||||||
|         } |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "CUSTOM_TOOLS": { | ||||||
|  |       "HEADER": "Tools", | ||||||
|  |       "ADD_NEW": "Create a new tool", | ||||||
|  |       "EMPTY_STATE": { | ||||||
|  |         "TITLE": "No custom tools available", | ||||||
|  |         "SUBTITLE": "Create custom tools to connect your assistant with external APIs and services, enabling it to fetch data and perform actions on your behalf.", | ||||||
|  |         "FEATURE_SPOTLIGHT": { | ||||||
|  |           "TITLE": "Custom Tools", | ||||||
|  |           "NOTE": "Custom tools allow your assistant to interact with external APIs and services. Create tools to fetch data, perform actions, or integrate with your existing systems to enhance your assistant's capabilities." | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "FORM_DESCRIPTION": "Configure your custom tool to connect with external APIs", | ||||||
|  |       "OPTIONS": { | ||||||
|  |         "EDIT_TOOL": "Edit tool", | ||||||
|  |         "DELETE_TOOL": "Delete tool" | ||||||
|  |       }, | ||||||
|  |       "CREATE": { | ||||||
|  |         "TITLE": "Create Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool created successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to create custom tool" | ||||||
|  |       }, | ||||||
|  |       "EDIT": { | ||||||
|  |         "TITLE": "Edit Custom Tool", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool updated successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to update custom tool" | ||||||
|  |       }, | ||||||
|  |       "DELETE": { | ||||||
|  |         "TITLE": "Delete Custom Tool", | ||||||
|  |         "DESCRIPTION": "Are you sure you want to delete this custom tool? This action cannot be undone.", | ||||||
|  |         "CONFIRM": "Yes, delete", | ||||||
|  |         "SUCCESS_MESSAGE": "Custom tool deleted successfully", | ||||||
|  |         "ERROR_MESSAGE": "Failed to delete custom tool" | ||||||
|  |       }, | ||||||
|  |       "FORM": { | ||||||
|  |         "TITLE": { | ||||||
|  |           "LABEL": "Tool Name", | ||||||
|  |           "PLACEHOLDER": "Order Lookup", | ||||||
|  |           "ERROR": "Tool name is required" | ||||||
|  |         }, | ||||||
|  |         "DESCRIPTION": { | ||||||
|  |           "LABEL": "Description", | ||||||
|  |           "PLACEHOLDER": "Looks up order details by order ID" | ||||||
|  |         }, | ||||||
|  |         "HTTP_METHOD": { | ||||||
|  |           "LABEL": "Method" | ||||||
|  |         }, | ||||||
|  |         "ENDPOINT_URL": { | ||||||
|  |           "LABEL": "Endpoint URL", | ||||||
|  |           "PLACEHOLDER": "https://api.example.com/orders/{'{{'} order_id {'}}'}", | ||||||
|  |           "ERROR": "Valid URL is required" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPE": { | ||||||
|  |           "LABEL": "Authentication Type" | ||||||
|  |         }, | ||||||
|  |         "AUTH_TYPES": { | ||||||
|  |           "NONE": "None", | ||||||
|  |           "BEARER": "Bearer Token", | ||||||
|  |           "BASIC": "Basic Auth", | ||||||
|  |           "API_KEY": "API Key" | ||||||
|  |         }, | ||||||
|  |         "AUTH_CONFIG": { | ||||||
|  |           "BEARER_TOKEN": "Bearer Token", | ||||||
|  |           "BEARER_TOKEN_PLACEHOLDER": "Enter your bearer token", | ||||||
|  |           "USERNAME": "Username", | ||||||
|  |           "USERNAME_PLACEHOLDER": "Enter username", | ||||||
|  |           "PASSWORD": "Password", | ||||||
|  |           "PASSWORD_PLACEHOLDER": "Enter password", | ||||||
|  |           "API_KEY": "Header Name", | ||||||
|  |           "API_KEY_PLACEHOLDER": "X-API-Key", | ||||||
|  |           "API_VALUE": "Header Value", | ||||||
|  |           "API_VALUE_PLACEHOLDER": "Enter API key value" | ||||||
|  |         }, | ||||||
|  |         "PARAMETERS": { | ||||||
|  |           "LABEL": "Parameters", | ||||||
|  |           "HELP_TEXT": "Define the parameters that will be extracted from user queries" | ||||||
|  |         }, | ||||||
|  |         "ADD_PARAMETER": "Add Parameter", | ||||||
|  |         "PARAM_NAME": { | ||||||
|  |           "PLACEHOLDER": "Parameter name (e.g., order_id)" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPE": { | ||||||
|  |           "PLACEHOLDER": "Type" | ||||||
|  |         }, | ||||||
|  |         "PARAM_TYPES": { | ||||||
|  |           "STRING": "String", | ||||||
|  |           "NUMBER": "Number", | ||||||
|  |           "BOOLEAN": "Boolean", | ||||||
|  |           "ARRAY": "Array", | ||||||
|  |           "OBJECT": "Object" | ||||||
|  |         }, | ||||||
|  |         "PARAM_DESCRIPTION": { | ||||||
|  |           "PLACEHOLDER": "Description of the parameter" | ||||||
|  |         }, | ||||||
|  |         "PARAM_REQUIRED": { | ||||||
|  |           "LABEL": "Required" | ||||||
|  |         }, | ||||||
|  |         "REQUEST_TEMPLATE": { | ||||||
|  |           "LABEL": "Request Body Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "{'{'}\n  \"order_id\": \"{'{{'} order_id {'}}'}\"\n{'}'}" | ||||||
|  |         }, | ||||||
|  |         "RESPONSE_TEMPLATE": { | ||||||
|  |           "LABEL": "Response Template (Optional)", | ||||||
|  |           "PLACEHOLDER": "Order {'{{'} order_id {'}}'} status: {'{{'} status {'}}'}" | ||||||
|  |         }, | ||||||
|  |         "ERRORS": { | ||||||
|  |           "PARAM_NAME_REQUIRED": "Parameter name is required" | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     "RESPONSES": { |     "RESPONSES": { | ||||||
|       "HEADER": "FAQs", |       "HEADER": "FAQs", | ||||||
|       "ADD_NEW": "Create new FAQ", |       "ADD_NEW": "Create new FAQ", | ||||||
|   | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 Sivin Varghese
					Sivin Varghese