Built motion from commit (unavailable).|2.5.10
[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 _0x3b0d=['bluebird','../../config/environment','./openchannelAccount.attributes','exports','define','openchannel_accounts','lodash','../../config/logger','api'];(function(_0x4e1a49,_0x4da738){var _0x136aae=function(_0x3ffd93){while(--_0x3ffd93){_0x4e1a49['push'](_0x4e1a49['shift']());}};_0x136aae(++_0x4da738);}(_0x3b0d,0xf9));var _0xd3b0=function(_0x2b0c2b,_0x279329){_0x2b0c2b=_0x2b0c2b-0x0;var _0x3a5e50=_0x3b0d[_0x2b0c2b];return _0x3a5e50;};'use strict';var _=require(_0xd3b0('0x0'));var util=require('util');var logger=require(_0xd3b0('0x1'))(_0xd3b0('0x2'));var moment=require('moment');var BPromise=require(_0xd3b0('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd3b0('0x4'));var attributes=require(_0xd3b0('0x5'));module[_0xd3b0('0x6')]=function(_0x3019c1,_0x12f795){return _0x3019c1[_0xd3b0('0x7')]('OpenchannelAccount',attributes,{'tableName':_0xd3b0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};