Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / openchannelAccount / openchannelAccount.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 _0x3860=['exports','define','OpenchannelAccount','openchannel_accounts','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./openchannelAccount.attributes'];(function(_0x272ea4,_0x432f54){var _0x2ba8be=function(_0x16935a){while(--_0x16935a){_0x272ea4['push'](_0x272ea4['shift']());}};_0x2ba8be(++_0x432f54);}(_0x3860,0x1e5));var _0x0386=function(_0x3e57d3,_0x1ad4a0){_0x3e57d3=_0x3e57d3-0x0;var _0x3a4948=_0x3860[_0x3e57d3];return _0x3a4948;};'use strict';var _=require(_0x0386('0x0'));var util=require(_0x0386('0x1'));var logger=require(_0x0386('0x2'))('api');var moment=require(_0x0386('0x3'));var BPromise=require(_0x0386('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0386('0x5'));var rimraf=require(_0x0386('0x6'));var config=require(_0x0386('0x7'));var attributes=require(_0x0386('0x8'));module[_0x0386('0x9')]=function(_0x5723a5,_0x5238c2){return _0x5723a5[_0x0386('0xa')](_0x0386('0xb'),attributes,{'tableName':_0x0386('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};