c021fd7154973d061531e1366e096307260ad355
[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 _0x6a35=['./intDeskAccount.attributes','../../components/integrations/configuration','exports','define','int_desk_accounts','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x5f1391,_0x19c132){var _0x50ebe3=function(_0x3d00a3){while(--_0x3d00a3){_0x5f1391['push'](_0x5f1391['shift']());}};_0x50ebe3(++_0x19c132);}(_0x6a35,0x89));var _0x56a3=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x6a35[_0x4565bf];return _0x5610ba;};'use strict';var _=require(_0x56a3('0x0'));var util=require(_0x56a3('0x1'));var logger=require(_0x56a3('0x2'))(_0x56a3('0x3'));var moment=require('moment');var BPromise=require(_0x56a3('0x4'));var rp=require(_0x56a3('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x56a3('0x6'));var integrations=require(_0x56a3('0x7'));module[_0x56a3('0x8')]=function(_0x57a468,_0x2e0e76){return _0x57a468[_0x56a3('0x9')]('DeskAccount',attributes,{'tableName':_0x56a3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};