Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / template / template.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5f72=['./template.attributes','exports','define','Template','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x57d895,_0x22c3ee){var _0x118f20=function(_0x26281b){while(--_0x26281b){_0x57d895['push'](_0x57d895['shift']());}};_0x118f20(++_0x22c3ee);}(_0x5f72,0xe1));var _0x25f7=function(_0x336376,_0xe4b28d){_0x336376=_0x336376-0x0;var _0x1d2a8e=_0x5f72[_0x336376];return _0x1d2a8e;};'use strict';var _=require(_0x25f7('0x0'));var util=require(_0x25f7('0x1'));var logger=require(_0x25f7('0x2'))(_0x25f7('0x3'));var moment=require(_0x25f7('0x4'));var BPromise=require('bluebird');var rp=require(_0x25f7('0x5'));var fs=require('fs');var path=require(_0x25f7('0x6'));var rimraf=require(_0x25f7('0x7'));var config=require(_0x25f7('0x8'));var attributes=require(_0x25f7('0x9'));module[_0x25f7('0xa')]=function(_0x2b2d3c,_0x1ceb7e){return _0x2b2d3c[_0x25f7('0xb')](_0x25f7('0xc'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};