Skip to content

Commit 723ebef

Browse files
author
InIn Devops
committed
3.0.0
1 parent 84b7ac7 commit 723ebef

83 files changed

Lines changed: 929 additions & 804 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ npm install purecloud-platform-client-v2
2525
Reference from the CDN:
2626

2727
~~~ html
28-
<!-- Replace `2.0.8` with the version you want to use. -->
29-
<script src="https://sdk-cdn.mypurecloud.com/javascript/2.0.8/purecloud-platform-client-v2.min.js"></script>
28+
<!-- Replace `3.0.0` with the version you want to use. -->
29+
<script src="https://sdk-cdn.mypurecloud.com/javascript/3.0.0/purecloud-platform-client-v2.min.js"></script>
3030
~~~
3131

3232
View the documentation on the [PureCloud Developer Center](https://developer.mypurecloud.com/api/rest/client-libraries/javascript/).

build/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ npm install purecloud-platform-client-v2
2525
Reference from the CDN:
2626

2727
~~~ html
28-
<!-- Replace `2.0.8` with the version you want to use. -->
29-
<script src="https://sdk-cdn.mypurecloud.com/javascript/2.0.8/purecloud-platform-client-v2.min.js"></script>
28+
<!-- Replace `3.0.0` with the version you want to use. -->
29+
<script src="https://sdk-cdn.mypurecloud.com/javascript/3.0.0/purecloud-platform-client-v2.min.js"></script>
3030
~~~
3131

3232
View the documentation on the [PureCloud Developer Center](https://developer.mypurecloud.com/api/rest/client-libraries/javascript/).

build/docs/AlertingApi.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ var opts = {
430430
};
431431
apiInstance.getAlertingHeartbeatAlert(alertId, opts)
432432
.then(function(data) {
433-
console.log(`getAlertingHeartbeatAlert success! data: ${data}`);
433+
console.log(`getAlertingHeartbeatAlert success! data: ${JSON.stringify(data, null, 2)}`);
434434
})
435435
.catch(function(error) {
436436
console.log('There was a failure calling getAlertingHeartbeatAlert');
@@ -477,7 +477,7 @@ var opts = {
477477
};
478478
apiInstance.getAlertingHeartbeatAlerts(opts)
479479
.then(function(data) {
480-
console.log(`getAlertingHeartbeatAlerts success! data: ${data}`);
480+
console.log(`getAlertingHeartbeatAlerts success! data: ${JSON.stringify(data, null, 2)}`);
481481
})
482482
.catch(function(error) {
483483
console.log('There was a failure calling getAlertingHeartbeatAlerts');
@@ -525,7 +525,7 @@ var opts = {
525525
};
526526
apiInstance.getAlertingHeartbeatRule(ruleId, opts)
527527
.then(function(data) {
528-
console.log(`getAlertingHeartbeatRule success! data: ${data}`);
528+
console.log(`getAlertingHeartbeatRule success! data: ${JSON.stringify(data, null, 2)}`);
529529
})
530530
.catch(function(error) {
531531
console.log('There was a failure calling getAlertingHeartbeatRule');
@@ -572,7 +572,7 @@ var opts = {
572572
};
573573
apiInstance.getAlertingHeartbeatRules(opts)
574574
.then(function(data) {
575-
console.log(`getAlertingHeartbeatRules success! data: ${data}`);
575+
console.log(`getAlertingHeartbeatRules success! data: ${JSON.stringify(data, null, 2)}`);
576576
})
577577
.catch(function(error) {
578578
console.log('There was a failure calling getAlertingHeartbeatRules');
@@ -620,7 +620,7 @@ var opts = {
620620
};
621621
apiInstance.getAlertingInteractionstatsAlert(alertId, opts)
622622
.then(function(data) {
623-
console.log(`getAlertingInteractionstatsAlert success! data: ${data}`);
623+
console.log(`getAlertingInteractionstatsAlert success! data: ${JSON.stringify(data, null, 2)}`);
624624
})
625625
.catch(function(error) {
626626
console.log('There was a failure calling getAlertingInteractionstatsAlert');
@@ -667,7 +667,7 @@ var opts = {
667667
};
668668
apiInstance.getAlertingInteractionstatsAlerts(opts)
669669
.then(function(data) {
670-
console.log(`getAlertingInteractionstatsAlerts success! data: ${data}`);
670+
console.log(`getAlertingInteractionstatsAlerts success! data: ${JSON.stringify(data, null, 2)}`);
671671
})
672672
.catch(function(error) {
673673
console.log('There was a failure calling getAlertingInteractionstatsAlerts');
@@ -709,7 +709,7 @@ platformClient.ApiClient.instance.authentications['PureCloud Auth'].accessToken
709709
var apiInstance = new platformClient.AlertingApi();
710710
apiInstance.getAlertingInteractionstatsAlertsUnread()
711711
.then(function(data) {
712-
console.log(`getAlertingInteractionstatsAlertsUnread success! data: ${data}`);
712+
console.log(`getAlertingInteractionstatsAlertsUnread success! data: ${JSON.stringify(data, null, 2)}`);
713713
})
714714
.catch(function(error) {
715715
console.log('There was a failure calling getAlertingInteractionstatsAlertsUnread');
@@ -754,7 +754,7 @@ var opts = {
754754
};
755755
apiInstance.getAlertingInteractionstatsRule(ruleId, opts)
756756
.then(function(data) {
757-
console.log(`getAlertingInteractionstatsRule success! data: ${data}`);
757+
console.log(`getAlertingInteractionstatsRule success! data: ${JSON.stringify(data, null, 2)}`);
758758
})
759759
.catch(function(error) {
760760
console.log('There was a failure calling getAlertingInteractionstatsRule');
@@ -801,7 +801,7 @@ var opts = {
801801
};
802802
apiInstance.getAlertingInteractionstatsRules(opts)
803803
.then(function(data) {
804-
console.log(`getAlertingInteractionstatsRules success! data: ${data}`);
804+
console.log(`getAlertingInteractionstatsRules success! data: ${JSON.stringify(data, null, 2)}`);
805805
})
806806
.catch(function(error) {
807807
console.log('There was a failure calling getAlertingInteractionstatsRules');
@@ -849,7 +849,7 @@ var opts = {
849849
};
850850
apiInstance.getAlertingRoutingstatusAlert(alertId, opts)
851851
.then(function(data) {
852-
console.log(`getAlertingRoutingstatusAlert success! data: ${data}`);
852+
console.log(`getAlertingRoutingstatusAlert success! data: ${JSON.stringify(data, null, 2)}`);
853853
})
854854
.catch(function(error) {
855855
console.log('There was a failure calling getAlertingRoutingstatusAlert');
@@ -896,7 +896,7 @@ var opts = {
896896
};
897897
apiInstance.getAlertingRoutingstatusAlerts(opts)
898898
.then(function(data) {
899-
console.log(`getAlertingRoutingstatusAlerts success! data: ${data}`);
899+
console.log(`getAlertingRoutingstatusAlerts success! data: ${JSON.stringify(data, null, 2)}`);
900900
})
901901
.catch(function(error) {
902902
console.log('There was a failure calling getAlertingRoutingstatusAlerts');
@@ -944,7 +944,7 @@ var opts = {
944944
};
945945
apiInstance.getAlertingRoutingstatusRule(ruleId, opts)
946946
.then(function(data) {
947-
console.log(`getAlertingRoutingstatusRule success! data: ${data}`);
947+
console.log(`getAlertingRoutingstatusRule success! data: ${JSON.stringify(data, null, 2)}`);
948948
})
949949
.catch(function(error) {
950950
console.log('There was a failure calling getAlertingRoutingstatusRule');
@@ -991,7 +991,7 @@ var opts = {
991991
};
992992
apiInstance.getAlertingRoutingstatusRules(opts)
993993
.then(function(data) {
994-
console.log(`getAlertingRoutingstatusRules success! data: ${data}`);
994+
console.log(`getAlertingRoutingstatusRules success! data: ${JSON.stringify(data, null, 2)}`);
995995
})
996996
.catch(function(error) {
997997
console.log('There was a failure calling getAlertingRoutingstatusRules');
@@ -1039,7 +1039,7 @@ var opts = {
10391039
};
10401040
apiInstance.getAlertingUserpresenceAlert(alertId, opts)
10411041
.then(function(data) {
1042-
console.log(`getAlertingUserpresenceAlert success! data: ${data}`);
1042+
console.log(`getAlertingUserpresenceAlert success! data: ${JSON.stringify(data, null, 2)}`);
10431043
})
10441044
.catch(function(error) {
10451045
console.log('There was a failure calling getAlertingUserpresenceAlert');
@@ -1086,7 +1086,7 @@ var opts = {
10861086
};
10871087
apiInstance.getAlertingUserpresenceAlerts(opts)
10881088
.then(function(data) {
1089-
console.log(`getAlertingUserpresenceAlerts success! data: ${data}`);
1089+
console.log(`getAlertingUserpresenceAlerts success! data: ${JSON.stringify(data, null, 2)}`);
10901090
})
10911091
.catch(function(error) {
10921092
console.log('There was a failure calling getAlertingUserpresenceAlerts');
@@ -1134,7 +1134,7 @@ var opts = {
11341134
};
11351135
apiInstance.getAlertingUserpresenceRule(ruleId, opts)
11361136
.then(function(data) {
1137-
console.log(`getAlertingUserpresenceRule success! data: ${data}`);
1137+
console.log(`getAlertingUserpresenceRule success! data: ${JSON.stringify(data, null, 2)}`);
11381138
})
11391139
.catch(function(error) {
11401140
console.log('There was a failure calling getAlertingUserpresenceRule');
@@ -1181,7 +1181,7 @@ var opts = {
11811181
};
11821182
apiInstance.getAlertingUserpresenceRules(opts)
11831183
.then(function(data) {
1184-
console.log(`getAlertingUserpresenceRules success! data: ${data}`);
1184+
console.log(`getAlertingUserpresenceRules success! data: ${JSON.stringify(data, null, 2)}`);
11851185
})
11861186
.catch(function(error) {
11871187
console.log('There was a failure calling getAlertingUserpresenceRules');
@@ -1229,7 +1229,7 @@ var opts = {
12291229
};
12301230
apiInstance.postAlertingHeartbeatRules(body, opts)
12311231
.then(function(data) {
1232-
console.log(`postAlertingHeartbeatRules success! data: ${data}`);
1232+
console.log(`postAlertingHeartbeatRules success! data: ${JSON.stringify(data, null, 2)}`);
12331233
})
12341234
.catch(function(error) {
12351235
console.log('There was a failure calling postAlertingHeartbeatRules');
@@ -1278,7 +1278,7 @@ var opts = {
12781278
};
12791279
apiInstance.postAlertingInteractionstatsRules(body, opts)
12801280
.then(function(data) {
1281-
console.log(`postAlertingInteractionstatsRules success! data: ${data}`);
1281+
console.log(`postAlertingInteractionstatsRules success! data: ${JSON.stringify(data, null, 2)}`);
12821282
})
12831283
.catch(function(error) {
12841284
console.log('There was a failure calling postAlertingInteractionstatsRules');
@@ -1327,7 +1327,7 @@ var opts = {
13271327
};
13281328
apiInstance.postAlertingRoutingstatusRules(body, opts)
13291329
.then(function(data) {
1330-
console.log(`postAlertingRoutingstatusRules success! data: ${data}`);
1330+
console.log(`postAlertingRoutingstatusRules success! data: ${JSON.stringify(data, null, 2)}`);
13311331
})
13321332
.catch(function(error) {
13331333
console.log('There was a failure calling postAlertingRoutingstatusRules');
@@ -1376,7 +1376,7 @@ var opts = {
13761376
};
13771377
apiInstance.postAlertingUserpresenceRules(body, opts)
13781378
.then(function(data) {
1379-
console.log(`postAlertingUserpresenceRules success! data: ${data}`);
1379+
console.log(`postAlertingUserpresenceRules success! data: ${JSON.stringify(data, null, 2)}`);
13801380
})
13811381
.catch(function(error) {
13821382
console.log('There was a failure calling postAlertingUserpresenceRules');
@@ -1427,7 +1427,7 @@ var opts = {
14271427
};
14281428
apiInstance.putAlertingHeartbeatRule(ruleId, body, opts)
14291429
.then(function(data) {
1430-
console.log(`putAlertingHeartbeatRule success! data: ${data}`);
1430+
console.log(`putAlertingHeartbeatRule success! data: ${JSON.stringify(data, null, 2)}`);
14311431
})
14321432
.catch(function(error) {
14331433
console.log('There was a failure calling putAlertingHeartbeatRule');
@@ -1479,7 +1479,7 @@ var opts = {
14791479
};
14801480
apiInstance.putAlertingInteractionstatsAlert(alertId, body, opts)
14811481
.then(function(data) {
1482-
console.log(`putAlertingInteractionstatsAlert success! data: ${data}`);
1482+
console.log(`putAlertingInteractionstatsAlert success! data: ${JSON.stringify(data, null, 2)}`);
14831483
})
14841484
.catch(function(error) {
14851485
console.log('There was a failure calling putAlertingInteractionstatsAlert');
@@ -1531,7 +1531,7 @@ var opts = {
15311531
};
15321532
apiInstance.putAlertingInteractionstatsRule(ruleId, body, opts)
15331533
.then(function(data) {
1534-
console.log(`putAlertingInteractionstatsRule success! data: ${data}`);
1534+
console.log(`putAlertingInteractionstatsRule success! data: ${JSON.stringify(data, null, 2)}`);
15351535
})
15361536
.catch(function(error) {
15371537
console.log('There was a failure calling putAlertingInteractionstatsRule');
@@ -1583,7 +1583,7 @@ var opts = {
15831583
};
15841584
apiInstance.putAlertingRoutingstatusRule(ruleId, body, opts)
15851585
.then(function(data) {
1586-
console.log(`putAlertingRoutingstatusRule success! data: ${data}`);
1586+
console.log(`putAlertingRoutingstatusRule success! data: ${JSON.stringify(data, null, 2)}`);
15871587
})
15881588
.catch(function(error) {
15891589
console.log('There was a failure calling putAlertingRoutingstatusRule');
@@ -1635,7 +1635,7 @@ var opts = {
16351635
};
16361636
apiInstance.putAlertingUserpresenceRule(ruleId, body, opts)
16371637
.then(function(data) {
1638-
console.log(`putAlertingUserpresenceRule success! data: ${data}`);
1638+
console.log(`putAlertingUserpresenceRule success! data: ${JSON.stringify(data, null, 2)}`);
16391639
})
16401640
.catch(function(error) {
16411641
console.log('There was a failure calling putAlertingUserpresenceRule');

0 commit comments

Comments
 (0)