Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / intZohoField / intZohoField.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 _0x3d8f=['lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','exports','define','int_zoho_fields','zoho_unique_index'];(function(_0x4a26c1,_0x48e32c){var _0x592413=function(_0x1a3083){while(--_0x1a3083){_0x4a26c1['push'](_0x4a26c1['shift']());}};_0x592413(++_0x48e32c);}(_0x3d8f,0x108));var _0xf3d8=function(_0x1e16e0,_0x4d4b18){_0x1e16e0=_0x1e16e0-0x0;var _0x50deb1=_0x3d8f[_0x1e16e0];return _0x50deb1;};'use strict';var _=require(_0xf3d8('0x0'));var util=require(_0xf3d8('0x1'));var logger=require('../../config/logger')(_0xf3d8('0x2'));var moment=require(_0xf3d8('0x3'));var BPromise=require(_0xf3d8('0x4'));var rp=require(_0xf3d8('0x5'));var fs=require('fs');var path=require(_0xf3d8('0x6'));var rimraf=require('rimraf');var config=require(_0xf3d8('0x7'));var attributes=require('./intZohoField.attributes');module[_0xf3d8('0x8')]=function(_0x156fb8,_0x5c7a62){return _0x156fb8[_0xf3d8('0x9')]('ZohoField',attributes,{'tableName':_0xf3d8('0xa'),'paranoid':![],'indexes':[{'name':_0xf3d8('0xb'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};