efc4d235e1e0bde3c0c72eb3e192886557df5762
[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 _0x5b4e=['rimraf','../../config/environment','./intZohoField.attributes','exports','define','ZohoField','int_zoho_fields','zoho_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x4e0f5e,_0x4168c4){var _0x45de30=function(_0x139cde){while(--_0x139cde){_0x4e0f5e['push'](_0x4e0f5e['shift']());}};_0x45de30(++_0x4168c4);}(_0x5b4e,0x88));var _0xe5b4=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x5b4e[_0x4a9fb1];return _0x348672;};'use strict';var _=require(_0xe5b4('0x0'));var util=require(_0xe5b4('0x1'));var logger=require(_0xe5b4('0x2'))(_0xe5b4('0x3'));var moment=require(_0xe5b4('0x4'));var BPromise=require(_0xe5b4('0x5'));var rp=require(_0xe5b4('0x6'));var fs=require('fs');var path=require(_0xe5b4('0x7'));var rimraf=require(_0xe5b4('0x8'));var config=require(_0xe5b4('0x9'));var attributes=require(_0xe5b4('0xa'));module[_0xe5b4('0xb')]=function(_0x3f930b,_0x7821a4){return _0x3f930b[_0xe5b4('0xc')](_0xe5b4('0xd'),attributes,{'tableName':_0xe5b4('0xe'),'paranoid':![],'indexes':[{'name':_0xe5b4('0xf'),'fields':[_0xe5b4('0x10'),_0xe5b4('0x11')],'unique':!![]}],'timestamps':!![]});};