Built motion from commit b4f7ded2.|2.0.69
[motion2.git] / server / api / intSalesforceField / intSalesforceField.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 _0x1f52=['util','api','moment','bluebird','./intSalesforceField.attributes','define','SalesforceField','int_salesforce_fields','lodash'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x1f52,0x74));var _0x21f5=function(_0x3935ff,_0x4e4a5e){_0x3935ff=_0x3935ff-0x0;var _0x3ac809=_0x1f52[_0x3935ff];return _0x3ac809;};'use strict';var _=require(_0x21f5('0x0'));var util=require(_0x21f5('0x1'));var logger=require('../../config/logger')(_0x21f5('0x2'));var moment=require(_0x21f5('0x3'));var BPromise=require(_0x21f5('0x4'));var rp=require('request-promise');var attributes=require(_0x21f5('0x5'));module['exports']=function(_0x5a6f7d,_0x562260){return _0x5a6f7d[_0x21f5('0x6')](_0x21f5('0x7'),attributes,{'tableName':_0x21f5('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};