Built motion from commit (unavailable).|2.5.4
[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 _0x3531=['../../config/environment','./intFreshsalesField.attributes','exports','define','FreshsalesField','int_freshsales_fields','freshsales_unique_index','idField','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x2a40a9,_0x2a8ddc){var _0x4dd747=function(_0x29239a){while(--_0x29239a){_0x2a40a9['push'](_0x2a40a9['shift']());}};_0x4dd747(++_0x2a8ddc);}(_0x3531,0x1b8));var _0x1353=function(_0xa1e3e3,_0x29fe0e){_0xa1e3e3=_0xa1e3e3-0x0;var _0xc980e9=_0x3531[_0xa1e3e3];return _0xc980e9;};'use strict';var _=require(_0x1353('0x0'));var util=require(_0x1353('0x1'));var logger=require(_0x1353('0x2'))(_0x1353('0x3'));var moment=require(_0x1353('0x4'));var BPromise=require(_0x1353('0x5'));var rp=require(_0x1353('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x1353('0x7'));var config=require(_0x1353('0x8'));var attributes=require(_0x1353('0x9'));module[_0x1353('0xa')]=function(_0x13ed33,_0x6edcd0){return _0x13ed33[_0x1353('0xb')](_0x1353('0xc'),attributes,{'tableName':_0x1353('0xd'),'paranoid':![],'indexes':[{'name':_0x1353('0xe'),'fields':[_0x1353('0xf'),'FieldId'],'unique':!![]}],'timestamps':!![]});};