cd6c8b2448a38c95d7165129c002421780c04b8b
[motion2.git] / server / api / intDeskAccount / intDeskAccount.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 _0x8e3b=['../../config/environment','./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash','util','api','bluebird','path','rimraf'];(function(_0x5b6511,_0x256c92){var _0x529576=function(_0x5d5362){while(--_0x5d5362){_0x5b6511['push'](_0x5b6511['shift']());}};_0x529576(++_0x256c92);}(_0x8e3b,0xea));var _0xb8e3=function(_0x4ccf96,_0x34978e){_0x4ccf96=_0x4ccf96-0x0;var _0xd103b7=_0x8e3b[_0x4ccf96];return _0xd103b7;};'use strict';var _=require(_0xb8e3('0x0'));var util=require(_0xb8e3('0x1'));var logger=require('../../config/logger')(_0xb8e3('0x2'));var moment=require('moment');var BPromise=require(_0xb8e3('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb8e3('0x4'));var rimraf=require(_0xb8e3('0x5'));var config=require(_0xb8e3('0x6'));var attributes=require(_0xb8e3('0x7'));var integrations=require(_0xb8e3('0x8'));module[_0xb8e3('0x9')]=function(_0x2a1b62,_0x121430){return _0x2a1b62[_0xb8e3('0xa')]('DeskAccount',attributes,{'tableName':_0xb8e3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};