Built motion from commit 2e4747fd.|2.6.7
[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 _0x0eff=['ZendeskField','int_zendesk_fields','zendesk_unique_index','idField','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskField.attributes','exports','define'];(function(_0x87326e,_0x205143){var _0xb7d8e3=function(_0x38a680){while(--_0x38a680){_0x87326e['push'](_0x87326e['shift']());}};_0xb7d8e3(++_0x205143);}(_0x0eff,0xae));var _0xf0ef=function(_0x57da0a,_0x284aed){_0x57da0a=_0x57da0a-0x0;var _0x3145d5=_0x0eff[_0x57da0a];return _0x3145d5;};'use strict';var _=require(_0xf0ef('0x0'));var util=require(_0xf0ef('0x1'));var logger=require(_0xf0ef('0x2'))(_0xf0ef('0x3'));var moment=require(_0xf0ef('0x4'));var BPromise=require(_0xf0ef('0x5'));var rp=require(_0xf0ef('0x6'));var fs=require('fs');var path=require(_0xf0ef('0x7'));var rimraf=require(_0xf0ef('0x8'));var config=require(_0xf0ef('0x9'));var attributes=require(_0xf0ef('0xa'));module[_0xf0ef('0xb')]=function(_0x41351b,_0x414b84){return _0x41351b[_0xf0ef('0xc')](_0xf0ef('0xd'),attributes,{'tableName':_0xf0ef('0xe'),'paranoid':![],'indexes':[{'name':_0xf0ef('0xf'),'fields':[_0xf0ef('0x10'),'FieldId'],'unique':!![]}],'timestamps':!![]});};