Built motion from commit (unavailable).|2.5.17
[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 _0x0153=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','lodash','api'];(function(_0x38acfa,_0x21ee9f){var _0x303226=function(_0x2a2203){while(--_0x2a2203){_0x38acfa['push'](_0x38acfa['shift']());}};_0x303226(++_0x21ee9f);}(_0x0153,0x1f2));var _0x3015=function(_0x204265,_0x313c59){_0x204265=_0x204265-0x0;var _0x48940c=_0x0153[_0x204265];return _0x48940c;};'use strict';var _=require(_0x3015('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3015('0x1'));var moment=require(_0x3015('0x2'));var BPromise=require(_0x3015('0x3'));var rp=require(_0x3015('0x4'));var fs=require('fs');var path=require(_0x3015('0x5'));var rimraf=require(_0x3015('0x6'));var config=require(_0x3015('0x7'));var attributes=require('./openchannelAccount.attributes');module[_0x3015('0x8')]=function(_0x5188c1,_0x3d8fa3){return _0x5188c1[_0x3015('0x9')]('OpenchannelAccount',attributes,{'tableName':'openchannel_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};