{"version":3,"sources":["components/common/react-notifications/NotificationManager.js","redux/auth/actions.ts","api/MainSettings.ts","api/ApiClient.ts","components/common/react-notifications/Notification.js","components/common/react-notifications/Notifications.js","components/common/react-notifications/NotificationContainer.js","api/settings.ts","api/ApiSettings.ts","redux/auth/thunk.ts","redux/menu/actions.js","redux/settings/actions.js","redux/actions.js","index.tsx","assets/css/sass/themes lazy /^/gogo/..*/.scss$/ groupOptions: {} namespace object","constants/defaultValues.js","serviceWorker.js","redux/settings/reducer.js","redux/menu/reducer.js","redux/auth/reducer.js","redux/reducers.js","redux/store.js","AppRenderer.js"],"names":["Constants","NotificationManager","listNotify","notify","defaultNotify","id","replace","c","r","Math","random","toString","type","title","message","timeOut","customClassName","priority","this","unshift","Object","assign","push","emitChange","onClick","create","setTimeout","localStorage","removeItem","window","location","reload","notification","filter","n","emit","callback","addListener","removeListener","EventEmitter","loginUserSuccess","user","LOGIN_USER_SUCCESS","payload","loginUserError","LOGIN_USER_ERROR","forgotPassword","forgotUserMail","history","FORGOT_PASSWORD","resetPassword","resetPasswordCode","newPassword","RESET_PASSWORD","registerUser","REGISTER_USER","logoutUser","LOGOUT_USER","API_BASE_URL","process","API_WEB_ORDERING_BASE_URL","API_API_BASE","console","log","MultimediaTypesEnum","ApiClientBase","options","token","store","old_headers","headers","new_headers","keys","forEach","k","reportProgress","Promise","resolve","AdvertisementClient","baseUrl","instance","jsonParseReviver","undefined","axios","cancelToken","url_","options_","method","url","transformOptions","then","transformedOptions_","request","catch","_error","isAxiosError","response","_response","processList","status","_headers","hasOwnProperty","result200","resultData200","data","Array","isArray","item","AdvertisementDTO","fromJS","throwException","Error","encodeURIComponent","processPhotographer","processDetails","JSON","stringify","processCreate","processUpdate","processDelete","_responseText","ids","processReorder","FileClient","file","fileType","content_","FormData","append","fileName","processUpload","FileDTO","PhotographerClient","photographerId","processSettings","UserSettingsDTO","eventId","processSettingsByEvent","userId","helpVideoMobile","helpVideoDesktop","bannerFile","processEdit","TemplateClient","Template","processImport","AuthClient","processAuthenticate","AuthenticateResponse","ProductsClient","ProductDTO","name","description","imageFile","layerImageFile","sizesRequest","sizes","productPricesRequest","productPrices","categoriesIds","attributesIds","model3D","item_","processAdd3DProduct","albumModel","lif","map","join","flat","processAddAlbumProduct","calendarModel","processAddCalendarProduct","processGet3DModels","Models3D","processGetAlbumModels","Album","processGetCalendarModels","Calendar","Response","error","property","_data","json","toJSON","result","init","productId","externalUrl","buttonText","fileGuid","imageUrl","mobileFileGuid","mobileFileName","mobileImageUrl","isDeleted","isHidden","createDate","modificationDate","position","Date","toISOString","guid","bannerPhotoUrl","categories","attributesGroups","products","TemplateCategory","TemplateAttributeGroup","TemplateProduct","externalKey","productsPositionDefinition","moduleType","isActive","attributes","TemplateAttribute","priceCorrectionCurrent","priceCorrectionPercent","price","size","quantityRangeMin","quantityRangeMax","isAutoGenerated","mainProductId","autoGeneratedDefinition","productType","productAttributes","productCategories","productImages","TemplateProductImage","TemplateProductPrices","fileUrl","imageType","productsTemplates","TemplateProductTemplate","positionX","positionY","sizeX","sizeY","priceLevelFrom","priceLevelTo","AuthenticateRequest","login","password","AttributeDTO","CategoryDTO","ProductPriceDTO","ProductsTemplateDTO","attributesGroupId","lastModification","page","recommendedWidth","recommendedHeight","pageCount","hasCover","ApiException","isApiException","obj","Notification","onRequestHide","requestHide","useEffect","timer","clearTimeout","handleClick","className","classnames","titleHtml","role","defaultProps","Notifications","handleRequestHide","props","notifications","enterTimeout","leaveTimeout","length","TransitionGroup","key","getTime","CSSTransition","classNames","timeout","exit","enter","React","Component","NotificationContainer","componentWillUnmount","removeChangeListener","handleStoreChange","setState","remove","addChangeListener","state","BASE_URL","CONFIG","withCredentials","WEB_ORDERING_BASE_URL","API_BASE","dispatch","a","authClient","post","authenticate","response2","warning","setItem","Data","Id","uid","Login","UserType","Token","logout","changeSelectedMenuHasSubItems","MENU_CHANGE_HAS_SUB_ITEM_STATUS","changeDefaultClassnames","strCurrentClasses","MENU_CHANGE_DEFAULT_CLASSES","addContainerClassname","classname","newClasses","indexOf","MENU_CONTAINER_ADD_CLASSNAME","clickOnMobileMenu","currentClasses","split","x","nextClasses","includes","MENU_CLICK_MOBILE_MENU","containerClassnames","menuClickCount","setContainerClassnames","clickIndex","selectedMenuHasSubItems","MENU_SET_CLASSNAMES","changeLocale","locale","CHANGE_LOCALE","LOGIN_USER","REGISTER_USER_SUCCESS","REGISTER_USER_ERROR","FORGOT_PASSWORD_SUCCESS","FORGOT_PASSWORD_ERROR","RESET_PASSWORD_SUCCESS","RESET_PASSWORD_ERROR","color","isMultiColorActive","isDarkSwitchActive","getItem","themeColorStorageKey","defaultColor","require","webpackAsyncContext","req","__webpack_require__","o","e","code","t","module","exports","defaultMenuType","subHiddenBreakpoint","menuHiddenBreakpoint","defaultLocale","localeOptions","direction","searchPath","defaultDirection","themeRadiusStorageKey","colors","Boolean","hostname","match","INIT_STATE","parse","userType","loading","reducers","combineReducers","menu","action","settings","authUser","middlewares","thunk","initialState","App","lazy","ReactDOM","render","createStore","compose","applyMiddleware","fallback","document","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"6JAYMA,EACI,SADJA,EAEK,UAFLA,EAGO,YAHPA,EAIE,OAJFA,EAKK,UALLA,EAMK,UANLA,EAOG,QAGHC,E,kDACJ,aAAe,IAAD,8BACZ,gBACKC,WAAa,GAFN,E,mDAKPC,GACL,IAAMC,EAAgB,CACpBC,GA1BY,uCACDC,QAAQ,SAAS,SAACC,GAC/B,IAAMC,EAAqB,GAAhBC,KAAKC,SAAiB,EAEjC,OADgB,MAANH,EAAYC,EAAS,EAAJA,EAAW,GAC7BG,SAAS,OAuBhBC,KAAM,OACNC,MAAO,KACPC,QAAS,KACTC,QAAS,IACTC,gBAAiB,IAEfb,EAAOc,SACTC,KAAKhB,WAAWiB,QAAQC,OAAOC,OAAOjB,EAAeD,IAErDe,KAAKhB,WAAWoB,KAAKF,OAAOC,OAAOjB,EAAeD,IAEpDe,KAAKK,e,8BAGCT,EAASD,EAAOE,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AAU,yBAAKpI,UAAU,aACjC,kBAAC6H,EAAD,QAGJQ,SAASC,eAAe,SNmHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMvT,MAAK,SAAAwT,GACjCA,EAAaC,kB","file":"static/js/main.ce2bbeea.chunk.js","sourcesContent":["/* eslint-disable no-bitwise */\r\nimport { EventEmitter } from 'events';\r\n\r\nconst createUUID = () => {\r\n const pattern = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';\r\n return pattern.replace(/[xy]/g, (c) => {\r\n const r = (Math.random() * 16) | 0;\r\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\r\n return v.toString(16);\r\n });\r\n};\r\n\r\nconst Constants = {\r\n CHANGE: 'change',\r\n PRIMARY: 'primary',\r\n SECONDARY: 'secondary',\r\n INFO: 'info',\r\n SUCCESS: 'success',\r\n WARNING: 'warning',\r\n ERROR: 'error',\r\n};\r\n\r\nclass NotificationManager extends EventEmitter {\r\n constructor() {\r\n super();\r\n this.listNotify = [];\r\n }\r\n\r\n create(notify) {\r\n const defaultNotify = {\r\n id: createUUID(),\r\n type: 'info',\r\n title: null,\r\n message: null,\r\n timeOut: 5000,\r\n customClassName: '',\r\n };\r\n if (notify.priority) {\r\n this.listNotify.unshift(Object.assign(defaultNotify, notify));\r\n } else {\r\n this.listNotify.push(Object.assign(defaultNotify, notify));\r\n }\r\n this.emitChange();\r\n }\r\n\r\n primary(message, title, timeOut, onClick, priority, customClassName) {\r\n this.create({\r\n type: Constants.PRIMARY,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n secondary(message, title, timeOut, onClick, priority, customClassName) {\r\n this.create({\r\n type: Constants.SECONDARY,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n info(message, title, timeOut, onClick, priority, customClassName) {\r\n this.create({\r\n type: Constants.INFO,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n success(message, title, timeOut, onClick, priority, customClassName) {\r\n this.create({\r\n type: Constants.SUCCESS,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n warning(message, title, timeOut, onClick, priority, customClassName) {\r\n this.create({\r\n type: Constants.WARNING,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n error(message, title, timeOut, onClick, priority, customClassName) {\r\n setTimeout(() =>{\r\n if(title === \"Error\" && message === \"No Data\"){\r\n localStorage.removeItem(\"loginData\");\r\n localStorage.removeItem(\"token\");\r\n window.location.reload();\r\n }\r\n }, timeOut);\r\n \r\n this.create({\r\n type: Constants.ERROR,\r\n message,\r\n title,\r\n timeOut,\r\n onClick,\r\n priority,\r\n customClassName,\r\n });\r\n }\r\n\r\n remove(notification) {\r\n this.listNotify = this.listNotify.filter((n) => notification.id !== n.id);\r\n this.emitChange();\r\n }\r\n\r\n emitChange() {\r\n this.emit(Constants.CHANGE, this.listNotify);\r\n }\r\n\r\n addChangeListener(callback) {\r\n this.addListener(Constants.CHANGE, callback);\r\n }\r\n\r\n removeChangeListener(callback) {\r\n this.removeListener(Constants.CHANGE, callback);\r\n }\r\n}\r\n\r\nexport default new NotificationManager();\r\n","import {\r\n LOGIN_USER,\r\n LOGIN_USER_SUCCESS,\r\n LOGOUT_USER,\r\n REGISTER_USER,\r\n REGISTER_USER_SUCCESS,\r\n LOGIN_USER_ERROR,\r\n REGISTER_USER_ERROR,\r\n FORGOT_PASSWORD,\r\n FORGOT_PASSWORD_SUCCESS,\r\n FORGOT_PASSWORD_ERROR,\r\n RESET_PASSWORD,\r\n RESET_PASSWORD_SUCCESS,\r\n RESET_PASSWORD_ERROR,\r\n} from '../actions';\r\n\r\nexport const loginUser = (user, history) => ({\r\n type: LOGIN_USER,\r\n payload: { user, history },\r\n});\r\nexport const loginUserSuccess = (user: { uid: string, id: number, type: number, token: string }) => ({\r\n type: LOGIN_USER_SUCCESS,\r\n payload: user,\r\n});\r\nexport const loginUserError = (message) => ({\r\n type: LOGIN_USER_ERROR,\r\n payload: { message },\r\n});\r\n\r\nexport const forgotPassword = (forgotUserMail, history) => ({\r\n type: FORGOT_PASSWORD,\r\n payload: { forgotUserMail, history },\r\n});\r\nexport const forgotPasswordSuccess = (forgotUserMail) => ({\r\n type: FORGOT_PASSWORD_SUCCESS,\r\n payload: forgotUserMail,\r\n});\r\nexport const forgotPasswordError = (message) => ({\r\n type: FORGOT_PASSWORD_ERROR,\r\n payload: { message },\r\n});\r\n\r\nexport const resetPassword = ({ resetPasswordCode, newPassword, history }) => ({\r\n type: RESET_PASSWORD,\r\n payload: { resetPasswordCode, newPassword, history },\r\n});\r\nexport const resetPasswordSuccess = (newPassword) => ({\r\n type: RESET_PASSWORD_SUCCESS,\r\n payload: newPassword,\r\n});\r\nexport const resetPasswordError = (message) => ({\r\n type: RESET_PASSWORD_ERROR,\r\n payload: { message },\r\n});\r\n\r\nexport const registerUser = (user, history) => ({\r\n type: REGISTER_USER,\r\n payload: { user, history },\r\n});\r\nexport const registerUserSuccess = (user) => ({\r\n type: REGISTER_USER_SUCCESS,\r\n payload: user,\r\n});\r\nexport const registerUserError = (message) => ({\r\n type: REGISTER_USER_ERROR,\r\n payload: { message },\r\n});\r\n\r\nexport const logoutUser = (history) => ({\r\n type: LOGOUT_USER,\r\n payload: { history },\r\n});\r\n","export const API_BASE_URL = process.env.REACT_APP_API_BASE_URL\r\nexport const API_WEB_ORDERING_BASE_URL = process.env.REACT_APP_API_WEB_ORDERING_BASE_URL\r\nexport const API_API_BASE = process.env.REACT_APP_API_API_BASE\r\nconsole.log(API_BASE_URL, API_BASE_URL)","//----------------------\r\n// \r\n// Generated using the NSwag toolchain v13.16.1.0 (NJsonSchema v10.7.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)\r\n// \r\n//----------------------\r\n\r\n/* tslint:disable */\r\n/* eslint-disable */\r\n// ReSharper disable InconsistentNaming\r\n\r\nimport store from \"store2\";import axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';\r\n\r\nexport class ApiClientBase {\r\n\r\n public transformOptions(options: any) {\r\n const token = store(\"token\");\r\n const old_headers = options.headers;\r\n const new_headers: { [key: string]: string } = {};\r\n Object.keys(old_headers).forEach((k: any) => {\r\n new_headers[k] = old_headers[k];\r\n });\r\n if (token && token !== '') {\r\n new_headers['Authorization'] = 'Bearer ' + token;\r\n }\r\n\r\n options.headers = new_headers;\r\n options.reportProgress = true;\r\n\r\n return Promise.resolve(options);\r\n }\r\n}\r\n\r\nexport class AccountClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n createAccount(request: CreateAccountRequest , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/createAccount\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(request);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreateAccount(_response);\r\n });\r\n }\r\n\r\n protected processCreateAccount(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = CreateAccountResponse.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class AdvertisementClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n list( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/List\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processList(_response);\r\n });\r\n }\r\n\r\n protected processList(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(AdvertisementDTO.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n photographer(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Photographer/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processPhotographer(_response);\r\n });\r\n }\r\n\r\n protected processPhotographer(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(AdvertisementDTO.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n details(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Details/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDetails(_response);\r\n });\r\n }\r\n\r\n protected processDetails(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = AdvertisementDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n create(data: AdvertisementDTO , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Create\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(data);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreate(_response);\r\n });\r\n }\r\n\r\n protected processCreate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = AdvertisementDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n update(data: AdvertisementDTO , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Update\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(data);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpdate(_response);\r\n });\r\n }\r\n\r\n protected processUpdate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = AdvertisementDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n delete(id: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Delete?\";\r\n if (id === null)\r\n throw new Error(\"The parameter 'id' cannot be null.\");\r\n else if (id !== undefined)\r\n url_ += \"id=\" + encodeURIComponent(\"\" + id) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processDelete(_response);\r\n });\r\n }\r\n\r\n protected processDelete(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n reorder(ids: number[] | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Advertisement/Reorder?\";\r\n if (ids !== undefined && ids !== null)\r\n ids && ids.forEach(item => { url_ += \"ids=\" + encodeURIComponent(\"\" + item) + \"&\"; });\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processReorder(_response);\r\n });\r\n }\r\n\r\n protected processReorder(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class FileClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n upload(file: FileParameter | null | undefined, fileType: MultimediaTypesEnum | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/File/Upload?\";\r\n if (fileType === null)\r\n throw new Error(\"The parameter 'fileType' cannot be null.\");\r\n else if (fileType !== undefined)\r\n url_ += \"fileType=\" + encodeURIComponent(\"\" + fileType) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (file !== null && file !== undefined)\r\n content_.append(\"file\", file.data, file.fileName ? file.fileName : \"file\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processUpload(_response);\r\n });\r\n }\r\n\r\n protected processUpload(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = FileDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class PhotographerClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n settings(photographerId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Photographer/Settings/{photographerId}\";\r\n if (photographerId === undefined || photographerId === null)\r\n throw new Error(\"The parameter 'photographerId' must be defined.\");\r\n url_ = url_.replace(\"{photographerId}\", encodeURIComponent(\"\" + photographerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSettings(_response);\r\n });\r\n }\r\n\r\n protected processSettings(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = UserSettingsDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n settingsByEvent(eventId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Photographer/Settings/Event/{eventId}\";\r\n if (eventId === undefined || eventId === null)\r\n throw new Error(\"The parameter 'eventId' must be defined.\");\r\n url_ = url_.replace(\"{eventId}\", encodeURIComponent(\"\" + eventId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSettingsByEvent(_response);\r\n });\r\n }\r\n\r\n protected processSettingsByEvent(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = UserSettingsDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n edit(userId: number | undefined, helpVideoMobile: string | null | undefined, helpVideoDesktop: string | null | undefined, bannerFile: FileParameter | null | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Photographer/Edit\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (userId === null || userId === undefined)\r\n throw new Error(\"The parameter 'userId' cannot be null.\");\r\n else\r\n content_.append(\"UserId\", userId.toString());\r\n if (helpVideoMobile !== null && helpVideoMobile !== undefined)\r\n content_.append(\"HelpVideoMobile\", helpVideoMobile.toString());\r\n if (helpVideoDesktop !== null && helpVideoDesktop !== undefined)\r\n content_.append(\"HelpVideoDesktop\", helpVideoDesktop.toString());\r\n if (bannerFile !== null && bannerFile !== undefined)\r\n content_.append(\"BannerFile\", bannerFile.data, bannerFile.fileName ? bannerFile.fileName : \"BannerFile\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processEdit(_response);\r\n });\r\n }\r\n\r\n protected processEdit(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = UserSettingsDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class TemplateClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n create( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Template/create\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processCreate(_response);\r\n });\r\n }\r\n\r\n protected processCreate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = Template.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n import( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Template/import\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processImport(_response);\r\n });\r\n }\r\n\r\n protected processImport(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class AuthClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n authenticate(request: AuthenticateRequest , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/authenticate\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(request);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAuthenticate(_response);\r\n });\r\n }\r\n\r\n protected processAuthenticate(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = AuthenticateResponse.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class EventClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n xmEventNames(id: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/xmlEventNames/{id}\";\r\n if (id === undefined || id === null)\r\n throw new Error(\"The parameter 'id' must be defined.\");\r\n url_ = url_.replace(\"{id}\", encodeURIComponent(\"\" + id));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processXmEventNames(_response);\r\n });\r\n }\r\n\r\n protected processXmEventNames(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(EventFileInfoDTO.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class HomeClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n index( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processIndex(_response);\r\n });\r\n }\r\n\r\n protected processIndex(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 ? new Date(resultData200.toString()) : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n}\r\n\r\nexport class ProductsClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n photographer(photographerId: number , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Products/photographer/{photographerId}\";\r\n if (photographerId === undefined || photographerId === null)\r\n throw new Error(\"The parameter 'photographerId' must be defined.\");\r\n url_ = url_.replace(\"{photographerId}\", encodeURIComponent(\"\" + photographerId));\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processPhotographer(_response);\r\n });\r\n }\r\n\r\n protected processPhotographer(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(ProductDTO.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n add3DProduct(name: string | null | undefined, description: string | null | undefined, imageFile: FileParameter | null | undefined, layerImageFile: FileParameter | null | undefined, sizesRequest: string[] | null | undefined, sizes: ProductsTemplateDTO[] | null | undefined, productPricesRequest: string[] | null | undefined, productPrices: ProductPriceDTO[] | null | undefined, categoriesIds: number[] | null | undefined, attributesIds: number[] | null | undefined, model3D: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Products/add/3dproduct\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (name !== null && name !== undefined)\r\n content_.append(\"name\", name.toString());\r\n if (description !== null && description !== undefined)\r\n content_.append(\"description\", description.toString());\r\n if (imageFile !== null && imageFile !== undefined)\r\n content_.append(\"imageFile\", imageFile.data, imageFile.fileName ? imageFile.fileName : \"imageFile\");\r\n if (layerImageFile !== null && layerImageFile !== undefined)\r\n content_.append(\"layerImageFile\", layerImageFile.data, layerImageFile.fileName ? layerImageFile.fileName : \"layerImageFile\");\r\n if (sizesRequest !== null && sizesRequest !== undefined)\r\n sizesRequest.forEach(item_ => content_.append(\"sizesRequest\", item_.toString()));\r\n if (sizes !== null && sizes !== undefined)\r\n sizes.forEach(item_ => content_.append(\"sizes\", item_.toString()));\r\n if (productPricesRequest !== null && productPricesRequest !== undefined)\r\n productPricesRequest.forEach(item_ => content_.append(\"productPricesRequest\", item_.toString()));\r\n if (productPrices !== null && productPrices !== undefined)\r\n productPrices.forEach(item_ => content_.append(\"productPrices\", item_.toString()));\r\n if (categoriesIds !== null && categoriesIds !== undefined)\r\n categoriesIds.forEach(item_ => content_.append(\"categoriesIds\", item_.toString()));\r\n if (attributesIds !== null && attributesIds !== undefined)\r\n attributesIds.forEach(item_ => content_.append(\"attributesIds\", item_.toString()));\r\n if (model3D === null || model3D === undefined)\r\n throw new Error(\"The parameter 'model3D' cannot be null.\");\r\n else\r\n content_.append(\"model3D\", model3D.toString());\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAdd3DProduct(_response);\r\n });\r\n }\r\n\r\n protected processAdd3DProduct(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ProductDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n addAlbumProduct(name: string | null | undefined, description: string | null | undefined, imageFile: FileParameter | null | undefined, layerImageFile: FileParameter | null | undefined, sizesRequest: string[] | null | undefined, sizes: ProductsTemplateDTO[] | null | undefined, productPricesRequest: string[] | null | undefined, productPrices: ProductPriceDTO[] | null | undefined, categoriesIds: number[] | null | undefined, attributesIds: number[] | null | undefined, albumModel: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/products/add/album\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (name !== null && name !== undefined)\r\n content_.append(\"name\", name.toString());\r\n if (description !== null && description !== undefined)\r\n content_.append(\"description\", description.toString());\r\n if (imageFile !== null && imageFile !== undefined)\r\n content_.append(\"imageFile\", imageFile.data, imageFile.fileName ? imageFile.fileName : \"imageFile\");\r\n if (layerImageFile !== null && layerImageFile !== undefined && Array.isArray(layerImageFile) ){\r\n layerImageFile.forEach(lif=>{\r\n content_.append(\"layerImageFiles\", lif.data, lif.fileName ? lif.fileName : \"layerImageFile\");\r\n })\r\n content_.append(\"LayerImageFileNames\", \"[\" + layerImageFile.map(lif=>lif.fileName ? lif.fileName : \"layerImageFile\").join(\", \") +\"]\" );\r\n }\r\n if (sizesRequest !== null && sizesRequest !== undefined)\r\n sizesRequest.flat().forEach(item_ => content_.append(\"sizesRequest\", item_.toString()));\r\n if (productPricesRequest !== null && productPricesRequest !== undefined)\r\n productPricesRequest.forEach(item_ => content_.append(\"productPricesRequest\", item_.toString()));\r\n if (productPrices !== null && productPrices !== undefined)\r\n productPrices.forEach(item_ => content_.append(\"productPrices\", item_.toString()));\r\n if (categoriesIds !== null && categoriesIds !== undefined)\r\n categoriesIds.forEach(item_ => content_.append(\"categoriesIds\", item_.toString()));\r\n if (attributesIds !== null && attributesIds !== undefined)\r\n attributesIds.forEach(item_ => content_.append(\"attributesIds\", item_.toString()));\r\n if (albumModel === null || albumModel === undefined)\r\n throw new Error(\"The parameter 'albumId' cannot be null.\");\r\n else\r\n content_.append(\"albumModel\", albumModel.toString());\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAddAlbumProduct(_response);\r\n });\r\n }\r\n\r\n protected processAddAlbumProduct(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ProductDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n //FIXME: change link to let url_ = this.baseUrl + \"/api/products/add/calendar\";\r\n addCalendarProduct(name: string | null | undefined, description: string | null | undefined, imageFile: FileParameter | null | undefined, layerImageFile: FileParameter | null | undefined, sizesRequest: string[] | null | undefined, sizes: ProductsTemplateDTO[] | null | undefined, productPricesRequest: string[] | null | undefined, productPrices: ProductPriceDTO[] | null | undefined, categoriesIds: number[] | null | undefined, attributesIds: number[] | null | undefined, calendarModel: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/products/add/calendar\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = new FormData();\r\n if (name !== null && name !== undefined)\r\n content_.append(\"name\", name.toString());\r\n if (description !== null && description !== undefined)\r\n content_.append(\"description\", description.toString());\r\n if (imageFile !== null && imageFile !== undefined)\r\n content_.append(\"imageFile\", imageFile.data, imageFile.fileName ? imageFile.fileName : \"imageFile\");\r\n if (layerImageFile !== null && layerImageFile !== undefined && Array.isArray(layerImageFile) ){\r\n layerImageFile.forEach(lif=>{\r\n content_.append(\"layerImageFiles\", lif.data, lif.fileName ? lif.fileName : \"layerImageFile\");\r\n })\r\n content_.append(\"LayerImageFileNames\", \"[\" + layerImageFile.map(lif=>lif.fileName ? lif.fileName : \"layerImageFile\").join(\", \") +\"]\" );\r\n }\r\n if (sizesRequest !== null && sizesRequest !== undefined)\r\n sizesRequest.flat().forEach(item_ => content_.append(\"sizesRequest\", item_.toString()));\r\n if (productPricesRequest !== null && productPricesRequest !== undefined)\r\n productPricesRequest.forEach(item_ => content_.append(\"productPricesRequest\", item_.toString()));\r\n if (productPrices !== null && productPrices !== undefined)\r\n productPrices.forEach(item_ => content_.append(\"productPrices\", item_.toString()));\r\n if (categoriesIds !== null && categoriesIds !== undefined)\r\n categoriesIds.forEach(item_ => content_.append(\"categoriesIds\", item_.toString()));\r\n if (attributesIds !== null && attributesIds !== undefined)\r\n attributesIds.forEach(item_ => content_.append(\"attributesIds\", item_.toString()));\r\n if (calendarModel === null || calendarModel === undefined)\r\n throw new Error(\"The parameter 'calendarId' cannot be null.\");\r\n else\r\n content_.append(\"calendarModel\", calendarModel.toString());\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAddCalendarProduct(_response);\r\n });\r\n }\r\n\r\n protected processAddCalendarProduct(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = ProductDTO.fromJS(resultData200);\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n get3DModels( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/Products/get/3dModels\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGet3DModels(_response);\r\n });\r\n }\r\n\r\n protected processGet3DModels(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(Models3D.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n getAlbumModels( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/products/albums\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetAlbumModels(_response);\r\n });\r\n }\r\n\r\n protected processGetAlbumModels(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(Album.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n //FIXME: change link to let url_ = this.baseUrl + \"/api/products/calendars\";\r\ngetCalendarModels( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/products/calendars\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetCalendarModels(_response);\r\n });\r\n}\r\n\r\nprotected processGetCalendarModels(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(Calendar.fromJS(item));\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n}\r\n}\r\n\r\n\r\n\r\nexport class ShoppingCartClient extends ApiClientBase {\r\n private instance: AxiosInstance;\r\n private baseUrl: string;\r\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\r\n\r\n constructor(baseUrl?: string, instance?: AxiosInstance) {\r\n\r\n super();\r\n\r\n this.instance = instance ? instance : axios.create();\r\n\r\n this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : \"http://localhost:5002\";\r\n\r\n }\r\n\r\n addToFavourites(folderId: number | undefined, photoId: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/addToFavourites?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n if (photoId === null)\r\n throw new Error(\"The parameter 'photoId' cannot be null.\");\r\n else if (photoId !== undefined)\r\n url_ += \"photoId=\" + encodeURIComponent(\"\" + photoId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAddToFavourites(_response);\r\n });\r\n }\r\n\r\n protected processAddToFavourites(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n addToFavouritesList(folderId: number | undefined, photoList: number[] , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/addToFavourites/list?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(photoList);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processAddToFavouritesList(_response);\r\n });\r\n }\r\n\r\n protected processAddToFavouritesList(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n removeFromFavourites(folderId: number | undefined, photoId: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/removeFromFavourites?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n if (photoId === null)\r\n throw new Error(\"The parameter 'photoId' cannot be null.\");\r\n else if (photoId !== undefined)\r\n url_ += \"photoId=\" + encodeURIComponent(\"\" + photoId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processRemoveFromFavourites(_response);\r\n });\r\n }\r\n\r\n protected processRemoveFromFavourites(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n getFavourites(folderId: number | undefined , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/getFavourites?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetFavourites(_response);\r\n });\r\n }\r\n\r\n protected processGetFavourites(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (Array.isArray(resultData200)) {\r\n result200 = [] as any;\r\n for (let item of resultData200)\r\n result200!.push(item);\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n setShoppingCart(folderId: number | undefined, item: ShoppingCartItem , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/setShoppingCart?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(item);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetShoppingCart(_response);\r\n });\r\n }\r\n\r\n protected processSetShoppingCart(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n setShoppingCartList(folderId: number | undefined, item: ShoppingCartItem[] , cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/setShoppingCart/list?\";\r\n if (folderId === null)\r\n throw new Error(\"The parameter 'folderId' cannot be null.\");\r\n else if (folderId !== undefined)\r\n url_ += \"folderId=\" + encodeURIComponent(\"\" + folderId) + \"&\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n const content_ = JSON.stringify(item);\r\n\r\n let options_: AxiosRequestConfig = {\r\n data: content_,\r\n method: \"POST\",\r\n url: url_,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processSetShoppingCartList(_response);\r\n });\r\n }\r\n\r\n protected processSetShoppingCartList(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n clearShoppingCart( cancelToken?: CancelToken | undefined): Promise {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/clearShoppingCart\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processClearShoppingCart(_response);\r\n });\r\n }\r\n\r\n protected processClearShoppingCart(response: AxiosResponse): Promise {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n result200 = resultData200 !== undefined ? resultData200 : null;\r\n\r\n return Promise.resolve(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve(null as any);\r\n }\r\n\r\n getShoppingCart( cancelToken?: CancelToken | undefined): Promise<{ [key: string]: ShoppingCartItem[]; }> {\r\n let url_ = this.baseUrl + \"/api/ShoppingCart/getShoppingCart\";\r\n url_ = url_.replace(/[?&]$/, \"\");\r\n\r\n let options_: AxiosRequestConfig = {\r\n method: \"GET\",\r\n url: url_,\r\n headers: {\r\n \"Accept\": \"application/json\"\r\n },\r\n cancelToken\r\n };\r\n\r\n return this.transformOptions(options_).then(transformedOptions_ => {\r\n return this.instance.request(transformedOptions_);\r\n }).catch((_error: any) => {\r\n if (isAxiosError(_error) && _error.response) {\r\n return _error.response;\r\n } else {\r\n throw _error;\r\n }\r\n }).then((_response: AxiosResponse) => {\r\n return this.processGetShoppingCart(_response);\r\n });\r\n }\r\n\r\n protected processGetShoppingCart(response: AxiosResponse): Promise<{ [key: string]: ShoppingCartItem[]; }> {\r\n const status = response.status;\r\n let _headers: any = {};\r\n if (response.headers && typeof response.headers === \"object\") {\r\n for (let k in response.headers) {\r\n if (response.headers.hasOwnProperty(k)) {\r\n _headers[k] = response.headers[k];\r\n }\r\n }\r\n }\r\n if (status === 200) {\r\n const _responseText = response.data;\r\n let result200: any = null;\r\n let resultData200 = _responseText;\r\n if (resultData200) {\r\n result200 = {} as any;\r\n for (let key in resultData200) {\r\n if (resultData200.hasOwnProperty(key))\r\n (result200)![key] = resultData200[key] ? resultData200[key].map((i: any) => ShoppingCartItem.fromJS(i)) : [];\r\n }\r\n }\r\n else {\r\n result200 = null;\r\n }\r\n return Promise.resolve<{ [key: string]: ShoppingCartItem[]; }>(result200);\r\n\r\n } else if (status !== 200 && status !== 204) {\r\n const _responseText = response.data;\r\n return throwException(\"An unexpected server error occurred.\", status, _responseText, _headers);\r\n }\r\n return Promise.resolve<{ [key: string]: ShoppingCartItem[]; }>(null as any);\r\n }\r\n}\r\n\r\nexport class Response implements IResponse {\r\n error!: string;\r\n\r\n constructor(data?: IResponse) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.error = _data[\"error\"] !== undefined ? _data[\"error\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): Response {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new Response();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"error\"] = this.error !== undefined ? this.error : null;\r\n return data;\r\n }\r\n\r\n clone(): Response {\r\n const json = this.toJSON();\r\n let result = new Response();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IResponse {\r\n error: string;\r\n}\r\n\r\nexport class CreateAccountResponse extends Response implements ICreateAccountResponse {\r\n success!: boolean;\r\n\r\n constructor(data?: ICreateAccountResponse) {\r\n super(data);\r\n }\r\n\r\n init(_data?: any) {\r\n super.init(_data);\r\n if (_data) {\r\n this.success = _data[\"success\"] !== undefined ? _data[\"success\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): CreateAccountResponse {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new CreateAccountResponse();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"success\"] = this.success !== undefined ? this.success : null;\r\n super.toJSON(data);\r\n return data;\r\n }\r\n\r\n clone(): CreateAccountResponse {\r\n const json = this.toJSON();\r\n let result = new CreateAccountResponse();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateAccountResponse extends IResponse {\r\n success: boolean;\r\n}\r\n\r\nexport class CreateAccountRequest implements ICreateAccountRequest {\r\n username!: string;\r\n email!: string;\r\n password!: string;\r\n\r\n constructor(data?: ICreateAccountRequest) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.username = _data[\"username\"] !== undefined ? _data[\"username\"] : null;\r\n this.email = _data[\"email\"] !== undefined ? _data[\"email\"] : null;\r\n this.password = _data[\"password\"] !== undefined ? _data[\"password\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): CreateAccountRequest {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new CreateAccountRequest();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"username\"] = this.username !== undefined ? this.username : null;\r\n data[\"email\"] = this.email !== undefined ? this.email : null;\r\n data[\"password\"] = this.password !== undefined ? this.password : null;\r\n return data;\r\n }\r\n\r\n clone(): CreateAccountRequest {\r\n const json = this.toJSON();\r\n let result = new CreateAccountRequest();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ICreateAccountRequest {\r\n username: string;\r\n email: string;\r\n password: string;\r\n}\r\n\r\nexport class AdvertisementDTO implements IAdvertisementDTO {\r\n id!: number;\r\n photographerId!: number;\r\n productId?: number | null;\r\n externalUrl?: string | null;\r\n buttonText?: string | null;\r\n fileGuid?: string | null;\r\n fileName?: string | null;\r\n imageUrl?: string | null;\r\n mobileFileGuid?: string | null;\r\n mobileFileName?: string | null;\r\n mobileImageUrl?: string | null;\r\n isDeleted?: boolean | null;\r\n isHidden?: boolean | null;\r\n createDate?: Date | null;\r\n modificationDate?: Date | null;\r\n position?: number | null;\r\n\r\n constructor(data?: IAdvertisementDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"] !== undefined ? _data[\"id\"] : null;\r\n this.photographerId = _data[\"photographerId\"] !== undefined ? _data[\"photographerId\"] : null;\r\n this.productId = _data[\"productId\"] !== undefined ? _data[\"productId\"] : null;\r\n this.externalUrl = _data[\"externalUrl\"] !== undefined ? _data[\"externalUrl\"] : null;\r\n this.buttonText = _data[\"buttonText\"] !== undefined ? _data[\"buttonText\"] : null;\r\n this.fileGuid = _data[\"fileGuid\"] !== undefined ? _data[\"fileGuid\"] : null;\r\n this.fileName = _data[\"fileName\"] !== undefined ? _data[\"fileName\"] : null;\r\n this.imageUrl = _data[\"imageUrl\"] !== undefined ? _data[\"imageUrl\"] : null;\r\n this.mobileFileGuid = _data[\"mobileFileGuid\"] !== undefined ? _data[\"mobileFileGuid\"] : null;\r\n this.mobileFileName = _data[\"mobileFileName\"] !== undefined ? _data[\"mobileFileName\"] : null;\r\n this.mobileImageUrl = _data[\"mobileImageUrl\"] !== undefined ? _data[\"mobileImageUrl\"] : null;\r\n this.isDeleted = _data[\"isDeleted\"] !== undefined ? _data[\"isDeleted\"] : null;\r\n this.isHidden = _data[\"isHidden\"] !== undefined ? _data[\"isHidden\"] : null;\r\n this.createDate = _data[\"createDate\"] ? new Date(_data[\"createDate\"].toString()) : null;\r\n this.modificationDate = _data[\"modificationDate\"] ? new Date(_data[\"modificationDate\"].toString()) : null;\r\n this.position = _data[\"position\"] !== undefined ? _data[\"position\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): AdvertisementDTO {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new AdvertisementDTO();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id !== undefined ? this.id : null;\r\n data[\"photographerId\"] = this.photographerId !== undefined ? this.photographerId : null;\r\n data[\"productId\"] = this.productId !== undefined ? this.productId : null;\r\n data[\"externalUrl\"] = this.externalUrl !== undefined ? this.externalUrl : null;\r\n data[\"buttonText\"] = this.buttonText !== undefined ? this.buttonText : null;\r\n data[\"fileGuid\"] = this.fileGuid !== undefined ? this.fileGuid : null;\r\n data[\"fileName\"] = this.fileName !== undefined ? this.fileName : null;\r\n data[\"imageUrl\"] = this.imageUrl !== undefined ? this.imageUrl : null;\r\n data[\"mobileFileGuid\"] = this.mobileFileGuid !== undefined ? this.mobileFileGuid : null;\r\n data[\"mobileFileName\"] = this.mobileFileName !== undefined ? this.mobileFileName : null;\r\n data[\"mobileImageUrl\"] = this.mobileImageUrl !== undefined ? this.mobileImageUrl : null;\r\n data[\"isDeleted\"] = this.isDeleted !== undefined ? this.isDeleted : null;\r\n data[\"isHidden\"] = this.isHidden !== undefined ? this.isHidden : null;\r\n data[\"createDate\"] = this.createDate ? this.createDate.toISOString() : null;\r\n data[\"modificationDate\"] = this.modificationDate ? this.modificationDate.toISOString() : null;\r\n data[\"position\"] = this.position !== undefined ? this.position : null;\r\n return data;\r\n }\r\n\r\n clone(): AdvertisementDTO {\r\n const json = this.toJSON();\r\n let result = new AdvertisementDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IAdvertisementDTO {\r\n id: number;\r\n photographerId: number;\r\n productId?: number | null;\r\n externalUrl?: string | null;\r\n buttonText?: string | null;\r\n fileGuid?: string | null;\r\n fileName?: string | null;\r\n imageUrl?: string | null;\r\n mobileFileGuid?: string | null;\r\n mobileFileName?: string | null;\r\n mobileImageUrl?: string | null;\r\n isDeleted?: boolean | null;\r\n isHidden?: boolean | null;\r\n createDate?: Date | null;\r\n modificationDate?: Date | null;\r\n position?: number | null;\r\n}\r\n\r\nexport class FileDTO implements IFileDTO {\r\n url!: string;\r\n name!: string;\r\n guid!: string;\r\n\r\n constructor(data?: IFileDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.url = _data[\"url\"] !== undefined ? _data[\"url\"] : null;\r\n this.name = _data[\"name\"] !== undefined ? _data[\"name\"] : null;\r\n this.guid = _data[\"guid\"] !== undefined ? _data[\"guid\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): FileDTO {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new FileDTO();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"url\"] = this.url !== undefined ? this.url : null;\r\n data[\"name\"] = this.name !== undefined ? this.name : null;\r\n data[\"guid\"] = this.guid !== undefined ? this.guid : null;\r\n return data;\r\n }\r\n\r\n clone(): FileDTO {\r\n const json = this.toJSON();\r\n let result = new FileDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IFileDTO {\r\n url: string;\r\n name: string;\r\n guid: string;\r\n}\r\n\r\nexport enum MultimediaTypesEnum {\r\n Background = 0,\r\n Logo = 1,\r\n Product = 2,\r\n Promotion = 3,\r\n AppBranding = 4,\r\n CategoryLogo = 5,\r\n AttributeLogo = 6,\r\n AdvertisementSlider = 7,\r\n}\r\n\r\nexport class UserSettingsDTO implements IUserSettingsDTO {\r\n userId!: number;\r\n helpVideoMobile?: string | null;\r\n helpVideoDesktop?: string | null;\r\n bannerPhotoUrl?: string | null;\r\n\r\n constructor(data?: IUserSettingsDTO) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.userId = _data[\"userId\"] !== undefined ? _data[\"userId\"] : null;\r\n this.helpVideoMobile = _data[\"helpVideoMobile\"] !== undefined ? _data[\"helpVideoMobile\"] : null;\r\n this.helpVideoDesktop = _data[\"helpVideoDesktop\"] !== undefined ? _data[\"helpVideoDesktop\"] : null;\r\n this.bannerPhotoUrl = _data[\"bannerPhotoUrl\"] !== undefined ? _data[\"bannerPhotoUrl\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): UserSettingsDTO {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new UserSettingsDTO();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"userId\"] = this.userId !== undefined ? this.userId : null;\r\n data[\"helpVideoMobile\"] = this.helpVideoMobile !== undefined ? this.helpVideoMobile : null;\r\n data[\"helpVideoDesktop\"] = this.helpVideoDesktop !== undefined ? this.helpVideoDesktop : null;\r\n data[\"bannerPhotoUrl\"] = this.bannerPhotoUrl !== undefined ? this.bannerPhotoUrl : null;\r\n return data;\r\n }\r\n\r\n clone(): UserSettingsDTO {\r\n const json = this.toJSON();\r\n let result = new UserSettingsDTO();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface IUserSettingsDTO {\r\n userId: number;\r\n helpVideoMobile?: string | null;\r\n helpVideoDesktop?: string | null;\r\n bannerPhotoUrl?: string | null;\r\n}\r\n\r\nexport class Template implements ITemplate {\r\n categories!: TemplateCategory[];\r\n attributesGroups!: TemplateAttributeGroup[];\r\n products!: TemplateProduct[];\r\n\r\n constructor(data?: ITemplate) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n if (!data) {\r\n this.categories = [];\r\n this.attributesGroups = [];\r\n this.products = [];\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n if (Array.isArray(_data[\"categories\"])) {\r\n this.categories = [] as any;\r\n for (let item of _data[\"categories\"])\r\n this.categories!.push(TemplateCategory.fromJS(item));\r\n }\r\n else {\r\n this.categories = null;\r\n }\r\n if (Array.isArray(_data[\"attributesGroups\"])) {\r\n this.attributesGroups = [] as any;\r\n for (let item of _data[\"attributesGroups\"])\r\n this.attributesGroups!.push(TemplateAttributeGroup.fromJS(item));\r\n }\r\n else {\r\n this.attributesGroups = null;\r\n }\r\n if (Array.isArray(_data[\"products\"])) {\r\n this.products = [] as any;\r\n for (let item of _data[\"products\"])\r\n this.products!.push(TemplateProduct.fromJS(item));\r\n }\r\n else {\r\n this.products = null;\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any): Template {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new Template();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n if (Array.isArray(this.categories)) {\r\n data[\"categories\"] = [];\r\n for (let item of this.categories)\r\n data[\"categories\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.attributesGroups)) {\r\n data[\"attributesGroups\"] = [];\r\n for (let item of this.attributesGroups)\r\n data[\"attributesGroups\"].push(item.toJSON());\r\n }\r\n if (Array.isArray(this.products)) {\r\n data[\"products\"] = [];\r\n for (let item of this.products)\r\n data[\"products\"].push(item.toJSON());\r\n }\r\n return data;\r\n }\r\n\r\n clone(): Template {\r\n const json = this.toJSON();\r\n let result = new Template();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ITemplate {\r\n categories: TemplateCategory[];\r\n attributesGroups: TemplateAttributeGroup[];\r\n products: TemplateProduct[];\r\n}\r\n\r\nexport class TemplateCategory implements ITemplateCategory {\r\n id!: number;\r\n name!: string;\r\n externalKey?: string | null;\r\n photographerId?: number | null;\r\n description?: string | null;\r\n fileGuid?: string | null;\r\n fileName?: string | null;\r\n position?: number | null;\r\n isHidden?: boolean | null;\r\n productsPositionDefinition?: string | null;\r\n moduleType?: number | null;\r\n\r\n constructor(data?: ITemplateCategory) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"] !== undefined ? _data[\"id\"] : null;\r\n this.name = _data[\"name\"] !== undefined ? _data[\"name\"] : null;\r\n this.externalKey = _data[\"externalKey\"] !== undefined ? _data[\"externalKey\"] : null;\r\n this.photographerId = _data[\"photographerId\"] !== undefined ? _data[\"photographerId\"] : null;\r\n this.description = _data[\"description\"] !== undefined ? _data[\"description\"] : null;\r\n this.fileGuid = _data[\"fileGuid\"] !== undefined ? _data[\"fileGuid\"] : null;\r\n this.fileName = _data[\"fileName\"] !== undefined ? _data[\"fileName\"] : null;\r\n this.position = _data[\"position\"] !== undefined ? _data[\"position\"] : null;\r\n this.isHidden = _data[\"isHidden\"] !== undefined ? _data[\"isHidden\"] : null;\r\n this.productsPositionDefinition = _data[\"productsPositionDefinition\"] !== undefined ? _data[\"productsPositionDefinition\"] : null;\r\n this.moduleType = _data[\"moduleType\"] !== undefined ? _data[\"moduleType\"] : null;\r\n }\r\n }\r\n\r\n static fromJS(data: any): TemplateCategory {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new TemplateCategory();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id !== undefined ? this.id : null;\r\n data[\"name\"] = this.name !== undefined ? this.name : null;\r\n data[\"externalKey\"] = this.externalKey !== undefined ? this.externalKey : null;\r\n data[\"photographerId\"] = this.photographerId !== undefined ? this.photographerId : null;\r\n data[\"description\"] = this.description !== undefined ? this.description : null;\r\n data[\"fileGuid\"] = this.fileGuid !== undefined ? this.fileGuid : null;\r\n data[\"fileName\"] = this.fileName !== undefined ? this.fileName : null;\r\n data[\"position\"] = this.position !== undefined ? this.position : null;\r\n data[\"isHidden\"] = this.isHidden !== undefined ? this.isHidden : null;\r\n data[\"productsPositionDefinition\"] = this.productsPositionDefinition !== undefined ? this.productsPositionDefinition : null;\r\n data[\"moduleType\"] = this.moduleType !== undefined ? this.moduleType : null;\r\n return data;\r\n }\r\n\r\n clone(): TemplateCategory {\r\n const json = this.toJSON();\r\n let result = new TemplateCategory();\r\n result.init(json);\r\n return result;\r\n }\r\n}\r\n\r\nexport interface ITemplateCategory {\r\n id: number;\r\n name: string;\r\n externalKey?: string | null;\r\n photographerId?: number | null;\r\n description?: string | null;\r\n fileGuid?: string | null;\r\n fileName?: string | null;\r\n position?: number | null;\r\n isHidden?: boolean | null;\r\n productsPositionDefinition?: string | null;\r\n moduleType?: number | null;\r\n}\r\n\r\nexport class TemplateAttributeGroup implements ITemplateAttributeGroup {\r\n id!: number;\r\n name!: string;\r\n externalKey?: string | null;\r\n isActive?: boolean | null;\r\n position?: number | null;\r\n moduleType?: number | null;\r\n photographerId?: number | null;\r\n attributes!: TemplateAttribute[];\r\n\r\n constructor(data?: ITemplateAttributeGroup) {\r\n if (data) {\r\n for (var property in data) {\r\n if (data.hasOwnProperty(property))\r\n (this)[property] = (data)[property];\r\n }\r\n }\r\n if (!data) {\r\n this.attributes = [];\r\n }\r\n }\r\n\r\n init(_data?: any) {\r\n if (_data) {\r\n this.id = _data[\"id\"] !== undefined ? _data[\"id\"] : null;\r\n this.name = _data[\"name\"] !== undefined ? _data[\"name\"] : null;\r\n this.externalKey = _data[\"externalKey\"] !== undefined ? _data[\"externalKey\"] : null;\r\n this.isActive = _data[\"isActive\"] !== undefined ? _data[\"isActive\"] : null;\r\n this.position = _data[\"position\"] !== undefined ? _data[\"position\"] : null;\r\n this.moduleType = _data[\"moduleType\"] !== undefined ? _data[\"moduleType\"] : null;\r\n this.photographerId = _data[\"photographerId\"] !== undefined ? _data[\"photographerId\"] : null;\r\n if (Array.isArray(_data[\"attributes\"])) {\r\n this.attributes = [] as any;\r\n for (let item of _data[\"attributes\"])\r\n this.attributes!.push(TemplateAttribute.fromJS(item));\r\n }\r\n else {\r\n this.attributes = null;\r\n }\r\n }\r\n }\r\n\r\n static fromJS(data: any): TemplateAttributeGroup {\r\n data = typeof data === 'object' ? data : {};\r\n let result = new TemplateAttributeGroup();\r\n result.init(data);\r\n return result;\r\n }\r\n\r\n toJSON(data?: any) {\r\n data = typeof data === 'object' ? data : {};\r\n data[\"id\"] = this.id !== undefined ? this.id : null;\r\n data[\"name\"] = this.name !== undefined ? this.name : null;\r\n data[\"externalKey\"] = this.externalKey !== undefined ? this.externalKey : null;\r\n data[\"isActive\"] = this.isActive !== undefined ? this.isActive : null;\r\n data[\"position\"] = this.position !== undefined ? this.position : null;\r\n data[\"moduleType\"] = this.moduleType !== undefined ? this.moduleType :