Built motion from commit 6a09e18b.|2.6.11
[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 _0x115f=['int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash','util','bluebird','request-promise','path','rimraf','./intZendeskField.attributes','exports'];(function(_0x3356bf,_0x3166bd){var _0x20cb92=function(_0x55f1e9){while(--_0x55f1e9){_0x3356bf['push'](_0x3356bf['shift']());}};_0x20cb92(++_0x3166bd);}(_0x115f,0x148));var _0xf115=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x115f[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0xf115('0x0'));var util=require(_0xf115('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xf115('0x2'));var rp=require(_0xf115('0x3'));var fs=require('fs');var path=require(_0xf115('0x4'));var rimraf=require(_0xf115('0x5'));var config=require('../../config/environment');var attributes=require(_0xf115('0x6'));module[_0xf115('0x7')]=function(_0x2bb89d,_0x3dd2f4){return _0x2bb89d['define']('ZendeskField',attributes,{'tableName':_0xf115('0x8'),'paranoid':![],'indexes':[{'name':_0xf115('0x9'),'fields':[_0xf115('0xa'),_0xf115('0xb')],'unique':!![]}],'timestamps':!![]});};