Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intFreshdeskField / intFreshdeskField.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 _0xe43d=['bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskField.attributes','define','FreshdeskField','idField','../../config/logger','api','moment'];(function(_0x48bd02,_0x46cfbe){var _0x44f7e0=function(_0x4fb8a3){while(--_0x4fb8a3){_0x48bd02['push'](_0x48bd02['shift']());}};_0x44f7e0(++_0x46cfbe);}(_0xe43d,0x75));var _0xde43=function(_0x1602fd,_0x847115){_0x1602fd=_0x1602fd-0x0;var _0x1eaf42=_0xe43d[_0x1602fd];return _0x1eaf42;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xde43('0x0'))(_0xde43('0x1'));var moment=require(_0xde43('0x2'));var BPromise=require(_0xde43('0x3'));var rp=require(_0xde43('0x4'));var fs=require('fs');var path=require(_0xde43('0x5'));var rimraf=require(_0xde43('0x6'));var config=require(_0xde43('0x7'));var attributes=require(_0xde43('0x8'));module['exports']=function(_0x4dce9d,_0x5b21e6){return _0x4dce9d[_0xde43('0x9')](_0xde43('0xa'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':'freshdesk_unique_index','fields':[_0xde43('0xb'),'FieldId'],'unique':!![]}],'timestamps':!![]});};