Built motion from commit (unavailable).|2.5.30
[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 _0x3b69=['lodash','util','moment','path','rimraf','../../config/environment','./intZohoField.attributes','exports','define','ZohoField','int_zoho_fields','FieldId'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x3b69,0x6c));var _0x93b6=function(_0x1db2fa,_0x2afa1b){_0x1db2fa=_0x1db2fa-0x0;var _0x4cfc45=_0x3b69[_0x1db2fa];return _0x4cfc45;};'use strict';var _=require(_0x93b6('0x0'));var util=require(_0x93b6('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x93b6('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x93b6('0x3'));var rimraf=require(_0x93b6('0x4'));var config=require(_0x93b6('0x5'));var attributes=require(_0x93b6('0x6'));module[_0x93b6('0x7')]=function(_0x41a2ac,_0xec0b28){return _0x41a2ac[_0x93b6('0x8')](_0x93b6('0x9'),attributes,{'tableName':_0x93b6('0xa'),'paranoid':![],'indexes':[{'name':'zoho_unique_index','fields':['idField',_0x93b6('0xb')],'unique':!![]}],'timestamps':!![]});};