Built motion from commit 10af8726.|2.6.34
[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 _0x476a=['define','ZendeskField','int_zendesk_fields','zendesk_unique_index','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intZendeskField.attributes'];(function(_0x4b7b62,_0x4920a9){var _0x2280df=function(_0x21e1f8){while(--_0x21e1f8){_0x4b7b62['push'](_0x4b7b62['shift']());}};_0x2280df(++_0x4920a9);}(_0x476a,0x7c));var _0xa476=function(_0x1ca065,_0x59775e){_0x1ca065=_0x1ca065-0x0;var _0x20887a=_0x476a[_0x1ca065];return _0x20887a;};'use strict';var _=require(_0xa476('0x0'));var util=require(_0xa476('0x1'));var logger=require(_0xa476('0x2'))(_0xa476('0x3'));var moment=require(_0xa476('0x4'));var BPromise=require(_0xa476('0x5'));var rp=require(_0xa476('0x6'));var fs=require('fs');var path=require(_0xa476('0x7'));var rimraf=require(_0xa476('0x8'));var config=require(_0xa476('0x9'));var attributes=require(_0xa476('0xa'));module['exports']=function(_0x47be20,_0x4e5fc3){return _0x47be20[_0xa476('0xb')](_0xa476('0xc'),attributes,{'tableName':_0xa476('0xd'),'paranoid':![],'indexes':[{'name':_0xa476('0xe'),'fields':['idField','FieldId'],'unique':!![]}],'timestamps':!![]});};