Built motion from commit (unavailable).|2.5.21
[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 _0x374b=['../../config/logger','api','moment','bluebird','path','rimraf','./openchannelAccount.attributes','exports','define','OpenchannelAccount','openchannel_accounts','lodash','util'];(function(_0x1be8cc,_0x529c6d){var _0x2fee59=function(_0x2c4d87){while(--_0x2c4d87){_0x1be8cc['push'](_0x1be8cc['shift']());}};_0x2fee59(++_0x529c6d);}(_0x374b,0x1ec));var _0xb374=function(_0x437f65,_0x120f06){_0x437f65=_0x437f65-0x0;var _0x2928bc=_0x374b[_0x437f65];return _0x2928bc;};'use strict';var _=require(_0xb374('0x0'));var util=require(_0xb374('0x1'));var logger=require(_0xb374('0x2'))(_0xb374('0x3'));var moment=require(_0xb374('0x4'));var BPromise=require(_0xb374('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb374('0x6'));var rimraf=require(_0xb374('0x7'));var config=require('../../config/environment');var attributes=require(_0xb374('0x8'));module[_0xb374('0x9')]=function(_0x54110b,_0x1f4bba){return _0x54110b[_0xb374('0xa')](_0xb374('0xb'),attributes,{'tableName':_0xb374('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};