Built motion from commit (unavailable).|2.3.1
[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 _0x5569=['bluebird','./template.attributes','Template','tools_templates','lodash','../../config/logger','api','moment'];(function(_0x3d297e,_0x3551ee){var _0x4f36cf=function(_0x44710d){while(--_0x44710d){_0x3d297e['push'](_0x3d297e['shift']());}};_0x4f36cf(++_0x3551ee);}(_0x5569,0x94));var _0x9556=function(_0x117994,_0x46bbbb){_0x117994=_0x117994-0x0;var _0x40814a=_0x5569[_0x117994];return _0x40814a;};'use strict';var _=require(_0x9556('0x0'));var util=require('util');var logger=require(_0x9556('0x1'))(_0x9556('0x2'));var moment=require(_0x9556('0x3'));var BPromise=require(_0x9556('0x4'));var rp=require('request-promise');var attributes=require(_0x9556('0x5'));module['exports']=function(_0x311086,_0x5be74d){return _0x311086['define'](_0x9556('0x6'),attributes,{'tableName':_0x9556('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};