07663a3ef92461eed062ef475a4c31c897c322f8
[motion2.git] / server / api / smsQueue / smsQueue.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 _0x7e49=['sms_queues','lodash','util','api','moment','bluebird','../../config/environment','./smsQueue.attributes','define'];(function(_0x41c823,_0x2a9556){var _0x3509f6=function(_0x8f4d3c){while(--_0x8f4d3c){_0x41c823['push'](_0x41c823['shift']());}};_0x3509f6(++_0x2a9556);}(_0x7e49,0xd9));var _0x97e4=function(_0x1934e2,_0x3e4dee){_0x1934e2=_0x1934e2-0x0;var _0x1bc0fc=_0x7e49[_0x1934e2];return _0x1bc0fc;};'use strict';var _=require(_0x97e4('0x0'));var util=require(_0x97e4('0x1'));var logger=require('../../config/logger')(_0x97e4('0x2'));var moment=require(_0x97e4('0x3'));var BPromise=require(_0x97e4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x97e4('0x5'));var attributes=require(_0x97e4('0x6'));module['exports']=function(_0x2e0101,_0x35796b){return _0x2e0101[_0x97e4('0x7')]('SmsQueue',attributes,{'tableName':_0x97e4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};