Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / intZendeskField / intZendeskField.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 _0xde18=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskField.attributes','define','int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash'];(function(_0x2fce59,_0x226b20){var _0x526361=function(_0xe6f4bc){while(--_0xe6f4bc){_0x2fce59['push'](_0x2fce59['shift']());}};_0x526361(++_0x226b20);}(_0xde18,0x110));var _0x8de1=function(_0x56ea97,_0x40a6ab){_0x56ea97=_0x56ea97-0x0;var _0x198ff0=_0xde18[_0x56ea97];return _0x198ff0;};'use strict';var _=require(_0x8de1('0x0'));var util=require('util');var logger=require(_0x8de1('0x1'))('api');var moment=require('moment');var BPromise=require(_0x8de1('0x2'));var rp=require(_0x8de1('0x3'));var fs=require('fs');var path=require(_0x8de1('0x4'));var rimraf=require(_0x8de1('0x5'));var config=require(_0x8de1('0x6'));var attributes=require(_0x8de1('0x7'));module['exports']=function(_0x32474f,_0x570d68){return _0x32474f[_0x8de1('0x8')]('ZendeskField',attributes,{'tableName':_0x8de1('0x9'),'paranoid':![],'indexes':[{'name':_0x8de1('0xa'),'fields':[_0x8de1('0xb'),_0x8de1('0xc')],'unique':!![]}],'timestamps':!![]});};