Built motion from commit (unavailable).|2.5.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 _0x5ec6=['rimraf','./intZendeskField.attributes','ZendeskField','int_zendesk_fields','idField','FieldId','lodash','util','../../config/logger','moment','request-promise'];(function(_0x479266,_0x320fc6){var _0x1afe8e=function(_0x478916){while(--_0x478916){_0x479266['push'](_0x479266['shift']());}};_0x1afe8e(++_0x320fc6);}(_0x5ec6,0x7f));var _0x65ec=function(_0x730a22,_0x291d0d){_0x730a22=_0x730a22-0x0;var _0x79d2c3=_0x5ec6[_0x730a22];return _0x79d2c3;};'use strict';var _=require(_0x65ec('0x0'));var util=require(_0x65ec('0x1'));var logger=require(_0x65ec('0x2'))('api');var moment=require(_0x65ec('0x3'));var BPromise=require('bluebird');var rp=require(_0x65ec('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x65ec('0x5'));var config=require('../../config/environment');var attributes=require(_0x65ec('0x6'));module['exports']=function(_0x2fc973,_0xbb2e56){return _0x2fc973['define'](_0x65ec('0x7'),attributes,{'tableName':_0x65ec('0x8'),'paranoid':![],'indexes':[{'name':'zendesk_unique_index','fields':[_0x65ec('0x9'),_0x65ec('0xa')],'unique':!![]}],'timestamps':!![]});};