Built motion from commit d1eab355.|2.6.28
[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 _0x079a=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./template.attributes','exports','define','Template'];(function(_0x47c09e,_0x2f22c5){var _0x59bf09=function(_0xe2358a){while(--_0xe2358a){_0x47c09e['push'](_0x47c09e['shift']());}};_0x59bf09(++_0x2f22c5);}(_0x079a,0x1a4));var _0xa079=function(_0x26462c,_0xd20a35){_0x26462c=_0x26462c-0x0;var _0x509a42=_0x079a[_0x26462c];return _0x509a42;};'use strict';var _=require(_0xa079('0x0'));var util=require(_0xa079('0x1'));var logger=require(_0xa079('0x2'))(_0xa079('0x3'));var moment=require(_0xa079('0x4'));var BPromise=require(_0xa079('0x5'));var rp=require(_0xa079('0x6'));var fs=require('fs');var path=require(_0xa079('0x7'));var rimraf=require(_0xa079('0x8'));var config=require(_0xa079('0x9'));var attributes=require(_0xa079('0xa'));module[_0xa079('0xb')]=function(_0x3293c3,_0x2df36c){return _0x3293c3[_0xa079('0xc')](_0xa079('0xd'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};