075b66b09f6e5f78d506f06a4b655c6c9694d5ff
[motion2.git] / server / services / routing / rpc / smsInteraction.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 _0xf874=['addTags','AddTagsToSmsInteraction','addTagsToSmsInteraction','Request','UpdateSmsInteraction','updateSmsInteraction'];(function(_0x3fd945,_0x30d15d){var _0x187c75=function(_0x3089ca){while(--_0x3089ca){_0x3fd945['push'](_0x3fd945['shift']());}};_0x187c75(++_0x30d15d);}(_0xf874,0xed));var _0x4f87=function(_0x3355ca,_0x5cd129){_0x3355ca=_0x3355ca-0x0;var _0x33b71b=_0xf874[_0x3355ca];return _0x33b71b;};'use strict';var client=require('../client');exports['update']=function(_0x136b1a,_0x18b1d2){return client[_0x4f87('0x0')](_0x4f87('0x1'),{'body':_0x18b1d2,'options':{'where':{'id':_0x136b1a}},'log':_0x4f87('0x2')});};exports[_0x4f87('0x3')]=function(_0x5b10c6,_0x402bfc){return client[_0x4f87('0x0')](_0x4f87('0x4'),{'body':_0x402bfc,'options':{'where':{'id':_0x5b10c6}},'log':_0x4f87('0x5')});};