Built motion from commit e02f907f.|2.6.14
[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 _0xf2b8=['moment','request-promise','path','rimraf','../../config/environment','./intDeskAccount.attributes','define','DeskAccount','int_desk_accounts','lodash','util','../../config/logger','api'];(function(_0xffa198,_0x5a8940){var _0x1e4b50=function(_0x1f1c43){while(--_0x1f1c43){_0xffa198['push'](_0xffa198['shift']());}};_0x1e4b50(++_0x5a8940);}(_0xf2b8,0x71));var _0x8f2b=function(_0xb6aa38,_0x58237f){_0xb6aa38=_0xb6aa38-0x0;var _0x464230=_0xf2b8[_0xb6aa38];return _0x464230;};'use strict';var _=require(_0x8f2b('0x0'));var util=require(_0x8f2b('0x1'));var logger=require(_0x8f2b('0x2'))(_0x8f2b('0x3'));var moment=require(_0x8f2b('0x4'));var BPromise=require('bluebird');var rp=require(_0x8f2b('0x5'));var fs=require('fs');var path=require(_0x8f2b('0x6'));var rimraf=require(_0x8f2b('0x7'));var config=require(_0x8f2b('0x8'));var attributes=require(_0x8f2b('0x9'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x118f10,_0xc63a73){return _0x118f10[_0x8f2b('0xa')](_0x8f2b('0xb'),attributes,{'tableName':_0x8f2b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};