Built motion from commit (unavailable).|2.4.17
[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 _0x9ed8=['rimraf','../../config/environment','./intZohoField.attributes','exports','ZohoField','int_zoho_fields','idField','FieldId','util','../../config/logger','api','moment','request-promise','path'];(function(_0x35f29d,_0x114342){var _0xe16f3=function(_0xb48ba9){while(--_0xb48ba9){_0x35f29d['push'](_0x35f29d['shift']());}};_0xe16f3(++_0x114342);}(_0x9ed8,0x1ac));var _0x89ed=function(_0x4c23aa,_0x4cf617){_0x4c23aa=_0x4c23aa-0x0;var _0x17f229=_0x9ed8[_0x4c23aa];return _0x17f229;};'use strict';var _=require('lodash');var util=require(_0x89ed('0x0'));var logger=require(_0x89ed('0x1'))(_0x89ed('0x2'));var moment=require(_0x89ed('0x3'));var BPromise=require('bluebird');var rp=require(_0x89ed('0x4'));var fs=require('fs');var path=require(_0x89ed('0x5'));var rimraf=require(_0x89ed('0x6'));var config=require(_0x89ed('0x7'));var attributes=require(_0x89ed('0x8'));module[_0x89ed('0x9')]=function(_0x5d2db4,_0x486af7){return _0x5d2db4['define'](_0x89ed('0xa'),attributes,{'tableName':_0x89ed('0xb'),'paranoid':![],'indexes':[{'name':'zoho_unique_index','fields':[_0x89ed('0xc'),_0x89ed('0xd')],'unique':!![]}],'timestamps':!![]});};