e2077c2b353a76aabe938d4f5ea6be8947176a05
[motion2.git] / server / api / intFreshsalesConfiguration / intFreshsalesConfiguration.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 _0x01ff=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','exports','define','FreshsalesConfiguration','int_freshsales_configurations','lodash'];(function(_0x507222,_0x3cebc6){var _0x3edbca=function(_0x1f6558){while(--_0x1f6558){_0x507222['push'](_0x507222['shift']());}};_0x3edbca(++_0x3cebc6);}(_0x01ff,0x176));var _0xf01f=function(_0x40a58f,_0xd17f13){_0x40a58f=_0x40a58f-0x0;var _0x596928=_0x01ff[_0x40a58f];return _0x596928;};'use strict';var _=require(_0xf01f('0x0'));var util=require(_0xf01f('0x1'));var logger=require(_0xf01f('0x2'))(_0xf01f('0x3'));var moment=require(_0xf01f('0x4'));var BPromise=require(_0xf01f('0x5'));var rp=require(_0xf01f('0x6'));var fs=require('fs');var path=require(_0xf01f('0x7'));var rimraf=require(_0xf01f('0x8'));var config=require(_0xf01f('0x9'));var attributes=require(_0xf01f('0xa'));module[_0xf01f('0xb')]=function(_0xf9ddbe,_0x316b48){return _0xf9ddbe[_0xf01f('0xc')](_0xf01f('0xd'),attributes,{'tableName':_0xf01f('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};