purecloud-platform-client-v2 179.3.0 → 180.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +136 -79
- package/dist/web-amd/purecloud-platform-client-v2.js +136 -79
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +136 -79
- package/dist/web-cjs/purecloud-platform-client-v2.js +180 -91
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +39 -16
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +8 -7
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +57 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5042,43 +5042,75 @@ if ($defineProperty) {
|
|
|
5042
5042
|
/* eslint no-invalid-this: 1 */
|
|
5043
5043
|
|
|
5044
5044
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
5045
|
-
var slice = Array.prototype.slice;
|
|
5046
5045
|
var toStr = Object.prototype.toString;
|
|
5046
|
+
var max = Math.max;
|
|
5047
5047
|
var funcType = '[object Function]';
|
|
5048
5048
|
|
|
5049
|
+
var concatty = function concatty(a, b) {
|
|
5050
|
+
var arr = [];
|
|
5051
|
+
|
|
5052
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
5053
|
+
arr[i] = a[i];
|
|
5054
|
+
}
|
|
5055
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
5056
|
+
arr[j + a.length] = b[j];
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
return arr;
|
|
5060
|
+
};
|
|
5061
|
+
|
|
5062
|
+
var slicy = function slicy(arrLike, offset) {
|
|
5063
|
+
var arr = [];
|
|
5064
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
5065
|
+
arr[j] = arrLike[i];
|
|
5066
|
+
}
|
|
5067
|
+
return arr;
|
|
5068
|
+
};
|
|
5069
|
+
|
|
5070
|
+
var joiny = function (arr, joiner) {
|
|
5071
|
+
var str = '';
|
|
5072
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
5073
|
+
str += arr[i];
|
|
5074
|
+
if (i + 1 < arr.length) {
|
|
5075
|
+
str += joiner;
|
|
5076
|
+
}
|
|
5077
|
+
}
|
|
5078
|
+
return str;
|
|
5079
|
+
};
|
|
5080
|
+
|
|
5049
5081
|
module.exports = function bind(that) {
|
|
5050
5082
|
var target = this;
|
|
5051
|
-
if (typeof target !== 'function' || toStr.
|
|
5083
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
5052
5084
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
5053
5085
|
}
|
|
5054
|
-
var args =
|
|
5086
|
+
var args = slicy(arguments, 1);
|
|
5055
5087
|
|
|
5056
5088
|
var bound;
|
|
5057
5089
|
var binder = function () {
|
|
5058
5090
|
if (this instanceof bound) {
|
|
5059
5091
|
var result = target.apply(
|
|
5060
5092
|
this,
|
|
5061
|
-
args
|
|
5093
|
+
concatty(args, arguments)
|
|
5062
5094
|
);
|
|
5063
5095
|
if (Object(result) === result) {
|
|
5064
5096
|
return result;
|
|
5065
5097
|
}
|
|
5066
5098
|
return this;
|
|
5067
|
-
} else {
|
|
5068
|
-
return target.apply(
|
|
5069
|
-
that,
|
|
5070
|
-
args.concat(slice.call(arguments))
|
|
5071
|
-
);
|
|
5072
5099
|
}
|
|
5100
|
+
return target.apply(
|
|
5101
|
+
that,
|
|
5102
|
+
concatty(args, arguments)
|
|
5103
|
+
);
|
|
5104
|
+
|
|
5073
5105
|
};
|
|
5074
5106
|
|
|
5075
|
-
var boundLength =
|
|
5107
|
+
var boundLength = max(0, target.length - args.length);
|
|
5076
5108
|
var boundArgs = [];
|
|
5077
5109
|
for (var i = 0; i < boundLength; i++) {
|
|
5078
|
-
boundArgs
|
|
5110
|
+
boundArgs[i] = '$' + i;
|
|
5079
5111
|
}
|
|
5080
5112
|
|
|
5081
|
-
bound = Function('binder', 'return function (' + boundArgs
|
|
5113
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
5082
5114
|
|
|
5083
5115
|
if (target.prototype) {
|
|
5084
5116
|
var Empty = function Empty() {};
|
|
@@ -9339,7 +9371,7 @@ class Configuration {
|
|
|
9339
9371
|
|
|
9340
9372
|
/**
|
|
9341
9373
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9342
|
-
* @version
|
|
9374
|
+
* @version 180.0.0
|
|
9343
9375
|
*/
|
|
9344
9376
|
class ApiClient {
|
|
9345
9377
|
/**
|
|
@@ -10418,7 +10450,7 @@ class AlertingApi {
|
|
|
10418
10450
|
/**
|
|
10419
10451
|
* Alerting service.
|
|
10420
10452
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10421
|
-
* @version
|
|
10453
|
+
* @version 180.0.0
|
|
10422
10454
|
*/
|
|
10423
10455
|
|
|
10424
10456
|
/**
|
|
@@ -11068,7 +11100,7 @@ class AnalyticsApi {
|
|
|
11068
11100
|
/**
|
|
11069
11101
|
* Analytics service.
|
|
11070
11102
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
11071
|
-
* @version
|
|
11103
|
+
* @version 180.0.0
|
|
11072
11104
|
*/
|
|
11073
11105
|
|
|
11074
11106
|
/**
|
|
@@ -13514,7 +13546,7 @@ class ArchitectApi {
|
|
|
13514
13546
|
/**
|
|
13515
13547
|
* Architect service.
|
|
13516
13548
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
13517
|
-
* @version
|
|
13549
|
+
* @version 180.0.0
|
|
13518
13550
|
*/
|
|
13519
13551
|
|
|
13520
13552
|
/**
|
|
@@ -17349,7 +17381,7 @@ class AuditApi {
|
|
|
17349
17381
|
/**
|
|
17350
17382
|
* Audit service.
|
|
17351
17383
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
17352
|
-
* @version
|
|
17384
|
+
* @version 180.0.0
|
|
17353
17385
|
*/
|
|
17354
17386
|
|
|
17355
17387
|
/**
|
|
@@ -17520,7 +17552,7 @@ class AuthorizationApi {
|
|
|
17520
17552
|
/**
|
|
17521
17553
|
* Authorization service.
|
|
17522
17554
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
17523
|
-
* @version
|
|
17555
|
+
* @version 180.0.0
|
|
17524
17556
|
*/
|
|
17525
17557
|
|
|
17526
17558
|
/**
|
|
@@ -18751,7 +18783,7 @@ class BillingApi {
|
|
|
18751
18783
|
/**
|
|
18752
18784
|
* Billing service.
|
|
18753
18785
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
18754
|
-
* @version
|
|
18786
|
+
* @version 180.0.0
|
|
18755
18787
|
*/
|
|
18756
18788
|
|
|
18757
18789
|
/**
|
|
@@ -18831,7 +18863,7 @@ class CarrierServicesApi {
|
|
|
18831
18863
|
/**
|
|
18832
18864
|
* CarrierServices service.
|
|
18833
18865
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
18834
|
-
* @version
|
|
18866
|
+
* @version 180.0.0
|
|
18835
18867
|
*/
|
|
18836
18868
|
|
|
18837
18869
|
/**
|
|
@@ -18901,7 +18933,7 @@ class ChatApi {
|
|
|
18901
18933
|
/**
|
|
18902
18934
|
* Chat service.
|
|
18903
18935
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
18904
|
-
* @version
|
|
18936
|
+
* @version 180.0.0
|
|
18905
18937
|
*/
|
|
18906
18938
|
|
|
18907
18939
|
/**
|
|
@@ -19559,13 +19591,14 @@ class ChatApi {
|
|
|
19559
19591
|
/**
|
|
19560
19592
|
* Create an adhoc room
|
|
19561
19593
|
*
|
|
19562
|
-
* @param {Object}
|
|
19563
|
-
* @param {Object} opts.body Room properties
|
|
19594
|
+
* @param {Object} body Room properties
|
|
19564
19595
|
* postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19565
19596
|
*/
|
|
19566
|
-
postChatsRooms(
|
|
19567
|
-
|
|
19568
|
-
|
|
19597
|
+
postChatsRooms(body) {
|
|
19598
|
+
// verify the required parameter 'body' is set
|
|
19599
|
+
if (body === undefined || body === null) {
|
|
19600
|
+
throw 'Missing the required parameter "body" when calling postChatsRooms';
|
|
19601
|
+
}
|
|
19569
19602
|
|
|
19570
19603
|
return this.apiClient.callApi(
|
|
19571
19604
|
'/api/v2/chats/rooms',
|
|
@@ -19574,7 +19607,7 @@ class ChatApi {
|
|
|
19574
19607
|
{ },
|
|
19575
19608
|
{ },
|
|
19576
19609
|
{ },
|
|
19577
|
-
|
|
19610
|
+
body,
|
|
19578
19611
|
['PureCloud OAuth'],
|
|
19579
19612
|
['application/json'],
|
|
19580
19613
|
['application/json']
|
|
@@ -19669,7 +19702,7 @@ class CoachingApi {
|
|
|
19669
19702
|
/**
|
|
19670
19703
|
* Coaching service.
|
|
19671
19704
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
19672
|
-
* @version
|
|
19705
|
+
* @version 180.0.0
|
|
19673
19706
|
*/
|
|
19674
19707
|
|
|
19675
19708
|
/**
|
|
@@ -20246,7 +20279,7 @@ class ContentManagementApi {
|
|
|
20246
20279
|
/**
|
|
20247
20280
|
* ContentManagement service.
|
|
20248
20281
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
20249
|
-
* @version
|
|
20282
|
+
* @version 180.0.0
|
|
20250
20283
|
*/
|
|
20251
20284
|
|
|
20252
20285
|
/**
|
|
@@ -21389,7 +21422,7 @@ class ConversationsApi {
|
|
|
21389
21422
|
/**
|
|
21390
21423
|
* Conversations service.
|
|
21391
21424
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
21392
|
-
* @version
|
|
21425
|
+
* @version 180.0.0
|
|
21393
21426
|
*/
|
|
21394
21427
|
|
|
21395
21428
|
/**
|
|
@@ -28473,7 +28506,7 @@ class DataExtensionsApi {
|
|
|
28473
28506
|
/**
|
|
28474
28507
|
* DataExtensions service.
|
|
28475
28508
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
28476
|
-
* @version
|
|
28509
|
+
* @version 180.0.0
|
|
28477
28510
|
*/
|
|
28478
28511
|
|
|
28479
28512
|
/**
|
|
@@ -28559,7 +28592,7 @@ class DownloadsApi {
|
|
|
28559
28592
|
/**
|
|
28560
28593
|
* Downloads service.
|
|
28561
28594
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
28562
|
-
* @version
|
|
28595
|
+
* @version 180.0.0
|
|
28563
28596
|
*/
|
|
28564
28597
|
|
|
28565
28598
|
/**
|
|
@@ -28611,7 +28644,7 @@ class EmailsApi {
|
|
|
28611
28644
|
/**
|
|
28612
28645
|
* Emails service.
|
|
28613
28646
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
28614
|
-
* @version
|
|
28647
|
+
* @version 180.0.0
|
|
28615
28648
|
*/
|
|
28616
28649
|
|
|
28617
28650
|
/**
|
|
@@ -28676,7 +28709,7 @@ class EventsApi {
|
|
|
28676
28709
|
/**
|
|
28677
28710
|
* Events service.
|
|
28678
28711
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
28679
|
-
* @version
|
|
28712
|
+
* @version 180.0.0
|
|
28680
28713
|
*/
|
|
28681
28714
|
|
|
28682
28715
|
/**
|
|
@@ -28772,7 +28805,7 @@ class ExternalContactsApi {
|
|
|
28772
28805
|
/**
|
|
28773
28806
|
* ExternalContacts service.
|
|
28774
28807
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
28775
|
-
* @version
|
|
28808
|
+
* @version 180.0.0
|
|
28776
28809
|
*/
|
|
28777
28810
|
|
|
28778
28811
|
/**
|
|
@@ -30730,7 +30763,7 @@ class FaxApi {
|
|
|
30730
30763
|
/**
|
|
30731
30764
|
* Fax service.
|
|
30732
30765
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
30733
|
-
* @version
|
|
30766
|
+
* @version 180.0.0
|
|
30734
30767
|
*/
|
|
30735
30768
|
|
|
30736
30769
|
/**
|
|
@@ -30901,7 +30934,7 @@ class FlowsApi {
|
|
|
30901
30934
|
/**
|
|
30902
30935
|
* Flows service.
|
|
30903
30936
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
30904
|
-
* @version
|
|
30937
|
+
* @version 180.0.0
|
|
30905
30938
|
*/
|
|
30906
30939
|
|
|
30907
30940
|
/**
|
|
@@ -31085,7 +31118,7 @@ class GamificationApi {
|
|
|
31085
31118
|
/**
|
|
31086
31119
|
* Gamification service.
|
|
31087
31120
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
31088
|
-
* @version
|
|
31121
|
+
* @version 180.0.0
|
|
31089
31122
|
*/
|
|
31090
31123
|
|
|
31091
31124
|
/**
|
|
@@ -33171,7 +33204,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
33171
33204
|
/**
|
|
33172
33205
|
* GeneralDataProtectionRegulation service.
|
|
33173
33206
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
33174
|
-
* @version
|
|
33207
|
+
* @version 180.0.0
|
|
33175
33208
|
*/
|
|
33176
33209
|
|
|
33177
33210
|
/**
|
|
@@ -33301,7 +33334,7 @@ class GeolocationApi {
|
|
|
33301
33334
|
/**
|
|
33302
33335
|
* Geolocation service.
|
|
33303
33336
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
33304
|
-
* @version
|
|
33337
|
+
* @version 180.0.0
|
|
33305
33338
|
*/
|
|
33306
33339
|
|
|
33307
33340
|
/**
|
|
@@ -33432,7 +33465,7 @@ class GreetingsApi {
|
|
|
33432
33465
|
/**
|
|
33433
33466
|
* Greetings service.
|
|
33434
33467
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
33435
|
-
* @version
|
|
33468
|
+
* @version 180.0.0
|
|
33436
33469
|
*/
|
|
33437
33470
|
|
|
33438
33471
|
/**
|
|
@@ -33887,7 +33920,7 @@ class GroupsApi {
|
|
|
33887
33920
|
/**
|
|
33888
33921
|
* Groups service.
|
|
33889
33922
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
33890
|
-
* @version
|
|
33923
|
+
* @version 180.0.0
|
|
33891
33924
|
*/
|
|
33892
33925
|
|
|
33893
33926
|
/**
|
|
@@ -34406,7 +34439,7 @@ class IdentityProviderApi {
|
|
|
34406
34439
|
/**
|
|
34407
34440
|
* IdentityProvider service.
|
|
34408
34441
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34409
|
-
* @version
|
|
34442
|
+
* @version 180.0.0
|
|
34410
34443
|
*/
|
|
34411
34444
|
|
|
34412
34445
|
/**
|
|
@@ -35162,7 +35195,7 @@ class InfrastructureAsCodeApi {
|
|
|
35162
35195
|
/**
|
|
35163
35196
|
* InfrastructureAsCode service.
|
|
35164
35197
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
35165
|
-
* @version
|
|
35198
|
+
* @version 180.0.0
|
|
35166
35199
|
*/
|
|
35167
35200
|
|
|
35168
35201
|
/**
|
|
@@ -35329,7 +35362,7 @@ class IntegrationsApi {
|
|
|
35329
35362
|
/**
|
|
35330
35363
|
* Integrations service.
|
|
35331
35364
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35332
|
-
* @version
|
|
35365
|
+
* @version 180.0.0
|
|
35333
35366
|
*/
|
|
35334
35367
|
|
|
35335
35368
|
/**
|
|
@@ -37291,7 +37324,7 @@ class JourneyApi {
|
|
|
37291
37324
|
/**
|
|
37292
37325
|
* Journey service.
|
|
37293
37326
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37294
|
-
* @version
|
|
37327
|
+
* @version 180.0.0
|
|
37295
37328
|
*/
|
|
37296
37329
|
|
|
37297
37330
|
/**
|
|
@@ -38455,7 +38488,7 @@ class KnowledgeApi {
|
|
|
38455
38488
|
/**
|
|
38456
38489
|
* Knowledge service.
|
|
38457
38490
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
38458
|
-
* @version
|
|
38491
|
+
* @version 180.0.0
|
|
38459
38492
|
*/
|
|
38460
38493
|
|
|
38461
38494
|
/**
|
|
@@ -41276,7 +41309,7 @@ class LanguageUnderstandingApi {
|
|
|
41276
41309
|
/**
|
|
41277
41310
|
* LanguageUnderstanding service.
|
|
41278
41311
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41279
|
-
* @version
|
|
41312
|
+
* @version 180.0.0
|
|
41280
41313
|
*/
|
|
41281
41314
|
|
|
41282
41315
|
/**
|
|
@@ -42289,7 +42322,7 @@ class LanguagesApi {
|
|
|
42289
42322
|
/**
|
|
42290
42323
|
* Languages service.
|
|
42291
42324
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42292
|
-
* @version
|
|
42325
|
+
* @version 180.0.0
|
|
42293
42326
|
*/
|
|
42294
42327
|
|
|
42295
42328
|
/**
|
|
@@ -42511,7 +42544,7 @@ class LearningApi {
|
|
|
42511
42544
|
/**
|
|
42512
42545
|
* Learning service.
|
|
42513
42546
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42514
|
-
* @version
|
|
42547
|
+
* @version 180.0.0
|
|
42515
42548
|
*/
|
|
42516
42549
|
|
|
42517
42550
|
/**
|
|
@@ -43330,7 +43363,7 @@ class LicenseApi {
|
|
|
43330
43363
|
/**
|
|
43331
43364
|
* License service.
|
|
43332
43365
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43333
|
-
* @version
|
|
43366
|
+
* @version 180.0.0
|
|
43334
43367
|
*/
|
|
43335
43368
|
|
|
43336
43369
|
/**
|
|
@@ -43568,7 +43601,7 @@ class LocationsApi {
|
|
|
43568
43601
|
/**
|
|
43569
43602
|
* Locations service.
|
|
43570
43603
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43571
|
-
* @version
|
|
43604
|
+
* @version 180.0.0
|
|
43572
43605
|
*/
|
|
43573
43606
|
|
|
43574
43607
|
/**
|
|
@@ -43804,7 +43837,7 @@ class MessagingApi {
|
|
|
43804
43837
|
/**
|
|
43805
43838
|
* Messaging service.
|
|
43806
43839
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
43807
|
-
* @version
|
|
43840
|
+
* @version 180.0.0
|
|
43808
43841
|
*/
|
|
43809
43842
|
|
|
43810
43843
|
/**
|
|
@@ -44163,7 +44196,7 @@ class MobileDevicesApi {
|
|
|
44163
44196
|
/**
|
|
44164
44197
|
* MobileDevices service.
|
|
44165
44198
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44166
|
-
* @version
|
|
44199
|
+
* @version 180.0.0
|
|
44167
44200
|
*/
|
|
44168
44201
|
|
|
44169
44202
|
/**
|
|
@@ -44314,7 +44347,7 @@ class NotificationsApi {
|
|
|
44314
44347
|
/**
|
|
44315
44348
|
* Notifications service.
|
|
44316
44349
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44317
|
-
* @version
|
|
44350
|
+
* @version 180.0.0
|
|
44318
44351
|
*/
|
|
44319
44352
|
|
|
44320
44353
|
/**
|
|
@@ -44547,7 +44580,7 @@ class OAuthApi {
|
|
|
44547
44580
|
/**
|
|
44548
44581
|
* OAuth service.
|
|
44549
44582
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
44550
|
-
* @version
|
|
44583
|
+
* @version 180.0.0
|
|
44551
44584
|
*/
|
|
44552
44585
|
|
|
44553
44586
|
/**
|
|
@@ -44913,7 +44946,7 @@ class ObjectsApi {
|
|
|
44913
44946
|
/**
|
|
44914
44947
|
* Objects service.
|
|
44915
44948
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
44916
|
-
* @version
|
|
44949
|
+
* @version 180.0.0
|
|
44917
44950
|
*/
|
|
44918
44951
|
|
|
44919
44952
|
/**
|
|
@@ -45184,7 +45217,7 @@ class OrganizationApi {
|
|
|
45184
45217
|
/**
|
|
45185
45218
|
* Organization service.
|
|
45186
45219
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45187
|
-
* @version
|
|
45220
|
+
* @version 180.0.0
|
|
45188
45221
|
*/
|
|
45189
45222
|
|
|
45190
45223
|
/**
|
|
@@ -45639,7 +45672,7 @@ class OrganizationAuthorizationApi {
|
|
|
45639
45672
|
/**
|
|
45640
45673
|
* OrganizationAuthorization service.
|
|
45641
45674
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
45642
|
-
* @version
|
|
45675
|
+
* @version 180.0.0
|
|
45643
45676
|
*/
|
|
45644
45677
|
|
|
45645
45678
|
/**
|
|
@@ -46986,7 +47019,7 @@ class OutboundApi {
|
|
|
46986
47019
|
/**
|
|
46987
47020
|
* Outbound service.
|
|
46988
47021
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
46989
|
-
* @version
|
|
47022
|
+
* @version 180.0.0
|
|
46990
47023
|
*/
|
|
46991
47024
|
|
|
46992
47025
|
/**
|
|
@@ -50608,7 +50641,7 @@ class PresenceApi {
|
|
|
50608
50641
|
/**
|
|
50609
50642
|
* Presence service.
|
|
50610
50643
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
50611
|
-
* @version
|
|
50644
|
+
* @version 180.0.0
|
|
50612
50645
|
*/
|
|
50613
50646
|
|
|
50614
50647
|
/**
|
|
@@ -51347,7 +51380,7 @@ class ProcessAutomationApi {
|
|
|
51347
51380
|
/**
|
|
51348
51381
|
* ProcessAutomation service.
|
|
51349
51382
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
51350
|
-
* @version
|
|
51383
|
+
* @version 180.0.0
|
|
51351
51384
|
*/
|
|
51352
51385
|
|
|
51353
51386
|
/**
|
|
@@ -51586,7 +51619,7 @@ class QualityApi {
|
|
|
51586
51619
|
/**
|
|
51587
51620
|
* Quality service.
|
|
51588
51621
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
51589
|
-
* @version
|
|
51622
|
+
* @version 180.0.0
|
|
51590
51623
|
*/
|
|
51591
51624
|
|
|
51592
51625
|
/**
|
|
@@ -53340,7 +53373,7 @@ class RecordingApi {
|
|
|
53340
53373
|
/**
|
|
53341
53374
|
* Recording service.
|
|
53342
53375
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
53343
|
-
* @version
|
|
53376
|
+
* @version 180.0.0
|
|
53344
53377
|
*/
|
|
53345
53378
|
|
|
53346
53379
|
/**
|
|
@@ -54977,7 +55010,7 @@ class ResponseManagementApi {
|
|
|
54977
55010
|
/**
|
|
54978
55011
|
* ResponseManagement service.
|
|
54979
55012
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
54980
|
-
* @version
|
|
55013
|
+
* @version 180.0.0
|
|
54981
55014
|
*/
|
|
54982
55015
|
|
|
54983
55016
|
/**
|
|
@@ -55462,7 +55495,7 @@ class RoutingApi {
|
|
|
55462
55495
|
/**
|
|
55463
55496
|
* Routing service.
|
|
55464
55497
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
55465
|
-
* @version
|
|
55498
|
+
* @version 180.0.0
|
|
55466
55499
|
*/
|
|
55467
55500
|
|
|
55468
55501
|
/**
|
|
@@ -59170,7 +59203,7 @@ class SCIMApi {
|
|
|
59170
59203
|
/**
|
|
59171
59204
|
* SCIM service.
|
|
59172
59205
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
59173
|
-
* @version
|
|
59206
|
+
* @version 180.0.0
|
|
59174
59207
|
*/
|
|
59175
59208
|
|
|
59176
59209
|
/**
|
|
@@ -60047,7 +60080,7 @@ class ScriptsApi {
|
|
|
60047
60080
|
/**
|
|
60048
60081
|
* Scripts service.
|
|
60049
60082
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
60050
|
-
* @version
|
|
60083
|
+
* @version 180.0.0
|
|
60051
60084
|
*/
|
|
60052
60085
|
|
|
60053
60086
|
/**
|
|
@@ -60491,7 +60524,7 @@ class SearchApi {
|
|
|
60491
60524
|
/**
|
|
60492
60525
|
* Search service.
|
|
60493
60526
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
60494
|
-
* @version
|
|
60527
|
+
* @version 180.0.0
|
|
60495
60528
|
*/
|
|
60496
60529
|
|
|
60497
60530
|
/**
|
|
@@ -61180,7 +61213,7 @@ class SettingsApi {
|
|
|
61180
61213
|
/**
|
|
61181
61214
|
* Settings service.
|
|
61182
61215
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
61183
|
-
* @version
|
|
61216
|
+
* @version 180.0.0
|
|
61184
61217
|
*/
|
|
61185
61218
|
|
|
61186
61219
|
/**
|
|
@@ -61245,7 +61278,7 @@ class SpeechTextAnalyticsApi {
|
|
|
61245
61278
|
/**
|
|
61246
61279
|
* SpeechTextAnalytics service.
|
|
61247
61280
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61248
|
-
* @version
|
|
61281
|
+
* @version 180.0.0
|
|
61249
61282
|
*/
|
|
61250
61283
|
|
|
61251
61284
|
/**
|
|
@@ -62358,7 +62391,7 @@ class StationsApi {
|
|
|
62358
62391
|
/**
|
|
62359
62392
|
* Stations service.
|
|
62360
62393
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62361
|
-
* @version
|
|
62394
|
+
* @version 180.0.0
|
|
62362
62395
|
*/
|
|
62363
62396
|
|
|
62364
62397
|
/**
|
|
@@ -62460,7 +62493,7 @@ class SuggestApi {
|
|
|
62460
62493
|
/**
|
|
62461
62494
|
* Suggest service.
|
|
62462
62495
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62463
|
-
* @version
|
|
62496
|
+
* @version 180.0.0
|
|
62464
62497
|
*/
|
|
62465
62498
|
|
|
62466
62499
|
/**
|
|
@@ -62599,7 +62632,7 @@ class TaskManagementApi {
|
|
|
62599
62632
|
/**
|
|
62600
62633
|
* TaskManagement service.
|
|
62601
62634
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
62602
|
-
* @version
|
|
62635
|
+
* @version 180.0.0
|
|
62603
62636
|
*/
|
|
62604
62637
|
|
|
62605
62638
|
/**
|
|
@@ -63880,7 +63913,7 @@ class TeamsApi {
|
|
|
63880
63913
|
/**
|
|
63881
63914
|
* Teams service.
|
|
63882
63915
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
63883
|
-
* @version
|
|
63916
|
+
* @version 180.0.0
|
|
63884
63917
|
*/
|
|
63885
63918
|
|
|
63886
63919
|
/**
|
|
@@ -64182,7 +64215,7 @@ class TelephonyApi {
|
|
|
64182
64215
|
/**
|
|
64183
64216
|
* Telephony service.
|
|
64184
64217
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
64185
|
-
* @version
|
|
64218
|
+
* @version 180.0.0
|
|
64186
64219
|
*/
|
|
64187
64220
|
|
|
64188
64221
|
/**
|
|
@@ -64217,6 +64250,62 @@ class TelephonyApi {
|
|
|
64217
64250
|
);
|
|
64218
64251
|
}
|
|
64219
64252
|
|
|
64253
|
+
/**
|
|
64254
|
+
* Get a SIP message.
|
|
64255
|
+
* Get the raw form of the SIP message
|
|
64256
|
+
* @param {String} conversationId Conversation id
|
|
64257
|
+
* getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64258
|
+
*/
|
|
64259
|
+
getTelephonySipmessagesConversation(conversationId) {
|
|
64260
|
+
// verify the required parameter 'conversationId' is set
|
|
64261
|
+
if (conversationId === undefined || conversationId === null) {
|
|
64262
|
+
throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';
|
|
64263
|
+
}
|
|
64264
|
+
|
|
64265
|
+
return this.apiClient.callApi(
|
|
64266
|
+
'/api/v2/telephony/sipmessages/conversations/{conversationId}',
|
|
64267
|
+
'GET',
|
|
64268
|
+
{ 'conversationId': conversationId },
|
|
64269
|
+
{ },
|
|
64270
|
+
{ },
|
|
64271
|
+
{ },
|
|
64272
|
+
null,
|
|
64273
|
+
['PureCloud OAuth'],
|
|
64274
|
+
['application/json'],
|
|
64275
|
+
['application/json']
|
|
64276
|
+
);
|
|
64277
|
+
}
|
|
64278
|
+
|
|
64279
|
+
/**
|
|
64280
|
+
* Get SIP headers.
|
|
64281
|
+
* Get parsed SIP headers. Returns specific headers if key query parameters are added.
|
|
64282
|
+
* @param {String} conversationId Conversation id
|
|
64283
|
+
* @param {Object} opts Optional parameters
|
|
64284
|
+
* @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
|
|
64285
|
+
* getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64286
|
+
*/
|
|
64287
|
+
getTelephonySipmessagesConversationHeaders(conversationId, opts) {
|
|
64288
|
+
opts = opts || {};
|
|
64289
|
+
|
|
64290
|
+
// verify the required parameter 'conversationId' is set
|
|
64291
|
+
if (conversationId === undefined || conversationId === null) {
|
|
64292
|
+
throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';
|
|
64293
|
+
}
|
|
64294
|
+
|
|
64295
|
+
return this.apiClient.callApi(
|
|
64296
|
+
'/api/v2/telephony/sipmessages/conversations/{conversationId}/headers',
|
|
64297
|
+
'GET',
|
|
64298
|
+
{ 'conversationId': conversationId },
|
|
64299
|
+
{ 'keys': this.apiClient.buildCollectionParam(opts['keys'], 'multi') },
|
|
64300
|
+
{ },
|
|
64301
|
+
{ },
|
|
64302
|
+
null,
|
|
64303
|
+
['PureCloud OAuth'],
|
|
64304
|
+
['application/json'],
|
|
64305
|
+
['application/json']
|
|
64306
|
+
);
|
|
64307
|
+
}
|
|
64308
|
+
|
|
64220
64309
|
/**
|
|
64221
64310
|
* Fetch SIP metadata
|
|
64222
64311
|
* Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
|
|
@@ -64310,7 +64399,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
64310
64399
|
/**
|
|
64311
64400
|
* TelephonyProvidersEdge service.
|
|
64312
64401
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
64313
|
-
* @version
|
|
64402
|
+
* @version 180.0.0
|
|
64314
64403
|
*/
|
|
64315
64404
|
|
|
64316
64405
|
/**
|
|
@@ -67599,7 +67688,7 @@ class TextbotsApi {
|
|
|
67599
67688
|
/**
|
|
67600
67689
|
* Textbots service.
|
|
67601
67690
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
67602
|
-
* @version
|
|
67691
|
+
* @version 180.0.0
|
|
67603
67692
|
*/
|
|
67604
67693
|
|
|
67605
67694
|
/**
|
|
@@ -67727,7 +67816,7 @@ class TokensApi {
|
|
|
67727
67816
|
/**
|
|
67728
67817
|
* Tokens service.
|
|
67729
67818
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
67730
|
-
* @version
|
|
67819
|
+
* @version 180.0.0
|
|
67731
67820
|
*/
|
|
67732
67821
|
|
|
67733
67822
|
/**
|
|
@@ -67883,7 +67972,7 @@ class UploadsApi {
|
|
|
67883
67972
|
/**
|
|
67884
67973
|
* Uploads service.
|
|
67885
67974
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
67886
|
-
* @version
|
|
67975
|
+
* @version 180.0.0
|
|
67887
67976
|
*/
|
|
67888
67977
|
|
|
67889
67978
|
/**
|
|
@@ -68059,7 +68148,7 @@ class UsageApi {
|
|
|
68059
68148
|
/**
|
|
68060
68149
|
* Usage service.
|
|
68061
68150
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
68062
|
-
* @version
|
|
68151
|
+
* @version 180.0.0
|
|
68063
68152
|
*/
|
|
68064
68153
|
|
|
68065
68154
|
/**
|
|
@@ -68269,7 +68358,7 @@ class UserRecordingsApi {
|
|
|
68269
68358
|
/**
|
|
68270
68359
|
* UserRecordings service.
|
|
68271
68360
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
68272
|
-
* @version
|
|
68361
|
+
* @version 180.0.0
|
|
68273
68362
|
*/
|
|
68274
68363
|
|
|
68275
68364
|
/**
|
|
@@ -68454,7 +68543,7 @@ class UsersApi {
|
|
|
68454
68543
|
/**
|
|
68455
68544
|
* Users service.
|
|
68456
68545
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
68457
|
-
* @version
|
|
68546
|
+
* @version 180.0.0
|
|
68458
68547
|
*/
|
|
68459
68548
|
|
|
68460
68549
|
/**
|
|
@@ -71015,7 +71104,7 @@ class UtilitiesApi {
|
|
|
71015
71104
|
/**
|
|
71016
71105
|
* Utilities service.
|
|
71017
71106
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
71018
|
-
* @version
|
|
71107
|
+
* @version 180.0.0
|
|
71019
71108
|
*/
|
|
71020
71109
|
|
|
71021
71110
|
/**
|
|
@@ -71126,7 +71215,7 @@ class VoicemailApi {
|
|
|
71126
71215
|
/**
|
|
71127
71216
|
* Voicemail service.
|
|
71128
71217
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
71129
|
-
* @version
|
|
71218
|
+
* @version 180.0.0
|
|
71130
71219
|
*/
|
|
71131
71220
|
|
|
71132
71221
|
/**
|
|
@@ -71793,7 +71882,7 @@ class WebChatApi {
|
|
|
71793
71882
|
/**
|
|
71794
71883
|
* WebChat service.
|
|
71795
71884
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
71796
|
-
* @version
|
|
71885
|
+
* @version 180.0.0
|
|
71797
71886
|
*/
|
|
71798
71887
|
|
|
71799
71888
|
/**
|
|
@@ -72342,7 +72431,7 @@ class WebDeploymentsApi {
|
|
|
72342
72431
|
/**
|
|
72343
72432
|
* WebDeployments service.
|
|
72344
72433
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
72345
|
-
* @version
|
|
72434
|
+
* @version 180.0.0
|
|
72346
72435
|
*/
|
|
72347
72436
|
|
|
72348
72437
|
/**
|
|
@@ -72869,7 +72958,7 @@ class WebMessagingApi {
|
|
|
72869
72958
|
/**
|
|
72870
72959
|
* WebMessaging service.
|
|
72871
72960
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
72872
|
-
* @version
|
|
72961
|
+
* @version 180.0.0
|
|
72873
72962
|
*/
|
|
72874
72963
|
|
|
72875
72964
|
/**
|
|
@@ -72915,7 +73004,7 @@ class WidgetsApi {
|
|
|
72915
73004
|
/**
|
|
72916
73005
|
* Widgets service.
|
|
72917
73006
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
72918
|
-
* @version
|
|
73007
|
+
* @version 180.0.0
|
|
72919
73008
|
*/
|
|
72920
73009
|
|
|
72921
73010
|
/**
|
|
@@ -73061,7 +73150,7 @@ class WorkforceManagementApi {
|
|
|
73061
73150
|
/**
|
|
73062
73151
|
* WorkforceManagement service.
|
|
73063
73152
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
73064
|
-
* @version
|
|
73153
|
+
* @version 180.0.0
|
|
73065
73154
|
*/
|
|
73066
73155
|
|
|
73067
73156
|
/**
|
|
@@ -78225,7 +78314,7 @@ class WorkforceManagementApi {
|
|
|
78225
78314
|
* </pre>
|
|
78226
78315
|
* </p>
|
|
78227
78316
|
* @module purecloud-platform-client-v2/index
|
|
78228
|
-
* @version
|
|
78317
|
+
* @version 180.0.0
|
|
78229
78318
|
*/
|
|
78230
78319
|
class platformClient {
|
|
78231
78320
|
constructor() {
|