Built motion from commit (unavailable).|2.5.20
[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 _0x3a67=['idField','FieldId','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesField.attributes','exports','define','int_freshsales_fields'];(function(_0x2c3c95,_0x2d7e28){var _0xbb86e7=function(_0x1a8121){while(--_0x1a8121){_0x2c3c95['push'](_0x2c3c95['shift']());}};_0xbb86e7(++_0x2d7e28);}(_0x3a67,0x89));var _0x73a6=function(_0x3130bc,_0x25eadd){_0x3130bc=_0x3130bc-0x0;var _0x465631=_0x3a67[_0x3130bc];return _0x465631;};'use strict';var _=require(_0x73a6('0x0'));var util=require(_0x73a6('0x1'));var logger=require('../../config/logger')(_0x73a6('0x2'));var moment=require(_0x73a6('0x3'));var BPromise=require(_0x73a6('0x4'));var rp=require(_0x73a6('0x5'));var fs=require('fs');var path=require(_0x73a6('0x6'));var rimraf=require(_0x73a6('0x7'));var config=require(_0x73a6('0x8'));var attributes=require(_0x73a6('0x9'));module[_0x73a6('0xa')]=function(_0x22ee80,_0x5231d5){return _0x22ee80[_0x73a6('0xb')]('FreshsalesField',attributes,{'tableName':_0x73a6('0xc'),'paranoid':![],'indexes':[{'name':'freshsales_unique_index','fields':[_0x73a6('0xd'),_0x73a6('0xe')],'unique':!![]}],'timestamps':!![]});};