Broadworks-OCIP

 view release on metacpan or  search on metacpan

lib/Broadworks/OCIP.pm  view on Meta::CPAN

package Broadworks::OCIP;

# ABSTRACT: API for communication with Broadworks OCI-P Interface

use strict;
use warnings;
use utf8;
use feature 'unicode_strings';
use namespace::autoclean;

our $VERSION = '0.09'; # VERSION
our $AUTHORITY = 'cpan:NIGELM'; # AUTHORITY

use Broadworks::OCIP::Response;
use Broadworks::OCIP::Throwable;
use Config::Any;
use Data::UUID;
use Digest::MD5 qw( md5_hex );

lib/Broadworks/OCIP/Response.pm  view on Meta::CPAN

package Broadworks::OCIP::Response;

# ABSTRACT: A Broadworks OCI-P Response Message

use strict;
use warnings;
use utf8;
use feature 'unicode_strings';

our $VERSION = '0.09'; # VERSION
our $AUTHORITY = 'cpan:NIGELM'; # AUTHORITY

use Broadworks::OCIP::Throwable;
use Moose;
use Function::Parameters;
use MooseX::StrictConstructor;
use Try::Tiny;
use XML::Fast;

ocip_html/OCISchemaUser.xsd.html  view on Meta::CPAN

        Returns the number of entries that would be returned if the response 
        Was not page size restricted.
        Contains a table with a row for each user and column headings:
        "User Id", "First Name", "Last Name", "First Name Unicode", 
        "Last Name Unicode", "Hiragana First Name", "Hiragana Last Name",
        "Title", "Phone Number", "Extension", "Mobile", "Pager", 
        "Email Address", "Yahoo Id", "Department", "Group Id", "Location",
        "Address Line 1", "Address Line 2", "City", "State", "Zip", "Country",
        "IMP Id", "Location Code".
        The response entries are sorted by "Last Name Unicode" first and
        "First Name unicode" secondarily.
      </td>
</tr>
<tr>
<th>Application Data</th>
<td>
        <code>&lt;asDataModeSupported&gt; <div style="margin-left: 1.5em">true</div>&lt;/asDataModeSupported&gt;</code>
        <code>&lt;hssDataModeSupported&gt; <div style="margin-left: 1.5em">true</div>&lt;/hssDataModeSupported&gt;</code>
      </td>
</tr>
</table>

ocip_html/Services/OCISchemaServiceExecutive.xsd.html  view on Meta::CPAN

</span> &lt;/alertingMode&gt; <span class="occurs">[1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCallingLineIdNameMode&gt; <span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdNameMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdNameMode&quot; type definition.">ExecutiveAlertingCallingLineIdNameMode</a>
</span> &lt;/alertingCallingLineIdNameMode&gt; <span class="occurs">[1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCustomCallingLineIdName&gt; <span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span> &lt;/alertingCustomCallingLineIdName&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;unicodeAlertingCustomCallingLineIdName&gt; <span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span> &lt;/unicodeAlertingCustomCallingLineIdName&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCallingLineIdPhoneNumberMode&gt; <span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdPhoneNumberMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdPhoneNumberMode&quot; type definition.">ExecutiveAlertingCallingLineIdPhoneNumberMode</a>
</span> &lt;/alertingCallingLineIdPhoneNumberMode&gt; <span class="occurs">[1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCustomCallingLineIdPhoneNumber&gt; <span class="type">
<a href="OCISchemaDataTypes.xsd.html#type_DN" title="Jump to &quot;DN&quot; type definition(located in external schema documentation)." class="externalLink">DN</a>
</span> &lt;/alertingCustomCallingLineIdPhoneNumber&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;callPushRecallNumberOfRings&gt; <span class="type">

ocip_html/Services/OCISchemaServiceExecutive.xsd.html  view on Meta::CPAN

<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCallingLineIdNameMode</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdNameMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdNameMode&quot; type definition.">ExecutiveAlertingCallingLineIdNameMode</a>
</span>
</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCustomCallingLineIdName</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span>
</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">unicodeAlertingCustomCallingLineIdName</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span>
</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCallingLineIdPhoneNumberMode</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdPhoneNumberMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdPhoneNumberMode&quot; type definition.">ExecutiveAlertingCallingLineIdPhoneNumberMode</a>
</span>
</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCustomCallingLineIdPhoneNumber</span>" <span class="scTag">type</span>="<span class="scContent">

ocip_html/Services/OCISchemaServiceExecutive.xsd.html  view on Meta::CPAN

</span> &lt;/alertingMode&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCallingLineIdNameMode&gt; <span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdNameMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdNameMode&quot; type definition.">ExecutiveAlertingCallingLineIdNameMode</a>
</span> &lt;/alertingCallingLineIdNameMode&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCustomCallingLineIdName&gt; <span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span> &lt;/alertingCustomCallingLineIdName&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;unicodeAlertingCustomCallingLineIdName&gt; <span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span> &lt;/unicodeAlertingCustomCallingLineIdName&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCallingLineIdPhoneNumberMode&gt; <span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdPhoneNumberMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdPhoneNumberMode&quot; type definition.">ExecutiveAlertingCallingLineIdPhoneNumberMode</a>
</span> &lt;/alertingCallingLineIdPhoneNumberMode&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;alertingCustomCallingLineIdPhoneNumber&gt; <span class="type">
<a href="OCISchemaDataTypes.xsd.html#type_DN" title="Jump to &quot;DN&quot; type definition(located in external schema documentation)." class="externalLink">DN</a>
</span> &lt;/alertingCustomCallingLineIdPhoneNumber&gt; <span class="occurs">[0..1]</span>
</div>
<div style="margin-left: 1.5em" class="newFields">&lt;callPushRecallNumberOfRings&gt; <span class="type">

ocip_html/Services/OCISchemaServiceExecutive.xsd.html  view on Meta::CPAN

<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCallingLineIdNameMode</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdNameMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdNameMode&quot; type definition.">ExecutiveAlertingCallingLineIdNameMode</a>
</span>
</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCustomCallingLineIdName</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span>
</span>" <span class="scTag">nillable</span>="<span class="scContent">true</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">unicodeAlertingCustomCallingLineIdName</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCustomCallingLineIdName" title="Jump to &quot;ExecutiveAlertingCustomCallingLineIdName&quot; type definition.">ExecutiveAlertingCustomCallingLineIdName</a>
</span>
</span>" <span class="scTag">nillable</span>="<span class="scContent">true</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCallingLineIdPhoneNumberMode</span>" <span class="scTag">type</span>="<span class="scContent">
<span class="type">
<a href="#type_ExecutiveAlertingCallingLineIdPhoneNumberMode" title="Jump to &quot;ExecutiveAlertingCallingLineIdPhoneNumberMode&quot; type definition.">ExecutiveAlertingCallingLineIdPhoneNumberMode</a>
</span>
</span>" <span class="scTag">minOccurs</span>="<span class="scContent">0</span>"/&gt;</div>
<div style="margin-left: 1.5em">&lt;<span class="scTag">xs:element</span> <span class="scTag">name</span>="<span class="scContent">alertingCustomCallingLineIdPhoneNumber</span>" <span class="scTag">type</span>="<span class="scContent">

utilities/schema_to_perl.pl  view on Meta::CPAN

#!/usr/bin/env perl
#
#
use strict;
use warnings;
use feature qw[unicode_strings switch];
use open ':encoding(utf8)';
no if $] >= 5.018, 'warnings', "experimental::smartmatch";

use Encode;
use File::Basename;
use File::Glob;
use File::Slurp;
use File::Spec;
use IO::File;
use IO::String;



( run in 0.420 second using v1.01-cache-2.11-cpan-88abd93f124 )