Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / crmNation / crmNation.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 _0xa0c5=['../../config/logger','api','bluebird','request-promise','./crmNation.attributes','exports','define','CrmNation','crm_nations','util'];(function(_0x5d3300,_0x53b062){var _0x4a1a98=function(_0x3d572a){while(--_0x3d572a){_0x5d3300['push'](_0x5d3300['shift']());}};_0x4a1a98(++_0x53b062);}(_0xa0c5,0x13f));var _0x5a0c=function(_0x37cbfd,_0x31a00c){_0x37cbfd=_0x37cbfd-0x0;var _0x48c86b=_0xa0c5[_0x37cbfd];return _0x48c86b;};'use strict';var _=require('lodash');var util=require(_0x5a0c('0x0'));var logger=require(_0x5a0c('0x1'))(_0x5a0c('0x2'));var moment=require('moment');var BPromise=require(_0x5a0c('0x3'));var rp=require(_0x5a0c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5a0c('0x5'));module[_0x5a0c('0x6')]=function(_0x387c89,_0x5349ea){return _0x387c89[_0x5a0c('0x7')](_0x5a0c('0x8'),attributes,{'tableName':_0x5a0c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};