From 84f25fbf3e9cde2df060b8c773ee10c4bd0e256a Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Mon, 9 Jun 2025 18:06:13 +0530 Subject: [PATCH 01/37] refactor: make email group dropdown UI consistent with rest of the dropdowns --- .../email-group-autocomplete/create-new.tsx | 1 + .../email-group-autocomplete/index.tsx | 142 +++++++----------- 2 files changed, 59 insertions(+), 84 deletions(-) diff --git a/src/components/email-group-autocomplete/create-new.tsx b/src/components/email-group-autocomplete/create-new.tsx index 2c64da82..4b2f0000 100644 --- a/src/components/email-group-autocomplete/create-new.tsx +++ b/src/components/email-group-autocomplete/create-new.tsx @@ -111,6 +111,7 @@ export const CreateNewEmailGroup = ({ onChange, isOpen, onClose }: CreateNewEmai variant="outlined" onChange={valueUpdate} fullWidth + sx={{mt:2}} /> diff --git a/src/components/email-group-autocomplete/index.tsx b/src/components/email-group-autocomplete/index.tsx index 5e9f287a..1718a8db 100644 --- a/src/components/email-group-autocomplete/index.tsx +++ b/src/components/email-group-autocomplete/index.tsx @@ -1,10 +1,16 @@ -import { Autocomplete, TextField, CircularProgress, Paper, Button } from "@mui/material"; -import { EmailGroupAutoCompleteProps, EmailGroupOption } from "./types"; -import React, { useState, useEffect } from "react"; +import { useState, useEffect } from "react"; +import { + TextField, + MenuItem, + CircularProgress, + Grid +} from "@mui/material"; +import { Plus } from "lucide-react"; +import { CreateNewEmailGroup } from "./create-new"; import { useRequestContext } from "@providers/request-provider"; import { ProblemDetails } from "@lib/network/swagger-client"; import { useNotificationsService } from "@hooks"; -import { CreateNewEmailGroup } from "./create-new"; +import { EmailGroupAutoCompleteProps, EmailGroupOption } from "./types"; export function EmailGroupAutocomplete({ label, @@ -17,115 +23,83 @@ export function EmailGroupAutocomplete({ }: EmailGroupAutoCompleteProps) { const { client } = useRequestContext(); const { notificationsService } = useNotificationsService(); - const [isOpen, setIsOpen] = useState(false); - const [isGroupCreatorOpen, setGroupCreatorOpen] = useState(false); const [options, setOptions] = useState([]); const [isLoading, setIsLoading] = useState(false); - const [isLoaded, setIsLoaded] = useState(false); - const [valueState, setValue] = useState({ - id: -1, - label: "Loading", - }); + const [dialogOpen, setDialogOpen] = useState(false); const requestData = async () => { + setIsLoading(true); let data: EmailGroupOption[] = []; try { const response = await client.api.emailGroupsList(); - data = response.data.map((value) => { - return { - id: value.id as number, - label: value.name, - }; - }); + data = response.data.map((value) => ({ + id: value.id as number, + label: value.name, + })); } catch (e) { const error = e as ProblemDetails; notificationsService.error(`Failed to get options: ${error.detail}`); } finally { setOptions(data); setIsLoading(false); - setIsLoaded(true); } }; - useEffect(() => { - if (isLoaded) { - const matchedOption = options.filter((v) => v.id === value)[0]; - setValue({ - id: value, - label: (matchedOption && matchedOption.label) || "Not selected", - }); - } else { - requestData(); - } - }, [isLoaded]); - - useEffect(() => { - setValue({ - id: value, - label: isLoaded - ? options.filter((v) => v.id === value)[0]?.label || "Not selected" - : "Loading...", - }); - }, [value]); - useEffect(() => { requestData(); }, []); + const handleAddNewGroup = (newGroup: EmailGroupOption) => { + setDialogOpen(false); + requestData(); + onChange(newGroup.id); + }; + return ( <> - setGroupCreatorOpen(false)} - onChange={(value) => { - setValue(value); - setIsLoaded(false); - }} - /> - { - setIsOpen(true); - }} - onClose={() => { - setIsOpen(false); - }} - autoSelect - options={options} - getOptionLabel={(option) => option.label} - loading={isLoading} - value={valueState} - onChange={(_, value) => onChange((value && value.id) || -1)} - PaperComponent={({ children }) => { - return ( - <> - - - {children} - - - ); - }} - renderInput={(params) => ( + + { + if (e.target.value === "__add__") { + setDialogOpen(true); + } else { + onChange(Number(e.target.value)); + } + }} + error={!!error} helperText={helperText} + placeholder={placeholder} + fullWidth + disabled={disabled} InputProps={{ - ...params.InputProps, endAdornment: ( - + <> {isLoading ? : null} - {params.InputProps.endAdornment} - + ), }} - /> - )} + > + {options.map(opt => ( + + {opt.label} + + ))} + + Create new group + + + + + + setDialogOpen(false)} + onChange={handleAddNewGroup} /> ); -} +} \ No newline at end of file From 544eac22c5852b572be51bfee8533261898bb7fb Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:31:42 +0530 Subject: [PATCH 02/37] feat : add module name in actions container --- src/components/module-wrapper/index.styled.tsx | 14 +++++++++++++- src/components/module-wrapper/index.tsx | 7 +++++++ src/utils/general-helper.ts | 11 +++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/components/module-wrapper/index.styled.tsx b/src/components/module-wrapper/index.styled.tsx index 01a3b788..1a6e1985 100644 --- a/src/components/module-wrapper/index.styled.tsx +++ b/src/components/module-wrapper/index.styled.tsx @@ -6,6 +6,18 @@ export const ActionsContainer = styled("div")` align-items: center; `; +export const ModuleNameContainer = styled("div")` + font-weight: 600; + font-size: 1.5rem; + margin-right: 16px; +`; + +export const ActionsRight = styled("div")` + margin-left: auto; + display: flex; + align-items: center; +`; + export const LeftContainer = styled("div")` display: flex; align-items: center; @@ -23,7 +35,7 @@ export const ExtraActionsContainer = styled("div")` `; export const AddButtonContainer = styled("div")` - margin-left: ${({ theme }) => theme.spacing(10)}; + margin-left: ${({ theme }) => theme.spacing(5)}; `; export const ModuleContentContainer = styled("div")` diff --git a/src/components/module-wrapper/index.tsx b/src/components/module-wrapper/index.tsx index 23eea9b3..4bf20f63 100644 --- a/src/components/module-wrapper/index.tsx +++ b/src/components/module-wrapper/index.tsx @@ -2,6 +2,8 @@ import { ModuleContainer } from "@components/module"; import { PropsWithChildren, ReactNode } from "react"; import { ActionsContainer, + ModuleNameContainer, + ActionsRight, AddButtonContainer, CenteredCircularProgress, ExtraActionsContainer, @@ -15,6 +17,7 @@ import { } from "./index.styled"; import { useModuleWrapperContext } from "@providers/module-wrapper-provider"; import { BreadcrumbLink } from "../../types"; +import { getModuleNameFromUrl } from "utils/general-helper"; export interface ModuleWrapperProps extends PropsWithChildren { key?: string; @@ -36,11 +39,14 @@ export const ModuleWrapper = ({ children, }: ModuleWrapperProps) => { const { isBusy } = useModuleWrapperContext(); + const moduleName = getModuleNameFromUrl(); return ( {(leftContainerChildren || extraActionsContainerChildren || addButtonContainerChildren) && ( + {moduleName} + {leftContainerChildren && {leftContainerChildren}} {(extraActionsContainerChildren || addButtonContainerChildren) && ( @@ -52,6 +58,7 @@ export const ModuleWrapper = ({ )} )} + )} diff --git a/src/utils/general-helper.ts b/src/utils/general-helper.ts index 17382675..64018aec 100644 --- a/src/utils/general-helper.ts +++ b/src/utils/general-helper.ts @@ -126,3 +126,14 @@ export const execDeleteWithToast = async ( }, }); }; + +export function getModuleNameFromUrl(): string { + if (typeof window === "undefined") return ""; + const path = window.location.pathname; + const moduleRaw = path.split("/")[1] || ""; + return moduleRaw + .split("-") + .filter(Boolean) + .map(word => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()) + .join(" "); +} \ No newline at end of file From 29fda01d90bab53f525cd6465ebd3b1e26cc9921 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:35:21 +0530 Subject: [PATCH 03/37] refactor : change secondary and background colors in theme palette --- src/providers/theme-provider.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/providers/theme-provider.tsx b/src/providers/theme-provider.tsx index d5dd22d6..27f4d7c2 100644 --- a/src/providers/theme-provider.tsx +++ b/src/providers/theme-provider.tsx @@ -30,7 +30,7 @@ export const themeOptions: ThemeOptions = { dark: "#2854B2", }, secondary: { - main: "#0B111A", + main:"#18181B", light: "#343A42", dark: "#060A10", }, @@ -64,9 +64,9 @@ export const themeOptions: ThemeOptions = { contrastText: "rgba(0, 0, 0, 0.87)", }, background: { - default: "#FBFCFF", - primary: "rgba(56, 120, 255, 0.08)", - primaryHover: "rgba(56, 120, 255, 0.04)", + default: "#f9fafb", + primary: "#ffffff", + primaryHover: "#F4F4F5", }, }, }; From 4c61f7f83052acddcd6f3ad0cfbc71933e946168 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:36:29 +0530 Subject: [PATCH 04/37] refactor : remove text transform of mui buttons globally --- src/providers/theme-provider.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/providers/theme-provider.tsx b/src/providers/theme-provider.tsx index 27f4d7c2..c632735d 100644 --- a/src/providers/theme-provider.tsx +++ b/src/providers/theme-provider.tsx @@ -68,6 +68,15 @@ export const themeOptions: ThemeOptions = { primary: "#ffffff", primaryHover: "#F4F4F5", }, + }, + components: { + MuiButton: { + styleOverrides: { + root: { + textTransform: "none", + }, + }, + }, }, }; From a7dbfd061b1d1c80caa8df465064ed46e9cb100f Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:37:09 +0530 Subject: [PATCH 05/37] refactor : change search bar styling --- src/components/search-bar/index.tsx | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/search-bar/index.tsx b/src/components/search-bar/index.tsx index f3ce02e1..2f3025fe 100644 --- a/src/components/search-bar/index.tsx +++ b/src/components/search-bar/index.tsx @@ -31,16 +31,31 @@ export const SearchBar = ({ size="small" defaultValue={initialValue} InputProps={{ - endAdornment: ( - - - + startAdornment: ( + + + ), }} - label={searchBoxLabel} + placeholder={searchBoxLabel} onChange={handleChange} + sx={theme => ({ + backgroundColor: theme.palette.background.primary, + "& .MuiInputBase-input": { + fontSize: "0.9rem", + padding:2, + "&::placeholder": { + fontSize: "0.9rem", + opacity: 0.6, + }, + }, + "& .MuiOutlinedInput-notchedOutline": { + borderColor: "#E4E4E7", + }, + mr:2 + })} > ); From eed78b46e24cf0741b9fd00aa689f146cbc02f83 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:38:48 +0530 Subject: [PATCH 06/37] feat : add custom filter --- src/components/custom-filter/index.tsx | 224 +++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 src/components/custom-filter/index.tsx diff --git a/src/components/custom-filter/index.tsx b/src/components/custom-filter/index.tsx new file mode 100644 index 00000000..e7cf27e6 --- /dev/null +++ b/src/components/custom-filter/index.tsx @@ -0,0 +1,224 @@ +import { Box, TextField, MenuItem, Button, Chip, Dialog, DialogTitle, DialogContent, DialogActions, Stack, FormLabel,IconButton } from "@mui/material"; +import { GridColDef} from "@mui/x-data-grid"; +import { useEffect, useState } from "react"; +import { X } from "lucide-react"; + +type CustomFilterBarProps = { + columns: GridColDef[]; + whereFilters: Array<{ whereField: string; whereOperator: string; whereFieldValue: string }>; + addFilter: (args: { whereField?: string; whereOperator?: string; whereFieldValue?: string }, removeIdx?: number, editIdx?: number) => void; + removeFilter: (index: number) => void; + filterPanelOpen?: boolean; + setFilterPanelOpen?: (open: boolean) => void; + clearAllFilters: () => void; +}; + +export function CustomFilterBar({ columns, whereFilters, addFilter, removeFilter, filterPanelOpen, setFilterPanelOpen,clearAllFilters } : CustomFilterBarProps) { + const [field, setField] = useState(columns[0]?.field); + const [operator, setOperator] = useState("contains"); + const [value, setValue] = useState(""); + const [editIdx, setEditIdx] = useState(null); + + useEffect(() => { +}, [editIdx]); + + const operatorOptions = [ + { value: "contains", label: "Contains" }, + { value: "equals", label: "Equals" }, + { value: "startsWith", label: "Starts With" }, + { value: "endsWith", label: "Ends With" }, + { value: "isEmpty", label: "Is Empty" }, + { value: "isNotEmpty", label: "Is Not Empty" }, + { value: "not", label: "!=" }, + { value: "after", label: ">" }, + { value: "onOrAfter", label: "≥" }, + { value: "before", label: "<" }, + { value: "onOrBefore", label: "≤" }, + ]; + + const requiresValue = !["isEmpty", "isNotEmpty"].includes(operator); + + const canApply = + field && (requiresValue ? !!value : ["isEmpty", "isNotEmpty"].includes(operator)); + + const handleClose = () => { + setFilterPanelOpen?.(false); + setField(columns[0]?.field); + setOperator("contains"); + setValue(""); + setEditIdx(null); + } + + const onChipClick = (idx: number) => { + const f = whereFilters[idx]; + setField(f.whereField); + setOperator(f.whereOperator); + setValue(f.whereFieldValue); + setEditIdx(idx); + setFilterPanelOpen?.(true); + }; + + const handleAddOrEdit = () => { + addFilter( + { whereField: field, whereOperator: operator, whereFieldValue: value }, + undefined, + editIdx !== null ? editIdx : undefined + ); + setField(columns[0]?.field); + setOperator("contains"); + setValue(""); + setEditIdx(null); + setFilterPanelOpen?.(false); + }; + + return ( + <> + + {whereFilters.map((f, idx) => ( + + {`${f.whereField} ${f.whereOperator} ${f.whereFieldValue}`} } + onClick={() => onChipClick(idx)} + onDelete={() => removeFilter(idx)} + deleteIcon={} + sx={{ ml: 2 }} + color={editIdx === idx ? "primary" : "default"} + variant={editIdx === idx ? "filled" : "outlined"} + /> + ))} + {whereFilters.length > 0 && ( + + )} + + + {editIdx !== null ? "Edit Filter" : "Add Filter"} + theme.palette.grey[500], + }} + size="small" + > + + + + + + + + Field + setField(e.target.value)} + style={{ minWidth: 120 }} + sx={{ + "& .MuiSelect-select": { + padding: 2.5, + minHeight: "unset", + fontSize: "0.95rem" + } + }} + > + {columns.map(col => ( + + {col.headerName} + + ))} + + + + Operator + setOperator(e.target.value)} + style={{ minWidth: 120 }} + sx={{ + "& .MuiSelect-select": { + padding: 2.5, + minHeight: "unset", + fontSize: "0.95rem" + } + }} + > + {operatorOptions.map(op => ( + + {op.label} + + ))} + + + + Value + setValue(e.target.value)} + style={{ minWidth: 180 }} + disabled={operator === "isEmpty" || operator === "isNotEmpty"} + sx={{ + "& .MuiInputBase-input": { + padding: 2.5, + minHeight: "unset", + fontSize: "0.95rem" + } + }} + /> + + + + + + + + + + + + ); +} \ No newline at end of file From 127b2f925a382e0db5832156e76d62de24bc180b Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:42:06 +0530 Subject: [PATCH 07/37] refactor : change existing filter object type fields to implement new filter --- src/types/index.ts | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/src/types/index.ts b/src/types/index.ts index efe0bb61..8bf3453e 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,4 +1,4 @@ -import { GridColumnVisibilityModel } from "@mui/x-data-grid"; +import { GridColumnVisibilityModel,GridFilterModel } from "@mui/x-data-grid"; export interface BreadcrumbLink { linkText: string; @@ -11,23 +11,49 @@ export type DataListSettings = { skipLimit: number; sortColumn: string; sortOrder: string; - whereField: string; - whereFieldValue: string; + whereField?: string; + whereFieldValue?: string; whereOperator?: string; pageNumber: number; columnVisibilityModel: GridColumnVisibilityModel | undefined; + filterModel?: GridFilterModel; + whereFilters?: Array<{ + whereField: string; + whereOperator: string; + whereFieldValue: string; + }>; + columnOrder?: string[]; +}; + +export type GridDataFilterSettings = { + searchTerm: string; + filterLimit: number; + skipLimit: number; + sortColumn: string; + sortOrder: string; + whereFilters?: Array<{ + whereField: string; + whereOperator: string; + whereFieldValue: string; + }>; + pageNumber: number; + columnVisibilityModel: GridColumnVisibilityModel | undefined; + filterModel?: GridFilterModel; }; export interface GridDataFilterState { filterLimit?: number; sortColumn?: string; sortOrder?: string; - whereField?: string; - whereFieldValue?: string; - whereOperator?: string; + whereFilters?: Array<{ + whereField: string; + whereOperator: string; + whereFieldValue: string; + }>; skipLimit?: number; pageNumber?: number; columnVisibilityModel?: GridColumnVisibilityModel | undefined; + columnOrder?: string[]; } export type GridSizeProps = { From 7a899671f030b8e5d8d9555c27649edb9431bf24 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:44:00 +0530 Subject: [PATCH 08/37] feat: add custom columns panel --- package-lock.json | 55 +++++ package.json | 2 + src/components/custom-columns-panel/index.tsx | 201 ++++++++++++++++++ 3 files changed, 258 insertions(+) create mode 100644 src/components/custom-columns-panel/index.tsx diff --git a/package-lock.json b/package-lock.json index 30402250..ea9b6176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,8 @@ "@chakra-ui/popper": "^3.1.0", "@chakra-ui/react-context": "^2.1.0", "@chakra-ui/shared-utils": "^2.0.5", + "@dnd-kit/core": "^6.3.1", + "@dnd-kit/sortable": "^10.0.0", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@hookform/resolvers": "^5.0.1", @@ -648,6 +650,59 @@ "node": ">=14.17.0" } }, + "node_modules/@dnd-kit/accessibility": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz", + "integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/core": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz", + "integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==", + "license": "MIT", + "dependencies": { + "@dnd-kit/accessibility": "^3.1.1", + "@dnd-kit/utilities": "^3.2.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/sortable": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-10.0.0.tgz", + "integrity": "sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==", + "license": "MIT", + "dependencies": { + "@dnd-kit/utilities": "^3.2.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@dnd-kit/core": "^6.3.0", + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/utilities": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz", + "integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, "node_modules/@emotion/babel-plugin": { "version": "11.13.5", "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz", diff --git a/package.json b/package.json index e3604396..c112f92f 100644 --- a/package.json +++ b/package.json @@ -68,6 +68,8 @@ "@chakra-ui/popper": "^3.1.0", "@chakra-ui/react-context": "^2.1.0", "@chakra-ui/shared-utils": "^2.0.5", + "@dnd-kit/core": "^6.3.1", + "@dnd-kit/sortable": "^10.0.0", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@hookform/resolvers": "^5.0.1", diff --git a/src/components/custom-columns-panel/index.tsx b/src/components/custom-columns-panel/index.tsx new file mode 100644 index 00000000..32c0ef61 --- /dev/null +++ b/src/components/custom-columns-panel/index.tsx @@ -0,0 +1,201 @@ +import React from "react"; +import { + DndContext, + closestCenter, + PointerSensor, + useSensor, + useSensors, + DragEndEvent, +} from "@dnd-kit/core"; +import { + arrayMove, + SortableContext, + verticalListSortingStrategy, + useSortable, +} from "@dnd-kit/sortable"; +import { CSS } from "@dnd-kit/utilities"; +import { GridColDef, GridColumnVisibilityModel } from "@mui/x-data-grid"; +import Dialog from "@mui/material/Dialog"; +import DialogTitle from "@mui/material/DialogTitle"; +import DialogContent from "@mui/material/DialogContent"; +import DialogActions from "@mui/material/DialogActions"; +import IconButton from "@mui/material/IconButton"; +import Button from "@mui/material/Button"; +import Box from "@mui/material/Box"; +import Checkbox from "@mui/material/Checkbox"; +import Typography from "@mui/material/Typography"; +import { GripVertical } from "lucide-react"; +import { X } from "lucide-react"; + +type ColumnsPanelProps = { + open?: boolean; + columns: GridColDef[]; + setColumns: (cols: GridColDef[]) => void; + columnVisibilityModel: GridColumnVisibilityModel; + setColumnVisibilityModel: (model: GridColumnVisibilityModel) => void; + onClose? : () => void; + onColumnsReorder?: (cols: GridColDef[]) => void; +}; + +function SortableItem({ + col, + visibilityModel, + setVisibilityModel, +}: { + col: GridColDef; + visibilityModel: GridColumnVisibilityModel; + setVisibilityModel: (model: GridColumnVisibilityModel) => void; +}) { + const { + attributes, + listeners, + setNodeRef, + transform, + transition, + isDragging, + } = useSortable({ id: col.field }); + + return ( + + + + + + + setVisibilityModel({ + ...visibilityModel, + [col.field]: e.target.checked, + }) + } + sx={{ mr: 1 }} + /> + {col.headerName} + + + ); +} + +export const ColumnsPanel: React.FC = ({ + open, + columns, + setColumns, + columnVisibilityModel, + setColumnVisibilityModel, + onClose, + onColumnsReorder +}) => { + const sensors = useSensors(useSensor(PointerSensor)); + + const handleDragEnd = (event: DragEndEvent) => { + const { active, over } = event; + if (!over || active.id === over.id) return; + + const oldIndex = columns.findIndex(col => col.field === active.id); + const newIndex = columns.findIndex(col => col.field === over.id); + + if (oldIndex !== -1 && newIndex !== -1) { + const newCols = arrayMove(columns, oldIndex, newIndex); + if (onColumnsReorder) onColumnsReorder(newCols); + else setColumns(newCols); + } + }; + + const handleShowAll = () => { + const allVisible: GridColumnVisibilityModel = {}; + columns.forEach(col => { + allVisible[col.field] = true; + }); + setColumnVisibilityModel(allVisible); + }; + + + return ( + + + + + + Manage Columns + + + + + + + Select which columns to display and drag to reorder them. + + + + + + + + + + + col.field)} strategy={verticalListSortingStrategy}> + + {columns.map((col) => ( + + ))} + + + + + + + + + ); +}; \ No newline at end of file From 63b6f30347261b27e6201aa3583dddf7ebd0256c Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:45:44 +0530 Subject: [PATCH 09/37] refactor: add needed props to implement custom columns panel in data table --- src/components/data-table/index.tsx | 40 +++++------------------------ 1 file changed, 7 insertions(+), 33 deletions(-) diff --git a/src/components/data-table/index.tsx b/src/components/data-table/index.tsx index aaba4dd0..8f93f926 100644 --- a/src/components/data-table/index.tsx +++ b/src/components/data-table/index.tsx @@ -2,7 +2,6 @@ import { DataGrid, GridColDef, GridColumnVisibilityModel, - GridFilterModel, GridSortModel, } from "@mui/x-data-grid"; import type { GridValidRowModel } from "@mui/x-data-grid/models/gridRows"; @@ -30,6 +29,8 @@ type DataTableProps = { showActionsColumn: boolean; disableEditRoute: boolean; disableViewRoute: boolean; + columnVisibilityModel?: GridColumnVisibilityModel; + onColumnVisibilityModelChange?: (model: GridColumnVisibilityModel) => void; }; export const DataTableGrid = ({ @@ -48,6 +49,8 @@ export const DataTableGrid = ({ showActionsColumn, disableEditRoute, disableViewRoute, + columnVisibilityModel, + onColumnVisibilityModelChange, }: DataTableProps) => { const empty: readonly GridValidRowModel[] = []; @@ -117,34 +120,6 @@ export const DataTableGrid = ({ } }; - const handleFilterChange = (filterModel: GridFilterModel) => { - if (!setFilterState) { - return; - } - - if (filterModel.items.length === 0) { - setFilterState({ - whereField: undefined, - whereFieldValue: undefined, - whereOperator: undefined, - }); - return; - } - - const filterModelItem = filterModel.items[0]; - const column = filterModelItem.field; - const columnValue = filterModelItem.value; - const operator = filterModelItem.operator; - - if (column) { - setFilterState({ - whereFieldValue: columnValue, - whereField: column, - whereOperator: operator, - }); - } - }; - const handleColumnVisibilityModelChange = (newModel: GridColumnVisibilityModel) => { if (setFilterState) { setFilterState({ @@ -154,10 +129,10 @@ export const DataTableGrid = ({ }; const gridFinalizedColumns = showActionsColumn ? columns.concat(actionsColumn) : columns; - return ( (row as any).id)])} columns={gridFinalizedColumns} rows={data ?? empty} loading={!data} @@ -176,9 +151,8 @@ export const DataTableGrid = ({ onPaginationModelChange={handlePaginationModelChange} sortingMode={dataViewMode} onSortModelChange={(newSortModel) => handleSortChange(newSortModel)} - filterMode={dataViewMode} - onFilterModelChange={(newFilterModel) => handleFilterChange(newFilterModel)} - onColumnVisibilityModelChange={(newModel) => handleColumnVisibilityModelChange(newModel)} + columnVisibilityModel={columnVisibilityModel} + onColumnVisibilityModelChange={onColumnVisibilityModelChange ?? handleColumnVisibilityModelChange} initialState={initialState} /> From 31011af6e389630e33b09165acf471d63cf673ee Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:47:08 +0530 Subject: [PATCH 10/37] feat: add needed props, helper methods, implement customer filter and columns panel in data list --- src/components/data-list/index.tsx | 163 ++++++++++++++++++++++++----- 1 file changed, 134 insertions(+), 29 deletions(-) diff --git a/src/components/data-list/index.tsx b/src/components/data-list/index.tsx index 9ecc13cf..f45dd7f2 100644 --- a/src/components/data-list/index.tsx +++ b/src/components/data-list/index.tsx @@ -6,7 +6,7 @@ import { getWhereFilterQuery, totalCountHeaderName, } from "@providers/query-provider"; -import { GridColDef, GridSortDirection, GridValidRowModel } from "@mui/x-data-grid"; +import { GridColDef, GridSortDirection, GridValidRowModel, GridColumnVisibilityModel } from "@mui/x-data-grid"; import { GridInitialStateCommunity } from "@mui/x-data-grid/models/gridStateCommunity"; import { DataListContainer } from "./index.styled"; import { DataTableGrid } from "@components/data-table"; @@ -14,6 +14,8 @@ import useLocalStorage from "use-local-storage"; import { DataListSettings, GridDataFilterState } from "types"; import { useNotificationsService } from "@hooks"; import { useModuleWrapperContext } from "@providers/module-wrapper-provider"; +import { CustomFilterBar } from "@components/custom-filter"; +import { ColumnsPanel } from "@components/custom-columns-panel"; // Define response type for API model data interface ModelDataResponse { @@ -23,6 +25,7 @@ interface ModelDataResponse { type dataListProps = { columns: GridColDef[]; + setColumns?: (cols: GridColDef[]) => void; gridSettingsStorageKey: string; searchText: string; defaultFilterOrderColumn: string; @@ -31,10 +34,15 @@ type dataListProps = { getModelDataList: (mainQuery: string, exportQuery?: string) => Promise; showEditButton?: boolean; showViewButton?: boolean; + filterPanelOpen?: boolean; + setFilterPanelOpen?: (open: boolean) => void; + columnsPanelOpen?: boolean; + setColumnsPanelOpen?: (open: boolean) => void; }; export const DataList = ({ columns, + setColumns, gridSettingsStorageKey, searchText, defaultFilterOrderColumn, @@ -43,6 +51,10 @@ export const DataList = ({ getModelDataList, showEditButton = true, showViewButton = true, + filterPanelOpen, + setFilterPanelOpen, + columnsPanelOpen, + setColumnsPanelOpen, }: dataListProps) => { const { notificationsService } = useNotificationsService(); const { setBusy } = useModuleWrapperContext(); @@ -56,25 +68,34 @@ export const DataList = ({ const [filterState, setFilterState] = useState(); + const [columnVisibilityModel, setColumnVisibilityModel] = useState>( + gridSettings?.columnVisibilityModel ?? {} + ); + const defaultFilterState = { filterLimit: defaultFilterLimit, sortColumn: defaultFilterOrderColumn, sortOrder: defaultFilterOrderDirection, - whereField: "", - whereFieldValue: "", - whereOperator: "", + whereFilters: [], skipLimit: 0, pageNumber: 0, columnVisibilityModel: initialGridState?.columns?.columnVisibilityModel, }; const whereFilterQuery = - filterState && - getWhereFilterQuery( - filterState.whereField || "", - filterState.whereFieldValue || "", - filterState.whereOperator || "" - ); + filterState?.whereFilters?.length + ? filterState.whereFilters + .map(f => + getWhereFilterQuery( + f.whereField || "", + f.whereFieldValue || "", + f.whereOperator || "" + ) + ) + .filter(Boolean) + .join("") + : ""; + const basicFilterQuery = filterState && getBasicFilterQuery( @@ -98,23 +119,28 @@ export const DataList = ({ skipLimit, sortColumn, sortOrder, - whereField, - whereFieldValue, - whereOperator, + whereFilters, pageNumber, columnVisibilityModel, + columnOrder, } = gridSettings; setFilterState({ filterLimit, skipLimit, sortColumn, sortOrder, - whereField, - whereFieldValue, - whereOperator, + whereFilters, pageNumber, columnVisibilityModel, + columnOrder, }); + + if (columnOrder && columnOrder.length > 0) { + setColumns?.(sortColumnsByOrder(columns, columnOrder)); + } else { + setColumns?.(columns); + } + setSearchTerm(searchTerm); } else { setFilterState(defaultFilterState); @@ -152,15 +178,52 @@ export const DataList = ({ skipLimit: filterState.skipLimit || 0, sortColumn: filterState.sortColumn || defaultFilterOrderColumn, sortOrder: filterState.sortOrder || defaultFilterOrderDirection, - whereField: filterState.whereField || "", - whereFieldValue: filterState.whereFieldValue || "", - whereOperator: filterState.whereOperator || "", + whereFilters: filterState.whereFilters || [], pageNumber: filterState.pageNumber || 0, columnVisibilityModel: filterState.columnVisibilityModel || {}, + columnOrder: filterState.columnOrder || [], }); } }; + function sortColumnsByOrder( + columns: GridColDef[], + columnOrder: string[] + ): GridColDef[] { + const ordered = columnOrder + .map(field => columns.find(col => col.field === field)) + .filter(Boolean) as GridColDef[]; + + const missing = columns.filter(col => !columnOrder.includes(col.field)); + return [...ordered, ...missing]; + } + + const updateWhereFilters = ( + newFilter?: { whereField?: string; whereOperator?: string; whereFieldValue?: string }, + removeIndex?: number, + editIdx?: number + ) => { + let updatedFilters = [...(filterState?.whereFilters || [])]; + + if (typeof removeIndex === "number") { + updatedFilters.splice(removeIndex, 1); + } else if ( + typeof editIdx === "number" && + newFilter && + newFilter.whereField && + newFilter.whereOperator + ) { + updatedFilters[editIdx] = newFilter as any; + } else if (newFilter && newFilter.whereField && newFilter.whereOperator) { + updatedFilters.push(newFilter as any); + } + + setFilterState({ + ...filterState, + whereFilters: updatedFilters, + }); + }; + const updateFilterState = (state: GridDataFilterState) => { const updatedFilterState = { ...filterState, @@ -169,6 +232,29 @@ export const DataList = ({ setFilterState(updatedFilterState); }; + const clearAllFilters = () => { + setFilterState({ + ...filterState, + whereFilters: [], + }); + }; + + const handleColumnVisibilityModelChange = (newModel: GridColumnVisibilityModel) => { + setColumnVisibilityModel(newModel); + setFilterState((prev) => ({ + ...(prev ?? {}), + columnVisibilityModel: newModel, + })); + }; + + const handleColumnsReorder = (newColumns: GridColDef[]) => { + setColumns?.(newColumns); + setFilterState((prev) => ({ + ...(prev ?? {}), + columnOrder: newColumns.map(col => col.field), + })); + }; + const getDataListAsync = () => { setBusy(async () => { const result = await getModelDataList( @@ -192,16 +278,14 @@ export const DataList = ({ const gridInitialState = gridSettings && { filter: - gridSettings.whereField && gridSettings.whereFieldValue + gridSettings.whereFilters && gridSettings.whereFilters.length > 0 ? { filterModel: { - items: [ - { - field: gridSettings.whereField, - operator: gridSettings.whereOperator || "eq", - value: gridSettings.whereFieldValue, - }, - ], + items: gridSettings.whereFilters.map(f => ({ + field: f.whereField, + operator: f.whereOperator || "eq", + value: f.whereFieldValue, + })), }, } : undefined, @@ -221,6 +305,25 @@ export const DataList = ({ return filterState && totalRowCount != undefined ? ( + updateWhereFilters(f, undefined, editIdx)} + removeFilter={idx => updateWhereFilters(undefined, idx)} + filterPanelOpen={filterPanelOpen} + setFilterPanelOpen={setFilterPanelOpen} + clearAllFilters={clearAllFilters} + /> + {setColumns &&( + setColumnsPanelOpen?.(false)} + /> + )} ({ dataViewMode="server" setFilterState={updateFilterState} initialState={gridInitialState} - disableColumnFilter={false} + disableColumnFilter={true} disablePagination={false} showActionsColumn={true} disableEditRoute={!showEditButton} disableViewRoute={!showViewButton} - /> + columnVisibilityModel={columnVisibilityModel} + onColumnVisibilityModelChange={handleColumnVisibilityModelChange} + /> ) : null; }; From e36bb4295de7d3488a5e84bf2f1ebb668197c339 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:48:15 +0530 Subject: [PATCH 11/37] refactor: add props to implement filter and columns panel and ui enhancements --- src/features/contacts/index.tsx | 126 +++++++++++++++++++++++--------- 1 file changed, 93 insertions(+), 33 deletions(-) diff --git a/src/features/contacts/index.tsx b/src/features/contacts/index.tsx index 558b577a..8c390d3b 100644 --- a/src/features/contacts/index.tsx +++ b/src/features/contacts/index.tsx @@ -1,4 +1,4 @@ -import { Avatar, Button, ListItemAvatar } from "@mui/material"; +import { Avatar, Button, IconButton, ListItemAvatar } from "@mui/material"; import { ContactDetailsDto, ContactImportDto } from "lib/network/swagger-client"; import { useRequestContext } from "providers/request-provider"; import { ContactHref, ContactNameListItem, ContactNameListItemText } from "./index.styled"; @@ -17,7 +17,7 @@ import { dataListBreadcrumbLinks } from "utils/constants"; import { ModuleWrapper } from "@components/module-wrapper"; import { SearchBar } from "@components/search-bar"; import { Fragment, useRef, useState } from "react"; -import { Plus, Download, Upload } from "lucide-react"; +import { Plus, Download, Upload, Filter, Settings2 } from "lucide-react"; import { GhostLink } from "@components/ghost-link"; import { CsvImport } from "@components/spreadsheet-import"; import { getModelByName } from "lib/network/swagger-models"; @@ -37,6 +37,9 @@ export const Contacts = () => { const [openImport, setOpenImport] = useState(false); const [openExport, setOpenExport] = useState(false); const [importFieldsObject, setImportFieldsObject] = useState(); + const [columnsPanelOpen, setColumnsPanelOpen] = useState(false); + const [filterPanelOpen, setFilterPanelOpen] = useState(false); + const dataExportQuery = useRef(""); const getContactList = async (mainQuery: string, exportQuery?: string) => { @@ -78,17 +81,17 @@ export const Contacts = () => { await client.api.contactsImportCreate(importDtoCollection); }; - const columns: GridColDef[] = [ + const [columns, setColumns] = useState[] >([ { field: "prefix", headerName: "Prefix", - flex: 1, + minWidth:80, type: "string", }, { field: "firstName", headerName: "Name", - flex: 4, + minWidth: 250, type: "string", renderCell: ({ row }) => ( @@ -105,19 +108,19 @@ export const Contacts = () => { { field: "middleName", headerName: "Middle Name", - flex: 2, + minWidth: 120, type: "string", }, { field: "lastName", headerName: "Last Name", - flex: 2, + minWidth: 120, type: "string", }, { field: "birthday", headerName: "Birthday", - flex: 2, + minWidth: 120, type: "date", valueGetter: DateValueGetter, valueFormatter: DateValueFormatter, @@ -125,47 +128,47 @@ export const Contacts = () => { { field: "jobTitle", headerName: "Job Title", - flex: 2, + minWidth: 100, type: "string", }, { field: "companyName", headerName: "Company Name", - flex: 2, + minWidth: 100, type: "string", }, { field: "department", headerName: "Department", - flex: 2, + minWidth: 100, type: "string", }, { field: "email", headerName: "Email", - flex: 3, + minWidth: 150, type: "string", }, { field: "address1", headerName: "Address 1", - flex: 4, + minWidth: 150, }, { field: "address2", headerName: "Address 2", - flex: 4, + minWidth: 150, }, { field: "phone", headerName: "Phone", - flex: 3, + minWidth: 100, type: "string", }, { field: "createdAt", headerName: "Created At", - flex: 2, + minWidth: 100, type: "date", valueGetter: DateValueGetter, valueFormatter: DateValueFormatter, @@ -173,22 +176,63 @@ export const Contacts = () => { { field: "language", headerName: "Language", - flex: 1, + minWidth: 100, type: "string", }, - ]; + ]); - const searchBar = ( - + - ); - - const extraActions = [ + > + , + + setFilterPanelOpen(true)} + color="secondary" + sx={{ + backgroundColor:theme=> theme.palette.background.primary, + border: "1px solid", + borderColor: "#E4E4E7", + borderRadius: theme=>theme.spacing(1) + }} + > + + + , + + + , - {importFieldsObject && ( @@ -202,7 +246,19 @@ export const Contacts = () => { )} , - {openExport && ( @@ -212,15 +268,15 @@ export const Contacts = () => { fileName={"contacts"} > )} - , + , ]; const addButton = ( - @@ -230,12 +286,12 @@ export const Contacts = () => { { sortModel: [{ field: defaultFilterOrderColumn, sort: defaultFilterOrderDirection }], }, }} + filterPanelOpen={filterPanelOpen} + setFilterPanelOpen={setFilterPanelOpen} + columnsPanelOpen={columnsPanelOpen} + setColumnsPanelOpen={setColumnsPanelOpen} > ); From c720d5f153ff059493878f820088d8566d4a6779 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Wed, 18 Jun 2025 23:49:19 +0530 Subject: [PATCH 12/37] fix: make data grid in data list horizontally scrollable --- src/components/data-list/index.styled.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/data-list/index.styled.ts b/src/components/data-list/index.styled.ts index dcc68d2a..a928d6d4 100644 --- a/src/components/data-list/index.styled.ts +++ b/src/components/data-list/index.styled.ts @@ -67,11 +67,9 @@ export const DataListContainer = styled("div")` } .MuiDataGrid-columnHeaders { - width: 100% !important; } .MuiDataGrid-columnHeadersInner { - width: 100% !important; } .MuiDataGrid-footerContainer { From 0a34914d2912b778c50783a3970e88312b3c5eca Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Fri, 20 Jun 2025 15:54:41 +0530 Subject: [PATCH 13/37] fix: display correct error message in login page --- src/features/auth/login/index.tsx | 7 +++++++ src/providers/request-provider.tsx | 1 + 2 files changed, 8 insertions(+) diff --git a/src/features/auth/login/index.tsx b/src/features/auth/login/index.tsx index 9bf90ca1..37a087b4 100644 --- a/src/features/auth/login/index.tsx +++ b/src/features/auth/login/index.tsx @@ -102,7 +102,14 @@ export const Login = () => { setLocalToken(responseJson.token); window.location.replace("/"); } catch (err: any) { + try { + const errorJson = await err.json(); + setLoginError(errorJson?.title || "Login failed. Please try again."); + return; + } catch { setLoginError("Login failed. Please try again."); + return; + } } finally { setLoading(false); } diff --git a/src/providers/request-provider.tsx b/src/providers/request-provider.tsx index 10b4690f..5e983ce0 100644 --- a/src/providers/request-provider.tsx +++ b/src/providers/request-provider.tsx @@ -34,6 +34,7 @@ class ApiExtended extends Api { } throw e; } + throw e; } }; }); From dffac8f515e27fe876b43f55d9a036bf66cbeb0c Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Fri, 20 Jun 2025 16:21:34 +0530 Subject: [PATCH 14/37] refactor: remove module name from left corner --- src/components/module-wrapper/index.styled.tsx | 12 ------------ src/components/module-wrapper/index.tsx | 7 ------- 2 files changed, 19 deletions(-) diff --git a/src/components/module-wrapper/index.styled.tsx b/src/components/module-wrapper/index.styled.tsx index 1a6e1985..e33972b0 100644 --- a/src/components/module-wrapper/index.styled.tsx +++ b/src/components/module-wrapper/index.styled.tsx @@ -6,18 +6,6 @@ export const ActionsContainer = styled("div")` align-items: center; `; -export const ModuleNameContainer = styled("div")` - font-weight: 600; - font-size: 1.5rem; - margin-right: 16px; -`; - -export const ActionsRight = styled("div")` - margin-left: auto; - display: flex; - align-items: center; -`; - export const LeftContainer = styled("div")` display: flex; align-items: center; diff --git a/src/components/module-wrapper/index.tsx b/src/components/module-wrapper/index.tsx index 4bf20f63..23eea9b3 100644 --- a/src/components/module-wrapper/index.tsx +++ b/src/components/module-wrapper/index.tsx @@ -2,8 +2,6 @@ import { ModuleContainer } from "@components/module"; import { PropsWithChildren, ReactNode } from "react"; import { ActionsContainer, - ModuleNameContainer, - ActionsRight, AddButtonContainer, CenteredCircularProgress, ExtraActionsContainer, @@ -17,7 +15,6 @@ import { } from "./index.styled"; import { useModuleWrapperContext } from "@providers/module-wrapper-provider"; import { BreadcrumbLink } from "../../types"; -import { getModuleNameFromUrl } from "utils/general-helper"; export interface ModuleWrapperProps extends PropsWithChildren { key?: string; @@ -39,14 +36,11 @@ export const ModuleWrapper = ({ children, }: ModuleWrapperProps) => { const { isBusy } = useModuleWrapperContext(); - const moduleName = getModuleNameFromUrl(); return ( {(leftContainerChildren || extraActionsContainerChildren || addButtonContainerChildren) && ( - {moduleName} - {leftContainerChildren && {leftContainerChildren}} {(extraActionsContainerChildren || addButtonContainerChildren) && ( @@ -58,7 +52,6 @@ export const ModuleWrapper = ({ )} )} - )} From 3f31bccb7f29f88bc83fafd8ec0a73500dfe712d Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Fri, 20 Jun 2025 16:22:34 +0530 Subject: [PATCH 15/37] refactor: move searchbar to left side of the contacts page --- src/features/contacts/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/features/contacts/index.tsx b/src/features/contacts/index.tsx index 8c390d3b..ac7aa50f 100644 --- a/src/features/contacts/index.tsx +++ b/src/features/contacts/index.tsx @@ -181,14 +181,15 @@ export const Contacts = () => { }, ]); - const extraActions = [ - - - , + ); + + const extraActions = [ setFilterPanelOpen(true)} @@ -287,6 +288,7 @@ export const Contacts = () => { breadcrumbs={dataListBreadcrumbLinks} currentBreadcrumb={contactListPageBreadcrumb} extraActionsContainerChildren={extraActions} + leftContainerChildren={searchBar} addButtonContainerChildren={addButton} > Date: Fri, 20 Jun 2025 16:23:44 +0530 Subject: [PATCH 16/37] refactor: make searchbar wider --- src/components/search-bar/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/search-bar/index.tsx b/src/components/search-bar/index.tsx index 2f3025fe..881d5610 100644 --- a/src/components/search-bar/index.tsx +++ b/src/components/search-bar/index.tsx @@ -42,6 +42,7 @@ export const SearchBar = ({ placeholder={searchBoxLabel} onChange={handleChange} sx={theme => ({ + minWidth: 400, backgroundColor: theme.palette.background.primary, "& .MuiInputBase-input": { fontSize: "0.9rem", From c13bc077772ec0ff2241fe5b463a07106ea9503f Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:10:05 +0530 Subject: [PATCH 17/37] refactor: change theme fonts, color palette and backgrounds --- src/providers/theme-provider.tsx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/providers/theme-provider.tsx b/src/providers/theme-provider.tsx index c632735d..6101ded9 100644 --- a/src/providers/theme-provider.tsx +++ b/src/providers/theme-provider.tsx @@ -19,24 +19,24 @@ export const themeOptions: ThemeOptions = { subtitle2: { fontSize: "12px", fontWeight: 600, - lineHeight: "20px", - color: "rgb(107, 114, 128)", + lineHeight: "16px", + color: "#6B7280", }, }, palette: { primary: { main: "#3878FF", - light: "#6096FF", + light: "#f0f4ff", dark: "#2854B2", }, secondary: { - main:"#18181B", - light: "#343A42", + main: "#0b0b0d", + light: "#f8faff", dark: "#060A10", }, text: { - primary: "#0B0B0D", - secondary: "rgba(11, 11, 13, 0.86)", + primary: "#0b0b0d", + secondary: "#0b0b0ddb", disabled: "rgba(0, 0, 0, 0.38)", }, info: { @@ -64,11 +64,12 @@ export const themeOptions: ThemeOptions = { contrastText: "rgba(0, 0, 0, 0.87)", }, background: { - default: "#f9fafb", - primary: "#ffffff", - primaryHover: "#F4F4F5", - }, + default: "#ffffff", + primary: "#fbfcff", + primaryHover: "#F1F2F4", + secondary: "#FAFCFF", }, + }, components: { MuiButton: { styleOverrides: { From 9cabe66e4bc97f35b76576528895e243b08e22d2 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:13:16 +0530 Subject: [PATCH 18/37] refactor: change sidebar formatting --- src/components/side-bar/index.styled.tsx | 30 ++++++++++------- src/components/side-bar/index.tsx | 42 +++++++++++++++--------- src/utils/menu-config.tsx | 30 ++++++++--------- 3 files changed, 59 insertions(+), 43 deletions(-) diff --git a/src/components/side-bar/index.styled.tsx b/src/components/side-bar/index.styled.tsx index 9b18fefd..231e646b 100644 --- a/src/components/side-bar/index.styled.tsx +++ b/src/components/side-bar/index.styled.tsx @@ -11,15 +11,17 @@ import { export const SidebarTopContainer = styled("div")<{ isMobile?: boolean; isOpen?: boolean; + isCollapsed?: boolean; }>( - ({ theme, isMobile, isOpen }) => ` + ({ theme, isMobile, isOpen, isCollapsed }) => ` display: flex; align-items: center; height: 64px; min-height: 64px; max-height: 64px; - padding-left: 16px; - padding-right: 16px; + padding-left: ${isCollapsed ? "10px" : "16px"}; + padding-right: ${isCollapsed ? "8px" : "16px"}; + width: 100%; border-bottom: 1px solid ${ theme.palette.mode === "dark" ? theme.palette.secondary.light : theme.palette.divider }; @@ -32,7 +34,7 @@ export const SidebarTopContainer = styled("div")<{ } .sidebar-app-name { font-weight: bold; - font-size: 1.25rem; + font-size: 1.125rem; color: ${theme.palette.primary.main}; margin-left: ${isMobile && isOpen ? "40px" : "0"}; transition: margin 0.2s; @@ -66,13 +68,13 @@ export const SidebarStyled = styled(Drawer, { shouldForwardProp: (prop) => prop !== "isCollapsed", })<{ isCollapsed?: boolean }>( ({ theme, isCollapsed }) => ` - width: ${isCollapsed ? "72px" : "260px"}; + width: ${isCollapsed ? "65px" : "260px"}; flex-shrink: 0; display: flex; flex-direction: column; transition: width 0.3s ease; .MuiDrawer-paper { - width: ${isCollapsed ? "72px" : "260px"}; + width: ${isCollapsed ? "65px" : "260px"}; display: flex; flex-direction: column; height: 100vh; @@ -111,17 +113,18 @@ export const ListSubheaderStyled = styled(ListSubheader, { color: ${({ theme }) => theme.typography.subtitle2.color}; font-weight: ${({ theme }) => theme.typography.subtitle2.fontWeight}; display: ${({ isCollapsed }) => (isCollapsed ? "none" : "block")}; - padding-left: 20px; + padding-left: 16px; padding-right: 0px; + padding-bottom: 4px; min-height: 0; - line-height: 2; + line-height: ${({ theme }) => theme.typography.subtitle2.lineHeight}; `; export const SidebarLink = styled(ListItemButton, { shouldForwardProp: (prop) => prop !== "isCollapsed", })<{ isCollapsed?: boolean }>` border-radius: ${({ theme }) => theme.spacing(2)}; - height: ${({ theme }) => theme.spacing(10)}; + height: ${({ theme }) => theme.spacing(9)}; margin-top: ${({ theme }) => theme.spacing(1)}; margin-left: ${({ theme, isCollapsed }) => (isCollapsed ? theme.spacing(1) : "0")}; margin-right: ${({ theme, isCollapsed }) => (isCollapsed ? theme.spacing(1) : "10px")}; @@ -130,12 +133,12 @@ export const SidebarLink = styled(ListItemButton, { justify-content: ${({ isCollapsed }) => (isCollapsed ? "center" : "flex-start")}; padding-left: ${({ theme, isCollapsed }) => (isCollapsed ? "0" : theme.spacing(2))}; :hover { - background-color: ${({ theme: { palette } }) => palette.background.primaryHover}; + background-color: ${({ theme: { palette } }) => palette.secondary.light}; } &.Mui-selected { color: ${({ theme: { palette } }) => palette.primary.main}; - background-color: ${({ theme: { palette } }) => palette.background.primary}; + background-color: ${({ theme: { palette } }) => palette.primary.light}; } ` as typeof ListItemButton; @@ -154,6 +157,9 @@ export const SidebarLinkText = styled(ListItemText, { export const ListItemIconStyled = styled(ListItemIcon)` min-width: ${({ theme }) => theme.spacing(8)}; - color: inherit; + color: ${({ theme }) => theme.typography.subtitle2.color}; margin-left: ${({ theme }) => theme.spacing(3)}; + .Mui-selected & { + color: ${({ theme }) => theme.palette.primary.main}; + } ` as typeof ListItemIcon; diff --git a/src/components/side-bar/index.tsx b/src/components/side-bar/index.tsx index 9acb55fc..61988905 100644 --- a/src/components/side-bar/index.tsx +++ b/src/components/side-bar/index.tsx @@ -7,7 +7,7 @@ import { Tooltip, } from "@mui/material"; import { useEffect, useCallback } from "react"; -import { PanelLeftOpen, Menu } from "lucide-react"; +import { PanelRightOpen, PanelLeftOpen } from "lucide-react"; import { ListItemIconStyled, ListSubheaderStyled, @@ -74,27 +74,37 @@ export const Sidebar = ({ onClose={toggleMobile} isCollapsed={showCollapsed} > - -
- - {!showCollapsed && LeadCMS.ai} -
+ + {!showCollapsed && ( +
+ + LeadCMS.ai +
+ )} + {!isMobile && ( - - {isCollapsed ? : } + + {isCollapsed ? : } )} - + {isLoading ? (
, + icon: , entity: null, route: getCoreModuleRoute(CoreModule.dashboard), }, @@ -36,28 +36,28 @@ export const MENU_CONFIG = [ { id: "content", label: "Content", - icon: , + icon: , entity: "content", route: getCoreModuleRoute(CoreModule.content), }, { id: "comments", label: "Comments", - icon: , + icon: , entity: "comment", route: getCoreModuleRoute(CoreModule.comments), }, { id: "media", label: "Media", - icon: , + icon: , entity: "media", route: getCoreModuleRoute(CoreModule.media), }, { id: "links", label: "Links", - icon: , + icon: , entity: "link", route: getCoreModuleRoute(CoreModule.links), }, @@ -69,28 +69,28 @@ export const MENU_CONFIG = [ { id: "orders", label: "Orders", - icon: , + icon: , entity: "order", route: getCoreModuleRoute(CoreModule.orders), }, { id: "deals", label: "Deals", - icon: , + icon: , entity: "deal", route: getCoreModuleRoute(CoreModule.deals), }, { id: "contacts", label: "Contacts", - icon: , + icon: , entity: "contact", route: getCoreModuleRoute(CoreModule.contacts), }, { id: "accounts", label: "Accounts", - icon: , + icon: , entity: "account", route: getCoreModuleRoute(CoreModule.accounts), }, @@ -102,21 +102,21 @@ export const MENU_CONFIG = [ { id: "emailTemplates", label: "Email templates", - icon: , + icon: , entity: "emailtemplate", route: getCoreModuleRoute(CoreModule.emailTemplates), }, { id: "unsubscribes", label: "Unsubscribes", - icon: , + icon: , entity: "unsubscribe", route: getCoreModuleRoute(CoreModule.unsubscribes), }, { id: "domains", label: "Domains", - icon: , + icon: , entity: "domain", route: getCoreModuleRoute(CoreModule.domains), }, @@ -128,21 +128,21 @@ export const MENU_CONFIG = [ { id: "users", label: "Users", - icon: , + icon: , entity: "user", route: getCoreModuleRoute(CoreModule.users), }, { id: "activityLogs", label: "Activity logs", - icon: , + icon: , entity: "activity-log", route: getCoreModuleRoute(CoreModule.activityLogs), }, { id: "about", label: "About", - icon: , + icon: , entity: null, route: getCoreModuleRoute(CoreModule.about), }, From 927fc924df4715757c4c95e6b9ae3c753278e642 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:14:01 +0530 Subject: [PATCH 19/37] refactor: fix searchbar formatting --- src/components/search-bar/index.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/search-bar/index.tsx b/src/components/search-bar/index.tsx index 881d5610..0237ba92 100644 --- a/src/components/search-bar/index.tsx +++ b/src/components/search-bar/index.tsx @@ -32,30 +32,30 @@ export const SearchBar = ({ defaultValue={initialValue} InputProps={{ startAdornment: ( - - - + + + ), }} placeholder={searchBoxLabel} onChange={handleChange} - sx={theme => ({ + sx={(theme) => ({ minWidth: 400, - backgroundColor: theme.palette.background.primary, + backgroundColor: theme.palette.background.secondary, "& .MuiInputBase-input": { fontSize: "0.9rem", - padding:2, - "&::placeholder": { - fontSize: "0.9rem", - opacity: 0.6, - }, + padding: 2, + "&::placeholder": { + fontSize: "0.9rem", + opacity: 0.6, + }, }, "& .MuiOutlinedInput-notchedOutline": { borderColor: "#E4E4E7", }, - mr:2 + mr: 2, })} > From 419dc3bbfbffc5c55633d8e88ca5a8fa3180f4da Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:17:23 +0530 Subject: [PATCH 20/37] refactor: fix contacts, datatable and module formatting --- src/components/app-layout/index.styled.tsx | 2 +- src/components/breadcrumbs/index.tsx | 26 +++++++++++++++++++--- src/components/data-table/index.styled.tsx | 15 +++++++++++++ src/components/data-table/index.tsx | 26 +++++++++------------- src/components/module/index.ts | 1 + src/features/contacts/index.styled.ts | 3 +++ types.d.ts | 1 + 7 files changed, 55 insertions(+), 19 deletions(-) diff --git a/src/components/app-layout/index.styled.tsx b/src/components/app-layout/index.styled.tsx index f752d1c4..2e8096bc 100644 --- a/src/components/app-layout/index.styled.tsx +++ b/src/components/app-layout/index.styled.tsx @@ -39,6 +39,6 @@ export const MainContent = styled("main")` flex-direction: column; align-items: stretch; padding: ${({ theme }) => theme.spacing(2)}; - background-color: ${({ theme }) => theme.palette.background.default}; + background-color: ${({ theme }) => theme.palette.background.primary}; box-sizing: border-box; `; diff --git a/src/components/breadcrumbs/index.tsx b/src/components/breadcrumbs/index.tsx index 8e8277b2..8e0cdab5 100644 --- a/src/components/breadcrumbs/index.tsx +++ b/src/components/breadcrumbs/index.tsx @@ -14,14 +14,34 @@ interface BreadCrumbProps { export const BreadCrumbNavigation = ({ links = [], current }: BreadCrumbProps) => { return ( - }> + }> {Array.isArray(links) && links.map((link, index) => ( - + theme.typography.subtitle1.fontWeight, + color: (theme) => theme.typography.subtitle2.color, + lineHeight: "24px", + }} + > {link.linkText} ))} - {current} + theme.typography.subtitle1.fontWeight, + color: (theme) => theme.palette.text.primary, + lineHeight: (theme) => theme.typography.subtitle1.lineHeight, + }} + > + {current} + ); }; diff --git a/src/components/data-table/index.styled.tsx b/src/components/data-table/index.styled.tsx index 1e18d9d2..6b6ca45c 100644 --- a/src/components/data-table/index.styled.tsx +++ b/src/components/data-table/index.styled.tsx @@ -3,9 +3,24 @@ import { Paper } from "@mui/material"; export const DataTableContainer = styled(Paper)` flex-grow: 1; + + && .MuiDataGrid-columnHeaders { + --DataGrid-t-header-background-base: #f8faff; + } + + && .MuiDataGrid-columnHeader { + color: #71717a; + } + + && .MuiDataGrid-row:hover { + background-color: #fafcff; + } `; export const ActionButtonContainer = styled("div")` display: flex; justify-content: flex-end; + align-items: center; + gap: 8px; + height: 100%; `; diff --git a/src/components/data-table/index.tsx b/src/components/data-table/index.tsx index 8f93f926..8011f648 100644 --- a/src/components/data-table/index.tsx +++ b/src/components/data-table/index.tsx @@ -1,13 +1,8 @@ -import { - DataGrid, - GridColDef, - GridColumnVisibilityModel, - GridSortModel, -} from "@mui/x-data-grid"; +import { DataGrid, GridColDef, GridColumnVisibilityModel, GridSortModel } from "@mui/x-data-grid"; import type { GridValidRowModel } from "@mui/x-data-grid/models/gridRows"; import { ActionButtonContainer, DataTableContainer } from "./index.styled"; import { GridInitialStateCommunity } from "@mui/x-data-grid/models/gridStateCommunity"; -import { Edit, ArrowRight } from "lucide-react"; +import { Pencil, Eye } from "lucide-react"; import { useNavigate } from "react-router-dom"; import { getEditFormRoute, getViewFormRoute } from "lib/router"; import { IconButton } from "@mui/material"; @@ -57,9 +52,7 @@ export const DataTableGrid = ({ const actionsColumn: GridColDef = { field: "actions", headerName: "Actions", - flex: 1, - align: "right", - headerAlign: "right", + minWidth: 100, filterable: false, sortable: false, disableColumnMenu: true, @@ -67,10 +60,10 @@ export const DataTableGrid = ({ return ( handleEditClick(row)}> - + handleForwardClick(row)}> - + ); @@ -132,12 +125,13 @@ export const DataTableGrid = ({ return ( (row as any).id)])} + key={JSON.stringify([(data ?? []).map((row) => (row as any).id)])} columns={gridFinalizedColumns} rows={data ?? empty} loading={!data} checkboxSelection={false} autoHeight={autoHeight} + rowHeight={72} rowCount={totalRowCount} pageSizeOptions={rowsPerPageOptions} pagination @@ -151,8 +145,10 @@ export const DataTableGrid = ({ onPaginationModelChange={handlePaginationModelChange} sortingMode={dataViewMode} onSortModelChange={(newSortModel) => handleSortChange(newSortModel)} - columnVisibilityModel={columnVisibilityModel} - onColumnVisibilityModelChange={onColumnVisibilityModelChange ?? handleColumnVisibilityModelChange} + columnVisibilityModel={columnVisibilityModel} + onColumnVisibilityModelChange={ + onColumnVisibilityModelChange ?? handleColumnVisibilityModelChange + } initialState={initialState} /> diff --git a/src/components/module/index.ts b/src/components/module/index.ts index b58347bd..0cbe30a5 100644 --- a/src/components/module/index.ts +++ b/src/components/module/index.ts @@ -4,6 +4,7 @@ export const ModuleContainer = styled("div")` display: flex; flex-flow: column; height: 100%; + width: 100%; gap: ${({ theme }) => theme.spacing(6)}; padding: ${({ theme }) => theme.spacing(5)}; `; diff --git a/src/features/contacts/index.styled.ts b/src/features/contacts/index.styled.ts index 25b21462..25d7332c 100644 --- a/src/features/contacts/index.styled.ts +++ b/src/features/contacts/index.styled.ts @@ -48,12 +48,15 @@ export const ContactNameListItem = styled(ListItem)({ alignItems: "center", paddingLeft: "0", disablePadding: true, + height: "100%", + display: "flex", }); export const ContactNameListItemText = styled(ListItemText)` .MuiListItemText-primary { font-size: ${({ theme }) => theme.typography.body2.fontSize}; font-weight: 500; + margin-bottom: 2px; } .MuiListItemText-secondary { font-size: ${({ theme }) => theme.typography.body2.fontSize}; diff --git a/types.d.ts b/types.d.ts index 4c61fce8..6220d920 100644 --- a/types.d.ts +++ b/types.d.ts @@ -4,5 +4,6 @@ declare module "@mui/material/styles" { interface TypeBackground { primary: string; primaryHover: string; + secondary?: string; } } From b7a5b983729dbd5bf94e11f83c3b5b58525b6e9e Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:35:10 +0530 Subject: [PATCH 21/37] feat: add responsive actions component to dynamically resize itself based on container and window size --- src/components/responsive-actions/index.tsx | 213 ++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 src/components/responsive-actions/index.tsx diff --git a/src/components/responsive-actions/index.tsx b/src/components/responsive-actions/index.tsx new file mode 100644 index 00000000..599685bb --- /dev/null +++ b/src/components/responsive-actions/index.tsx @@ -0,0 +1,213 @@ +import React, { useRef, useLayoutEffect, useState } from "react"; +import { IconButton, Menu, MenuItem, Box, Typography } from "@mui/material"; +import { MoreHorizontal } from "lucide-react"; +import { GhostLink } from "@components/ghost-link"; + +export interface ResponsiveActionsProps { + actions: React.ReactElement[]; + gap?: number; +} + +function debounce void>(fn: T, delay: number) { + let timeout: ReturnType; + const debounced = (...args: Parameters) => { + clearTimeout(timeout); + timeout = setTimeout(() => fn(...args), delay); + }; + (debounced as any).cancel = () => clearTimeout(timeout); + return debounced as T; +} + +export const ResponsiveActions: React.FC = ({ actions, gap = 16 }) => { + const containerRef = useRef(null); + const [visibleCount, setVisibleCount] = useState(actions.length); + const [menuAnchor, setMenuAnchor] = useState(null); + + const measuringRefs = useRef>([]); + const ellipsisMeasuringRef = useRef(null); + const ellipsisRef = useRef(null); + + useLayoutEffect(() => { + function measure() { + if (!containerRef.current) return; + const containerWidth = containerRef.current.offsetWidth; + let usedWidth = 0; + let count = actions.length; + + const ellipsisWidth = ellipsisMeasuringRef.current?.offsetWidth ?? 40; + + const buttonWidths: number[] = []; + measuringRefs.current.forEach((btn, i) => { + buttonWidths[i] = btn?.offsetWidth ?? 0; + }); + + for (let i = 0; i < actions.length; i++) { + const btn = measuringRefs.current[i]; + if (!btn) continue; + usedWidth += btn.offsetWidth + (i > 0 ? gap : 0); + } + + if (usedWidth <= containerWidth) { + setVisibleCount(actions.length); + return; + } + + usedWidth = 0; + for (let i = 0; i < actions.length; i++) { + const btn = measuringRefs.current[i]; + if (!btn) continue; + const predictedWidth = usedWidth + btn.offsetWidth + (i + 1) * gap + ellipsisWidth + 40; + if (predictedWidth > containerWidth) { + count = i; + break; + } + usedWidth += btn.offsetWidth; + } + + setVisibleCount(count); + } + + const debouncedMeasure = debounce(measure, 100); + measure(); + window.addEventListener("resize", debouncedMeasure); + return () => window.removeEventListener("resize", debouncedMeasure); + }, [actions.length, gap]); + + const visibleActions = actions.slice(0, visibleCount); + const overflowActions = actions.slice(visibleCount); + + return ( + <> + + {actions.map((action, idx) => ( + (measuringRefs.current[idx] = el as HTMLDivElement | null)} + key={idx} + sx={{ display: "inline-flex" }} + > + {action} + + ))} + + + + + + + {visibleActions.map((action, idx) => ( + + {action} + + ))} + {overflowActions.length > 0 && ( + <> + theme.spacing(1), + }} + onClick={(e) => setMenuAnchor(e.currentTarget)} + > + + + setMenuAnchor(null)} + sx={{ + "& .MuiPaper-root": { + backgroundColor: (theme) => theme.palette.background.primary, + }, + }} + > + {overflowActions.map((action, idx) => { + const { to, component, onClick, startIcon, children, ...rest } = action.props; + if (to) { + return ( + setMenuAnchor(null)} + sx={{ + display: "flex", + alignItems: "center", + fontSize: "14px", + }} + {...rest} + > + {startIcon && ( + + {React.cloneElement(startIcon, { size: 16 })} + + )} + {children} + + ); + } + return ( + { + setMenuAnchor(null); + if (onClick) onClick(); + }} + sx={{ + display: "flex", + alignItems: "center", + fontSize: "14px", + color: (theme) => theme.palette.text.primary, + p: 1, + backgroundColor: (theme) => `${theme.palette.background.default} !important`, + }} + {...rest} + > + {startIcon && ( + + {React.cloneElement(startIcon, { size: 16 })} + + )} + + {children} + + + ); + })} + + + )} + + + ); +}; From 783ffee71638fdda81d0c21b055ffe68d15a29f7 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:37:53 +0530 Subject: [PATCH 22/37] feat: implement responsive actions component in module wrapper --- .../module-wrapper/index.styled.tsx | 11 +++++++- src/components/module-wrapper/index.tsx | 27 +++++++++++++------ 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/components/module-wrapper/index.styled.tsx b/src/components/module-wrapper/index.styled.tsx index e33972b0..8aba6668 100644 --- a/src/components/module-wrapper/index.styled.tsx +++ b/src/components/module-wrapper/index.styled.tsx @@ -2,18 +2,27 @@ import { CircularProgress, styled } from "@mui/material"; export const ActionsContainer = styled("div")` display: flex; - justify-content: space-between; align-items: center; + width: 100%; + justify-content: space-between; `; export const LeftContainer = styled("div")` display: flex; align-items: center; + margin-right: ${({ theme }) => theme.spacing(0)}; `; export const RightContainer = styled("div")` display: flex; align-items: center; + min-width: 0; + overflow: hidden; + flex: 1 1 0%; + justify-content: flex-end; + max-width: 100%; + margin-left: ${({ theme }) => theme.spacing(0)}; + padding-left: ${({ theme }) => theme.spacing(0)}; `; export const ExtraActionsContainer = styled("div")` diff --git a/src/components/module-wrapper/index.tsx b/src/components/module-wrapper/index.tsx index 23eea9b3..c1927155 100644 --- a/src/components/module-wrapper/index.tsx +++ b/src/components/module-wrapper/index.tsx @@ -1,10 +1,9 @@ import { ModuleContainer } from "@components/module"; import { PropsWithChildren, ReactNode } from "react"; +import React from "react"; import { ActionsContainer, - AddButtonContainer, CenteredCircularProgress, - ExtraActionsContainer, FixedActionBar, FormContainer, LeftContainer, @@ -15,6 +14,7 @@ import { } from "./index.styled"; import { useModuleWrapperContext } from "@providers/module-wrapper-provider"; import { BreadcrumbLink } from "../../types"; +import { ResponsiveActions } from "@components/responsive-actions"; export interface ModuleWrapperProps extends PropsWithChildren { key?: string; @@ -36,6 +36,10 @@ export const ModuleWrapper = ({ children, }: ModuleWrapperProps) => { const { isBusy } = useModuleWrapperContext(); + const rightActions = [ + ...flattenChildren(extraActionsContainerChildren), + addButtonContainerChildren, + ].filter(React.isValidElement); return ( @@ -44,12 +48,7 @@ export const ModuleWrapper = ({ {leftContainerChildren && {leftContainerChildren}} {(extraActionsContainerChildren || addButtonContainerChildren) && ( - {extraActionsContainerChildren && ( - {extraActionsContainerChildren} - )} - {addButtonContainerChildren && ( - {addButtonContainerChildren} - )} + )} @@ -69,3 +68,15 @@ export const ModuleWrapper = ({ ); }; + +function flattenChildren(children: React.ReactNode): React.ReactElement[] { + const result: React.ReactElement[] = []; + React.Children.forEach(children, (child) => { + if (React.isValidElement(child) && child.type === React.Fragment) { + result.push(...flattenChildren(child.props.children)); + } else if (React.isValidElement(child)) { + result.push(child); + } + }); + return result; +} From 2dff9d4fd1039f5c92593053643d74233563d77f Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 26 Jun 2025 10:40:45 +0530 Subject: [PATCH 23/37] feat: change action buttons in contacts form to work with responsive actions component --- src/features/contacts/index.tsx | 151 ++++++++++++++++---------------- 1 file changed, 74 insertions(+), 77 deletions(-) diff --git a/src/features/contacts/index.tsx b/src/features/contacts/index.tsx index ac7aa50f..cde0cbe8 100644 --- a/src/features/contacts/index.tsx +++ b/src/features/contacts/index.tsx @@ -17,7 +17,7 @@ import { dataListBreadcrumbLinks } from "utils/constants"; import { ModuleWrapper } from "@components/module-wrapper"; import { SearchBar } from "@components/search-bar"; import { Fragment, useRef, useState } from "react"; -import { Plus, Download, Upload, Filter, Settings2 } from "lucide-react"; +import { Plus, Download, Upload, Filter, Settings2 } from "lucide-react"; import { GhostLink } from "@components/ghost-link"; import { CsvImport } from "@components/spreadsheet-import"; import { getModelByName } from "lib/network/swagger-models"; @@ -81,11 +81,11 @@ export const Contacts = () => { await client.api.contactsImportCreate(importDtoCollection); }; - const [columns, setColumns] = useState[] >([ + const [columns, setColumns] = useState[]>([ { field: "prefix", headerName: "Prefix", - minWidth:80, + minWidth: 80, type: "string", }, { @@ -182,102 +182,83 @@ export const Contacts = () => { ]); const searchBar = ( - + > ); const extraActions = [ - - setFilterPanelOpen(true)} - color="secondary" - sx={{ - backgroundColor:theme=> theme.palette.background.primary, - border: "1px solid", - borderColor: "#E4E4E7", - borderRadius: theme=>theme.spacing(1) - }} - > - - - , - - - , - - - {importFieldsObject && ( - - )} - , - - , + - {openExport && ( - - )} - , + })} + > + Import + , + + , ]; const addButton = ( - @@ -291,6 +272,22 @@ export const Contacts = () => { leftContainerChildren={searchBar} addButtonContainerChildren={addButton} > + {importFieldsObject && ( + + )} + {openExport && ( + + )} Date: Thu, 3 Jul 2025 00:19:23 +0530 Subject: [PATCH 24/37] feat: implement export popup feature and helper methods --- src/components/download/index.ts | 11 ++ src/components/export-popup/index.tsx | 212 ++++++++++++++++++++++++++ src/components/export/index.tsx | 57 +++++++ src/types/index.ts | 17 ++- 4 files changed, 293 insertions(+), 4 deletions(-) create mode 100644 src/components/export-popup/index.tsx diff --git a/src/components/download/index.ts b/src/components/download/index.ts index c7572770..84eb8e2e 100644 --- a/src/components/download/index.ts +++ b/src/components/download/index.ts @@ -11,3 +11,14 @@ export const downloadFile = (data: string, contentType?: string, fileName?: stri link.click(); document.body.removeChild(link); }; + +export function downloadExportFile(blob: Blob, format: string, filename = "export"): void { + const url = window.URL.createObjectURL(blob); + const a = document.createElement("a"); + a.href = url; + a.download = `${filename}.${format}`; + document.body.appendChild(a); + a.click(); + a.remove(); + window.URL.revokeObjectURL(url); +} diff --git a/src/components/export-popup/index.tsx b/src/components/export-popup/index.tsx new file mode 100644 index 00000000..c4e52c06 --- /dev/null +++ b/src/components/export-popup/index.tsx @@ -0,0 +1,212 @@ +import React, { useEffect, useState } from "react"; +import { + Dialog, + DialogTitle, + DialogContent, + DialogActions, + Button, + FormControl, + FormLabel, + RadioGroup, + FormControlLabel, + Radio, + Checkbox, + FormGroup, + Box, + Typography, + ThemeProvider, + IconButton, +} from "@mui/material"; +import { GridColDef, GridColumnVisibilityModel, GridValidRowModel } from "@mui/x-data-grid"; +import { X } from "lucide-react"; + +interface ExportPopupProps { + open: boolean; + onClose: () => void; + onExport: (exportScope: string, fileFormat: string, selectedColumns: string[]) => void; + columns: GridColDef[]; + selectedCount: number; + columnVisibilityModel?: GridColumnVisibilityModel; +} + +export const ExportPopup = ({ + open, + onClose, + onExport, + columns, + selectedCount, + columnVisibilityModel = {}, +}: ExportPopupProps) => { + const [exportScope, setExportScope] = useState("all"); + const [fileFormat, setFileFormat] = useState("csv"); + const [selectedColumns, setSelectedColumns] = useState(columns.map((c) => c.field)); + + useEffect(() => { + if (open) { + const visible = columns.filter((col) => columnVisibilityModel[col.field] !== false); + setSelectedColumns(visible.map((c) => c.field)); + } + }, [open, columns, columnVisibilityModel]); + + const handleColumnToggle = (field: string) => { + setSelectedColumns((cols) => { + const toggled = cols.includes(field) ? cols.filter((f) => f !== field) : [...cols, field]; + return columns.map((col) => col.field).filter((f) => toggled.includes(f)); + }); + }; + + const handleExport = () => onExport(exportScope, fileFormat, selectedColumns); + + return ( + + + + Export Records + + theme.palette.grey[500], + }} + > + + + + + + + + Export Scope + + setExportScope(e.target.value)} + sx={{ gap: 0 }} + > + + } + label={All Records} + /> + + } + label={Filtered Records} + /> + + } + label={ + {`Selected Records (${selectedCount})`} + } + /> + + + + + + File Format + setFileFormat(e.target.value)} row> + + } + label={CSV} + /> + + } + label={JSON} + /> + + + + + + Columns to Export + + + + {columns.map((col) => ( + handleColumnToggle(col.field)} + /> + } + label={{col.headerName}} + /> + ))} + + + + + + + + + + ); +}; diff --git a/src/components/export/index.tsx b/src/components/export/index.tsx index 32bc503f..f3867294 100644 --- a/src/components/export/index.tsx +++ b/src/components/export/index.tsx @@ -1,6 +1,7 @@ import { useEffect, useRef } from "react"; import { downloadFile } from "components/download"; import { useNotificationsService } from "@hooks"; +import { ExportParams } from "types"; interface ExportPorps { exportAsync: (accept: string) => Promise; @@ -30,3 +31,59 @@ export const CsvExport = ({ exportAsync, closeExport, fileName }: ExportPorps) = return <>; }; + +export function buildExportQueryString({ + scope, + format, + cols, + selectedRows, + whereFilterQuery, + basicFilterQuery, +}: ExportParams): { + finalQueryString: string; + accept: string; +} { + const fieldQuery = cols.map((c) => `filter[field][${c}]=true`).join("&"); + + let finalQueryString = ""; + + if (scope === "filtered" && whereFilterQuery && whereFilterQuery.startsWith("&")) { + + finalQueryString = "&" + fieldQuery; + + finalQueryString += whereFilterQuery; + if (basicFilterQuery) { + finalQueryString += "&" + basicFilterQuery.replace(/^&/, ""); + } + } + else { + let queryParts: string[] = []; + + if (scope === "all") { + queryParts = [fieldQuery, ...(basicFilterQuery ? [basicFilterQuery] : [])]; + } else if (scope === "filtered") { + queryParts = [ + fieldQuery, + ...(whereFilterQuery ? [whereFilterQuery] : []), + ...(basicFilterQuery ? [basicFilterQuery] : []), + ]; + } else if (scope === "selected") { + const idsQuery = selectedRows.length ? `filter[ids]=${selectedRows.join(",")}` : ""; + + queryParts = [ + fieldQuery, + ...(idsQuery ? [idsQuery] : []), + ...(basicFilterQuery ? [basicFilterQuery] : []), + ]; + } + + finalQueryString = "&" + queryParts.filter(Boolean).join("&"); + } + const accept = format === "csv" ? "text/csv" : format === "json" ? "text/json" : "*/*"; + + return { + finalQueryString, + accept, + }; +} + diff --git a/src/types/index.ts b/src/types/index.ts index 8bf3453e..43da1c61 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,4 +1,4 @@ -import { GridColumnVisibilityModel,GridFilterModel } from "@mui/x-data-grid"; +import { GridColumnVisibilityModel, GridFilterModel } from "@mui/x-data-grid"; export interface BreadcrumbLink { linkText: string; @@ -16,8 +16,8 @@ export type DataListSettings = { whereOperator?: string; pageNumber: number; columnVisibilityModel: GridColumnVisibilityModel | undefined; - filterModel?: GridFilterModel; - whereFilters?: Array<{ + filterModel?: GridFilterModel; + whereFilters?: Array<{ whereField: string; whereOperator: string; whereFieldValue: string; @@ -38,7 +38,7 @@ export type GridDataFilterSettings = { }>; pageNumber: number; columnVisibilityModel: GridColumnVisibilityModel | undefined; - filterModel?: GridFilterModel; + filterModel?: GridFilterModel; }; export interface GridDataFilterState { @@ -63,3 +63,12 @@ export type GridSizeProps = { lg?: number; xl?: number; }; + +export interface ExportParams { + scope: string; + format: string; + cols: string[]; + selectedRows: any[]; + whereFilterQuery: string; + basicFilterQuery: string | undefined; +} From dd802da31ee19f35ba5b44c3427977c12df647a8 Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 3 Jul 2025 00:20:05 +0530 Subject: [PATCH 25/37] refactor: change data table and data list to integrate exports popup --- src/components/data-list/index.tsx | 98 +++++++++++++++------- src/components/data-table/index.styled.ts | 7 ++ src/components/data-table/index.styled.tsx | 14 ++++ src/components/data-table/index.tsx | 23 ++++- 4 files changed, 111 insertions(+), 31 deletions(-) diff --git a/src/components/data-list/index.tsx b/src/components/data-list/index.tsx index f45dd7f2..6cacf1d3 100644 --- a/src/components/data-list/index.tsx +++ b/src/components/data-list/index.tsx @@ -6,16 +6,24 @@ import { getWhereFilterQuery, totalCountHeaderName, } from "@providers/query-provider"; -import { GridColDef, GridSortDirection, GridValidRowModel, GridColumnVisibilityModel } from "@mui/x-data-grid"; +import { + GridColDef, + GridSortDirection, + GridValidRowModel, + GridColumnVisibilityModel, +} from "@mui/x-data-grid"; import { GridInitialStateCommunity } from "@mui/x-data-grid/models/gridStateCommunity"; import { DataListContainer } from "./index.styled"; import { DataTableGrid } from "@components/data-table"; import useLocalStorage from "use-local-storage"; -import { DataListSettings, GridDataFilterState } from "types"; +import { DataListSettings, ExportParams, GridDataFilterState } from "types"; import { useNotificationsService } from "@hooks"; import { useModuleWrapperContext } from "@providers/module-wrapper-provider"; import { CustomFilterBar } from "@components/custom-filter"; import { ColumnsPanel } from "@components/custom-columns-panel"; +import { ExportPopup } from "@components/export-popup"; +import type { GridRowSelectionModel } from "@mui/x-data-grid"; +import React from "react"; // Define response type for API model data interface ModelDataResponse { @@ -36,8 +44,11 @@ type dataListProps = { showViewButton?: boolean; filterPanelOpen?: boolean; setFilterPanelOpen?: (open: boolean) => void; - columnsPanelOpen?: boolean; + columnsPanelOpen?: boolean; setColumnsPanelOpen?: (open: boolean) => void; + onExport?: (params: ExportParams) => Promise; + onExportOpen?: boolean; + onExportClose?: () => void; }; export const DataList = ({ @@ -55,6 +66,9 @@ export const DataList = ({ setFilterPanelOpen, columnsPanelOpen, setColumnsPanelOpen, + onExport, + onExportOpen = false, + onExportClose = () => {}, }: dataListProps) => { const { notificationsService } = useNotificationsService(); const { setBusy } = useModuleWrapperContext(); @@ -69,8 +83,15 @@ export const DataList = ({ const [filterState, setFilterState] = useState(); const [columnVisibilityModel, setColumnVisibilityModel] = useState>( - gridSettings?.columnVisibilityModel ?? {} - ); + gridSettings?.columnVisibilityModel ?? {} + ); + + const [rowSelectionModel, setRowSelectionModel] = React.useState({ + type: "include", + ids: new Set(), + }); + + const selectedRows = Array.from(rowSelectionModel.ids); const defaultFilterState = { filterLimit: defaultFilterLimit, @@ -82,15 +103,10 @@ export const DataList = ({ columnVisibilityModel: initialGridState?.columns?.columnVisibilityModel, }; - const whereFilterQuery = - filterState?.whereFilters?.length + const whereFilterQuery = filterState?.whereFilters?.length ? filterState.whereFilters - .map(f => - getWhereFilterQuery( - f.whereField || "", - f.whereFieldValue || "", - f.whereOperator || "" - ) + .map((f) => + getWhereFilterQuery(f.whereField || "", f.whereFieldValue || "", f.whereOperator || "") ) .filter(Boolean) .join("") @@ -187,14 +203,14 @@ export const DataList = ({ }; function sortColumnsByOrder( - columns: GridColDef[], - columnOrder: string[] + columns: GridColDef[], + columnOrder: string[] ): GridColDef[] { const ordered = columnOrder - .map(field => columns.find(col => col.field === field)) + .map((field) => columns.find((col) => col.field === field)) .filter(Boolean) as GridColDef[]; - const missing = columns.filter(col => !columnOrder.includes(col.field)); + const missing = columns.filter((col) => !columnOrder.includes(col.field)); return [...ordered, ...missing]; } @@ -251,7 +267,7 @@ export const DataList = ({ setColumns?.(newColumns); setFilterState((prev) => ({ ...(prev ?? {}), - columnOrder: newColumns.map(col => col.field), + columnOrder: newColumns.map((col) => col.field), })); }; @@ -276,16 +292,29 @@ export const DataList = ({ else setTotalRowCount(-1); }; + const handleExport = (scope: string, format: string, cols: string[]) => { + if (onExport) { + onExport({ + scope, + format, + cols, + selectedRows, + whereFilterQuery, + basicFilterQuery, + }); + } + }; + const gridInitialState = gridSettings && { filter: gridSettings.whereFilters && gridSettings.whereFilters.length > 0 ? { filterModel: { - items: gridSettings.whereFilters.map(f => ({ - field: f.whereField, - operator: f.whereOperator || "eq", - value: f.whereFieldValue, - })), + items: gridSettings.whereFilters.map((f) => ({ + field: f.whereField, + operator: f.whereOperator || "eq", + value: f.whereFieldValue, + })), }, } : undefined, @@ -305,15 +334,16 @@ export const DataList = ({ return filterState && totalRowCount != undefined ? ( - updateWhereFilters(f, undefined, editIdx)} - removeFilter={idx => updateWhereFilters(undefined, idx)} + removeFilter={(idx) => updateWhereFilters(undefined, idx)} filterPanelOpen={filterPanelOpen} setFilterPanelOpen={setFilterPanelOpen} clearAllFilters={clearAllFilters} /> - {setColumns &&( + {setColumns && ( ({ onColumnsReorder={handleColumnsReorder} onClose={() => setColumnsPanelOpen?.(false)} /> - )} + )} + ({ disableViewRoute={!showViewButton} columnVisibilityModel={columnVisibilityModel} onColumnVisibilityModelChange={handleColumnVisibilityModelChange} - /> + onRowSelectionModelChange={(newRowSelectionModel) => { + setRowSelectionModel(newRowSelectionModel); + }} + rowSelectionModel={rowSelectionModel} + /> ) : null; }; diff --git a/src/components/data-table/index.styled.ts b/src/components/data-table/index.styled.ts index 74a34353..2d1b8503 100644 --- a/src/components/data-table/index.styled.ts +++ b/src/components/data-table/index.styled.ts @@ -19,6 +19,13 @@ export const DataTableContainer = styled("div")` justify-content: space-between; width: 100%; } + + .MuiCheckbox-root { + padding: 2px; + } + .MuiCheckbox-root .MuiSvgIcon-root { + font-size: 16px; + } `; export const ActionButtonContainer = styled("div")` diff --git a/src/components/data-table/index.styled.tsx b/src/components/data-table/index.styled.tsx index 6b6ca45c..fbfc861a 100644 --- a/src/components/data-table/index.styled.tsx +++ b/src/components/data-table/index.styled.tsx @@ -15,6 +15,20 @@ export const DataTableContainer = styled(Paper)` && .MuiDataGrid-row:hover { background-color: #fafcff; } + + .MuiCheckbox-root .MuiSvgIcon-root { + font-size: 20px; + color: #71717a; + } + + .MuiCheckbox-root.Mui-checked .MuiSvgIcon-root { + color: #3878ff; + } + + .MuiDataGrid-columnHeader .MuiCheckbox-root.Mui-checked .MuiSvgIcon-root, + .MuiDataGrid-columnHeader .MuiCheckbox-root.MuiCheckbox-indeterminate .MuiSvgIcon-root { + color: #3878ff !important; + } `; export const ActionButtonContainer = styled("div")` diff --git a/src/components/data-table/index.tsx b/src/components/data-table/index.tsx index 8011f648..d1db7ff0 100644 --- a/src/components/data-table/index.tsx +++ b/src/components/data-table/index.tsx @@ -1,5 +1,12 @@ -import { DataGrid, GridColDef, GridColumnVisibilityModel, GridSortModel } from "@mui/x-data-grid"; -import type { GridValidRowModel } from "@mui/x-data-grid/models/gridRows"; +import { + DataGrid, + GridColDef, + GridColumnVisibilityModel, + GridSortModel, + GridRowSelectionModel, + GridCallbackDetails, +} from "@mui/x-data-grid"; +import type { GridRowId, GridValidRowModel } from "@mui/x-data-grid/models/gridRows"; import { ActionButtonContainer, DataTableContainer } from "./index.styled"; import { GridInitialStateCommunity } from "@mui/x-data-grid/models/gridStateCommunity"; import { Pencil, Eye } from "lucide-react"; @@ -26,6 +33,11 @@ type DataTableProps = { disableViewRoute: boolean; columnVisibilityModel?: GridColumnVisibilityModel; onColumnVisibilityModelChange?: (model: GridColumnVisibilityModel) => void; + onRowSelectionModelChange?: ( + rowSelectionModel: GridRowSelectionModel, + details: GridCallbackDetails + ) => void; + rowSelectionModel?: GridRowSelectionModel; }; export const DataTableGrid = ({ @@ -46,6 +58,8 @@ export const DataTableGrid = ({ disableViewRoute, columnVisibilityModel, onColumnVisibilityModelChange, + onRowSelectionModelChange, + rowSelectionModel, }: DataTableProps) => { const empty: readonly GridValidRowModel[] = []; @@ -122,6 +136,7 @@ export const DataTableGrid = ({ }; const gridFinalizedColumns = showActionsColumn ? columns.concat(actionsColumn) : columns; + return ( From 4a55c750003b6a3f29e6d96f2607401f0c341cab Mon Sep 17 00:00:00 2001 From: Dilhan Rubera Date: Thu, 3 Jul 2025 00:20:32 +0530 Subject: [PATCH 26/37] feat: integrate exports popup in contacts module --- src/features/contacts/index.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/features/contacts/index.tsx b/src/features/contacts/index.tsx index cde0cbe8..a1bf23c6 100644 --- a/src/features/contacts/index.tsx +++ b/src/features/contacts/index.tsx @@ -24,7 +24,9 @@ import { getModelByName } from "lib/network/swagger-models"; import { Result } from "react-spreadsheet-import/types/types"; import { CsvExport } from "@components/export"; import useLocalStorage from "use-local-storage"; -import { DataListSettings } from "types"; +import { DataListSettings, ExportParams } from "types"; +import { buildExportQueryString } from "@components/export"; +import { downloadExportFile, downloadFile } from "@components/download"; export const Contacts = () => { const { client } = useRequestContext(); @@ -55,14 +57,18 @@ export const Contacts = () => { } }; - const exportContactsAsync = async () => { - const response = await client.api.contactsExportList({ - query: dataExportQuery.current, - }); + const handleExport = async (params: ExportParams): Promise => { + try { + const { finalQueryString, accept } = buildExportQueryString(params); + const response = await client.api.contactsExportList( + { query: finalQueryString }, + { headers: { Accept: accept } } + ); - return response.text(); + const blob = await response.blob(); + downloadExportFile(blob, params.format, "contacts"); + } catch (error) {} }; - const handleImportOpen = () => { !importFieldsObject && setImportFieldsObject(getModelByName(modelName)); setOpenImport(true); @@ -281,13 +287,6 @@ export const Contacts = () => { endRoute={CoreModule.contacts} /> )} - {openExport && ( - - )} { setFilterPanelOpen={setFilterPanelOpen} columnsPanelOpen={columnsPanelOpen} setColumnsPanelOpen={setColumnsPanelOpen} + onExport={handleExport} + onExportOpen={openExport} + onExportClose={handleExportOpen} > ); From 22ebccdd66aafb08386865dac73c8cde7fdd2fba Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:46:06 +0530 Subject: [PATCH 27/37] feat: add dynamic module route --- src/app.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.tsx b/src/app.tsx index d48841a9..317f8e27 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -13,6 +13,7 @@ import { ErrorDetailsModalProvider } from "@providers/error-details-modal-provid import { ConfigProvider } from "@providers/config-provider"; import "react-toastify/dist/ReactToastify.css"; import { Auth } from "./features/auth/auth"; +import { DynamicGenericModuleRoutes } from "@features/dynamic-module-loader"; export const App = () => { // Define menu categories for breadcrumbs @@ -109,6 +110,10 @@ export const App = () => { > } /> } /> + } + /> From 65cf4308179f465f7a39e222abe843aa3b3795b0 Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:47:38 +0530 Subject: [PATCH 28/37] feat: add dynamic module menu items --- src/components/icon-map/icon-fuzzy-search.ts | 13 +++- src/components/icon-map/icon-map.ts | 13 +++- src/utils/build-menu-items.ts | 73 +++++++++++++++++++- 3 files changed, 95 insertions(+), 4 deletions(-) diff --git a/src/components/icon-map/icon-fuzzy-search.ts b/src/components/icon-map/icon-fuzzy-search.ts index b01a7f0d..b3fea1a7 100644 --- a/src/components/icon-map/icon-fuzzy-search.ts +++ b/src/components/icon-map/icon-fuzzy-search.ts @@ -1,4 +1,4 @@ -import { iconKeywordMap, defaultIcon } from "./icon-map"; +import { iconKeywordMap, defaultIcon, defaultIconKey } from "./icon-map"; export function getSectionIcon(title: string) { if (!title) return defaultIcon; @@ -11,3 +11,14 @@ export function getSectionIcon(title: string) { } return defaultIcon; } + +export function getSectionIconKey(title: string): string { + if (!title) return defaultIconKey; + const lowerTitle = title.toLowerCase(); + for (const { keywords, key } of iconKeywordMap) { + if (keywords.some((kw) => lowerTitle.includes(kw))) { + return key; + } + } + return defaultIconKey; +} diff --git a/src/components/icon-map/icon-map.ts b/src/components/icon-map/icon-map.ts index e4550f60..e4c70473 100644 --- a/src/components/icon-map/icon-map.ts +++ b/src/components/icon-map/icon-map.ts @@ -1,21 +1,32 @@ -import { User, HelpCircle, MessageCircle, Info, Code2 } from "lucide-react"; +import { User, HelpCircle, MessageCircle, Info, Code2, School } from "lucide-react"; export const iconKeywordMap = [ { keywords: ["author details", "author", "user", "creator", "writer"], icon: User, + key: "user", }, { keywords: ["comment body", "comment", "body", "text", "message"], icon: MessageCircle, + key: "message", }, { keywords: ["context", "background", "about", "reference"], icon: Info, + key: "info", }, { keywords: ["meta", "metadata", "details", "info"], icon: Code2, + key: "code2", + }, + { + keywords: ["student", "school"], + icon: School, + key: "student", }, ]; export const defaultIcon = HelpCircle; + +export const defaultIconKey = "help"; diff --git a/src/utils/build-menu-items.ts b/src/utils/build-menu-items.ts index 7cdeb178..8d1f1c24 100644 --- a/src/utils/build-menu-items.ts +++ b/src/utils/build-menu-items.ts @@ -1,10 +1,18 @@ import { MENU_CONFIG } from "./menu-config"; import { getDashboardAvailability } from "@features/dashboard/availability"; +import { getSectionIcon, getSectionIconKey } from "@components/icon-map"; +import { SidebarMenuSection } from "@components/app-layout"; +import React from "react"; +import { DynamicModuleDto } from "@lib/network/swagger-client"; -export function buildMenuItems(availableEntities: string[] | undefined, selectedModule: string) { +export function buildMenuItems( + availableEntities: string[] | undefined, + selectedModule: string, + dynamicModules?: DynamicModuleDto[] +) { const entitySet = new Set((availableEntities || []).map((e) => e.toLowerCase())); const dash = getDashboardAvailability(availableEntities); - return MENU_CONFIG.map((section) => { + const menuSections = MENU_CONFIG.map((section) => { const filteredItems = section.items .filter((item) => { // For dashboard, also ensure there's at least one tile to show. @@ -20,4 +28,65 @@ export function buildMenuItems(availableEntities: string[] | undefined, selected if (filteredItems.length === 0) return null; return { header: section.header, items: filteredItems }; }).filter(Boolean); + + let dynamicSection; + if (dynamicModules && dynamicModules.length > 0) { + dynamicSection = buildDynamicMenuSection( + availableEntities ?? [], + dynamicModules, + selectedModule + ); + } + + if (!dynamicSection) return menuSections; + const dynamicSectionWithJsxIcons: SidebarMenuSection = { + ...dynamicSection, + items: dynamicSection.items.map((item) => ({ + ...item, + icon: + typeof item.icon === "string" + ? React.createElement(getSectionIcon(item.icon), { size: 20 }) + : item.icon, + })), + }; + + const mainIndex = menuSections.findIndex((section) => section!.header === "MAIN"); + if (mainIndex !== -1) { + return [ + ...menuSections.slice(0, mainIndex + 1), + dynamicSectionWithJsxIcons, + ...menuSections.slice(mainIndex + 1), + ]; + } else { + return [dynamicSectionWithJsxIcons, ...menuSections]; + } +} + +export function buildDynamicMenuSection( + entities: string[] | undefined, + modules: DynamicModuleDto[], + selectedModule: string +): SidebarMenuSection | null { + if (!entities || !modules) { + return null; + } + const entitySet = new Set(entities.map((e) => e.toLowerCase())); + const matchedModules = modules.filter( + (mod) => mod.moduleName && entitySet.has(mod.moduleName.toLowerCase()) + ); + if (matchedModules.length === 0) return null; + + return { + header: "DYNAMIC", + items: matchedModules.map((mod) => ({ + id: mod.moduleName!, + label: mod.moduleName!, + icon: getSectionIconKey(mod.moduleName!), + entity: mod.moduleName!, + route: `/modules/${mod.modulePath || mod.moduleName}`, + onClick: (navigate: (to: string) => void) => + navigate(`/modules/${mod.modulePath || mod.moduleName}`), + isSelected: selectedModule === (mod.modulePath || mod.moduleName), + })), + }; } From c64c59911f52dab9bbb3e8f0e584b5095ed25505 Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:49:12 +0530 Subject: [PATCH 29/37] feat: update app layout to accomadate dynamic modules --- src/components/app-layout/index.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/app-layout/index.tsx b/src/components/app-layout/index.tsx index e4d46262..a813ca22 100644 --- a/src/components/app-layout/index.tsx +++ b/src/components/app-layout/index.tsx @@ -16,15 +16,17 @@ interface AppLayoutProps { currentBreadcrumb?: string; } -type MenuItem = { +export type MenuItem = { id: string; label: string; - icon: React.ReactNode; - onClick: () => void; + icon: React.ReactNode | string; + entity: string; + route: string; + onClick: (navigate: (to: string) => void) => void; isSelected: boolean; }; -interface SidebarMenuSection { +export interface SidebarMenuSection { header: string; items: MenuItem[]; } @@ -41,7 +43,11 @@ export const AppLayout = ({ const { moduleName } = useRouteParams(coreModuleRoute); const { config, loading: configLoading } = useConfig(); - const menuItems = buildMenuItems(config?.entities, moduleName) as SidebarMenuSection[]; + const menuItems = buildMenuItems( + config?.entities, + moduleName, + config?.modules ?? undefined + ) as SidebarMenuSection[]; const menuLoading = configLoading; // Pass drawer state to Sidebar and update container class From 2d03094f122c68be6e2e917c1a015a22c0305a2a Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:49:34 +0530 Subject: [PATCH 30/37] feat: add breadcrumbs for dynamic modules --- src/app.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/app.tsx b/src/app.tsx index 317f8e27..8c15b6fb 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -53,7 +53,21 @@ export const App = () => { const firstPath = paths[0]; const breadcrumbs: Breadcrumb[] = []; let currentBreadcrumb = ""; - if (firstPath && menuCategories[firstPath]) { + + if (paths[0] === "modules" && paths[1]) { + const moduleName = paths[1]; + const displayName = moduleName + .split("-") + .map((s) => s.charAt(0).toUpperCase() + s.slice(1)) + .join(" "); + breadcrumbs.push({ + linkText: "DYNAMIC", + toRoute: `/modules/${moduleName}`, + isCategory: true, + }); + currentBreadcrumb = displayName; + } + else if (firstPath && menuCategories[firstPath]) { breadcrumbs.push({ linkText: menuCategories[firstPath].category, toRoute: `/${firstPath}`, From 955f4edc9ef2c3f639c21235835cdf960165bcd1 Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:51:29 +0530 Subject: [PATCH 31/37] refactor: change modulepath to allow strings for dynamic modules --- src/components/generic-components/generic-module.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/generic-components/generic-module.tsx b/src/components/generic-components/generic-module.tsx index 8b1d3fa1..1808757d 100644 --- a/src/components/generic-components/generic-module.tsx +++ b/src/components/generic-components/generic-module.tsx @@ -61,9 +61,9 @@ interface ExtraActions { showFiltersPanel?: boolean; } -interface GenericModuleProps { +export interface GenericModuleProps { moduleName: string; - modulePath: CoreModule; + modulePath: CoreModule | string; addButtonContent?: string | ReactNode | undefined; extraActions?: ExtraActions | undefined; tableProps?: GenericDataGridProps; From 385edffc257f019cc5e61b28b2e9de9bfbcf62ad Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:52:14 +0530 Subject: [PATCH 32/37] feat: add method for dynamic module navigation --- src/hooks/core-module-navigation-hook.ts | 16 +++++++++++++++- src/lib/router/index.ts | 7 ++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/hooks/core-module-navigation-hook.ts b/src/hooks/core-module-navigation-hook.ts index b88ae705..5f16ef3b 100644 --- a/src/hooks/core-module-navigation-hook.ts +++ b/src/hooks/core-module-navigation-hook.ts @@ -1,5 +1,5 @@ import { CoreModule, getCoreModuleRoute } from "@lib/router"; -import { useNavigate } from "react-router-dom"; +import { useLocation, useNavigate } from "react-router-dom"; export const useCoreModuleNavigation = () => { const navigate = useNavigate(); @@ -15,3 +15,17 @@ export const useCoreModuleNavigation = () => { return handleNavigation; }; + +export const useDynamicModuleNavigation = () => { + const navigate = useNavigate(); + const location = useLocation(); + + return (moduleName: string) => { + const toRoute = `/modules/${moduleName}`; + if (location.pathname === toRoute) { + navigate(toRoute, { replace: true }); + } else { + navigate(toRoute); + } + }; +}; diff --git a/src/lib/router/index.ts b/src/lib/router/index.ts index c4d9c7a5..7fc4bedd 100644 --- a/src/lib/router/index.ts +++ b/src/lib/router/index.ts @@ -18,8 +18,8 @@ export const enum CoreModule { activityLogs = "activity-logs", } -const coreModuleParser: Parser = { - parse: (value) => value as CoreModule, +const coreModuleParser: Parser = { + parse: (value) => value, serialize: (moduleName) => moduleName, }; @@ -57,7 +57,8 @@ export const contactInvoicesRoute = route("invoices", {}, {}); export const contactLogsRoute = route("logs", {}, {}); -export const getCoreModuleRoute = (moduleName: CoreModule) => coreModuleRoute({ moduleName }).$; +export const getCoreModuleRoute = (moduleName: CoreModule | string) => + coreModuleRoute({ moduleName }).$; export const getEditFormRoute = (id: number) => editFormRoute({ id: id }).$; From f269bc9a30d14dc96a1606297354aa11b33641af Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:53:28 +0530 Subject: [PATCH 33/37] feat: update generic form to allow dynamic module navigation --- .../generic-components/generic-form.tsx | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/components/generic-components/generic-form.tsx b/src/components/generic-components/generic-form.tsx index fad8f334..f508d11d 100644 --- a/src/components/generic-components/generic-form.tsx +++ b/src/components/generic-components/generic-form.tsx @@ -21,7 +21,7 @@ import { import { validate } from "@components/generic-components/edit-components/validator"; import { ArrayEdit } from "./edit-components/array-edit"; import { StyledDivider } from "./index.styled"; -import { useCoreModuleNavigation } from "@hooks"; +import { useCoreModuleNavigation, useDynamicModuleNavigation } from "@hooks"; import { TextView } from "./view-components/text-view"; import { BoolView } from "./view-components/bool-view"; import { DateTimeView } from "./view-components/datetime-view"; @@ -112,6 +112,7 @@ export function GenericForm }: GenericFormProps) { const { setBusy, setSaving } = useModuleWrapperContext(); const handleCoreNavigation = useCoreModuleNavigation(); + const handleDynamicModuleNavigation = useDynamicModuleNavigation(); const [validationResult, setValidationResult] = useState(); const itemId = getItemId(); @@ -258,11 +259,22 @@ export function GenericForm }; const cancel = () => { - const currentPath = window.location.pathname; - const modulePath = currentPath.split("/")[1]; - handleCoreNavigation(modulePath); + navigateToListView(); }; + function navigateToListView() { + const currentPath = window.location.pathname; + const pathSegments = currentPath.split("/"); + let modulePath; + if (pathSegments[1] === "modules") { + modulePath = pathSegments[2]; + handleDynamicModuleNavigation(modulePath); + } else { + modulePath = pathSegments[1]; + handleCoreNavigation(modulePath); + } + } + const isValidUpdate = (field: DtoField) => { if (field.type == "boolean" && (values[field.name] === true || values[field.name] === false)) return true; From 960f08d8dc66c49e1d27de29d1d3003ce12ddd2f Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:54:42 +0530 Subject: [PATCH 34/37] feat: update data management and spreadsheet import to accomadate dynamic module navigation --- src/components/data-management/index.tsx | 24 +++++++++++++++------ src/components/generic-components/common.ts | 2 +- src/components/spreadsheet-import/index.tsx | 19 ++++++++++++++-- 3 files changed, 36 insertions(+), 9 deletions(-) diff --git a/src/components/data-management/index.tsx b/src/components/data-management/index.tsx index 8df306ba..6aa43db9 100644 --- a/src/components/data-management/index.tsx +++ b/src/components/data-management/index.tsx @@ -15,7 +15,11 @@ import { } from "@mui/material"; import { DeleteButtonContainer } from "./index.styled"; import { Trash2, Edit } from "lucide-react"; -import { useCoreModuleNavigation, useNotificationsService } from "@hooks"; +import { + useCoreModuleNavigation, + useDynamicModuleNavigation, + useNotificationsService, +} from "@hooks"; import { HttpResponse, ProblemDetails } from "@lib/network/swagger-client"; import { useErrorDetailsModal } from "@providers/error-details-modal-provider"; import { execDeleteWithToast } from "utils/general-helper"; @@ -100,6 +104,7 @@ export const DataManagementBlock = ({ const { notificationsService } = useNotificationsService(); const { Show: showErrorModal } = useErrorDetailsModal(); const handleNavigation = useCoreModuleNavigation(); + const handleDynamicModuleNavigation = useDynamicModuleNavigation(); const navigate = useNavigate(); const { moduleName } = useRouteParams(coreModuleRoute); @@ -122,11 +127,13 @@ export const DataManagementBlock = ({ const deleteRecord = async () => { try { setIsDeleting(true); - await handleDeleteAsync(itemId); - if (onDeleted) { - onDeleted(); + await handleDeleteAsync(itemId!); + const pathSegments = window.location.pathname.split("/"); + if (pathSegments[1] === "modules") { + handleDynamicModuleNavigation(successNavigationRoute); + } else { + handleNavigation(successNavigationRoute); } - handleNavigation(successNavigationRoute); } catch (error) { setIsDeleting(false); throw error; @@ -134,7 +141,12 @@ export const DataManagementBlock = ({ }; const editRecord = async () => { - navigate(`/${moduleName}/${itemId}/edit`); + const pathSegments = window.location.pathname.split("/"); + if (pathSegments[1] === "modules") { + navigate(`/modules/${moduleName}/${itemId}/edit`); + } else { + navigate(`/${moduleName}/${itemId}/edit`); + } }; return ( diff --git a/src/components/generic-components/common.ts b/src/components/generic-components/common.ts index bd7a1aa4..4b8a5b9c 100644 --- a/src/components/generic-components/common.ts +++ b/src/components/generic-components/common.ts @@ -63,7 +63,7 @@ export interface BasicTypeForGeneric { export const getBreadcrumbLinks = ( moduleName: string, - modulePath: CoreModule + modulePath: CoreModule | string ): BreadcrumbLink[] => { return [ ...dataListBreadcrumbLinks, diff --git a/src/components/spreadsheet-import/index.tsx b/src/components/spreadsheet-import/index.tsx index e33a1201..27b4c55a 100644 --- a/src/components/spreadsheet-import/index.tsx +++ b/src/components/spreadsheet-import/index.tsx @@ -3,7 +3,11 @@ import { Fragment, useState } from "react"; import { ReactSpreadsheetImport } from "react-spreadsheet-import"; import { Result } from "react-spreadsheet-import/types/types"; import { StyledBackdrop } from "./index.styled"; -import { useCoreModuleNavigation, useNotificationsService } from "@hooks"; +import { + useCoreModuleNavigation, + useDynamicModuleNavigation, + useNotificationsService, +} from "@hooks"; import { getImportFields } from "utils/import-file-helper"; interface csvImportPorps { @@ -16,6 +20,7 @@ interface csvImportPorps { export const CsvImport = ({ isOpen, onClose, onUpload, object, endRoute }: csvImportPorps) => { const handleNavigation = useCoreModuleNavigation(); + const handleDynamicModuleNavigation = useDynamicModuleNavigation(); const { notificationsService } = useNotificationsService(); const [isUploading, setIsUploading] = useState(false); @@ -37,9 +42,19 @@ export const CsvImport = ({ isOpen, onClose, onUpload, object, endRoute }: csvIm const handleSuccess = () => { notificationsService.success("Data import completed."); - handleNavigation(endRoute); + navigateToView(); }; + function navigateToView() { + const currentPath = window.location.pathname; + const pathSegments = currentPath.split("/"); + if (pathSegments[1] === "modules") { + handleDynamicModuleNavigation(endRoute); + } else { + handleNavigation(endRoute); + } + } + return ( Date: Sat, 30 Aug 2025 11:55:12 +0530 Subject: [PATCH 35/37] feat: add dynamic module loader to load dynamic modules from config --- src/features/dynamic-module-loader/index.tsx | 269 +++++++++++++++++++ 1 file changed, 269 insertions(+) create mode 100644 src/features/dynamic-module-loader/index.tsx diff --git a/src/features/dynamic-module-loader/index.tsx b/src/features/dynamic-module-loader/index.tsx new file mode 100644 index 00000000..adf3c8e9 --- /dev/null +++ b/src/features/dynamic-module-loader/index.tsx @@ -0,0 +1,269 @@ +import { useMemo } from "react"; +import { useParams, useNavigate } from "react-router-dom"; +import { Box, CircularProgress } from "@mui/material"; +import { useConfig } from "@providers/config-provider"; +import { GenericModule } from "@components/generic-components/generic-module"; +import { HttpResponse } from "@lib/network/swagger-client"; +import { useAuthState } from "@providers/auth-provider"; +import { ModuleWrapperProvider } from "@providers/module-wrapper-provider"; +import { getEditFormRoute, getViewFormRoute } from "@lib/router"; + +type FnDef = { endpoint: string; method: string }; +type GetTokenFn = () => Promise; +type ResponseHandler = (resp: Response) => Promise; + +function buildApiFnHttpInternal( + fnDef: FnDef, + getToken: GetTokenFn, + handleResponse: ResponseHandler +): (data: T, params?: any) => Promise { + return async (data, params) => { + const BASE_URL = process.env.CORE_API; + let url = fnDef.endpoint; + if (url.includes("{id}")) { + const id = (data as any)?.id ?? data; + if (id !== undefined && id !== null) { + url = url.replace("{id}", id); + } + } + if (!/^https?:\/\//.test(url)) { + const normalizedBaseUrl = BASE_URL!.replace(/\/$/, ""); + const normalizedEndpoint = url.replace(/^\//, ""); + url = `${normalizedBaseUrl}/${normalizedEndpoint}`; + } + + const token = await getToken(); + const headers: Record = { + "Content-Type": "application/json", + }; + if (token) { + headers["Authorization"] = `Bearer ${token}`; + } + if (params?.headers?.Accept) { + headers["Accept"] = params.headers.Accept; + } + + let opts: RequestInit = { + method: fnDef.method, + headers, + }; + if (["POST", "PUT", "PATCH"].includes(fnDef.method)) { + opts.body = JSON.stringify(data); + } + if (fnDef.method === "GET" && data && typeof data === "object") { + const qs = new URLSearchParams(data as any).toString(); + url += (url.includes("?") ? "&" : "?") + qs; + } + + const resp = await fetch(url, opts); + return handleResponse(resp); + }; +} + +export function buildExportApiFnHttp( + fnDef: FnDef, + getToken: GetTokenFn +): (data: any, params?: any) => Promise { + return buildApiFnHttpInternal(fnDef, getToken, async (resp) => resp); +} + +export function buildApiFnHttp( + fnDef: FnDef, + getToken: GetTokenFn +): (data: T, params?: any) => Promise> { + return buildApiFnHttpInternal(fnDef, getToken, async (resp) => { + const contentType = resp.headers.get("Content-Type") || ""; + let responseData; + try { + responseData = contentType.includes("application/json") + ? await resp.json() + : await resp.text(); + } catch (err) { + responseData = undefined; + } + return { + data: resp.ok ? responseData : undefined, + error: resp.ok ? undefined : responseData, + status: resp.status, + ok: resp.ok, + redirected: resp.redirected, + headers: resp.headers, + url: resp.url, + type: resp.type, + statusText: resp.statusText, + } as HttpResponse; + }); +} + +export function buildUpdateApiFnHttp( + fnDef: { endpoint: string; method: string }, + getToken: () => Promise +): (id: number | string, data: T, params?: any) => Promise> { + const updateFn = buildApiFnHttp(fnDef, getToken); + return (id, data, params = {}) => { + const payload = { ...data, id }; + return updateFn(payload, params); + }; +} + +function wrapExtraActions( + extraActionsFromBackend: any, + getToken: () => Promise +) { + if (!extraActionsFromBackend) return undefined; + return { + ...extraActionsFromBackend, + export: extraActionsFromBackend.export + ? { + ...extraActionsFromBackend.export, + exportItemsFn: buildExportApiFnHttp( + extraActionsFromBackend.export.exportItemsFn, + getToken + ), + } + : undefined, + import: extraActionsFromBackend.import + ? { + ...extraActionsFromBackend.import, + importItemsFn: wrapApiFn(extraActionsFromBackend.import.importItemsFn, getToken), + } + : undefined, + }; +} + +function wrapApiFn(apiDef: any, getToken: () => Promise) { + return apiDef && apiDef.endpoint && apiDef.method ? buildApiFnHttp(apiDef, getToken) : undefined; +} + +export function DynamicGenericModuleLoader() { + const { getToken } = useAuthState(); + const navigate = useNavigate(); + const { moduleName } = useParams(); + const { config, loading, error } = useConfig(); + + if (loading) return ; + if (error) return {error}; + + const moduleDescriptor = useMemo(() => { + if (!config?.modules) return undefined; + return config.modules.find( + (m: any) => m.moduleName.toLowerCase() === moduleName?.toLowerCase() + ); + }, [config, moduleName]); + + if (!moduleDescriptor) return Module not found; + + function resolveSchema(ref: any) { + if (ref && ref["$ref"]) { + const path = ref["$ref"].replace(/^#\//, "").split("/"); + return path.reduce((acc: any, key: string) => acc && acc[key], config); + } + return ref; + } + + const tableProps = { + ...moduleDescriptor.tableProps, + schema: moduleDescriptor.schemas!.details!, + getItemsFn: buildApiFnHttp(moduleDescriptor.tableProps!.getItemsFn!, getToken), + detailsNavigate: (item: { id: number }) => { + if (item.id) { + navigate(`/modules/${moduleDescriptor.modulePath}/${getViewFormRoute(item.id)}`); + } + }, + editNavigate: (item: { id: number }) => { + if (item.id) { + navigate(`/modules/${moduleDescriptor.modulePath}/${getEditFormRoute(item.id)}`); + } + }, + key: moduleDescriptor.tableProps!.key, + }; + + const formFns = moduleDescriptor.formFns || {}; + const schemas = moduleDescriptor.schemas || {}; + const modulePath = `/${moduleDescriptor.modulePath}`; + + const commonFormProps = { + detailsSchema: resolveSchema(schemas.details), + updateSchema: resolveSchema(schemas.update), + createSchema: resolveSchema(schemas.create), + getItemFn: buildApiFnHttp(formFns.getItemFn!, getToken), + updateItemFn: buildUpdateApiFnHttp(formFns.updateItemFn!, getToken), + createItemFn: buildApiFnHttp(formFns.createItemFn!, getToken), + getItemId: () => undefined, + }; + + const deleteProps = formFns.deleteItemFn + ? { + header: "Data Management", + description: "Please be aware that what has been deleted can never be brought back.", + entity: moduleDescriptor.moduleName?.toLowerCase() || "item", + listRoute: moduleDescriptor.modulePath, + deleteItemFn: (id: number) => buildApiFnHttp(formFns.deleteItemFn!, getToken)(id, {}), + } + : undefined; + + const createFormProps = { + ...commonFormProps, + editable: true, + mode: "create" as const, + onSaved: () => navigate(`/modules${modulePath}`), + }; + + const editFormProps = { + ...commonFormProps, + editable: true, + mode: "update" as const, + onSaved: () => navigate(`/modules${modulePath}`), + getItemId: () => { + const params = useParams(); + return Number(params && params["*"] && params["*"].match(/^(\d+)\/edit$/)?.[1]); + }, + }; + + const viewFormProps = { + ...commonFormProps, + editable: false, + mode: "details" as const, + onSaved: () => navigate(modulePath), + getItemId: () => { + const params = useParams(); + return Number(params && params["*"] && params["*"].match(/^(\d+)\/view$/)?.[1]); + }, + ...(deleteProps && { deleteOptionProps: deleteProps }), + }; + + const extraActions = wrapExtraActions(moduleDescriptor.extraActions, getToken); + if (extraActions && extraActions.import) { + extraActions.import.importSchema = moduleDescriptor.schemas?.create; + } + if (extraActions && moduleDescriptor.extraActions) { + if ("showColumnsPanel" in moduleDescriptor.extraActions) { + extraActions.showColumnsPanel = moduleDescriptor.extraActions.showColumnsPanel; + } + if ("showFiltersPanel" in moduleDescriptor.extraActions) { + extraActions.showFiltersPanel = moduleDescriptor.extraActions.showFiltersPanel; + } + } + + return ( + + + + ); +} + +export function DynamicGenericModuleRoutes() { + return ( + + + + ); +} From 1d09f2d7b2255fd635a42734693814f03680dec6 Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sat, 30 Aug 2025 11:55:52 +0530 Subject: [PATCH 36/37] fix: allow data time fields to be null to allow for editing --- .../generic-components/edit-components/datetime-edit.tsx | 2 +- src/components/generic-components/generic-form.tsx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/generic-components/edit-components/datetime-edit.tsx b/src/components/generic-components/edit-components/datetime-edit.tsx index 8535ec52..e108b065 100644 --- a/src/components/generic-components/edit-components/datetime-edit.tsx +++ b/src/components/generic-components/edit-components/datetime-edit.tsx @@ -19,7 +19,7 @@ export const DatetimeEdit = ({ size={"small"} fullWidth variant="outlined" - value={dayjs(value)} + value={value ? dayjs(value) : null} onChange={(newValue) => { onChangeValue && onChangeValue(newValue ? newValue.toDate() : null); }} diff --git a/src/components/generic-components/generic-form.tsx b/src/components/generic-components/generic-form.tsx index f508d11d..846bc882 100644 --- a/src/components/generic-components/generic-form.tsx +++ b/src/components/generic-components/generic-form.tsx @@ -196,6 +196,13 @@ export function GenericForm case "number": initValues[field.name] = 0; break; + case "string": + if (field.format === "date-time") { + initValues[field.name] = null; + } else { + initValues[field.name] = ""; + } + break; default: initValues[field.name] = ""; break; From 35b9db3bb8d8c38e2013282900193cdaac1fb580 Mon Sep 17 00:00:00 2001 From: DilhanRubera Date: Sun, 31 Aug 2025 21:52:14 +0530 Subject: [PATCH 37/37] refactor: update swagger files --- src/lib/network/swagger-client.ts | 202 +++++------------------------- src/lib/network/swagger.json | 2 +- 2 files changed, 29 insertions(+), 175 deletions(-) diff --git a/src/lib/network/swagger-client.ts b/src/lib/network/swagger-client.ts index 83afafcc..df3712d7 100644 --- a/src/lib/network/swagger-client.ts +++ b/src/lib/network/swagger-client.ts @@ -4232,7 +4232,7 @@ export interface DealCreateDto { dealValue?: number | null; /** * Deal Currency - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|E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|NPR|AWG|EUR|USD|ANG|EUR|SRD|ANG|XAF|NOK|XAF|INR|GNF|ZAR|ZAR|SSP|USD|MWK|UGX|EUR|EUR|ETB|KES|INR|GEL|RUB|USD|PKR|PKR|INR|NGN|PLN|CAD|PLN|AFN|PKR|AOA|BRL|CHF|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ dealCurrency?: string | null; @@ -4289,7 +4289,7 @@ export interface DealDetailsDto { dealValue?: number | null; /** * Deal Currency - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|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|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ dealCurrency?: string | null; @@ -4499,7 +4499,7 @@ export interface DealUpdateDto { /** * Deal Currency * @minLength 1 - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EUR|ERN|EUR|FJD|FKP|USD|EUR|GBP|XCD|GBP|GHS|GIP|GMD|EUR|USD|GYD|HKD|HUF|IDR|EUR|ILS|GBP|INR|USD|GBP|JMD|JPY|KES|AUD|XCD|KRW|KYD|XCD|LRD|ZAR|EUR|EUR|MGA|USD|MMK|MOP|USD|XCD|EUR|MUR|MVR|MWK|MXN|MYR|NAD|AUD|NGN|EUR|NOK|AUD|NZD|NZD|PGK|PHP|PKR|PLN|NZD|USD|EUR|USD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|EUR|EUR|SLE|SSP|XCG|SZL|USD|THB|NZD|TOP|TRY|TTD|AUD|TWD|TZS|UAH|UGX|USD|USD|USD|XCD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L|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ dealCurrency?: string | null; @@ -4860,26 +4860,29 @@ export interface DomainUpdateDto { export interface DtoSchema { /** * Type + * @minLength 1 * @example "string" */ - type?: string; + type: string; /** Properties */ - properties?: Record; + properties: Record; /** Required */ - required?: string[] | null; + required: string[]; } export interface DynamicApiFnDto { /** * Endpoint + * @minLength 1 * @example "string" */ - endpoint?: string; + endpoint: string; /** * Method + * @minLength 1 * @example "string" */ - method?: string; + method: string; } export interface DynamicExtraActionsDto { @@ -4907,14 +4910,16 @@ export interface DynamicFormFnsDto { export interface DynamicModuleDto { /** * Module Name + * @minLength 1 * @example "string" */ - moduleName?: string; + moduleName: string; /** * Module Path + * @minLength 1 * @example "string" */ - modulePath?: string; + modulePath: string; /** * Add Button Content * @example "string" @@ -4935,13 +4940,14 @@ export interface DynamicSchemasDto { export interface DynamicTablePropsDto { /** * Key + * @minLength 1 * @example "string" */ - key?: string; - getItemsFn?: DynamicApiFnDto; + key: string; + getItemsFn: DynamicApiFnDto; schema?: DtoSchema; /** Initially Shown Columns */ - initiallyShownColumns?: string[] | null; + initiallyShownColumns?: string[]; } export interface EmailGroupCreateDto { @@ -5205,8 +5211,8 @@ export interface ExportActionDto { * Show Button * @example true */ - showButton?: boolean | null; - exportItemsFn?: DynamicApiFnDto; + showButton: boolean; + exportItemsFn: DynamicApiFnDto; } export interface FileDetailsDto { @@ -5233,62 +5239,14 @@ export interface ForgotPasswordDto { language?: string; } -export interface GeneratedImage { - /** - * Url - * @example "string" - */ - url?: string; - /** - * Revised Prompt - * @example "string" - */ - revisedPrompt?: string | null; -} - -export interface ImageGenerationRequest { - /** - * Prompt - * @example "string" - */ - prompt?: string; - /** - * Size - * @example "string" - */ - size?: string; - /** - * Quality - * @example "string" - */ - quality?: string; - /** - * Style - * @example "string" - */ - style?: string; -} - -export interface ImageGenerationResponse { - /** Images */ - images?: GeneratedImage[]; - /** - * Model - * @example "string" - */ - model?: string; - /** Metadata */ - metadata?: Record; -} - export interface ImportActionDto { /** * Show Button * @example true */ - showButton?: boolean | null; - importSchema?: DtoSchema; - importItemsFn?: DynamicApiFnDto; + showButton: boolean; + importSchema: DtoSchema; + importItemsFn: DynamicApiFnDto; } export interface ImportError { @@ -5950,7 +5908,7 @@ export interface OrderItemCreateDto { /** * Currency * @minLength 1 - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY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NOK|NOK|USD|EUR|EUR|INR|NPR|AWG|EUR|USD|ANG|EUR|SRD|ANG|XAF|NOK|XAF|INR|GNF|ZAR|ZAR|SSP|USD|MWK|UGX|EUR|EUR|ETB|KES|INR|GEL|RUB|USD|PKR|PKR|INR|NGN|PLN|CAD|PLN|AFN|PKR|AOA|BRL|CHF|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ currency: string; @@ -5991,7 +5949,7 @@ export interface OrderItemDetailsDto { /** * Currency * @minLength 1 - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD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|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ currency: string; @@ -6123,7 +6081,7 @@ export interface OrderItemImportDto { unitPrice?: number | null; /** * Currency - * @pattern ^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EUR|ERN|EUR|FJD|FKP|USD|EUR|GBP|XCD|GBP|GHS|GIP|GMD|EUR|USD|GYD|HKD|HUF|IDR|EUR|ILS|GBP|INR|USD|GBP|JMD|JPY|KES|AUD|XCD|KRW|KYD|XCD|LRD|ZAR|EUR|EUR|MGA|USD|MMK|MOP|USD|XCD|EUR|MUR|MVR|MWK|MXN|MYR|NAD|AUD|NGN|EUR|NOK|AUD|NZD|NZD|PGK|PHP|PKR|PLN|NZD|USD|EUR|USD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|EUR|EUR|SLE|SSP|XCG|SZL|USD|THB|NZD|TOP|TRY|TTD|AUD|TWD|TZS|UAH|UGX|USD|USD|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SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$ * @example "USD" */ currency?: string | null; @@ -6559,45 +6517,6 @@ export interface TaskExecutionDto { completed?: boolean; } -export interface TextGenerationRequest { - /** - * User Prompt - * @example "string" - */ - userPrompt?: string; - /** - * System Prompt - * @example "string" - */ - systemPrompt?: string; -} - -export interface TextGenerationResponse { - /** - * Generated Text - * @example "string" - */ - generatedText?: string; - /** - * Model - * @example "string" - */ - model?: string; - /** - * Tokens Used - * @format int32 - * @example 1 - */ - tokensUsed?: number; - /** - * Finish Reason - * @example "string" - */ - finishReason?: string; - /** Metadata */ - metadata?: Record; -} - export interface TopAccountDto { /** * Account Id @@ -7165,7 +7084,7 @@ export class HttpClient { /** * @title LeadCMS API - * @version 1.2.69.0 + * @version 1.2.70.0 */ export class Api< SecurityDataType extends unknown, @@ -8151,27 +8070,6 @@ export class Api< ...params, }), - /** - * No description - * - * @tags Content - * @name ContentAiTranslationDraftDetail - * @request GET:/api/content/{id}/ai-translation-draft/{language} - * @secure - */ - contentAiTranslationDraftDetail: ( - id: number, - language: string, - params: RequestParams = {}, - ) => - this.request({ - path: `/api/content/${id}/ai-translation-draft/${language}`, - method: "GET", - secure: true, - format: "json", - ...params, - }), - /** * No description * @@ -12196,28 +12094,6 @@ export class Api< ...params, }), - /** - * No description - * - * @tags AIAssistance - * @name AiImageGenerationCreate - * @request POST:/api/ai/image-generation - * @secure - */ - aiImageGenerationCreate: ( - data: ImageGenerationRequest, - params: RequestParams = {}, - ) => - this.request({ - path: `/api/ai/image-generation`, - method: "POST", - body: data, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - /** * No description * @@ -13589,28 +13465,6 @@ export class Api< ...params, }), - /** - * No description - * - * @tags AIAssistance - * @name AiTextGenerationCreate - * @request POST:/api/ai/text-generation - * @secure - */ - aiTextGenerationCreate: ( - data: TextGenerationRequest, - params: RequestParams = {}, - ) => - this.request({ - path: `/api/ai/text-generation`, - method: "POST", - body: data, - secure: true, - type: ContentType.Json, - format: "json", - ...params, - }), - /** * No description * diff --git a/src/lib/network/swagger.json b/src/lib/network/swagger.json index 0b4f06e2..253d9d1b 100644 --- a/src/lib/network/swagger.json +++ b/src/lib/network/swagger.json @@ -1 +1 @@ -{"openapi":"3.0.1","info":{"title":"LeadCMS API","version":"1.2.69.0"},"paths":{"/api/accounts/{id}/comments":{"get":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/import":{"post":{"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/{id}":{"get":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts":{"post":{"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Accounts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/export":{"get":{"tags":["Accounts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/sync":{"get":{"tags":["Accounts"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/activity-logs":{"get":{"tags":["ActivityLogs"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments":{"get":{"tags":["Comments"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Comments"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}/translation-draft/{language}":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}/translations":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/import":{"post":{"tags":["Comments"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/export":{"get":{"tags":["Comments"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/sync":{"get":{"tags":["Comments"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/config":{"get":{"tags":["Config"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConfigDto"}}}}}}},"/api/contacts/{id}":{"get":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts":{"get":{"tags":["Contacts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Contacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/{id}/comments":{"get":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/import":{"post":{"tags":["Contacts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/export":{"get":{"tags":["Contacts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/sync":{"get":{"tags":["Contacts"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content":{"get":{"tags":["Content"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/tags":{"get":{"tags":["Content"],"parameters":[{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/categories":{"get":{"tags":["Content"],"parameters":[{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/comments":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/sync":{"get":{"tags":["Content"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/draft":{"patch":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/draft":{"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/translation-draft/{language}":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/translations":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/import":{"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/export":{"get":{"tags":["Content"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/ai-translation-draft/{language}":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["ContentTypes"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/{id}":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/import":{"post":{"tags":["ContentTypes"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/export":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/sync":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/continents":{"get":{"tags":["Continents"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/countries":{"get":{"tags":["Countries"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/crm/metrics":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmMetricsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CrmMetricsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/cms/metrics":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CmsMetricsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CmsMetricsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/crm/sales-performance":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}}}}}}},"/api/dashboard/crm/top-accounts":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}}}}}}},"/api/dashboard/crm/recent-orders":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}}}}}}},"/api/dashboard/crm/contact-growth":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}}}}}}},"/api/dashboard/cms/top-content":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}}}}}}},"/api/dashboard/cms/content-distribution":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}}}}}}},"/api/dashboard/cms/recent-content":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}}}}}}},"/api/dashboard/cms/content-growth":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}}}}}}},"/api/dashboard/cms/top-authors":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}}}}}}},"/api/dashboard/cms/recent-comments":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":4}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}}}}}}},"/api/deal-pipelines/{id}":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines":{"post":{"tags":["DealPipelines"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelines"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines/export":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines/sync":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages":{"post":{"tags":["DealPipelineStages"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/{id}":{"patch":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/export":{"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/sync":{"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals":{"post":{"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Deals"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/{id}":{"patch":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/export":{"get":{"tags":["Deals"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/sync":{"get":{"tags":["Deals"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/verify/{name}":{"get":{"tags":["Domains"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"force","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/import":{"post":{"tags":["Domains"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/{id}":{"get":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains":{"post":{"tags":["Domains"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Domains"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/export":{"get":{"tags":["Domains"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/sync":{"get":{"tags":["Domains"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email/verify/{email}":{"get":{"tags":["Email"],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","format":"email"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}/translation-draft/{language}":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}/translations":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups":{"post":{"tags":["EmailGroups"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["EmailGroups"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/export":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/sync":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}/translation-draft/{language}":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}/translations":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates":{"post":{"tags":["EmailTemplates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["EmailTemplates"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/export":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/sync":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/files":{"post":{"tags":["Files"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["File","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/files/{pathToFile}":{"get":{"tags":["Files"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/go/{uid}":{"get":{"tags":["Links"],"parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/azure-login":{"get":{"tags":["Identity"],"parameters":[{"name":"returnUrl","in":"query","schema":{"type":"string","default":"/"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/azure-login-callback":{"get":{"tags":["Identity"],"parameters":[{"name":"returnUrl","in":"query","schema":{"type":"string","default":"/"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/login":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LoginDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LoginDto"}}}},"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error"},"429":{"description":"Too Many Requests"}}}},"/api/identity/forgot-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}}}},"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}}}},"/api/identity/reset-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}}}},"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"}}}},"/api/identity/change-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/ai/image-generation":{"post":{"tags":["AIAssistance"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ImageGenerationRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImageGenerationResponse"}}}}}}},"/api/links":{"post":{"tags":["Links"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Links"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/import":{"post":{"tags":["Links"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/{id}":{"get":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/export":{"get":{"tags":["Links"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/sync":{"get":{"tags":["Links"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/locks/{key}":{"get":{"tags":["Locks"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/locks/{key}/release":{"get":{"tags":["Locks"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/logs":{"get":{"tags":["Logs"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users/me":{"get":{"tags":["Users"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/media":{"post":{"tags":["Media"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["File","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"},"Description":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"},"Description":{"style":"form"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Media"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"scopeUid","in":"query","schema":{"type":"string"}},{"name":"includeFolders","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Media"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["FileName","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"},"FileName":{"type":"string"},"Description":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"},"FileName":{"style":"form"},"Description":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/media/{pathToFile}":{"get":{"tags":["Media"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Media"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items":{"post":{"tags":["OrderItems"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["OrderItems"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/{id}":{"patch":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/import":{"post":{"tags":["OrderItems"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/export":{"get":{"tags":["OrderItems"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/sync":{"get":{"tags":["OrderItems"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/{id}/comments":{"get":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/import":{"post":{"tags":["Orders"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/{id}":{"get":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders":{"post":{"tags":["Orders"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Orders"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/export":{"get":{"tags":["Orders"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/sync":{"get":{"tags":["Orders"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/{id}":{"get":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions":{"post":{"tags":["Promotions"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Promotions"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/export":{"get":{"tags":["Promotions"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/sync":{"get":{"tags":["Promotions"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/redirects/discover":{"get":{"tags":["Redirects"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/system":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/system/{key}":{"get":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"put":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"value","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user/{key}":{"get":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingValueDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingValueDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"put":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"value","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user/overrides":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/{id}":{"get":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings":{"post":{"tags":["Settings"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Settings"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/export":{"get":{"tags":["Settings"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/sync":{"get":{"tags":["Settings"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/sse/supported-entities":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"}}}},"/api/sse/connection-info":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"}}}},"/api/sse/stream":{"get":{"tags":["Sse"],"parameters":[{"name":"entities","in":"query","schema":{"type":"string","default":"*"}},{"name":"includeContent","in":"query","schema":{"type":"boolean","default":false}},{"name":"includeLiveDrafts","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"}}}},"/api/sse/stats":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"}}}},"/api/statistics":{"post":{"tags":["Statistics"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error"}}}},"/api/tasks":{"get":{"tags":["Tasks"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/start/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/stop/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/execute/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskExecutionDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskExecutionDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/ai/text-generation":{"post":{"tags":["AIAssistance"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextGenerationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TextGenerationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TextGenerationRequest"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextGenerationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TextGenerationResponse"}}}}}}},"/api/unsubscribes/import":{"post":{"tags":["Unsubscribes"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/{id}":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes":{"post":{"tags":["Unsubscribes"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Unsubscribes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/export":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/sync":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users":{"get":{"tags":["Users"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users/{id}":{"get":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/version":{"get":{"tags":["Version"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"500":{"description":"Server Error"}}}}},"components":{"schemas":{"AccountCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"Colombo"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"https://example.com"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"https://example.com/logo.png"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"50K-100K"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"AccountDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"Colombo"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"https://example.com"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"https://example.com/logo.png"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"50K-100K"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true},"domains":{"title":"Domains","type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"},"nullable":true}},"additionalProperties":false},"AccountImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","example":"string","x-unique":true},"city":{"title":"City","type":"string","nullable":true,"example":"string"},"stateCode":{"title":"State Code","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"string"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"string"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"AccountUpdateDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"string"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"string"},"city":{"title":"City","type":"string","nullable":true,"example":"string"},"stateCode":{"title":"State Code","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"ActivityLogDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","example":"string"},"sourceId":{"title":"Source Id","type":"integer","format":"int32","example":1},"type":{"title":"Type","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"ip":{"title":"Ip","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","example":"string"}},"additionalProperties":false},"AuthConfigDto":{"type":"object","properties":{"methods":{"title":"Methods","type":"array","items":{"type":"string"}},"msal":{"$ref":"#/components/schemas/MsalConfigDto"}},"additionalProperties":false},"ChangePasswordDto":{"required":["currentPassword","newPassword"],"type":"object","properties":{"currentPassword":{"title":"Current Password","minLength":1,"type":"string","example":"string"},"newPassword":{"title":"New Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"CmsMetricsDto":{"type":"object","properties":{"totalContent":{"title":"Total Content","type":"integer","format":"int64"},"contentChangePct":{"title":"Content Change Pct","type":"number","format":"double","nullable":true,"example":1},"contentUpdates":{"title":"Content Updates","type":"integer","format":"int64"},"contentUpdatesChangePct":{"title":"Content Updates Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalMedia":{"title":"Total Media","type":"integer","format":"int64"},"mediaChangePct":{"title":"Media Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalComments":{"title":"Total Comments","type":"integer","format":"int64"},"commentsChangePct":{"title":"Comments Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"CommentCreateBaseDto":{"required":["authorEmail","body"],"type":"object","properties":{"authorEmail":{"title":"Author Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentCreateDto":{"required":["authorEmail","body","commentableType"],"type":"object","properties":{"authorEmail":{"title":"Author Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","nullable":true,"example":1},"commentableUid":{"title":"Commentable Uid","type":"string","nullable":true,"example":"string"},"commentableType":{"title":"Commentable Type","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"CommentDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","example":1},"commentableType":{"title":"Commentable Type","type":"string","example":"string"},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"content":{"$ref":"#/components/schemas/ContentDetailsDto"},"parent":{"$ref":"#/components/schemas/CommentDetailsDto"},"authorEmail":{"title":"Author Email","type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"contact":{"$ref":"#/components/schemas/ContactDetailsDto"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"authorName":{"title":"Author Name","type":"string","nullable":true,"example":"string"},"authorEmail":{"title":"Author Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"body":{"title":"Body","type":"string","example":"string"},"status":{"title":"Status","enum":["NotApproved","Approved","Spam"],"type":"string","nullable":true,"example":"NotApproved"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","example":1},"commentableType":{"title":"Commentable Type","type":"string","example":"string"},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"key":{"title":"Key","type":"string","nullable":true,"example":"string"},"parentKey":{"title":"Parent Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"user":{"title":"User","type":"string","example":"string"},"comment":{"title":"Comment","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"articleId":{"title":"Article Id","type":"integer","format":"int32","nullable":true,"example":1},"article":{"title":"Article","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"CommentUpdateDto":{"required":["body"],"type":"object","properties":{"body":{"title":"Body","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"ConfigDto":{"type":"object","properties":{"auth":{"$ref":"#/components/schemas/AuthConfigDto"},"entities":{"title":"Entities","type":"array","items":{"type":"string"}},"languages":{"title":"Languages","type":"array","items":{"$ref":"#/components/schemas/LanguageDto"}},"settings":{"title":"Settings","type":"object","additionalProperties":{"type":"string"},"example":{"key1":"value1","key2":"value2"}},"defaultLanguage":{"title":"Default Language","type":"string","example":"string"},"modules":{"title":"Modules","type":"array","items":{"$ref":"#/components/schemas/DynamicModuleDto"},"nullable":true},"capabilities":{"title":"Capabilities","type":"array","items":{"type":"string"}}},"additionalProperties":false},"ContactCreateDto":{"required":["email"],"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"}},"additionalProperties":false},"ContactDetailsDto":{"required":["email"],"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"domainId":{"title":"Domain Id","type":"integer","format":"int32","example":1},"accountId":{"title":"Account Id","type":"integer","format":"int32","example":1},"domain":{"$ref":"#/components/schemas/DomainDetailsDto"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"orders":{"title":"Orders","type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"},"nullable":true}},"additionalProperties":false},"ContactGrowthPointDto":{"type":"object","properties":{"period":{"title":"Period","type":"string","example":"string"},"contacts":{"title":"Contacts","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContactImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com","x-unique":true},"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1},"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"accountName":{"title":"Account Name","type":"string","nullable":true,"example":"string"},"domainId":{"title":"Domain Id","type":"integer","format":"int32","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"ContactUpdateDto":{"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"}},"additionalProperties":false},"ContentCreateDto":{"required":["author","body","description","language","slug","title","type"],"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","example":"string"},"description":{"title":"Description","minLength":1,"type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","example":"string"},"type":{"title":"Type","minLength":1,"type":"string","example":"string"},"author":{"title":"Author","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentDetailsDto":{"required":["author","body","description","language","slug","title","type"],"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","example":"string"},"description":{"title":"Description","minLength":1,"type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","example":"string"},"type":{"title":"Type","minLength":1,"type":"string","example":"string"},"author":{"title":"Author","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"comments":{"title":"Comments","type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"},"nullable":true}},"additionalProperties":false},"ContentDistributionItemDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"value":{"title":"Value","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContentGrowthPointDto":{"type":"object","properties":{"period":{"title":"Period","type":"string","example":"string"},"contents":{"title":"Contents","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContentImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"body":{"title":"Body","type":"string","nullable":true,"example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","type":"string","nullable":true,"example":"string","x-unique":true},"type":{"title":"Type","type":"string","nullable":true,"example":"string"},"author":{"title":"Author","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"string","nullable":true,"example":"string"},"allowComments":{"title":"Allow Comments","type":"boolean","nullable":true,"example":true},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"title":{"title":"Title","type":"string","example":"string"},"type":{"title":"Type","type":"string","example":"string"},"author":{"title":"Author","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentTypeCreateDto":{"required":["format","uid"],"type":"object","properties":{"uid":{"title":"Uid","minLength":1,"type":"string","example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","example":true}},"additionalProperties":false},"ContentTypeDetailsDto":{"required":["format","uid"],"type":"object","properties":{"uid":{"title":"Uid","minLength":1,"type":"string","example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","example":true},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentTypeImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","nullable":true,"example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","nullable":true,"example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"ContentTypeUpdateDto":{"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","nullable":true,"example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","nullable":true,"example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"ContentUpdateDto":{"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","nullable":true,"example":"string"},"description":{"title":"Description","minLength":1,"type":"string","nullable":true,"example":"string"},"body":{"title":"Body","minLength":1,"type":"string","nullable":true,"example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","nullable":true,"example":"string"},"type":{"title":"Type","minLength":1,"type":"string","nullable":true,"example":"string"},"author":{"title":"Author","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","minLength":1,"type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"CrmMetricsDto":{"type":"object","properties":{"totalContacts":{"title":"Total Contacts","type":"integer","format":"int64"},"contactsChangePct":{"title":"Contacts Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalAccounts":{"title":"Total Accounts","type":"integer","format":"int64"},"accountsChangePct":{"title":"Accounts Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalOrders":{"title":"Total Orders","type":"integer","format":"int64"},"ordersChangePct":{"title":"Orders Change Pct","type":"number","format":"double","nullable":true,"example":1},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"revenueChangePct":{"title":"Revenue Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"DealCreateDto":{"required":["dealPipelineId","userId"],"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":true,"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GEL|RUB|USD|PKR|PKR|INR|NGN|PLN|CAD|PLN|AFN|PKR|AOA|BRL|CHF|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|ZWG|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|MYR|SGD|CNY|HKD|JPY|MOP|MYR|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"expectedCloseDate":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"contactIds":{"title":"Contact Ids","uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"}}},"additionalProperties":false},"DealDetailsDto":{"required":["dealPipelineId","userId"],"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":true,"example":1},"dealCurrency":{"title":"Deal Currency","pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EUR|ERN|EUR|FJD|FKP|USD|EUR|GBP|XCD|GBP|GHS|GIP|GMD|EUR|USD|GYD|HKD|HUF|IDR|EUR|ILS|GBP|INR|USD|GBP|JMD|JPY|KES|AUD|XCD|KRW|KYD|XCD|LRD|ZAR|EUR|E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":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"dealPipeline":{"$ref":"#/components/schemas/DealPipelineDetailsDto"},"pipelineStage":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true}},"additionalProperties":false},"DealPipelineCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"DealPipelineDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"pipelineStages":{"title":"Pipeline Stages","type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"},"nullable":true}},"additionalProperties":false},"DealPipelineStageCreateDto":{"required":["dealPipelineId","name","order"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"order":{"title":"Order","type":"integer","format":"int32","example":1}},"additionalProperties":false},"DealPipelineStageDetailsDto":{"required":["dealPipelineId","name","order"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"order":{"title":"Order","type":"integer","format":"int32","example":1},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"dealPipeline":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"additionalProperties":false},"DealPipelineStageUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"order":{"title":"Order","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"DealPipelineUpdateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"DealUpdateDto":{"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","nullable":true,"example":1},"contactIds":{"title":"Contact Ids","uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":true,"example":1},"dealCurrency":{"title":"Deal Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|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|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|MYR|SGD|CNY|HKD|JPY|MOP|MYR|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"expectedCloseDate":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DnsRecord":{"type":"object","properties":{"domainName":{"title":"Domain Name","type":"string","example":"string"},"recordClass":{"title":"Record Class","type":"string","example":"string"},"recordType":{"title":"Record Type","type":"string","example":"string"},"timeToLive":{"title":"Time To Live","type":"integer","format":"int32","example":1},"value":{"title":"Value","type":"string","example":"string"}},"additionalProperties":false},"DomainCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"example.com"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DomainDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"example.com"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true}},"additionalProperties":false},"DomainImportDto":{"required":["name"],"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"name":{"title":"Name","minLength":1,"type":"string","example":"string","x-unique":true},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DomainUpdateDto":{"type":"object","properties":{"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DtoSchema":{"type":"object","properties":{"type":{"title":"Type","type":"string","example":"string"},"properties":{"title":"Properties","type":"object","additionalProperties":{},"nullable":true},"required":{"title":"Required","type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"DynamicApiFnDto":{"type":"object","properties":{"endpoint":{"title":"Endpoint","type":"string","example":"string"},"method":{"title":"Method","type":"string","example":"string"}},"additionalProperties":false},"DynamicExtraActionsDto":{"type":"object","properties":{"export":{"$ref":"#/components/schemas/ExportActionDto"},"import":{"$ref":"#/components/schemas/ImportActionDto"},"showColumnsPanel":{"title":"Show Columns Panel","type":"boolean","nullable":true,"example":true},"showFiltersPanel":{"title":"Show Filters Panel","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"DynamicFormFnsDto":{"type":"object","properties":{"getItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"createItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"updateItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"deleteItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"DynamicModuleDto":{"type":"object","properties":{"moduleName":{"title":"Module Name","type":"string","example":"string"},"modulePath":{"title":"Module Path","type":"string","example":"string"},"addButtonContent":{"title":"Add Button Content","type":"string","nullable":true,"example":"string"},"schemas":{"$ref":"#/components/schemas/DynamicSchemasDto"},"formFns":{"$ref":"#/components/schemas/DynamicFormFnsDto"},"tableProps":{"$ref":"#/components/schemas/DynamicTablePropsDto"},"extraActions":{"$ref":"#/components/schemas/DynamicExtraActionsDto"}},"additionalProperties":false},"DynamicSchemasDto":{"type":"object","properties":{"details":{"$ref":"#/components/schemas/DtoSchema"},"update":{"$ref":"#/components/schemas/DtoSchema"},"create":{"$ref":"#/components/schemas/DtoSchema"}},"additionalProperties":false},"DynamicTablePropsDto":{"type":"object","properties":{"key":{"title":"Key","type":"string","example":"string"},"getItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"schema":{"$ref":"#/components/schemas/DtoSchema"},"initiallyShownColumns":{"title":"Initially Shown Columns","type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"EmailGroupCreateDto":{"required":["language","name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"EmailGroupDetailsDto":{"required":["language","name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"emailTemplates":{"title":"Email Templates","type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"},"nullable":true}},"additionalProperties":false},"EmailGroupUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"EmailTemplateCreateDto":{"required":["bodyTemplate","emailGroupId","fromEmail","fromName","language","name","subject"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","example":"string"},"fromEmail":{"title":"From Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","example":1}},"additionalProperties":false},"EmailTemplateDetailsDto":{"required":["bodyTemplate","emailGroupId","fromEmail","fromName","language","name","subject"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","example":"string"},"fromEmail":{"title":"From Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","example":1},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"emailGroup":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"additionalProperties":false},"EmailTemplateUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","nullable":true,"example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","nullable":true,"example":"string"},"fromEmail":{"title":"From Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"ExportActionDto":{"type":"object","properties":{"showButton":{"title":"Show Button","type":"boolean","nullable":true,"example":true},"exportItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"FileDetailsDto":{"type":"object","properties":{"location":{"title":"Location","type":"string","example":"string"}},"additionalProperties":false},"ForgotPasswordDto":{"required":["email"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"GeneratedImage":{"type":"object","properties":{"url":{"title":"Url","type":"string","example":"string"},"revisedPrompt":{"title":"Revised Prompt","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"ImageGenerationRequest":{"type":"object","properties":{"prompt":{"title":"Prompt","type":"string","example":"string"},"size":{"title":"Size","type":"string","example":"string"},"quality":{"title":"Quality","type":"string","example":"string"},"style":{"title":"Style","type":"string","example":"string"}},"additionalProperties":false},"ImageGenerationResponse":{"type":"object","properties":{"images":{"title":"Images","type":"array","items":{"$ref":"#/components/schemas/GeneratedImage"}},"model":{"title":"Model","type":"string","example":"string"},"metadata":{"title":"Metadata","type":"object","additionalProperties":{}}},"additionalProperties":false},"ImportActionDto":{"type":"object","properties":{"showButton":{"title":"Show Button","type":"boolean","nullable":true,"example":true},"importSchema":{"$ref":"#/components/schemas/DtoSchema"},"importItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"ImportError":{"type":"object","properties":{"row":{"title":"Row","type":"integer","format":"int32","example":1},"message":{"title":"Message","type":"string","example":"string"}},"additionalProperties":false},"ImportResult":{"type":"object","properties":{"added":{"title":"Added","type":"integer","format":"int32","example":1},"updated":{"title":"Updated","type":"integer","format":"int32","example":1},"failed":{"title":"Failed","type":"integer","format":"int32","example":1},"skipped":{"title":"Skipped","type":"integer","format":"int32","example":1},"errors":{"title":"Errors","type":"array","items":{"$ref":"#/components/schemas/ImportError"},"nullable":true}},"additionalProperties":false},"LanguageDto":{"type":"object","properties":{"code":{"title":"Code","type":"string","example":"string"},"name":{"title":"Name","type":"string","example":"string"}},"additionalProperties":false},"LinkCreateDto":{"required":["destination","name"],"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LinkDetailsDto":{"required":["destination","name"],"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"LinkImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LinkUpdateDto":{"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LogRecord":{"type":"object","properties":{"dateTime":{"title":"Date Time","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"logLevel":{"title":"Log Level","enum":["Trace","Debug","Information","Warning","Error","Critical","None"],"type":"string","example":"Trace"},"message":{"title":"Message","type":"string","example":"string"}},"additionalProperties":false},"LoginDto":{"required":["email","password"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"password":{"title":"Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"MediaDetailsDto":{"type":"object","properties":{"location":{"title":"Location","type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"scopeUid":{"title":"Scope Uid","type":"string","example":"string"},"name":{"title":"Name","type":"string","example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"size":{"title":"Size","type":"integer","format":"int64"},"extension":{"title":"Extension","type":"string","example":"string"},"mimeType":{"title":"Mime Type","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"MsalConfigDto":{"type":"object","properties":{"clientId":{"title":"Client Id","type":"string","example":"string"},"authority":{"title":"Authority","type":"string","example":"string"},"redirectUri":{"title":"Redirect Uri","type":"string","example":"string"}},"additionalProperties":false},"OrderCreateDto":{"required":["contactId","currency","exchangeRate","refNo"],"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"testOrder":{"title":"Test Order","type":"boolean","example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","example":"Pending"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"OrderDetailsDto":{"required":["contactId","currency","exchangeRate","refNo"],"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"testOrder":{"title":"Test Order","type":"boolean","example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"quantity":{"title":"Quantity","type":"integer","format":"int32","example":1},"total":{"title":"Total","type":"number","format":"double","example":1},"currencyTotal":{"title":"Currency Total","type":"number","format":"double","example":1},"commission":{"title":"Commission","type":"number","format":"double","example":1},"refund":{"title":"Refund","type":"number","format":"double","example":1},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","example":"Pending"},"orderItems":{"title":"Order Items","type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"},"nullable":true},"contact":{"$ref":"#/components/schemas/ContactDetailsDto"}},"additionalProperties":false},"OrderImportDto":{"required":["currency"],"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"refNo":{"title":"Ref No","type":"string","nullable":true,"example":"string","x-unique":true},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","nullable":true,"example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"contactEmail":{"title":"Contact Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"testOrder":{"title":"Test Order","type":"boolean","nullable":true,"example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","nullable":true,"example":"Pending"}},"additionalProperties":false},"OrderItemCreateDto":{"required":["currency","orderId","productName","quantity","unitPrice"],"type":"object","properties":{"orderId":{"title":"Order Id","type":"integer","format":"int32","example":1},"productName":{"title":"Product Name","minLength":1,"type":"string","example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|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P||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|MYR|SGD|CNY|HKD|JPY|MOP|MYR|TWD|ZAR)$","type":"string","example":"USD"},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"OrderItemDetailsDto":{"required":["currency","orderId","productName","quantity","unitPrice"],"type":"object","properties":{"orderId":{"title":"Order Id","type":"integer","format":"int32","example":1},"productName":{"title":"Product Name","minLength":1,"type":"string","example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EU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AR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|MYR|SGD|CNY|HKD|JPY|MOP|MYR|TWD|ZAR)$","type":"string","example":"USD"},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"currencyTotal":{"title":"Currency Total","type":"number","format":"double","example":1},"total":{"title":"Total","type":"number","format":"double","example":1},"order":{"$ref":"#/components/schemas/OrderDetailsDto"}},"additionalProperties":false},"OrderItemImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"orderId":{"title":"Order Id","type":"integer","format":"int32","nullable":true,"example":1},"orderRefNo":{"title":"Order Ref No","type":"string","nullable":true,"example":"string"},"productName":{"title":"Product Name","type":"string","nullable":true,"example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","nullable":true,"example":1},"currency":{"title":"Currency","pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EUR|ERN|EUR|FJD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|UAH|XOF|NGN|BRL|COP|VED|CNY|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|MYR|SGD|CNY|HKD|JPY|MOP|MYR|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"quantity":{"title":"Quantity","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"OrderItemUpdateDto":{"type":"object","properties":{"productName":{"title":"Product Name","minLength":1,"type":"string","nullable":true,"example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","nullable":true,"example":1},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","nullable":true,"example":1},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"OrderSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"orderNumber":{"title":"Order Number","type":"string","example":"string"},"customer":{"title":"Customer","type":"string","example":"string"},"amount":{"title":"Amount","type":"number","format":"double","example":1},"status":{"title":"Status","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"OrderUpdateDto":{"required":["refNo"],"type":"object","properties":{"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","nullable":true,"example":"Pending"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"PromotionCreateDto":{"required":["code","endDate","name","startDate"],"type":"object","properties":{"code":{"title":"Code","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"PromotionDetailsDto":{"required":["code","endDate","name","startDate"],"type":"object","properties":{"code":{"title":"Code","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"PromotionUpdateDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"RedirectDetailsDto":{"type":"object","properties":{"contentId":{"title":"Content Id","type":"integer","format":"int32","example":1},"fromSlug":{"title":"From Slug","type":"string","example":"string"},"toSlug":{"title":"To Slug","type":"string","example":"string"},"fromLanguage":{"title":"From Language","type":"string","example":"string"},"toLanguage":{"title":"To Language","type":"string","example":"string"}},"additionalProperties":false},"ResetPasswordDto":{"required":["newPassword","token","userId"],"type":"object","properties":{"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"token":{"title":"Token","minLength":1,"type":"string","example":"string"},"newPassword":{"title":"New Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"SalesPerformancePointDto":{"required":["period"],"type":"object","properties":{"period":{"title":"Period","minLength":1,"type":"string","example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"orders":{"title":"Orders","type":"integer","format":"int32","example":1}},"additionalProperties":false},"SettingCreateDto":{"required":["key","value"],"type":"object","properties":{"key":{"title":"Key","maxLength":255,"minLength":1,"type":"string","example":"string"},"value":{"title":"Value","minLength":1,"type":"string","example":"string"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"SettingDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"key":{"title":"Key","type":"string","example":"string"},"value":{"title":"Value","type":"string","example":"string"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"isUserLevel":{"title":"Is User Level","type":"boolean","readOnly":true,"example":true}},"additionalProperties":false},"SettingUpdateDto":{"required":["value"],"type":"object","properties":{"value":{"title":"Value","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"SettingValueDto":{"type":"object","properties":{"key":{"title":"Key","type":"string","example":"string"},"value":{"title":"Value","type":"string","example":"string"},"isUserLevel":{"title":"Is User Level","type":"boolean","example":true}},"additionalProperties":false},"StringStringValuesKeyValuePair":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"TaskDetailsDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"cronSchedule":{"title":"Cron Schedule","type":"string","example":"string"},"retryCount":{"title":"Retry Count","type":"integer","format":"int32","example":1},"retryInterval":{"title":"Retry Interval","type":"integer","format":"int32","example":1},"isRunning":{"title":"Is Running","type":"boolean","example":true}},"additionalProperties":false},"TaskExecutionDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"completed":{"title":"Completed","type":"boolean","example":true}},"additionalProperties":false},"TextGenerationRequest":{"type":"object","properties":{"userPrompt":{"title":"User Prompt","type":"string","example":"string"},"systemPrompt":{"title":"System Prompt","type":"string","example":"string"}},"additionalProperties":false},"TextGenerationResponse":{"type":"object","properties":{"generatedText":{"title":"Generated Text","type":"string","example":"string"},"model":{"title":"Model","type":"string","example":"string"},"tokensUsed":{"title":"Tokens Used","type":"integer","format":"int32","example":1},"finishReason":{"title":"Finish Reason","type":"string","example":"string"},"metadata":{"title":"Metadata","type":"object","additionalProperties":{}}},"additionalProperties":false},"TopAccountDto":{"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","example":1},"name":{"title":"Name","type":"string","example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"changePct":{"title":"Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"TopAuthorDto":{"type":"object","properties":{"author":{"title":"Author","type":"string","example":"string"},"count":{"title":"Count","type":"integer","format":"int32","example":1},"changePct":{"title":"Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"TopContentItemDto":{"type":"object","properties":{"contentId":{"title":"Content Id","type":"integer","format":"int32","example":1},"title":{"title":"Title","type":"string","example":"string"},"commentCount":{"title":"Comment Count","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UnsubscribeDetailsDto":{"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"reason":{"title":"Reason","type":"string","example":"string"},"source":{"title":"Source","type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UnsubscribeDto":{"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"reason":{"title":"Reason","type":"string","example":"string"},"source":{"title":"Source","type":"string","example":"string"}},"additionalProperties":false},"UnsubscribeImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"reason":{"title":"Reason","type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"contactEmail":{"title":"Contact Email","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UserCreateDto":{"required":["displayName","email","userName"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","example":"string"},"userName":{"title":"User Name","minLength":1,"type":"string","example":"string"},"displayName":{"title":"Display Name","minLength":1,"type":"string","example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"password":{"title":"Password","type":"string","nullable":true,"example":"string"},"generatePassword":{"title":"Generate Password","type":"boolean","example":true},"sendPasswordEmail":{"title":"Send Password Email","type":"boolean","example":true},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"UserDetailsDto":{"required":["displayName","email","userName"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","example":"string"},"userName":{"title":"User Name","minLength":1,"type":"string","example":"string"},"displayName":{"title":"Display Name","minLength":1,"type":"string","example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"id":{"title":"Id","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"lastTimeLoggedIn":{"title":"Last Time Logged In","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"}},"additionalProperties":false},"UserUpdateDto":{"type":"object","properties":{"email":{"title":"Email","type":"string","nullable":true,"example":"string"},"userName":{"title":"User Name","type":"string","nullable":true,"example":"string"},"displayName":{"title":"Display Name","type":"string","nullable":true,"example":"string"},"avatarUrl":{"title":"Avatar Url","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"password":{"title":"Password","type":"string","nullable":true,"example":"string"},"generatePassword":{"title":"Generate Password","type":"boolean","example":true},"sendPasswordEmail":{"title":"Send Password Email","type":"boolean","example":true},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"VersionDto":{"type":"object","properties":{"version":{"title":"Version","type":"string","nullable":true,"example":"string"},"ip":{"title":"Ip","type":"string","nullable":true,"example":"string"},"iPv4":{"title":"I Pv4","type":"string","nullable":true,"example":"string"},"iPv6":{"title":"I Pv6","type":"string","nullable":true,"example":"string"},"headers":{"title":"Headers","type":"array","items":{"$ref":"#/components/schemas/StringStringValuesKeyValuePair"}}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"apiKey","description":"Copy 'Bearer ' + valid JWT token into field","name":"Authorization","in":"header"}}},"security":[{"Bearer":[]}]} \ No newline at end of file +{"openapi":"3.0.1","info":{"title":"LeadCMS API","version":"1.2.70.0"},"paths":{"/api/accounts/{id}/comments":{"get":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/import":{"post":{"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/{id}":{"get":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AccountUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Accounts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts":{"post":{"tags":["Accounts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AccountCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Accounts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/export":{"get":{"tags":["Accounts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/accounts/sync":{"get":{"tags":["Accounts"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/activity-logs":{"get":{"tags":["ActivityLogs"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityLogDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments":{"get":{"tags":["Comments"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Comments"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}/translation-draft/{language}":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/{id}/translations":{"get":{"tags":["Comments"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/import":{"post":{"tags":["Comments"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/export":{"get":{"tags":["Comments"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/comments/sync":{"get":{"tags":["Comments"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/config":{"get":{"tags":["Config"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConfigDto"}}}}}}},"/api/contacts/{id}":{"get":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContactUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts":{"get":{"tags":["Contacts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Contacts"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContactCreateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContactDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/{id}/comments":{"get":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Contacts"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/import":{"post":{"tags":["Contacts"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/export":{"get":{"tags":["Contacts"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/contacts/sync":{"get":{"tags":["Contacts"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content":{"get":{"tags":["Content"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/tags":{"get":{"tags":["Content"],"parameters":[{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/categories":{"get":{"tags":["Content"],"parameters":[{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/comments":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/sync":{"get":{"tags":["Content"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/draft":{"patch":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/draft":{"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentUpdateDto"}}}},"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/translation-draft/{language}":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/{id}/translations":{"get":{"tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDetailsDto"}}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/import":{"post":{"tags":["Content"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content/export":{"get":{"tags":["Content"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"X-Media-Resolution","in":"header","description":"Set to 'absolute' to resolve media URLs as absolute URLs. Default is 'relative'.","schema":{"type":"string","default":"relative"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["ContentTypes"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentTypeCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/{id}":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ContentTypeUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ContentTypeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["ContentTypes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/import":{"post":{"tags":["ContentTypes"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentTypeImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/export":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/content-types/sync":{"get":{"tags":["ContentTypes"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/continents":{"get":{"tags":["Continents"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/countries":{"get":{"tags":["Countries"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/crm/metrics":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmMetricsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CrmMetricsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/cms/metrics":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CmsMetricsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CmsMetricsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/dashboard/crm/sales-performance":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SalesPerformancePointDto"}}}}}}}},"/api/dashboard/crm/top-accounts":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAccountDto"}}}}}}}},"/api/dashboard/crm/recent-orders":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderSummaryDto"}}}}}}}},"/api/dashboard/crm/contact-growth":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContactGrowthPointDto"}}}}}}}},"/api/dashboard/cms/top-content":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopContentItemDto"}}}}}}}},"/api/dashboard/cms/content-distribution":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentDistributionItemDto"}}}}}}}},"/api/dashboard/cms/recent-content":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentSummaryDto"}}}}}}}},"/api/dashboard/cms/content-growth":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentGrowthPointDto"}}}}}}}},"/api/dashboard/cms/top-authors":{"get":{"tags":["Dashboard"],"parameters":[{"name":"From","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"To","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Period","in":"query","schema":{"type":"string"}},{"name":"Compare","in":"query","schema":{"type":"boolean"}},{"name":"GroupBy","in":"query","schema":{"enum":["Day","Week","Month","Quarter","Year"],"type":"string"}},{"name":"CountryCode","in":"query","schema":{"enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string"}},{"name":"AccountId","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TopAuthorDto"}}}}}}}},"/api/dashboard/cms/recent-comments":{"get":{"tags":["Dashboard"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":4}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentSummaryDto"}}}}}}}},"/api/deal-pipelines/{id}":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["DealPipelines"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines":{"post":{"tags":["DealPipelines"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelines"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines/export":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipelines/sync":{"get":{"tags":["DealPipelines"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages":{"post":{"tags":["DealPipelineStages"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/{id}":{"patch":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["DealPipelineStages"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/export":{"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deal-pipeline-stages/sync":{"get":{"tags":["DealPipelineStages"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals":{"post":{"tags":["Deals"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Deals"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/{id}":{"patch":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DealUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DealDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Deals"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/export":{"get":{"tags":["Deals"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/deals/sync":{"get":{"tags":["Deals"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/verify/{name}":{"get":{"tags":["Domains"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"force","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/import":{"post":{"tags":["Domains"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/{id}":{"get":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DomainUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Domains"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains":{"post":{"tags":["Domains"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DomainCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/DomainDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Domains"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/export":{"get":{"tags":["Domains"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/domains/sync":{"get":{"tags":["Domains"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email/verify/{email}":{"get":{"tags":["Email"],"parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string","format":"email"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}/translation-draft/{language}":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}/translations":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/{id}":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailGroupUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["EmailGroups"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups":{"post":{"tags":["EmailGroups"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailGroupCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["EmailGroups"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/export":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-groups/sync":{"get":{"tags":["EmailGroups"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}/translation-draft/{language}":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"language","in":"path","required":true,"schema":{"type":"string"}},{"name":"transformer","in":"query","schema":{"enum":["EmptyCopy","KeepOriginal"],"type":"string","default":"EmptyCopy"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}/translations":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/{id}":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailTemplateUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["EmailTemplates"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates":{"post":{"tags":["EmailTemplates"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/EmailTemplateCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["EmailTemplates"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/export":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/email-templates/sync":{"get":{"tags":["EmailTemplates"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/files":{"post":{"tags":["Files"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["File","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/files/{pathToFile}":{"get":{"tags":["Files"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/go/{uid}":{"get":{"tags":["Links"],"parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/azure-login":{"get":{"tags":["Identity"],"parameters":[{"name":"returnUrl","in":"query","schema":{"type":"string","default":"/"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/azure-login-callback":{"get":{"tags":["Identity"],"parameters":[{"name":"returnUrl","in":"query","schema":{"type":"string","default":"/"}}],"responses":{"200":{"description":"Success"}}}},"/api/identity/login":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LoginDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LoginDto"}}}},"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error"},"429":{"description":"Too Many Requests"}}}},"/api/identity/forgot-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordDto"}}}},"responses":{"200":{"description":"Success"},"404":{"description":"Not Found"}}}},"/api/identity/reset-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ResetPasswordDto"}}}},"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"}}}},"/api/identity/change-password":{"post":{"tags":["Identity"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ChangePasswordDto"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links":{"post":{"tags":["Links"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LinkCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Links"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/import":{"post":{"tags":["Links"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LinkImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/{id}":{"get":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/LinkUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/LinkDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Links"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/export":{"get":{"tags":["Links"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/links/sync":{"get":{"tags":["Links"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/locks/{key}":{"get":{"tags":["Locks"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"409":{"description":"Conflict"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/locks/{key}/release":{"get":{"tags":["Locks"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/logs":{"get":{"tags":["Logs"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogRecord"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users/me":{"get":{"tags":["Users"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/media":{"post":{"tags":["Media"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["File","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"},"Description":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"},"Description":{"style":"form"}}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Media"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}},{"name":"scopeUid","in":"query","schema":{"type":"string"}},{"name":"includeFolders","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaDetailsDto"}}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Media"],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["FileName","ScopeUid"],"type":"object","properties":{"File":{"type":"string","format":"binary"},"ScopeUid":{"type":"string"},"FileName":{"type":"string"},"Description":{"type":"string"}}},"encoding":{"File":{"style":"form"},"ScopeUid":{"style":"form"},"FileName":{"style":"form"},"Description":{"style":"form"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/MediaDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/media/{pathToFile}":{"get":{"tags":["Media"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Media"],"parameters":[{"name":"pathToFile","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items":{"post":{"tags":["OrderItems"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderItemCreateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["OrderItems"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/{id}":{"patch":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderItemUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["OrderItems"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderItemDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/import":{"post":{"tags":["OrderItems"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderItemImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/export":{"get":{"tags":["OrderItems"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/order-items/sync":{"get":{"tags":["OrderItems"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/{id}/comments":{"get":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CommentCreateBaseDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/CommentDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/import":{"post":{"tags":["Orders"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/{id}":{"get":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Orders"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders":{"post":{"tags":["Orders"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/OrderCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/OrderDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Orders"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/export":{"get":{"tags":["Orders"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/orders/sync":{"get":{"tags":["Orders"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/{id}":{"get":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PromotionUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Promotions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions":{"post":{"tags":["Promotions"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/PromotionCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Promotions"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PromotionDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/export":{"get":{"tags":["Promotions"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/promotions/sync":{"get":{"tags":["Promotions"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/redirects/discover":{"get":{"tags":["Redirects"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RedirectDetailsDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/system":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/system/{key}":{"get":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"put":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"value","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}},"text/json":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}},"text/csv":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SettingValueDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user/{key}":{"get":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingValueDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingValueDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"put":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"value","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/user/overrides":{"get":{"tags":["Settings"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/{id}":{"get":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SettingUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Settings"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings":{"post":{"tags":["Settings"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SettingCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/SettingDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Settings"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SettingDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/export":{"get":{"tags":["Settings"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/settings/sync":{"get":{"tags":["Settings"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/sse/supported-entities":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/csv":{"schema":{"type":"array","items":{"type":"string"}}}}},"401":{"description":"Unauthorized"}}}},"/api/sse/connection-info":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"}}}},"/api/sse/stream":{"get":{"tags":["Sse"],"parameters":[{"name":"entities","in":"query","schema":{"type":"string","default":"*"}},{"name":"includeContent","in":"query","schema":{"type":"boolean","default":false}},{"name":"includeLiveDrafts","in":"query","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Success"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"}}}},"/api/sse/stats":{"get":{"tags":["Sse"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"}}}},"/api/statistics":{"post":{"tags":["Statistics"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error"}}}},"/api/tasks":{"get":{"tags":["Tasks"],"responses":{"200":{"description":"Success"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/start/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/stop/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskDetailsDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/tasks/execute/{name}":{"get":{"tags":["Tasks"],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskExecutionDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/TaskExecutionDto"}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/import":{"post":{"tags":["Unsubscribes"],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"application/*+json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeImportDto"}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}},"text/json":{"schema":{"$ref":"#/components/schemas/ImportResult"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/{id}":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Unsubscribes"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes":{"post":{"tags":["Unsubscribes"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"get":{"tags":["Unsubscribes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UnsubscribeDetailsDto"}}}}},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/export":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"text/csv":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/unsubscribes/sync":{"get":{"tags":["Unsubscribes"],"parameters":[{"name":"syncToken","in":"query","schema":{"type":"string"}},{"name":"query","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"204":{"description":"No Content"},"400":{"description":"Bad Request"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users":{"get":{"tags":["Users"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}},"text/csv":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserDetailsDto"}}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"post":{"tags":["Users"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserCreateDto"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/users/{id}":{"get":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"patch":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UserUpdateDto"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/UserDetailsDto"}}}},"401":{"description":"Unauthorized"},"422":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}},"delete":{"tags":["Users"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"500":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}},"/api/version":{"get":{"tags":["Version"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"500":{"description":"Server Error"}}}}},"components":{"schemas":{"AccountCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"Colombo"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"https://example.com"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"https://example.com/logo.png"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"50K-100K"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"AccountDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"Colombo"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"https://example.com"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"https://example.com/logo.png"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"50K-100K"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true},"domains":{"title":"Domains","type":"array","items":{"$ref":"#/components/schemas/DomainDetailsDto"},"nullable":true}},"additionalProperties":false},"AccountImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","example":"string","x-unique":true},"city":{"title":"City","type":"string","nullable":true,"example":"string"},"stateCode":{"title":"State Code","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"string"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"string"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"AccountUpdateDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"siteUrl":{"title":"Site Url","type":"string","nullable":true,"example":"string"},"logoUrl":{"title":"Logo Url","type":"string","nullable":true,"example":"string"},"city":{"title":"City","type":"string","nullable":true,"example":"string"},"stateCode":{"title":"State Code","type":"string","nullable":true,"example":"string"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"employeesRange":{"title":"Employees Range","type":"string","nullable":true,"example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"ActivityLogDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","example":"string"},"sourceId":{"title":"Source Id","type":"integer","format":"int32","example":1},"type":{"title":"Type","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"ip":{"title":"Ip","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","example":"string"}},"additionalProperties":false},"AuthConfigDto":{"type":"object","properties":{"methods":{"title":"Methods","type":"array","items":{"type":"string"}},"msal":{"$ref":"#/components/schemas/MsalConfigDto"}},"additionalProperties":false},"ChangePasswordDto":{"required":["currentPassword","newPassword"],"type":"object","properties":{"currentPassword":{"title":"Current Password","minLength":1,"type":"string","example":"string"},"newPassword":{"title":"New Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"CmsMetricsDto":{"type":"object","properties":{"totalContent":{"title":"Total Content","type":"integer","format":"int64"},"contentChangePct":{"title":"Content Change Pct","type":"number","format":"double","nullable":true,"example":1},"contentUpdates":{"title":"Content Updates","type":"integer","format":"int64"},"contentUpdatesChangePct":{"title":"Content Updates Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalMedia":{"title":"Total Media","type":"integer","format":"int64"},"mediaChangePct":{"title":"Media Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalComments":{"title":"Total Comments","type":"integer","format":"int64"},"commentsChangePct":{"title":"Comments Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"CommentCreateBaseDto":{"required":["authorEmail","body"],"type":"object","properties":{"authorEmail":{"title":"Author Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentCreateDto":{"required":["authorEmail","body","commentableType"],"type":"object","properties":{"authorEmail":{"title":"Author Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","nullable":true,"example":1},"commentableUid":{"title":"Commentable Uid","type":"string","nullable":true,"example":"string"},"commentableType":{"title":"Commentable Type","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"CommentDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"authorName":{"title":"Author Name","type":"string","example":"string"},"body":{"title":"Body","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","example":1},"commentableType":{"title":"Commentable Type","type":"string","example":"string"},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"},"language":{"title":"Language","type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"content":{"$ref":"#/components/schemas/ContentDetailsDto"},"parent":{"$ref":"#/components/schemas/CommentDetailsDto"},"authorEmail":{"title":"Author Email","type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"contact":{"$ref":"#/components/schemas/ContactDetailsDto"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"authorName":{"title":"Author Name","type":"string","nullable":true,"example":"string"},"authorEmail":{"title":"Author Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"body":{"title":"Body","type":"string","example":"string"},"status":{"title":"Status","enum":["NotApproved","Approved","Spam"],"type":"string","nullable":true,"example":"NotApproved"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"commentableId":{"title":"Commentable Id","type":"integer","format":"int32","example":1},"commentableType":{"title":"Commentable Type","type":"string","example":"string"},"parentId":{"title":"Parent Id","type":"integer","format":"int32","nullable":true,"example":1},"key":{"title":"Key","type":"string","nullable":true,"example":"string"},"parentKey":{"title":"Parent Key","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"CommentSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"user":{"title":"User","type":"string","example":"string"},"comment":{"title":"Comment","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"articleId":{"title":"Article Id","type":"integer","format":"int32","nullable":true,"example":1},"article":{"title":"Article","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"CommentUpdateDto":{"required":["body"],"type":"object","properties":{"body":{"title":"Body","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"ConfigDto":{"type":"object","properties":{"auth":{"$ref":"#/components/schemas/AuthConfigDto"},"entities":{"title":"Entities","type":"array","items":{"type":"string"}},"languages":{"title":"Languages","type":"array","items":{"$ref":"#/components/schemas/LanguageDto"}},"settings":{"title":"Settings","type":"object","additionalProperties":{"type":"string"},"example":{"key1":"value1","key2":"value2"}},"defaultLanguage":{"title":"Default Language","type":"string","example":"string"},"modules":{"title":"Modules","type":"array","items":{"$ref":"#/components/schemas/DynamicModuleDto"},"nullable":true},"capabilities":{"title":"Capabilities","type":"array","items":{"type":"string"}}},"additionalProperties":false},"ContactCreateDto":{"required":["email"],"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"}},"additionalProperties":false},"ContactDetailsDto":{"required":["email"],"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"domainId":{"title":"Domain Id","type":"integer","format":"int32","example":1},"accountId":{"title":"Account Id","type":"integer","format":"int32","example":1},"domain":{"$ref":"#/components/schemas/DomainDetailsDto"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"orders":{"title":"Orders","type":"array","items":{"$ref":"#/components/schemas/OrderDetailsDto"},"nullable":true}},"additionalProperties":false},"ContactGrowthPointDto":{"type":"object","properties":{"period":{"title":"Period","type":"string","example":"string"},"contacts":{"title":"Contacts","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContactImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com","x-unique":true},"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1},"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"accountName":{"title":"Account Name","type":"string","nullable":true,"example":"string"},"domainId":{"title":"Domain Id","type":"integer","format":"int32","nullable":true,"example":1},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"ContactUpdateDto":{"type":"object","properties":{"prefix":{"title":"Prefix","type":"string","nullable":true,"example":"string"},"firstName":{"title":"First Name","type":"string","nullable":true,"example":"string"},"middleName":{"title":"Middle Name","type":"string","nullable":true,"example":"string"},"lastName":{"title":"Last Name","type":"string","nullable":true,"example":"string"},"birthday":{"title":"Birthday","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"continentCode":{"title":"Continent Code","enum":["ZZ","AF","AN","AS","EU","NA","OC","SA"],"type":"string","nullable":true,"example":"ZZ"},"countryCode":{"title":"Country Code","enum":["ZZ","AF","AL","AQ","DZ","AS","AD","AO","AG","AZ","AR","AU","AT","BS","BH","BD","AM","BB","BE","BM","BT","BO","BA","BW","BV","BR","BZ","IO","SB","VG","BN","BG","MM","BI","BY","KH","CM","CA","CV","KY","CF","LK","TD","CL","CN","TW","CX","CC","CO","KM","YT","CG","CD","CK","CR","HR","CU","CY","CZ","BJ","DK","DM","DO","EC","SV","GQ","ET","ER","EE","FO","FK","GS","FJ","FI","AX","FR","GF","PF","TF","DJ","GA","GE","GM","PS","DE","GH","GI","KI","GR","GL","GD","GP","GU","GT","GN","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IL","IT","CI","JM","JP","KZ","JO","KE","KP","KR","KW","KG","LA","LB","LS","LV","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MQ","MR","MU","MX","MC","MN","MD","ME","MS","MA","MZ","OM","NA","NR","NP","NL","CW","AW","SX","BQ","NC","VU","NZ","NI","NE","NG","NU","NF","NO","MP","UM","FM","MH","PW","PK","PA","PG","PY","PE","PH","PN","PL","PT","GW","TL","PR","QA","RE","RO","RU","RW","BL","SH","KN","AI","LC","MF","PM","VC","SM","ST","SA","SN","RS","SC","SL","SG","SK","VN","SI","SO","ZA","ZW","ES","SS","SD","EH","SR","SJ","SZ","SE","CH","SY","TJ","TH","TG","TK","TO","TT","AE","TN","TR","TM","TC","TV","UG","UA","MK","EG","GB","GG","JE","IM","TZ","US","VI","BF","UY","UZ","VE","WF","WS","YE","ZM"],"type":"string","nullable":true,"example":"ZZ"},"cityName":{"title":"City Name","type":"string","nullable":true,"example":"string"},"address1":{"title":"Address1","type":"string","nullable":true,"example":"string"},"address2":{"title":"Address2","type":"string","nullable":true,"example":"string"},"jobTitle":{"title":"Job Title","type":"string","nullable":true,"example":"string"},"companyName":{"title":"Company Name","type":"string","nullable":true,"example":"string"},"department":{"title":"Department","type":"string","nullable":true,"example":"string"},"state":{"title":"State","type":"string","nullable":true,"example":"string"},"zip":{"title":"Zip","type":"string","nullable":true,"example":"string"},"phone":{"title":"Phone","type":"string","nullable":true,"example":"string"},"timezone":{"title":"Timezone","type":"integer","format":"int32","nullable":true,"example":1},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"socialMedia":{"title":"Social Media","type":"object","additionalProperties":{"type":"string"},"nullable":true,"example":{"key1":"value1","key2":"value2"}},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"unsubscribeId":{"title":"Unsubscribe Id","type":"integer","format":"int32","nullable":true,"example":1,"x-hide":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"email":{"title":"Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"}},"additionalProperties":false},"ContentCreateDto":{"required":["author","body","description","language","slug","title","type"],"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","example":"string"},"description":{"title":"Description","minLength":1,"type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","example":"string"},"type":{"title":"Type","minLength":1,"type":"string","example":"string"},"author":{"title":"Author","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentDetailsDto":{"required":["author","body","description","language","slug","title","type"],"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","example":"string"},"description":{"title":"Description","minLength":1,"type":"string","example":"string"},"body":{"title":"Body","minLength":1,"type":"string","example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","example":"string"},"type":{"title":"Type","minLength":1,"type":"string","example":"string"},"author":{"title":"Author","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"comments":{"title":"Comments","type":"array","items":{"$ref":"#/components/schemas/CommentDetailsDto"},"nullable":true}},"additionalProperties":false},"ContentDistributionItemDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"value":{"title":"Value","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContentGrowthPointDto":{"type":"object","properties":{"period":{"title":"Period","type":"string","example":"string"},"contents":{"title":"Contents","type":"integer","format":"int32","example":1}},"additionalProperties":false},"ContentImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"body":{"title":"Body","type":"string","nullable":true,"example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","type":"string","nullable":true,"example":"string","x-unique":true},"type":{"title":"Type","type":"string","nullable":true,"example":"string"},"author":{"title":"Author","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"string","nullable":true,"example":"string"},"allowComments":{"title":"Allow Comments","type":"boolean","nullable":true,"example":true},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"title":{"title":"Title","type":"string","example":"string"},"type":{"title":"Type","type":"string","example":"string"},"author":{"title":"Author","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentTypeCreateDto":{"required":["format","uid"],"type":"object","properties":{"uid":{"title":"Uid","minLength":1,"type":"string","example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","example":true}},"additionalProperties":false},"ContentTypeDetailsDto":{"required":["format","uid"],"type":"object","properties":{"uid":{"title":"Uid","minLength":1,"type":"string","example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","example":true},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"ContentTypeImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","nullable":true,"example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","nullable":true,"example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"ContentTypeUpdateDto":{"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"format":{"title":"Format","enum":["MD","MDX","HTML","JSON","YAML","PlainText"],"type":"string","nullable":true,"example":"MD"},"supportsComments":{"title":"Supports Comments","type":"boolean","nullable":true,"example":true},"supportsCoverImage":{"title":"Supports Cover Image","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"ContentUpdateDto":{"type":"object","properties":{"title":{"title":"Title","minLength":1,"type":"string","nullable":true,"example":"string"},"description":{"title":"Description","minLength":1,"type":"string","nullable":true,"example":"string"},"body":{"title":"Body","minLength":1,"type":"string","nullable":true,"example":"string"},"coverImageUrl":{"title":"Cover Image Url","type":"string","example":"string"},"coverImageAlt":{"title":"Cover Image Alt","type":"string","example":"string"},"slug":{"title":"Slug","minLength":1,"type":"string","nullable":true,"example":"string"},"type":{"title":"Type","minLength":1,"type":"string","nullable":true,"example":"string"},"author":{"title":"Author","type":"string","nullable":true,"example":"string"},"language":{"title":"Language","minLength":1,"type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"category":{"title":"Category","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"allowComments":{"title":"Allow Comments","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"publishedAt":{"title":"Published At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"CrmMetricsDto":{"type":"object","properties":{"totalContacts":{"title":"Total Contacts","type":"integer","format":"int64"},"contactsChangePct":{"title":"Contacts Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalAccounts":{"title":"Total Accounts","type":"integer","format":"int64"},"accountsChangePct":{"title":"Accounts Change Pct","type":"number","format":"double","nullable":true,"example":1},"totalOrders":{"title":"Total Orders","type":"integer","format":"int64"},"ordersChangePct":{"title":"Orders Change Pct","type":"number","format":"double","nullable":true,"example":1},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"revenueChangePct":{"title":"Revenue Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"DealCreateDto":{"required":["dealPipelineId","userId"],"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":true,"example":1},"dealCurrency":{"title":"Deal Currency","pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|P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D|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"expectedCloseDate":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"contactIds":{"title":"Contact Ids","uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"}}},"additionalProperties":false},"DealDetailsDto":{"required":["dealPipelineId","userId"],"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":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USD|PKR|PKR|INR|NGN|PLN|CAD|PLN|AFN|PKR|AOA|BRL|CHF|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"expectedCloseDate":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"dealPipeline":{"$ref":"#/components/schemas/DealPipelineDetailsDto"},"pipelineStage":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true}},"additionalProperties":false},"DealPipelineCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"DealPipelineDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"pipelineStages":{"title":"Pipeline Stages","type":"array","items":{"$ref":"#/components/schemas/DealPipelineStageDetailsDto"},"nullable":true}},"additionalProperties":false},"DealPipelineStageCreateDto":{"required":["dealPipelineId","name","order"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"order":{"title":"Order","type":"integer","format":"int32","example":1}},"additionalProperties":false},"DealPipelineStageDetailsDto":{"required":["dealPipelineId","name","order"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","example":1},"order":{"title":"Order","type":"integer","format":"int32","example":1},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"dealPipeline":{"$ref":"#/components/schemas/DealPipelineDetailsDto"}},"additionalProperties":false},"DealPipelineStageUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"order":{"title":"Order","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"DealPipelineUpdateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"DealUpdateDto":{"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","nullable":true,"example":1},"dealPipelineId":{"title":"Deal Pipeline Id","type":"integer","format":"int32","nullable":true,"example":1},"contactIds":{"title":"Contact Ids","uniqueItems":true,"type":"array","items":{"type":"integer","format":"int32"},"nullable":true},"dealValue":{"title":"Deal Value","type":"number","format":"double","nullable":true,"example":1},"dealCurrency":{"title":"Deal Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|INR|INR|XOF|XOF|BDT|INR|CNY|INR|EUR|INR|BAM|BAM|ERN|EUR|EUR|EUR|EUR|BDT|INR|RUB|PHP|UGX|USD|USD|USD|IQD|IRR|EUR|CZK|CAD|RUB|GBP|DKK|DKK|KES|EUR|EUR|CHF|EUR|EUR|CHF|EUR|XOF|INR|EUR|XAF|MVR|XOF|BTN|KES|GHS|XOF|EUR|EUR|||AED|XCD|XCD|ALL|ARS|USD|EUR|AUD|BBD|BDT|EUR|BGN|BIF|BMD|BND|BRL|BSD|BWP|BZD|CAD|AUD|CHF|NZD|CLP|XAF|CNY|COP|CVE|AUD|EUR|CZK|EUR|USD|DKK|XCD|EUR|ERN|EUR|FJD|FKP|USD|EUR|GBP|XCD|GBP|GHS|GIP|GMD|EUR|USD|GYD|HKD|HUF|IDR|EUR|ILS|GBP|INR|USD|GBP|JMD|JPY|KES|AUD|XCD|KRW|KYD|XCD|LRD|ZAR|EUR|EUR|MGA|USD|MMK|MOP|USD|XCD|EUR|MUR|MVR|MWK|MXN|MYR|NAD|AUD|NGN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|IRR|EUR|CDF|KES|KES|EUR|INR|KES|TZS|KES|MUR|MGA|MZN|XAF|NZD|CAD|IQD|MKD|INR|MNT|INR|INR|CAD|INR|BND|MYR|BND|IDR|MYR|SGD|EUR|XAF|USD|MMK|RUB|IRR|NAD|NOK|NOK|USD|EUR|EUR|INR|NPR|AWG|EUR|USD|ANG|EUR|SRD|ANG|XAF|NOK|XAF|INR|GNF|ZAR|ZAR|SSP|USD|MWK|UGX|EUR|EUR|ETB|KES|INR|GEL|RUB|USD|PKR|PKR|INR|NGN|PLN|CAD|PLN|AFN|PKR|AOA|BRL|CHF|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"expectedCloseDate":{"title":"Expected Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"actualCloseDate":{"title":"Actual Close Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DnsRecord":{"type":"object","properties":{"domainName":{"title":"Domain Name","type":"string","example":"string"},"recordClass":{"title":"Record Class","type":"string","example":"string"},"recordType":{"title":"Record Type","type":"string","example":"string"},"timeToLive":{"title":"Time To Live","type":"integer","format":"int32","example":1},"value":{"title":"Value","type":"string","example":"string"}},"additionalProperties":false},"DomainCreateDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"example.com"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DomainDetailsDto":{"required":["name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"example.com"},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"account":{"$ref":"#/components/schemas/AccountDetailsDto"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactDetailsDto"},"nullable":true}},"additionalProperties":false},"DomainImportDto":{"required":["name"],"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"name":{"title":"Name","minLength":1,"type":"string","example":"string","x-unique":true},"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"httpCheck":{"title":"Http Check","type":"boolean","nullable":true,"example":true},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"dnsRecords":{"title":"Dns Records","type":"array","items":{"$ref":"#/components/schemas/DnsRecord"},"nullable":true},"dnsCheck":{"title":"Dns Check","type":"boolean","nullable":true,"example":true},"mxCheck":{"title":"Mx Check","type":"boolean","nullable":true,"example":true},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DomainUpdateDto":{"type":"object","properties":{"title":{"title":"Title","type":"string","nullable":true,"example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"url":{"title":"Url","type":"string","nullable":true,"example":"https://example.com"},"faviconUrl":{"title":"Favicon Url","type":"string","nullable":true,"example":"https://example.com/favicon.ico"},"free":{"title":"Free","type":"boolean","nullable":true,"example":true},"disposable":{"title":"Disposable","type":"boolean","nullable":true,"example":true},"catchAll":{"title":"Catch All","type":"boolean","nullable":true,"example":true},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"DtoSchema":{"required":["properties","required","type"],"type":"object","properties":{"type":{"title":"Type","minLength":1,"type":"string","example":"string"},"properties":{"title":"Properties","type":"object","additionalProperties":{}},"required":{"title":"Required","type":"array","items":{"type":"string"}}},"additionalProperties":false},"DynamicApiFnDto":{"required":["endpoint","method"],"type":"object","properties":{"endpoint":{"title":"Endpoint","minLength":1,"type":"string","example":"string"},"method":{"title":"Method","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"DynamicExtraActionsDto":{"type":"object","properties":{"export":{"$ref":"#/components/schemas/ExportActionDto"},"import":{"$ref":"#/components/schemas/ImportActionDto"},"showColumnsPanel":{"title":"Show Columns Panel","type":"boolean","nullable":true,"example":true},"showFiltersPanel":{"title":"Show Filters Panel","type":"boolean","nullable":true,"example":true}},"additionalProperties":false},"DynamicFormFnsDto":{"type":"object","properties":{"getItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"createItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"updateItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"deleteItemFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"DynamicModuleDto":{"required":["moduleName","modulePath"],"type":"object","properties":{"moduleName":{"title":"Module Name","minLength":1,"type":"string","example":"string"},"modulePath":{"title":"Module Path","minLength":1,"type":"string","example":"string"},"addButtonContent":{"title":"Add Button Content","type":"string","nullable":true,"example":"string"},"schemas":{"$ref":"#/components/schemas/DynamicSchemasDto"},"formFns":{"$ref":"#/components/schemas/DynamicFormFnsDto"},"tableProps":{"$ref":"#/components/schemas/DynamicTablePropsDto"},"extraActions":{"$ref":"#/components/schemas/DynamicExtraActionsDto"}},"additionalProperties":false},"DynamicSchemasDto":{"type":"object","properties":{"details":{"$ref":"#/components/schemas/DtoSchema"},"update":{"$ref":"#/components/schemas/DtoSchema"},"create":{"$ref":"#/components/schemas/DtoSchema"}},"additionalProperties":false},"DynamicTablePropsDto":{"required":["getItemsFn","key"],"type":"object","properties":{"key":{"title":"Key","minLength":1,"type":"string","example":"string"},"getItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"},"schema":{"$ref":"#/components/schemas/DtoSchema"},"initiallyShownColumns":{"title":"Initially Shown Columns","type":"array","items":{"type":"string"}}},"additionalProperties":false},"EmailGroupCreateDto":{"required":["language","name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"EmailGroupDetailsDto":{"required":["language","name"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"emailTemplates":{"title":"Email Templates","type":"array","items":{"$ref":"#/components/schemas/EmailTemplateDetailsDto"},"nullable":true}},"additionalProperties":false},"EmailGroupUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"EmailTemplateCreateDto":{"required":["bodyTemplate","emailGroupId","fromEmail","fromName","language","name","subject"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","example":"string"},"fromEmail":{"title":"From Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","example":1}},"additionalProperties":false},"EmailTemplateDetailsDto":{"required":["bodyTemplate","emailGroupId","fromEmail","fromName","language","name","subject"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","example":"string"},"fromEmail":{"title":"From Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","example":"string"},"language":{"title":"Language","minLength":1,"type":"string","example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","example":1},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"emailGroup":{"$ref":"#/components/schemas/EmailGroupDetailsDto"}},"additionalProperties":false},"EmailTemplateUpdateDto":{"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"example":"string"},"subject":{"title":"Subject","minLength":1,"type":"string","nullable":true,"example":"string"},"bodyTemplate":{"title":"Body Template","minLength":1,"type":"string","nullable":true,"example":"string"},"fromEmail":{"title":"From Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"fromName":{"title":"From Name","minLength":1,"type":"string","nullable":true,"example":"string"},"language":{"title":"Language","type":"string","nullable":true,"example":"string"},"translationKey":{"title":"Translation Key","type":"string","nullable":true,"example":"string"},"emailGroupId":{"title":"Email Group Id","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"ExportActionDto":{"required":["exportItemsFn","showButton"],"type":"object","properties":{"showButton":{"title":"Show Button","type":"boolean","example":true},"exportItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"FileDetailsDto":{"type":"object","properties":{"location":{"title":"Location","type":"string","example":"string"}},"additionalProperties":false},"ForgotPasswordDto":{"required":["email"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"ImportActionDto":{"required":["importItemsFn","importSchema","showButton"],"type":"object","properties":{"showButton":{"title":"Show Button","type":"boolean","example":true},"importSchema":{"$ref":"#/components/schemas/DtoSchema"},"importItemsFn":{"$ref":"#/components/schemas/DynamicApiFnDto"}},"additionalProperties":false},"ImportError":{"type":"object","properties":{"row":{"title":"Row","type":"integer","format":"int32","example":1},"message":{"title":"Message","type":"string","example":"string"}},"additionalProperties":false},"ImportResult":{"type":"object","properties":{"added":{"title":"Added","type":"integer","format":"int32","example":1},"updated":{"title":"Updated","type":"integer","format":"int32","example":1},"failed":{"title":"Failed","type":"integer","format":"int32","example":1},"skipped":{"title":"Skipped","type":"integer","format":"int32","example":1},"errors":{"title":"Errors","type":"array","items":{"$ref":"#/components/schemas/ImportError"},"nullable":true}},"additionalProperties":false},"LanguageDto":{"type":"object","properties":{"code":{"title":"Code","type":"string","example":"string"},"name":{"title":"Name","type":"string","example":"string"}},"additionalProperties":false},"LinkCreateDto":{"required":["destination","name"],"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LinkDetailsDto":{"required":["destination","name"],"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"LinkImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LinkUpdateDto":{"type":"object","properties":{"uid":{"title":"Uid","type":"string","nullable":true,"example":"string"},"destination":{"title":"Destination","type":"string","nullable":true,"example":"string"},"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"LogRecord":{"type":"object","properties":{"dateTime":{"title":"Date Time","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"logLevel":{"title":"Log Level","enum":["Trace","Debug","Information","Warning","Error","Critical","None"],"type":"string","example":"Trace"},"message":{"title":"Message","type":"string","example":"string"}},"additionalProperties":false},"LoginDto":{"required":["email","password"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","example":"example@example.com"},"password":{"title":"Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"MediaDetailsDto":{"type":"object","properties":{"location":{"title":"Location","type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"scopeUid":{"title":"Scope Uid","type":"string","example":"string"},"name":{"title":"Name","type":"string","example":"string"},"description":{"title":"Description","type":"string","nullable":true,"example":"string"},"size":{"title":"Size","type":"integer","format":"int64"},"extension":{"title":"Extension","type":"string","example":"string"},"mimeType":{"title":"Mime Type","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"MsalConfigDto":{"type":"object","properties":{"clientId":{"title":"Client Id","type":"string","example":"string"},"authority":{"title":"Authority","type":"string","example":"string"},"redirectUri":{"title":"Redirect Uri","type":"string","example":"string"}},"additionalProperties":false},"OrderCreateDto":{"required":["contactId","currency","exchangeRate","refNo"],"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"testOrder":{"title":"Test Order","type":"boolean","example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","example":"Pending"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"OrderDetailsDto":{"required":["contactId","currency","exchangeRate","refNo"],"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"testOrder":{"title":"Test Order","type":"boolean","example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"quantity":{"title":"Quantity","type":"integer","format":"int32","example":1},"total":{"title":"Total","type":"number","format":"double","example":1},"currencyTotal":{"title":"Currency Total","type":"number","format":"double","example":1},"commission":{"title":"Commission","type":"number","format":"double","example":1},"refund":{"title":"Refund","type":"number","format":"double","example":1},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","example":"Pending"},"orderItems":{"title":"Order Items","type":"array","items":{"$ref":"#/components/schemas/OrderItemDetailsDto"},"nullable":true},"contact":{"$ref":"#/components/schemas/ContactDetailsDto"}},"additionalProperties":false},"OrderImportDto":{"required":["currency"],"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"refNo":{"title":"Ref No","type":"string","nullable":true,"example":"string","x-unique":true},"orderNumber":{"title":"Order Number","type":"string","nullable":true,"example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"exchangeRate":{"title":"Exchange Rate","type":"number","format":"double","nullable":true,"example":1},"currency":{"title":"Currency","minLength":1,"type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","nullable":true,"example":1},"contactEmail":{"title":"Contact Email","pattern":"^([\\w\\.\\-]+)@([\\w\\-]+)((\\.(\\w){1,63})+)$","type":"string","format":"email","nullable":true,"example":"example@example.com"},"testOrder":{"title":"Test Order","type":"boolean","nullable":true,"example":true},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","nullable":true,"example":"Pending"}},"additionalProperties":false},"OrderItemCreateDto":{"required":["currency","orderId","productName","quantity","unitPrice"],"type":"object","properties":{"orderId":{"title":"Order Id","type":"integer","format":"int32","example":1},"productName":{"title":"Product Name","minLength":1,"type":"string","example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JP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|CVE|EUR|XAF|XOF|EUR|MOP|MZN|EUR|STN|USD|BOB|USD|PEN|INR|IDR|IDR|BDT|MMK|CHF|BIF|MDL|RON|TZS|BYN|KGS|KZT|MDL|RUB|UAH|RWF|TZS|INR|RUB|KES|INR|INR|TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","example":"USD"},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"OrderItemDetailsDto":{"required":["currency","orderId","productName","quantity","unitPrice"],"type":"object","properties":{"orderId":{"title":"Order Id","type":"integer","format":"int32","example":1},"productName":{"title":"Product Name","minLength":1,"type":"string","example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","example":1},"currency":{"title":"Currency","minLength":1,"pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN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TZS|EUR|EUR|PKR|INR|EUR|NOK|SEK|MZN|XOF|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","example":"USD"},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"currencyTotal":{"title":"Currency Total","type":"number","format":"double","example":1},"total":{"title":"Total","type":"number","format":"double","example":1},"order":{"$ref":"#/components/schemas/OrderDetailsDto"}},"additionalProperties":false},"OrderItemImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdByIp":{"title":"Created By Ip","type":"string","nullable":true,"example":"string"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"createdByUserAgent":{"title":"Created By User Agent","type":"string","nullable":true,"example":"string"},"updatedByIp":{"title":"Updated By Ip","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"updatedByUserAgent":{"title":"Updated By User Agent","type":"string","nullable":true,"example":"string"},"orderId":{"title":"Order Id","type":"integer","format":"int32","nullable":true,"example":1},"orderRefNo":{"title":"Order Ref No","type":"string","nullable":true,"example":"string"},"productName":{"title":"Product Name","type":"string","nullable":true,"example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","nullable":true,"example":1},"currency":{"title":"Currency","pattern":"^(NAD|ZAR|XAF|JPY|GHS|ETB|USD||AED|BHD|DJF|DZD|EGP|MAD|ERN|ILS|IQD|JOD|KMF|KWD|LBP|LYD|MAD|MRU|OMR|ILS|QAR|SAR|SDG|SOS|SSP|SYP|XAF|TND|YER|CLP|INR|TZS|EUR|AZN|AZN|RUB|XAF|BYN|ZMW|MAD|MAD|TZS|BGN|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|XAF|MAD|MAD|LKR|EUR|EUR|USD|WST|EUR|USD|DJF|ETB|KES|SOS|ALL|MKD|EUR|BAM|EUR|RSD|EUR|BAM|EUR|RSD|EUR|SZL|ZAR|ZAR|ZAR|IDR|EUR|EUR|SEK|CDF|KES|TZS|UGX|IQD|SYP|PLN|INR|LKR|MYR|SGD|INR|KES|UGX|TJS|THB|ERN|ETB|ERN|TMT|BWP|ZAR|TOP||EUR|TRY|TWD|ZAR|RUB|XOF|MAD|CNY|UAH|INR|PKR|INR|PKR|AFN|UZS|UZS|LRD|LRD|ZAR|EUR|VND|MZN|TZS|EUR|CHF|ETB|XOF|ZAR|INR|UGX|XAF|UAH|XOF|NGN|BRL|COP|VED|CNY|HKD|CNY|MAD|CNY|HKD|JPY|MOP|SGD|CNY|HKD|JPY|MOP|TWD|ZAR)$","type":"string","nullable":true,"example":"USD"},"quantity":{"title":"Quantity","type":"integer","format":"int32","nullable":true,"example":1}},"additionalProperties":false},"OrderItemUpdateDto":{"type":"object","properties":{"productName":{"title":"Product Name","minLength":1,"type":"string","nullable":true,"example":"string"},"unitPrice":{"title":"Unit Price","type":"number","format":"double","nullable":true,"example":1},"quantity":{"title":"Quantity","maximum":2147483647,"minimum":1,"type":"integer","format":"int32","nullable":true,"example":1},"data":{"title":"Data","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"OrderSummaryDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"orderNumber":{"title":"Order Number","type":"string","example":"string"},"customer":{"title":"Customer","type":"string","example":"string"},"amount":{"title":"Amount","type":"number","format":"double","example":1},"status":{"title":"Status","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"OrderUpdateDto":{"required":["refNo"],"type":"object","properties":{"refNo":{"title":"Ref No","minLength":1,"type":"string","example":"string"},"affiliateName":{"title":"Affiliate Name","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"string","nullable":true,"example":"string"},"status":{"title":"Status","enum":["Pending","Paid","Cancelled","Refunded","Failed"],"type":"string","nullable":true,"example":"Pending"},"tags":{"title":"Tags","type":"array","items":{"type":"string"},"nullable":true,"example":["string1","string2"]}},"additionalProperties":false},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"PromotionCreateDto":{"required":["code","endDate","name","startDate"],"type":"object","properties":{"code":{"title":"Code","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"PromotionDetailsDto":{"required":["code","endDate","name","startDate"],"type":"object","properties":{"code":{"title":"Code","minLength":1,"type":"string","example":"string"},"name":{"title":"Name","minLength":1,"type":"string","example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"PromotionUpdateDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","nullable":true,"example":"string"},"startDate":{"title":"Start Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"endDate":{"title":"End Date","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"RedirectDetailsDto":{"type":"object","properties":{"contentId":{"title":"Content Id","type":"integer","format":"int32","example":1},"fromSlug":{"title":"From Slug","type":"string","example":"string"},"toSlug":{"title":"To Slug","type":"string","example":"string"},"fromLanguage":{"title":"From Language","type":"string","example":"string"},"toLanguage":{"title":"To Language","type":"string","example":"string"}},"additionalProperties":false},"ResetPasswordDto":{"required":["newPassword","token","userId"],"type":"object","properties":{"userId":{"title":"User Id","minLength":1,"type":"string","example":"string"},"token":{"title":"Token","minLength":1,"type":"string","example":"string"},"newPassword":{"title":"New Password","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"SalesPerformancePointDto":{"required":["period"],"type":"object","properties":{"period":{"title":"Period","minLength":1,"type":"string","example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"orders":{"title":"Orders","type":"integer","format":"int32","example":1}},"additionalProperties":false},"SettingCreateDto":{"required":["key","value"],"type":"object","properties":{"key":{"title":"Key","maxLength":255,"minLength":1,"type":"string","example":"string"},"value":{"title":"Value","minLength":1,"type":"string","example":"string"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"}},"additionalProperties":false},"SettingDetailsDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","example":1},"key":{"title":"Key","type":"string","example":"string"},"value":{"title":"Value","type":"string","example":"string"},"userId":{"title":"User Id","type":"string","nullable":true,"example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"updatedAt":{"title":"Updated At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"},"createdById":{"title":"Created By Id","type":"string","nullable":true,"example":"string"},"updatedById":{"title":"Updated By Id","type":"string","nullable":true,"example":"string"},"isUserLevel":{"title":"Is User Level","type":"boolean","readOnly":true,"example":true}},"additionalProperties":false},"SettingUpdateDto":{"required":["value"],"type":"object","properties":{"value":{"title":"Value","minLength":1,"type":"string","example":"string"}},"additionalProperties":false},"SettingValueDto":{"type":"object","properties":{"key":{"title":"Key","type":"string","example":"string"},"value":{"title":"Value","type":"string","example":"string"},"isUserLevel":{"title":"Is User Level","type":"boolean","example":true}},"additionalProperties":false},"StringStringValuesKeyValuePair":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"TaskDetailsDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"cronSchedule":{"title":"Cron Schedule","type":"string","example":"string"},"retryCount":{"title":"Retry Count","type":"integer","format":"int32","example":1},"retryInterval":{"title":"Retry Interval","type":"integer","format":"int32","example":1},"isRunning":{"title":"Is Running","type":"boolean","example":true}},"additionalProperties":false},"TaskExecutionDto":{"type":"object","properties":{"name":{"title":"Name","type":"string","example":"string"},"completed":{"title":"Completed","type":"boolean","example":true}},"additionalProperties":false},"TopAccountDto":{"type":"object","properties":{"accountId":{"title":"Account Id","type":"integer","format":"int32","example":1},"name":{"title":"Name","type":"string","example":"string"},"revenue":{"title":"Revenue","type":"number","format":"double","example":1},"changePct":{"title":"Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"TopAuthorDto":{"type":"object","properties":{"author":{"title":"Author","type":"string","example":"string"},"count":{"title":"Count","type":"integer","format":"int32","example":1},"changePct":{"title":"Change Pct","type":"number","format":"double","nullable":true,"example":1}},"additionalProperties":false},"TopContentItemDto":{"type":"object","properties":{"contentId":{"title":"Content Id","type":"integer","format":"int32","example":1},"title":{"title":"Title","type":"string","example":"string"},"commentCount":{"title":"Comment Count","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UnsubscribeDetailsDto":{"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"reason":{"title":"Reason","type":"string","example":"string"},"source":{"title":"Source","type":"string","example":"string"},"id":{"title":"Id","type":"integer","format":"int32","example":1},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UnsubscribeDto":{"type":"object","properties":{"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"reason":{"title":"Reason","type":"string","example":"string"},"source":{"title":"Source","type":"string","example":"string"}},"additionalProperties":false},"UnsubscribeImportDto":{"type":"object","properties":{"id":{"title":"Id","type":"integer","format":"int32","nullable":true,"example":1},"source":{"title":"Source","type":"string","nullable":true,"example":"string"},"reason":{"title":"Reason","type":"string","example":"string"},"contactId":{"title":"Contact Id","type":"integer","format":"int32","example":1},"contactEmail":{"title":"Contact Email","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","nullable":true,"example":"2023-04-18T12:00:00.0000000Z"}},"additionalProperties":false},"UserCreateDto":{"required":["displayName","email","userName"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","example":"string"},"userName":{"title":"User Name","minLength":1,"type":"string","example":"string"},"displayName":{"title":"Display Name","minLength":1,"type":"string","example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"password":{"title":"Password","type":"string","nullable":true,"example":"string"},"generatePassword":{"title":"Generate Password","type":"boolean","example":true},"sendPasswordEmail":{"title":"Send Password Email","type":"boolean","example":true},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"UserDetailsDto":{"required":["displayName","email","userName"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","example":"string"},"userName":{"title":"User Name","minLength":1,"type":"string","example":"string"},"displayName":{"title":"Display Name","minLength":1,"type":"string","example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"id":{"title":"Id","type":"string","example":"string"},"createdAt":{"title":"Created At","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"lastTimeLoggedIn":{"title":"Last Time Logged In","pattern":"^(\\d{4})-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])T(2[0-4]|1[0-9]|0[1-9]):(2[0-4]|1[0-9]|0[1-9]):([1-5]?0[0-9]).(\\d{7})Z$","type":"string","format":"date-time","example":"2023-04-18T12:00:00.0000000Z"},"avatarUrl":{"title":"Avatar Url","type":"string","example":"string"}},"additionalProperties":false},"UserUpdateDto":{"type":"object","properties":{"email":{"title":"Email","type":"string","nullable":true,"example":"string"},"userName":{"title":"User Name","type":"string","nullable":true,"example":"string"},"displayName":{"title":"Display Name","type":"string","nullable":true,"example":"string"},"avatarUrl":{"title":"Avatar Url","type":"string","nullable":true,"example":"string"},"data":{"title":"Data","type":"object","additionalProperties":{},"nullable":true},"password":{"title":"Password","type":"string","nullable":true,"example":"string"},"generatePassword":{"title":"Generate Password","type":"boolean","example":true},"sendPasswordEmail":{"title":"Send Password Email","type":"boolean","example":true},"language":{"title":"Language","type":"string","example":"string"}},"additionalProperties":false},"VersionDto":{"type":"object","properties":{"version":{"title":"Version","type":"string","nullable":true,"example":"string"},"ip":{"title":"Ip","type":"string","nullable":true,"example":"string"},"iPv4":{"title":"I Pv4","type":"string","nullable":true,"example":"string"},"iPv6":{"title":"I Pv6","type":"string","nullable":true,"example":"string"},"headers":{"title":"Headers","type":"array","items":{"$ref":"#/components/schemas/StringStringValuesKeyValuePair"}}},"additionalProperties":false}},"securitySchemes":{"Bearer":{"type":"apiKey","description":"Copy 'Bearer ' + valid JWT token into field","name":"Authorization","in":"header"}}},"security":[{"Bearer":[]}]} \ No newline at end of file