Built motion from commit (unavailable).|2.5.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 _0xd99e=['rimraf','../../config/environment','./template.attributes','define','Template','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x42bcd8,_0xa12f88){var _0x544036=function(_0x4af441){while(--_0x4af441){_0x42bcd8['push'](_0x42bcd8['shift']());}};_0x544036(++_0xa12f88);}(_0xd99e,0xa1));var _0xed99=function(_0x20cb20,_0x256051){_0x20cb20=_0x20cb20-0x0;var _0x2fcf4b=_0xd99e[_0x20cb20];return _0x2fcf4b;};'use strict';var _=require(_0xed99('0x0'));var util=require(_0xed99('0x1'));var logger=require(_0xed99('0x2'))('api');var moment=require(_0xed99('0x3'));var BPromise=require(_0xed99('0x4'));var rp=require(_0xed99('0x5'));var fs=require('fs');var path=require(_0xed99('0x6'));var rimraf=require(_0xed99('0x7'));var config=require(_0xed99('0x8'));var attributes=require(_0xed99('0x9'));module['exports']=function(_0xca51d5,_0x27b22d){return _0xca51d5[_0xed99('0xa')](_0xed99('0xb'),attributes,{'tableName':'tools_templates','paranoid':![],'indexes':[],'timestamps':!![]});};