ea15f13b1f9624585def5aa2a2d07f04f46a3631
[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 _0xb0ed=['./intZendeskField.attributes','define','ZendeskField','int_zendesk_fields','zendesk_unique_index','idField','FieldId','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1ad9fa,_0x34b1e2){var _0x22718b=function(_0x2fb916){while(--_0x2fb916){_0x1ad9fa['push'](_0x1ad9fa['shift']());}};_0x22718b(++_0x34b1e2);}(_0xb0ed,0xd3));var _0xdb0e=function(_0x41300b,_0x4a2a08){_0x41300b=_0x41300b-0x0;var _0x40af33=_0xb0ed[_0x41300b];return _0x40af33;};'use strict';var _=require(_0xdb0e('0x0'));var util=require(_0xdb0e('0x1'));var logger=require(_0xdb0e('0x2'))(_0xdb0e('0x3'));var moment=require(_0xdb0e('0x4'));var BPromise=require(_0xdb0e('0x5'));var rp=require(_0xdb0e('0x6'));var fs=require('fs');var path=require(_0xdb0e('0x7'));var rimraf=require(_0xdb0e('0x8'));var config=require(_0xdb0e('0x9'));var attributes=require(_0xdb0e('0xa'));module['exports']=function(_0x29df72,_0x21a635){return _0x29df72[_0xdb0e('0xb')](_0xdb0e('0xc'),attributes,{'tableName':_0xdb0e('0xd'),'paranoid':![],'indexes':[{'name':_0xdb0e('0xe'),'fields':[_0xdb0e('0xf'),_0xdb0e('0x10')],'unique':!![]}],'timestamps':!![]});};