ef4dd63c75ca8aec89e647ba4ffa7313503f8c54
[motion2.git] / server / api / intFreshsalesField / intFreshsalesField.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 _0x784b=['exports','FreshsalesField','idField','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./intFreshsalesField.attributes'];(function(_0x272070,_0x49061d){var _0x28439d=function(_0xb03136){while(--_0xb03136){_0x272070['push'](_0x272070['shift']());}};_0x28439d(++_0x49061d);}(_0x784b,0x115));var _0xb784=function(_0x2a87fc,_0x30a039){_0x2a87fc=_0x2a87fc-0x0;var _0x32d9f5=_0x784b[_0x2a87fc];return _0x32d9f5;};'use strict';var _=require(_0xb784('0x0'));var util=require(_0xb784('0x1'));var logger=require(_0xb784('0x2'))('api');var moment=require(_0xb784('0x3'));var BPromise=require(_0xb784('0x4'));var rp=require(_0xb784('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb784('0x6'));var config=require(_0xb784('0x7'));var attributes=require(_0xb784('0x8'));module[_0xb784('0x9')]=function(_0x464843,_0x27c227){return _0x464843['define'](_0xb784('0xa'),attributes,{'tableName':'int_freshsales_fields','paranoid':![],'indexes':[{'name':'freshsales_unique_index','fields':[_0xb784('0xb'),_0xb784('0xc')],'unique':!![]}],'timestamps':!![]});};