purecloud-platform-client-v2 208.0.0 → 209.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1088 -118
- package/dist/web-amd/purecloud-platform-client-v2.js +1088 -118
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +406 -134
- package/dist/web-cjs/purecloud-platform-client-v2.js +547 -209
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +3406 -2914
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +4 -4
- 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 +1 -1
- 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 -2
- 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/EmployeeEngagementApi.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 +7 -3
- 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/LogCaptureApi.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/OperationalEventsApi.js +52 -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 +5 -3
- 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 +29 -25
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SocialMediaApi.js +910 -0
- 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 +1 -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 +7 -7
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -1933,7 +1933,66 @@ function numberIsNaN (obj) {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
|
|
1935
1935
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
1936
|
-
},{"base64-js":1,"buffer":3,"ieee754":
|
|
1936
|
+
},{"base64-js":1,"buffer":3,"ieee754":31}],4:[function(require,module,exports){
|
|
1937
|
+
'use strict';
|
|
1938
|
+
|
|
1939
|
+
var bind = require('function-bind');
|
|
1940
|
+
|
|
1941
|
+
var $apply = require('./functionApply');
|
|
1942
|
+
var $call = require('./functionCall');
|
|
1943
|
+
var $reflectApply = require('./reflectApply');
|
|
1944
|
+
|
|
1945
|
+
/** @type {import('./actualApply')} */
|
|
1946
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
1947
|
+
|
|
1948
|
+
},{"./functionApply":6,"./functionCall":7,"./reflectApply":9,"function-bind":22}],5:[function(require,module,exports){
|
|
1949
|
+
'use strict';
|
|
1950
|
+
|
|
1951
|
+
var bind = require('function-bind');
|
|
1952
|
+
var $apply = require('./functionApply');
|
|
1953
|
+
var actualApply = require('./actualApply');
|
|
1954
|
+
|
|
1955
|
+
/** @type {import('./applyBind')} */
|
|
1956
|
+
module.exports = function applyBind() {
|
|
1957
|
+
return actualApply(bind, $apply, arguments);
|
|
1958
|
+
};
|
|
1959
|
+
|
|
1960
|
+
},{"./actualApply":4,"./functionApply":6,"function-bind":22}],6:[function(require,module,exports){
|
|
1961
|
+
'use strict';
|
|
1962
|
+
|
|
1963
|
+
/** @type {import('./functionApply')} */
|
|
1964
|
+
module.exports = Function.prototype.apply;
|
|
1965
|
+
|
|
1966
|
+
},{}],7:[function(require,module,exports){
|
|
1967
|
+
'use strict';
|
|
1968
|
+
|
|
1969
|
+
/** @type {import('./functionCall')} */
|
|
1970
|
+
module.exports = Function.prototype.call;
|
|
1971
|
+
|
|
1972
|
+
},{}],8:[function(require,module,exports){
|
|
1973
|
+
'use strict';
|
|
1974
|
+
|
|
1975
|
+
var bind = require('function-bind');
|
|
1976
|
+
var $TypeError = require('es-errors/type');
|
|
1977
|
+
|
|
1978
|
+
var $call = require('./functionCall');
|
|
1979
|
+
var $actualApply = require('./actualApply');
|
|
1980
|
+
|
|
1981
|
+
/** @type {import('.')} */
|
|
1982
|
+
module.exports = function callBindBasic(args) {
|
|
1983
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
1984
|
+
throw new $TypeError('a function is required');
|
|
1985
|
+
}
|
|
1986
|
+
return $actualApply(bind, $call, args);
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
},{"./actualApply":4,"./functionCall":7,"es-errors/type":19,"function-bind":22}],9:[function(require,module,exports){
|
|
1990
|
+
'use strict';
|
|
1991
|
+
|
|
1992
|
+
/** @type {import('./reflectApply')} */
|
|
1993
|
+
module.exports = typeof Reflect === 'function' && Reflect.apply;
|
|
1994
|
+
|
|
1995
|
+
},{}],10:[function(require,module,exports){
|
|
1937
1996
|
'use strict';
|
|
1938
1997
|
|
|
1939
1998
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -1950,44 +2009,33 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
1950
2009
|
return intrinsic;
|
|
1951
2010
|
};
|
|
1952
2011
|
|
|
1953
|
-
},{"./":
|
|
2012
|
+
},{"./":11,"get-intrinsic":23}],11:[function(require,module,exports){
|
|
1954
2013
|
'use strict';
|
|
1955
2014
|
|
|
1956
|
-
var bind = require('function-bind');
|
|
1957
|
-
var GetIntrinsic = require('get-intrinsic');
|
|
1958
2015
|
var setFunctionLength = require('set-function-length');
|
|
1959
2016
|
|
|
1960
|
-
var $TypeError = require('es-errors/type');
|
|
1961
|
-
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
1962
|
-
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
1963
|
-
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
1964
|
-
|
|
1965
2017
|
var $defineProperty = require('es-define-property');
|
|
1966
|
-
|
|
2018
|
+
|
|
2019
|
+
var callBindBasic = require('call-bind-apply-helpers');
|
|
2020
|
+
var applyBind = require('call-bind-apply-helpers/applyBind');
|
|
1967
2021
|
|
|
1968
2022
|
module.exports = function callBind(originalFunction) {
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
}
|
|
1972
|
-
var func = $reflectApply(bind, $call, arguments);
|
|
2023
|
+
var func = callBindBasic(arguments);
|
|
2024
|
+
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
1973
2025
|
return setFunctionLength(
|
|
1974
2026
|
func,
|
|
1975
|
-
1 +
|
|
2027
|
+
1 + (adjustedLength > 0 ? adjustedLength : 0),
|
|
1976
2028
|
true
|
|
1977
2029
|
);
|
|
1978
2030
|
};
|
|
1979
2031
|
|
|
1980
|
-
var applyBind = function applyBind() {
|
|
1981
|
-
return $reflectApply(bind, $apply, arguments);
|
|
1982
|
-
};
|
|
1983
|
-
|
|
1984
2032
|
if ($defineProperty) {
|
|
1985
2033
|
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
1986
2034
|
} else {
|
|
1987
2035
|
module.exports.apply = applyBind;
|
|
1988
2036
|
}
|
|
1989
2037
|
|
|
1990
|
-
},{"
|
|
2038
|
+
},{"call-bind-apply-helpers":8,"call-bind-apply-helpers/applyBind":5,"es-define-property":13,"set-function-length":41}],12:[function(require,module,exports){
|
|
1991
2039
|
'use strict';
|
|
1992
2040
|
|
|
1993
2041
|
var $defineProperty = require('es-define-property');
|
|
@@ -2045,7 +2093,7 @@ module.exports = function defineDataProperty(
|
|
|
2045
2093
|
}
|
|
2046
2094
|
};
|
|
2047
2095
|
|
|
2048
|
-
},{"es-define-property":
|
|
2096
|
+
},{"es-define-property":13,"es-errors/syntax":18,"es-errors/type":19,"gopd":25}],13:[function(require,module,exports){
|
|
2049
2097
|
'use strict';
|
|
2050
2098
|
|
|
2051
2099
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -2063,49 +2111,49 @@ if ($defineProperty) {
|
|
|
2063
2111
|
|
|
2064
2112
|
module.exports = $defineProperty;
|
|
2065
2113
|
|
|
2066
|
-
},{"get-intrinsic":
|
|
2114
|
+
},{"get-intrinsic":23}],14:[function(require,module,exports){
|
|
2067
2115
|
'use strict';
|
|
2068
2116
|
|
|
2069
2117
|
/** @type {import('./eval')} */
|
|
2070
2118
|
module.exports = EvalError;
|
|
2071
2119
|
|
|
2072
|
-
},{}],
|
|
2120
|
+
},{}],15:[function(require,module,exports){
|
|
2073
2121
|
'use strict';
|
|
2074
2122
|
|
|
2075
2123
|
/** @type {import('.')} */
|
|
2076
2124
|
module.exports = Error;
|
|
2077
2125
|
|
|
2078
|
-
},{}],
|
|
2126
|
+
},{}],16:[function(require,module,exports){
|
|
2079
2127
|
'use strict';
|
|
2080
2128
|
|
|
2081
2129
|
/** @type {import('./range')} */
|
|
2082
2130
|
module.exports = RangeError;
|
|
2083
2131
|
|
|
2084
|
-
},{}],
|
|
2132
|
+
},{}],17:[function(require,module,exports){
|
|
2085
2133
|
'use strict';
|
|
2086
2134
|
|
|
2087
2135
|
/** @type {import('./ref')} */
|
|
2088
2136
|
module.exports = ReferenceError;
|
|
2089
2137
|
|
|
2090
|
-
},{}],
|
|
2138
|
+
},{}],18:[function(require,module,exports){
|
|
2091
2139
|
'use strict';
|
|
2092
2140
|
|
|
2093
2141
|
/** @type {import('./syntax')} */
|
|
2094
2142
|
module.exports = SyntaxError;
|
|
2095
2143
|
|
|
2096
|
-
},{}],
|
|
2144
|
+
},{}],19:[function(require,module,exports){
|
|
2097
2145
|
'use strict';
|
|
2098
2146
|
|
|
2099
2147
|
/** @type {import('./type')} */
|
|
2100
2148
|
module.exports = TypeError;
|
|
2101
2149
|
|
|
2102
|
-
},{}],
|
|
2150
|
+
},{}],20:[function(require,module,exports){
|
|
2103
2151
|
'use strict';
|
|
2104
2152
|
|
|
2105
2153
|
/** @type {import('./uri')} */
|
|
2106
2154
|
module.exports = URIError;
|
|
2107
2155
|
|
|
2108
|
-
},{}],
|
|
2156
|
+
},{}],21:[function(require,module,exports){
|
|
2109
2157
|
'use strict';
|
|
2110
2158
|
|
|
2111
2159
|
/* eslint no-invalid-this: 1 */
|
|
@@ -2191,14 +2239,14 @@ module.exports = function bind(that) {
|
|
|
2191
2239
|
return bound;
|
|
2192
2240
|
};
|
|
2193
2241
|
|
|
2194
|
-
},{}],
|
|
2242
|
+
},{}],22:[function(require,module,exports){
|
|
2195
2243
|
'use strict';
|
|
2196
2244
|
|
|
2197
2245
|
var implementation = require('./implementation');
|
|
2198
2246
|
|
|
2199
2247
|
module.exports = Function.prototype.bind || implementation;
|
|
2200
2248
|
|
|
2201
|
-
},{"./implementation":
|
|
2249
|
+
},{"./implementation":21}],23:[function(require,module,exports){
|
|
2202
2250
|
'use strict';
|
|
2203
2251
|
|
|
2204
2252
|
var undefined;
|
|
@@ -2559,12 +2607,17 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
2559
2607
|
return value;
|
|
2560
2608
|
};
|
|
2561
2609
|
|
|
2562
|
-
},{"es-errors":
|
|
2610
|
+
},{"es-errors":15,"es-errors/eval":14,"es-errors/range":16,"es-errors/ref":17,"es-errors/syntax":18,"es-errors/type":19,"es-errors/uri":20,"function-bind":22,"has-proto":27,"has-symbols":28,"hasown":30}],24:[function(require,module,exports){
|
|
2563
2611
|
'use strict';
|
|
2564
2612
|
|
|
2565
|
-
|
|
2613
|
+
/** @type {import('./gOPD')} */
|
|
2614
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
2615
|
+
|
|
2616
|
+
},{}],25:[function(require,module,exports){
|
|
2617
|
+
'use strict';
|
|
2566
2618
|
|
|
2567
|
-
|
|
2619
|
+
/** @type {import('.')} */
|
|
2620
|
+
var $gOPD = require('./gOPD');
|
|
2568
2621
|
|
|
2569
2622
|
if ($gOPD) {
|
|
2570
2623
|
try {
|
|
@@ -2577,7 +2630,7 @@ if ($gOPD) {
|
|
|
2577
2630
|
|
|
2578
2631
|
module.exports = $gOPD;
|
|
2579
2632
|
|
|
2580
|
-
},{"
|
|
2633
|
+
},{"./gOPD":24}],26:[function(require,module,exports){
|
|
2581
2634
|
'use strict';
|
|
2582
2635
|
|
|
2583
2636
|
var $defineProperty = require('es-define-property');
|
|
@@ -2601,7 +2654,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
2601
2654
|
|
|
2602
2655
|
module.exports = hasPropertyDescriptors;
|
|
2603
2656
|
|
|
2604
|
-
},{"es-define-property":
|
|
2657
|
+
},{"es-define-property":13}],27:[function(require,module,exports){
|
|
2605
2658
|
'use strict';
|
|
2606
2659
|
|
|
2607
2660
|
var test = {
|
|
@@ -2609,21 +2662,22 @@ var test = {
|
|
|
2609
2662
|
foo: {}
|
|
2610
2663
|
};
|
|
2611
2664
|
|
|
2612
|
-
|
|
2665
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
2666
|
+
var result = { __proto__: test }.foo === test.foo
|
|
2667
|
+
&& !(test instanceof Object);
|
|
2613
2668
|
|
|
2614
2669
|
/** @type {import('.')} */
|
|
2615
2670
|
module.exports = function hasProto() {
|
|
2616
|
-
|
|
2617
|
-
return { __proto__: test }.foo === test.foo
|
|
2618
|
-
&& !(test instanceof $Object);
|
|
2671
|
+
return result;
|
|
2619
2672
|
};
|
|
2620
2673
|
|
|
2621
|
-
},{}],
|
|
2674
|
+
},{}],28:[function(require,module,exports){
|
|
2622
2675
|
'use strict';
|
|
2623
2676
|
|
|
2624
2677
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
2625
2678
|
var hasSymbolSham = require('./shams');
|
|
2626
2679
|
|
|
2680
|
+
/** @type {import('.')} */
|
|
2627
2681
|
module.exports = function hasNativeSymbols() {
|
|
2628
2682
|
if (typeof origSymbol !== 'function') { return false; }
|
|
2629
2683
|
if (typeof Symbol !== 'function') { return false; }
|
|
@@ -2633,14 +2687,16 @@ module.exports = function hasNativeSymbols() {
|
|
|
2633
2687
|
return hasSymbolSham();
|
|
2634
2688
|
};
|
|
2635
2689
|
|
|
2636
|
-
},{"./shams":
|
|
2690
|
+
},{"./shams":29}],29:[function(require,module,exports){
|
|
2637
2691
|
'use strict';
|
|
2638
2692
|
|
|
2693
|
+
/** @type {import('./shams')} */
|
|
2639
2694
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2640
2695
|
module.exports = function hasSymbols() {
|
|
2641
2696
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
2642
2697
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
2643
2698
|
|
|
2699
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
2644
2700
|
var obj = {};
|
|
2645
2701
|
var sym = Symbol('test');
|
|
2646
2702
|
var symObj = Object(sym);
|
|
@@ -2659,7 +2715,7 @@ module.exports = function hasSymbols() {
|
|
|
2659
2715
|
|
|
2660
2716
|
var symVal = 42;
|
|
2661
2717
|
obj[sym] = symVal;
|
|
2662
|
-
for (
|
|
2718
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
2663
2719
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
2664
2720
|
|
|
2665
2721
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -2670,14 +2726,15 @@ module.exports = function hasSymbols() {
|
|
|
2670
2726
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
2671
2727
|
|
|
2672
2728
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
2673
|
-
|
|
2729
|
+
// eslint-disable-next-line no-extra-parens
|
|
2730
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
2674
2731
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
2675
2732
|
}
|
|
2676
2733
|
|
|
2677
2734
|
return true;
|
|
2678
2735
|
};
|
|
2679
2736
|
|
|
2680
|
-
},{}],
|
|
2737
|
+
},{}],30:[function(require,module,exports){
|
|
2681
2738
|
'use strict';
|
|
2682
2739
|
|
|
2683
2740
|
var call = Function.prototype.call;
|
|
@@ -2687,7 +2744,7 @@ var bind = require('function-bind');
|
|
|
2687
2744
|
/** @type {import('.')} */
|
|
2688
2745
|
module.exports = bind.call(call, $hasOwn);
|
|
2689
2746
|
|
|
2690
|
-
},{"function-bind":
|
|
2747
|
+
},{"function-bind":22}],31:[function(require,module,exports){
|
|
2691
2748
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2692
2749
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
2693
2750
|
var e, m
|
|
@@ -2774,7 +2831,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
2774
2831
|
buffer[offset + i - d] |= s * 128
|
|
2775
2832
|
}
|
|
2776
2833
|
|
|
2777
|
-
},{}],
|
|
2834
|
+
},{}],32:[function(require,module,exports){
|
|
2778
2835
|
(function (global){(function (){
|
|
2779
2836
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
2780
2837
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -3319,7 +3376,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
3319
3376
|
}
|
|
3320
3377
|
|
|
3321
3378
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
3322
|
-
},{"./util.inspect":2}],
|
|
3379
|
+
},{"./util.inspect":2}],33:[function(require,module,exports){
|
|
3323
3380
|
exports.endianness = function () { return 'LE' };
|
|
3324
3381
|
|
|
3325
3382
|
exports.hostname = function () {
|
|
@@ -3370,7 +3427,7 @@ exports.homedir = function () {
|
|
|
3370
3427
|
return '/'
|
|
3371
3428
|
};
|
|
3372
3429
|
|
|
3373
|
-
},{}],
|
|
3430
|
+
},{}],34:[function(require,module,exports){
|
|
3374
3431
|
(function (process){(function (){
|
|
3375
3432
|
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
3376
3433
|
// transplited with Babel
|
|
@@ -3903,7 +3960,7 @@ posix.posix = posix;
|
|
|
3903
3960
|
module.exports = posix;
|
|
3904
3961
|
|
|
3905
3962
|
}).call(this)}).call(this,require('_process'))
|
|
3906
|
-
},{"_process":
|
|
3963
|
+
},{"_process":35}],35:[function(require,module,exports){
|
|
3907
3964
|
// shim for using process in browser
|
|
3908
3965
|
var process = module.exports = {};
|
|
3909
3966
|
|
|
@@ -4089,7 +4146,7 @@ process.chdir = function (dir) {
|
|
|
4089
4146
|
};
|
|
4090
4147
|
process.umask = function() { return 0; };
|
|
4091
4148
|
|
|
4092
|
-
},{}],
|
|
4149
|
+
},{}],36:[function(require,module,exports){
|
|
4093
4150
|
'use strict';
|
|
4094
4151
|
|
|
4095
4152
|
var replace = String.prototype.replace;
|
|
@@ -4114,7 +4171,7 @@ module.exports = {
|
|
|
4114
4171
|
RFC3986: Format.RFC3986
|
|
4115
4172
|
};
|
|
4116
4173
|
|
|
4117
|
-
},{}],
|
|
4174
|
+
},{}],37:[function(require,module,exports){
|
|
4118
4175
|
'use strict';
|
|
4119
4176
|
|
|
4120
4177
|
var stringify = require('./stringify');
|
|
@@ -4127,7 +4184,7 @@ module.exports = {
|
|
|
4127
4184
|
stringify: stringify
|
|
4128
4185
|
};
|
|
4129
4186
|
|
|
4130
|
-
},{"./formats":
|
|
4187
|
+
},{"./formats":36,"./parse":38,"./stringify":39}],38:[function(require,module,exports){
|
|
4131
4188
|
'use strict';
|
|
4132
4189
|
|
|
4133
4190
|
var utils = require('./utils');
|
|
@@ -4216,7 +4273,8 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4216
4273
|
var bracketEqualsPos = part.indexOf(']=');
|
|
4217
4274
|
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
|
4218
4275
|
|
|
4219
|
-
var key
|
|
4276
|
+
var key;
|
|
4277
|
+
var val;
|
|
4220
4278
|
if (pos === -1) {
|
|
4221
4279
|
key = options.decoder(part, defaults.decoder, charset, 'key');
|
|
4222
4280
|
val = options.strictNullHandling ? null : '';
|
|
@@ -4231,7 +4289,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4231
4289
|
}
|
|
4232
4290
|
|
|
4233
4291
|
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
|
4234
|
-
val = interpretNumericEntities(val);
|
|
4292
|
+
val = interpretNumericEntities(String(val));
|
|
4235
4293
|
}
|
|
4236
4294
|
|
|
4237
4295
|
if (part.indexOf('[]=') > -1) {
|
|
@@ -4261,7 +4319,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
4261
4319
|
? []
|
|
4262
4320
|
: [].concat(leaf);
|
|
4263
4321
|
} else {
|
|
4264
|
-
obj = options.plainObjects ?
|
|
4322
|
+
obj = options.plainObjects ? { __proto__: null } : {};
|
|
4265
4323
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
4266
4324
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
4267
4325
|
var index = parseInt(decodedRoot, 10);
|
|
@@ -4403,11 +4461,11 @@ module.exports = function (str, opts) {
|
|
|
4403
4461
|
var options = normalizeParseOptions(opts);
|
|
4404
4462
|
|
|
4405
4463
|
if (str === '' || str === null || typeof str === 'undefined') {
|
|
4406
|
-
return options.plainObjects ?
|
|
4464
|
+
return options.plainObjects ? { __proto__: null } : {};
|
|
4407
4465
|
}
|
|
4408
4466
|
|
|
4409
4467
|
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
|
4410
|
-
var obj = options.plainObjects ?
|
|
4468
|
+
var obj = options.plainObjects ? { __proto__: null } : {};
|
|
4411
4469
|
|
|
4412
4470
|
// Iterate over the keys and setup the new object
|
|
4413
4471
|
|
|
@@ -4425,7 +4483,7 @@ module.exports = function (str, opts) {
|
|
|
4425
4483
|
return utils.compact(obj);
|
|
4426
4484
|
};
|
|
4427
4485
|
|
|
4428
|
-
},{"./utils":
|
|
4486
|
+
},{"./utils":40}],39:[function(require,module,exports){
|
|
4429
4487
|
'use strict';
|
|
4430
4488
|
|
|
4431
4489
|
var getSideChannel = require('side-channel');
|
|
@@ -4462,11 +4520,13 @@ var defaults = {
|
|
|
4462
4520
|
arrayFormat: 'indices',
|
|
4463
4521
|
charset: 'utf-8',
|
|
4464
4522
|
charsetSentinel: false,
|
|
4523
|
+
commaRoundTrip: false,
|
|
4465
4524
|
delimiter: '&',
|
|
4466
4525
|
encode: true,
|
|
4467
4526
|
encodeDotInKeys: false,
|
|
4468
4527
|
encoder: utils.encode,
|
|
4469
4528
|
encodeValuesOnly: false,
|
|
4529
|
+
filter: void undefined,
|
|
4470
4530
|
format: defaultFormat,
|
|
4471
4531
|
formatter: formats.formatters[defaultFormat],
|
|
4472
4532
|
// deprecated
|
|
@@ -4578,7 +4638,7 @@ var stringify = function stringify(
|
|
|
4578
4638
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
4579
4639
|
}
|
|
4580
4640
|
|
|
4581
|
-
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
4641
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
|
|
4582
4642
|
|
|
4583
4643
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
4584
4644
|
|
|
@@ -4588,13 +4648,15 @@ var stringify = function stringify(
|
|
|
4588
4648
|
|
|
4589
4649
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
4590
4650
|
var key = objKeys[j];
|
|
4591
|
-
var value = typeof key === 'object' && typeof key.value !== 'undefined'
|
|
4651
|
+
var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
|
|
4652
|
+
? key.value
|
|
4653
|
+
: obj[key];
|
|
4592
4654
|
|
|
4593
4655
|
if (skipNulls && value === null) {
|
|
4594
4656
|
continue;
|
|
4595
4657
|
}
|
|
4596
4658
|
|
|
4597
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
4659
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
|
|
4598
4660
|
var keyPrefix = isArray(obj)
|
|
4599
4661
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
4600
4662
|
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
@@ -4685,7 +4747,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
4685
4747
|
arrayFormat: arrayFormat,
|
|
4686
4748
|
charset: charset,
|
|
4687
4749
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
4688
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
4750
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
4689
4751
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
4690
4752
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
4691
4753
|
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
@@ -4736,12 +4798,13 @@ module.exports = function (object, opts) {
|
|
|
4736
4798
|
var sideChannel = getSideChannel();
|
|
4737
4799
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
4738
4800
|
var key = objKeys[i];
|
|
4801
|
+
var value = obj[key];
|
|
4739
4802
|
|
|
4740
|
-
if (options.skipNulls &&
|
|
4803
|
+
if (options.skipNulls && value === null) {
|
|
4741
4804
|
continue;
|
|
4742
4805
|
}
|
|
4743
4806
|
pushToArray(keys, stringify(
|
|
4744
|
-
|
|
4807
|
+
value,
|
|
4745
4808
|
key,
|
|
4746
4809
|
generateArrayPrefix,
|
|
4747
4810
|
commaRoundTrip,
|
|
@@ -4778,7 +4841,7 @@ module.exports = function (object, opts) {
|
|
|
4778
4841
|
return joined.length > 0 ? prefix + joined : '';
|
|
4779
4842
|
};
|
|
4780
4843
|
|
|
4781
|
-
},{"./formats":
|
|
4844
|
+
},{"./formats":36,"./utils":40,"side-channel":42}],40:[function(require,module,exports){
|
|
4782
4845
|
'use strict';
|
|
4783
4846
|
|
|
4784
4847
|
var formats = require('./formats');
|
|
@@ -4815,7 +4878,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
4815
4878
|
};
|
|
4816
4879
|
|
|
4817
4880
|
var arrayToObject = function arrayToObject(source, options) {
|
|
4818
|
-
var obj = options && options.plainObjects ?
|
|
4881
|
+
var obj = options && options.plainObjects ? { __proto__: null } : {};
|
|
4819
4882
|
for (var i = 0; i < source.length; ++i) {
|
|
4820
4883
|
if (typeof source[i] !== 'undefined') {
|
|
4821
4884
|
obj[i] = source[i];
|
|
@@ -4831,11 +4894,14 @@ var merge = function merge(target, source, options) {
|
|
|
4831
4894
|
return target;
|
|
4832
4895
|
}
|
|
4833
4896
|
|
|
4834
|
-
if (typeof source !== 'object') {
|
|
4897
|
+
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
4835
4898
|
if (isArray(target)) {
|
|
4836
4899
|
target.push(source);
|
|
4837
4900
|
} else if (target && typeof target === 'object') {
|
|
4838
|
-
if (
|
|
4901
|
+
if (
|
|
4902
|
+
(options && (options.plainObjects || options.allowPrototypes))
|
|
4903
|
+
|| !has.call(Object.prototype, source)
|
|
4904
|
+
) {
|
|
4839
4905
|
target[source] = true;
|
|
4840
4906
|
}
|
|
4841
4907
|
} else {
|
|
@@ -4889,7 +4955,7 @@ var assign = function assignSingleSource(target, source) {
|
|
|
4889
4955
|
}, target);
|
|
4890
4956
|
};
|
|
4891
4957
|
|
|
4892
|
-
var decode = function (str,
|
|
4958
|
+
var decode = function (str, defaultDecoder, charset) {
|
|
4893
4959
|
var strWithoutPlus = str.replace(/\+/g, ' ');
|
|
4894
4960
|
if (charset === 'iso-8859-1') {
|
|
4895
4961
|
// unescape never throws, no try...catch needed:
|
|
@@ -5045,7 +5111,7 @@ module.exports = {
|
|
|
5045
5111
|
merge: merge
|
|
5046
5112
|
};
|
|
5047
5113
|
|
|
5048
|
-
},{"./formats":
|
|
5114
|
+
},{"./formats":36}],41:[function(require,module,exports){
|
|
5049
5115
|
'use strict';
|
|
5050
5116
|
|
|
5051
5117
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5089,7 +5155,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
5089
5155
|
return fn;
|
|
5090
5156
|
};
|
|
5091
5157
|
|
|
5092
|
-
},{"define-data-property":
|
|
5158
|
+
},{"define-data-property":12,"es-errors/type":19,"get-intrinsic":23,"gopd":25,"has-property-descriptors":26}],42:[function(require,module,exports){
|
|
5093
5159
|
'use strict';
|
|
5094
5160
|
|
|
5095
5161
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5220,7 +5286,7 @@ module.exports = function getSideChannel() {
|
|
|
5220
5286
|
return channel;
|
|
5221
5287
|
};
|
|
5222
5288
|
|
|
5223
|
-
},{"call-bind/callBound":
|
|
5289
|
+
},{"call-bind/callBound":10,"es-errors/type":19,"get-intrinsic":23,"object-inspect":32}],43:[function(require,module,exports){
|
|
5224
5290
|
(function (setImmediate,clearImmediate){(function (){
|
|
5225
5291
|
var nextTick = require('process/browser.js').nextTick;
|
|
5226
5292
|
var apply = Function.prototype.apply;
|
|
@@ -5299,7 +5365,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
|
|
|
5299
5365
|
delete immediateIds[id];
|
|
5300
5366
|
};
|
|
5301
5367
|
}).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
5302
|
-
},{"process/browser.js":
|
|
5368
|
+
},{"process/browser.js":35,"timers":43}],"platformClient":[function(require,module,exports){
|
|
5303
5369
|
(function (global,Buffer,setImmediate){(function (){
|
|
5304
5370
|
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
5305
5371
|
// if there are two placeholders, than the two characters before it
|
|
@@ -5818,10 +5884,10 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
|
|
|
5818
5884
|
*
|
|
5819
5885
|
* @param {string} url The base of the url (e.g., http://www.google.com)
|
|
5820
5886
|
* @param {object} [params] The params to be appended
|
|
5821
|
-
* @param {?object} options
|
|
5887
|
+
* @param {?(object|Function)} options
|
|
5822
5888
|
*
|
|
5823
5889
|
* @returns {string} The formatted url
|
|
5824
|
-
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
5890
|
+
*/function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var _encode=options&&options.encode||encode;if(utils$1.isFunction(options)){options={serialize:options};}var serializeFn=options&&options.serialize;var serializedParams;if(serializeFn){serializedParams=serializeFn(params,options);}else{serializedParams=utils$1.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams(params,options).toString(_encode);}if(serializedParams){var hashmarkIndex=url.indexOf("#");if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;}var InterceptorManager=/*#__PURE__*/function(){function InterceptorManager(){_classCallCheck(this,InterceptorManager);this.handlers=[];}/**
|
|
5825
5891
|
* Add a new interceptor to the stack
|
|
5826
5892
|
*
|
|
5827
5893
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
@@ -5957,22 +6023,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
|
|
|
5957
6023
|
* @param {Function} fn
|
|
5958
6024
|
* @param {Number} freq
|
|
5959
6025
|
* @return {Function}
|
|
5960
|
-
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv
|
|
5961
|
-
// whether the request URL is of the same origin as current location.
|
|
5962
|
-
function standardBrowserEnv(){var msie=platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;/**
|
|
5963
|
-
* Parse a URL to discover its components
|
|
5964
|
-
*
|
|
5965
|
-
* @param {String} url The URL to be parsed
|
|
5966
|
-
* @returns {Object}
|
|
5967
|
-
*/function resolveURL(url){var href=url;if(msie){// IE needs attribute set twice to normalize properties
|
|
5968
|
-
urlParsingNode.setAttribute('href',href);href=urlParsingNode.href;}urlParsingNode.setAttribute('href',href);// urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
|
|
5969
|
-
return{href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,''):'',host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,''):'',hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,''):'',hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:urlParsingNode.pathname.charAt(0)==='/'?urlParsingNode.pathname:'/'+urlParsingNode.pathname};}originURL=resolveURL(window.location.href);/**
|
|
5970
|
-
* Determine if a URL shares the same origin as the current location
|
|
5971
|
-
*
|
|
5972
|
-
* @param {String} requestURL The URL to test
|
|
5973
|
-
* @returns {boolean} True if URL shares the same origin, otherwise false
|
|
5974
|
-
*/return function isURLSameOrigin(requestURL){var parsed=utils$1.isString(requestURL)?resolveURL(requestURL):requestURL;return parsed.protocol===originURL.protocol&&parsed.host===originURL.host;};}():// Non standard browser envs (web workers, react-native) lack needed support.
|
|
5975
|
-
function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true;};}();var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
6026
|
+
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv?function(origin,isMSIE){return function(url){url=new URL(url,platform.origin);return origin.protocol===url.protocol&&origin.host===url.host&&(isMSIE||origin.port===url.port);};}(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):function(){return true;};var cookies=platform.hasStandardBrowserEnv?// Standard browser envs support document.cookie
|
|
5976
6027
|
{write:function write(name,value,expires,path,domain,secure){var cookie=[name+'='+encodeURIComponent(value)];utils$1.isNumber(expires)&&cookie.push('expires='+new Date(expires).toGMTString());utils$1.isString(path)&&cookie.push('path='+path);utils$1.isString(domain)&&cookie.push('domain='+domain);secure===true&&cookie.push('secure');document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return match?decodeURIComponent(match[3]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000);}}:// Non-standard browser env (web workers, react-native) lack needed support.
|
|
5977
6028
|
{write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
|
|
5978
6029
|
* Determines whether the specified URL is absolute
|
|
@@ -6008,11 +6059,11 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
6008
6059
|
*
|
|
6009
6060
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
6010
6061
|
*/function mergeConfig(config1,config2){// eslint-disable-next-line no-param-reassign
|
|
6011
|
-
config2=config2||{};var config={};function getMergedValue(target,source,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
6012
|
-
function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
|
|
6062
|
+
config2=config2||{};var config={};function getMergedValue(target,source,prop,caseless){if(utils$1.isPlainObject(target)&&utils$1.isPlainObject(source)){return utils$1.merge.call({caseless:caseless},target,source);}else if(utils$1.isPlainObject(source)){return utils$1.merge({},source);}else if(utils$1.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
|
|
6063
|
+
function mergeDeepProperties(a,b,prop,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,prop,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,prop,caseless);}}// eslint-disable-next-line consistent-return
|
|
6013
6064
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
6014
6065
|
function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
|
|
6015
|
-
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
6066
|
+
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
6016
6067
|
if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
|
|
6017
6068
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
6018
6069
|
var _ref11=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref12=_toArray(_ref11),type=_ref12[0],tokens=_ref12.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
|
|
@@ -6068,7 +6119,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
6068
6119
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
6069
6120
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
6070
6121
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
6071
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.
|
|
6122
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.9";var validators$1={};// eslint-disable-next-line func-names
|
|
6072
6123
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
6073
6124
|
* Transitional option validator
|
|
6074
6125
|
*
|
|
@@ -6079,7 +6130,8 @@ if(reason&&reason.response){reason.response.data=transformData.call(config,confi
|
|
|
6079
6130
|
* @returns {function}
|
|
6080
6131
|
*/validators$1.transitional=function transitional(validator,version,message){function formatMessage(opt,desc){return'[Axios v'+VERSION+'] Transitional option \''+opt+'\''+desc+(message?'. '+message:'');}// eslint-disable-next-line func-names
|
|
6081
6132
|
return function(value,opt,opts){if(validator===false){throw new AxiosError(formatMessage(opt,' has been removed'+(version?' in '+version:'')),AxiosError.ERR_DEPRECATED);}if(version&&!deprecatedWarnings[opt]){deprecatedWarnings[opt]=true;// eslint-disable-next-line no-console
|
|
6082
|
-
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};}
|
|
6133
|
+
console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will be removed in the near future'));}return validator?validator(value,opt,opts):true;};};validators$1.spelling=function spelling(correctSpelling){return function(value,opt){// eslint-disable-next-line no-console
|
|
6134
|
+
console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpelling));return true;};};/**
|
|
6083
6135
|
* Assert object's properties type
|
|
6084
6136
|
*
|
|
6085
6137
|
* @param {object} options
|
|
@@ -6100,11 +6152,11 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
6100
6152
|
* @param {?Object} config
|
|
6101
6153
|
*
|
|
6102
6154
|
* @returns {Promise} The Promise to be fulfilled
|
|
6103
|
-
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy
|
|
6155
|
+
*/return _createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee8$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:_context9.prev=0;_context9.next=3;return this._request(configOrUrl,config);case 3:return _context9.abrupt("return",_context9.sent);case 6:_context9.prev=6;_context9.t0=_context9["catch"](0);if(_context9.t0 instanceof Error){dummy={};Error.captureStackTrace?Error.captureStackTrace(dummy):dummy=new Error();// slice off the Error: ... line
|
|
6104
6156
|
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
|
|
6105
6157
|
}else if(stack&&!String(_context9.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context9.t0.stack+='\n'+stack;}}catch(e){// ignore the case where "stack" is an un-writable property
|
|
6106
6158
|
}}throw _context9.t0;case 10:case"end":return _context9.stop();}},_callee8,this,[[0,6]]);}));function request(_x9,_x10){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/// Allow for axios('example/url'[, config]) a la fetch API
|
|
6107
|
-
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}
|
|
6159
|
+
if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config2=config,transitional=_config2.transitional,paramsSerializer=_config2.paramsSerializer,headers=_config2.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
|
|
6108
6160
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
6109
6161
|
var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
|
|
6110
6162
|
var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
|
|
@@ -6194,7 +6246,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6194
6246
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6195
6247
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6196
6248
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6197
|
-
* @version
|
|
6249
|
+
* @version 209.0.0
|
|
6198
6250
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6199
6251
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6200
6252
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6516,7 +6568,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6516
6568
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6517
6569
|
* AgentAssistants service.
|
|
6518
6570
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6519
|
-
* @version
|
|
6571
|
+
* @version 209.0.0
|
|
6520
6572
|
*//**
|
|
6521
6573
|
* Constructs a new AgentAssistantsApi.
|
|
6522
6574
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6617,7 +6669,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6617
6669
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
6618
6670
|
* AgentCopilot service.
|
|
6619
6671
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6620
|
-
* @version
|
|
6672
|
+
* @version 209.0.0
|
|
6621
6673
|
*//**
|
|
6622
6674
|
* Constructs a new AgentCopilotApi.
|
|
6623
6675
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6639,7 +6691,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6639
6691
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
6640
6692
|
* AgentUI service.
|
|
6641
6693
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6642
|
-
* @version
|
|
6694
|
+
* @version 209.0.0
|
|
6643
6695
|
*//**
|
|
6644
6696
|
* Constructs a new AgentUIApi.
|
|
6645
6697
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6673,7 +6725,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6673
6725
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6674
6726
|
* Alerting service.
|
|
6675
6727
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6676
|
-
* @version
|
|
6728
|
+
* @version 209.0.0
|
|
6677
6729
|
*//**
|
|
6678
6730
|
* Constructs a new AlertingApi.
|
|
6679
6731
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6830,7 +6882,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6830
6882
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6831
6883
|
* Analytics service.
|
|
6832
6884
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6833
|
-
* @version
|
|
6885
|
+
* @version 209.0.0
|
|
6834
6886
|
*//**
|
|
6835
6887
|
* Constructs a new AnalyticsApi.
|
|
6836
6888
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6877,7 +6929,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6877
6929
|
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6878
6930
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getAnalyticsAgentcopilotsAggregatesJobResults';}return this.apiClient.callApi('/api/v2/analytics/agentcopilots/aggregates/jobs/{jobId}/results','GET',{'jobId':jobId},{'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6879
6931
|
* Get Reporting Turns (division aware).
|
|
6880
|
-
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6932
|
+
* Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6881
6933
|
* @param {String} botFlowId ID of the bot flow.
|
|
6882
6934
|
* @param {Object} opts Optional parameters
|
|
6883
6935
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -6890,7 +6942,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6890
6942
|
*/},{key:"getAnalyticsBotflowDivisionsReportingturns",value:function getAnalyticsBotflowDivisionsReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6891
6943
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowDivisionsReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/divisions/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6892
6944
|
* Get Reporting Turns.
|
|
6893
|
-
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6945
|
+
* Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6894
6946
|
* @param {String} botFlowId ID of the bot flow.
|
|
6895
6947
|
* @param {Object} opts Optional parameters
|
|
6896
6948
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -6904,7 +6956,7 @@ if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter
|
|
|
6904
6956
|
*/},{key:"getAnalyticsBotflowReportingturns",value:function getAnalyticsBotflowReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6905
6957
|
if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowReportingturns';}return this.apiClient.callApi('/api/v2/analytics/botflows/{botFlowId}/reportingturns','GET',{'botFlowId':botFlowId},{'after':opts['after'],'pageSize':opts['pageSize'],'interval':opts['interval'],'actionId':opts['actionId'],'sessionId':opts['sessionId'],'language':opts['language'],'askActionResults':opts['askActionResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6906
6958
|
* Get Bot Flow Sessions.
|
|
6907
|
-
* Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6959
|
+
* Returns the bot flow sessions in reverse chronological order from the date they were created. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. The nextUri value in the response is already URL encoded (so it doesnt need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
|
|
6908
6960
|
* @param {String} botFlowId ID of the bot flow.
|
|
6909
6961
|
* @param {Object} opts Optional parameters
|
|
6910
6962
|
* @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
|
|
@@ -7452,7 +7504,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7452
7504
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7453
7505
|
* Architect service.
|
|
7454
7506
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7455
|
-
* @version
|
|
7507
|
+
* @version 209.0.0
|
|
7456
7508
|
*//**
|
|
7457
7509
|
* Constructs a new ArchitectApi.
|
|
7458
7510
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8544,7 +8596,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8544
8596
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8545
8597
|
* Audit service.
|
|
8546
8598
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8547
|
-
* @version
|
|
8599
|
+
* @version 209.0.0
|
|
8548
8600
|
*//**
|
|
8549
8601
|
* Constructs a new AuditApi.
|
|
8550
8602
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8594,7 +8646,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8594
8646
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8595
8647
|
* Authorization service.
|
|
8596
8648
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8597
|
-
* @version
|
|
8649
|
+
* @version 209.0.0
|
|
8598
8650
|
*//**
|
|
8599
8651
|
* Constructs a new AuthorizationApi.
|
|
8600
8652
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8917,7 +8969,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8917
8969
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8918
8970
|
* Billing service.
|
|
8919
8971
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8920
|
-
* @version
|
|
8972
|
+
* @version 209.0.0
|
|
8921
8973
|
*//**
|
|
8922
8974
|
* Constructs a new BillingApi.
|
|
8923
8975
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8941,7 +8993,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8941
8993
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8942
8994
|
* CarrierServices service.
|
|
8943
8995
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8944
|
-
* @version
|
|
8996
|
+
* @version 209.0.0
|
|
8945
8997
|
*//**
|
|
8946
8998
|
* Constructs a new CarrierServicesApi.
|
|
8947
8999
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8961,7 +9013,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8961
9013
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8962
9014
|
* Chat service.
|
|
8963
9015
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8964
|
-
* @version
|
|
9016
|
+
* @version 209.0.0
|
|
8965
9017
|
*//**
|
|
8966
9018
|
* Constructs a new ChatApi.
|
|
8967
9019
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9186,7 +9238,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9186
9238
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
9187
9239
|
* Coaching service.
|
|
9188
9240
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9189
|
-
* @version
|
|
9241
|
+
* @version 209.0.0
|
|
9190
9242
|
*//**
|
|
9191
9243
|
* Constructs a new CoachingApi.
|
|
9192
9244
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9339,7 +9391,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9339
9391
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9340
9392
|
* ContentManagement service.
|
|
9341
9393
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9342
|
-
* @version
|
|
9394
|
+
* @version 209.0.0
|
|
9343
9395
|
*//**
|
|
9344
9396
|
* Constructs a new ContentManagementApi.
|
|
9345
9397
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9621,7 +9673,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9621
9673
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9622
9674
|
* Conversations service.
|
|
9623
9675
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9624
|
-
* @version
|
|
9676
|
+
* @version 209.0.0
|
|
9625
9677
|
*//**
|
|
9626
9678
|
* Constructs a new ConversationsApi.
|
|
9627
9679
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9805,7 +9857,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
9805
9857
|
* Get the summaries of the conversation.
|
|
9806
9858
|
*
|
|
9807
9859
|
* @param {String} conversationId Conversation ID
|
|
9808
|
-
* getConversationSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9809
9860
|
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
9810
9861
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationSummaries';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9811
9862
|
* Get active conversations for the logged in user
|
|
@@ -11350,7 +11401,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11350
11401
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11351
11402
|
* DataExtensions service.
|
|
11352
11403
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11353
|
-
* @version
|
|
11404
|
+
* @version 209.0.0
|
|
11354
11405
|
*//**
|
|
11355
11406
|
* Constructs a new DataExtensionsApi.
|
|
11356
11407
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11371,7 +11422,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11371
11422
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11372
11423
|
* Downloads service.
|
|
11373
11424
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11374
|
-
* @version
|
|
11425
|
+
* @version 209.0.0
|
|
11375
11426
|
*//**
|
|
11376
11427
|
* Constructs a new DownloadsApi.
|
|
11377
11428
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11390,7 +11441,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11390
11441
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11391
11442
|
* Emails service.
|
|
11392
11443
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11393
|
-
* @version
|
|
11444
|
+
* @version 209.0.0
|
|
11394
11445
|
*//**
|
|
11395
11446
|
* Constructs a new EmailsApi.
|
|
11396
11447
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11408,7 +11459,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11408
11459
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11409
11460
|
* EmployeeEngagement service.
|
|
11410
11461
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11411
|
-
* @version
|
|
11462
|
+
* @version 209.0.0
|
|
11412
11463
|
*//**
|
|
11413
11464
|
* Constructs a new EmployeeEngagementApi.
|
|
11414
11465
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11446,7 +11497,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11446
11497
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11447
11498
|
* Events service.
|
|
11448
11499
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11449
|
-
* @version
|
|
11500
|
+
* @version 209.0.0
|
|
11450
11501
|
*//**
|
|
11451
11502
|
* Constructs a new EventsApi.
|
|
11452
11503
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11471,7 +11522,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11471
11522
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11472
11523
|
* ExternalContacts service.
|
|
11473
11524
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11474
|
-
* @version
|
|
11525
|
+
* @version 209.0.0
|
|
11475
11526
|
*//**
|
|
11476
11527
|
* Constructs a new ExternalContactsApi.
|
|
11477
11528
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12007,7 +12058,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12007
12058
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
12008
12059
|
* Fax service.
|
|
12009
12060
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12010
|
-
* @version
|
|
12061
|
+
* @version 209.0.0
|
|
12011
12062
|
*//**
|
|
12012
12063
|
* Constructs a new FaxApi.
|
|
12013
12064
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12056,7 +12107,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12056
12107
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
12057
12108
|
* Flows service.
|
|
12058
12109
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12059
|
-
* @version
|
|
12110
|
+
* @version 209.0.0
|
|
12060
12111
|
*//**
|
|
12061
12112
|
* Constructs a new FlowsApi.
|
|
12062
12113
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12104,7 +12155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12104
12155
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
12105
12156
|
* Gamification service.
|
|
12106
12157
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12107
|
-
* @version
|
|
12158
|
+
* @version 209.0.0
|
|
12108
12159
|
*//**
|
|
12109
12160
|
* Constructs a new GamificationApi.
|
|
12110
12161
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12644,7 +12695,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12644
12695
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
12645
12696
|
* GeneralDataProtectionRegulation service.
|
|
12646
12697
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12647
|
-
* @version
|
|
12698
|
+
* @version 209.0.0
|
|
12648
12699
|
*//**
|
|
12649
12700
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12650
12701
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12679,7 +12730,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12679
12730
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12680
12731
|
* Geolocation service.
|
|
12681
12732
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12682
|
-
* @version
|
|
12733
|
+
* @version 209.0.0
|
|
12683
12734
|
*//**
|
|
12684
12735
|
* Constructs a new GeolocationApi.
|
|
12685
12736
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12713,7 +12764,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12713
12764
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12714
12765
|
* Greetings service.
|
|
12715
12766
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12716
|
-
* @version
|
|
12767
|
+
* @version 209.0.0
|
|
12717
12768
|
*//**
|
|
12718
12769
|
* Constructs a new GreetingsApi.
|
|
12719
12770
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12820,7 +12871,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12820
12871
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12821
12872
|
* Groups service.
|
|
12822
12873
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12823
|
-
* @version
|
|
12874
|
+
* @version 209.0.0
|
|
12824
12875
|
*//**
|
|
12825
12876
|
* Constructs a new GroupsApi.
|
|
12826
12877
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12953,7 +13004,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12953
13004
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12954
13005
|
* IdentityProvider service.
|
|
12955
13006
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12956
|
-
* @version
|
|
13007
|
+
* @version 209.0.0
|
|
12957
13008
|
*//**
|
|
12958
13009
|
* Constructs a new IdentityProviderApi.
|
|
12959
13010
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13109,7 +13160,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13109
13160
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
13110
13161
|
* InfrastructureAsCode service.
|
|
13111
13162
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13112
|
-
* @version
|
|
13163
|
+
* @version 209.0.0
|
|
13113
13164
|
*//**
|
|
13114
13165
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13115
13166
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13163,7 +13214,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13163
13214
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
13164
13215
|
* Integrations service.
|
|
13165
13216
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13166
|
-
* @version
|
|
13217
|
+
* @version 209.0.0
|
|
13167
13218
|
*//**
|
|
13168
13219
|
* Constructs a new IntegrationsApi.
|
|
13169
13220
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13798,7 +13849,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13798
13849
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13799
13850
|
* Journey service.
|
|
13800
13851
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13801
|
-
* @version
|
|
13852
|
+
* @version 209.0.0
|
|
13802
13853
|
*//**
|
|
13803
13854
|
* Constructs a new JourneyApi.
|
|
13804
13855
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14275,7 +14326,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14275
14326
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14276
14327
|
* Knowledge service.
|
|
14277
14328
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14278
|
-
* @version
|
|
14329
|
+
* @version 209.0.0
|
|
14279
14330
|
*//**
|
|
14280
14331
|
* Constructs a new KnowledgeApi.
|
|
14281
14332
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14416,8 +14467,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
14416
14467
|
* Get sync options available for a knowledge-connect integration
|
|
14417
14468
|
*
|
|
14418
14469
|
* @param {String} integrationId Integration ID
|
|
14419
|
-
|
|
14420
|
-
|
|
14470
|
+
* @param {Object} opts Optional parameters
|
|
14471
|
+
* @param {Array.<String>} opts.knowledgeBaseIds Narrowing down filtering option results by knowledge base.
|
|
14472
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
14473
|
+
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getKnowledgeIntegrationOptions';}return this.apiClient.callApi('/api/v2/knowledge/integrations/{integrationId}/options','GET',{'integrationId':integrationId},{'knowledgeBaseIds':this.apiClient.buildCollectionParam(opts['knowledgeBaseIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14421
14474
|
* Get knowledge base
|
|
14422
14475
|
*
|
|
14423
14476
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15343,7 +15396,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15343
15396
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15344
15397
|
* LanguageUnderstanding service.
|
|
15345
15398
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15346
|
-
* @version
|
|
15399
|
+
* @version 209.0.0
|
|
15347
15400
|
*//**
|
|
15348
15401
|
* Constructs a new LanguageUnderstandingApi.
|
|
15349
15402
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15603,7 +15656,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15603
15656
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
15604
15657
|
* Languages service.
|
|
15605
15658
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15606
|
-
* @version
|
|
15659
|
+
* @version 209.0.0
|
|
15607
15660
|
*//**
|
|
15608
15661
|
* Constructs a new LanguagesApi.
|
|
15609
15662
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15658,7 +15711,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15658
15711
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
15659
15712
|
* Learning service.
|
|
15660
15713
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15661
|
-
* @version
|
|
15714
|
+
* @version 209.0.0
|
|
15662
15715
|
*//**
|
|
15663
15716
|
* Constructs a new LearningApi.
|
|
15664
15717
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15929,7 +15982,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15929
15982
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15930
15983
|
* License service.
|
|
15931
15984
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15932
|
-
* @version
|
|
15985
|
+
* @version 209.0.0
|
|
15933
15986
|
*//**
|
|
15934
15987
|
* Constructs a new LicenseApi.
|
|
15935
15988
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15983,7 +16036,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15983
16036
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
15984
16037
|
* Locations service.
|
|
15985
16038
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15986
|
-
* @version
|
|
16039
|
+
* @version 209.0.0
|
|
15987
16040
|
*//**
|
|
15988
16041
|
* Constructs a new LocationsApi.
|
|
15989
16042
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16042,7 +16095,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16042
16095
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16043
16096
|
* LogCapture service.
|
|
16044
16097
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16045
|
-
* @version
|
|
16098
|
+
* @version 209.0.0
|
|
16046
16099
|
*//**
|
|
16047
16100
|
* Constructs a new LogCaptureApi.
|
|
16048
16101
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16092,7 +16145,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16092
16145
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16093
16146
|
* Messaging service.
|
|
16094
16147
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16095
|
-
* @version
|
|
16148
|
+
* @version 209.0.0
|
|
16096
16149
|
*//**
|
|
16097
16150
|
* Constructs a new MessagingApi.
|
|
16098
16151
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16182,7 +16235,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16182
16235
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16183
16236
|
* MobileDevices service.
|
|
16184
16237
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16185
|
-
* @version
|
|
16238
|
+
* @version 209.0.0
|
|
16186
16239
|
*//**
|
|
16187
16240
|
* Constructs a new MobileDevicesApi.
|
|
16188
16241
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16221,7 +16274,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16221
16274
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16222
16275
|
* Notifications service.
|
|
16223
16276
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16224
|
-
* @version
|
|
16277
|
+
* @version 209.0.0
|
|
16225
16278
|
*//**
|
|
16226
16279
|
* Constructs a new NotificationsApi.
|
|
16227
16280
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16278,7 +16331,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16278
16331
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16279
16332
|
* OAuth service.
|
|
16280
16333
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16281
|
-
* @version
|
|
16334
|
+
* @version 209.0.0
|
|
16282
16335
|
*//**
|
|
16283
16336
|
* Constructs a new OAuthApi.
|
|
16284
16337
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16363,7 +16416,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16363
16416
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16364
16417
|
* Objects service.
|
|
16365
16418
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16366
|
-
* @version
|
|
16419
|
+
* @version 209.0.0
|
|
16367
16420
|
*//**
|
|
16368
16421
|
* Constructs a new ObjectsApi.
|
|
16369
16422
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16434,7 +16487,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16434
16487
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
16435
16488
|
* OperationalEvents service.
|
|
16436
16489
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16437
|
-
* @version
|
|
16490
|
+
* @version 209.0.0
|
|
16438
16491
|
*//**
|
|
16439
16492
|
* Constructs a new OperationalEventsApi.
|
|
16440
16493
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16449,10 +16502,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16449
16502
|
if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';}return this.apiClient.callApi('/api/v2/usage/events/definitions/{eventDefinitionId}','GET',{'eventDefinitionId':eventDefinitionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16450
16503
|
* Get all operational event definitions
|
|
16451
16504
|
*
|
|
16452
|
-
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
16505
|
+
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16506
|
+
* Get aggregates for operational events in a timeframe.
|
|
16507
|
+
*
|
|
16508
|
+
* @param {Object} opts Optional parameters
|
|
16509
|
+
* @param {Object} opts.body
|
|
16510
|
+
*/},{key:"postUsageEventsAggregatesQuery",value:function postUsageEventsAggregatesQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/aggregates/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16511
|
+
* Query operational events in a timeframe.
|
|
16512
|
+
*
|
|
16513
|
+
* @param {Object} opts Optional parameters
|
|
16514
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
16515
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16516
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
16517
|
+
* @param {Object} opts.body
|
|
16518
|
+
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16453
16519
|
* Organization service.
|
|
16454
16520
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16455
|
-
* @version
|
|
16521
|
+
* @version 209.0.0
|
|
16456
16522
|
*//**
|
|
16457
16523
|
* Constructs a new OrganizationApi.
|
|
16458
16524
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16577,7 +16643,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16577
16643
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
16578
16644
|
* OrganizationAuthorization service.
|
|
16579
16645
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16580
|
-
* @version
|
|
16646
|
+
* @version 209.0.0
|
|
16581
16647
|
*//**
|
|
16582
16648
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16583
16649
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16911,7 +16977,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16911
16977
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16912
16978
|
* Outbound service.
|
|
16913
16979
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16914
|
-
* @version
|
|
16980
|
+
* @version 209.0.0
|
|
16915
16981
|
*//**
|
|
16916
16982
|
* Constructs a new OutboundApi.
|
|
16917
16983
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18018,7 +18084,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18018
18084
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
18019
18085
|
* Presence service.
|
|
18020
18086
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18021
|
-
* @version
|
|
18087
|
+
* @version 209.0.0
|
|
18022
18088
|
*//**
|
|
18023
18089
|
* Constructs a new PresenceApi.
|
|
18024
18090
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18191,7 +18257,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18191
18257
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
18192
18258
|
* ProcessAutomation service.
|
|
18193
18259
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18194
|
-
* @version
|
|
18260
|
+
* @version 209.0.0
|
|
18195
18261
|
*//**
|
|
18196
18262
|
* Constructs a new ProcessAutomationApi.
|
|
18197
18263
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18254,7 +18320,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18254
18320
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
18255
18321
|
* Quality service.
|
|
18256
18322
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18257
|
-
* @version
|
|
18323
|
+
* @version 209.0.0
|
|
18258
18324
|
*//**
|
|
18259
18325
|
* Constructs a new QualityApi.
|
|
18260
18326
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18339,7 +18405,8 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
18339
18405
|
* @param {String} opts.group group id
|
|
18340
18406
|
* @param {String} opts.agentTeamId team id of agents requested
|
|
18341
18407
|
* @param {String} opts.formContextId shared id between form versions
|
|
18342
|
-
|
|
18408
|
+
* @param {Object} opts.userState 'Legacy' fetches active and inactive users when evaluatorUserId or no user filters are supplied; otherwise fetches active users. 'Any' fetches users of 'active', 'inactive' and 'deleted' states. (default to Legacy)
|
|
18409
|
+
*/},{key:"getQualityAgentsActivity",value:function getQualityAgentsActivity(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/agents/activity','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'startTime':opts['startTime'],'endTime':opts['endTime'],'agentUserId':this.apiClient.buildCollectionParam(opts['agentUserId'],'multi'),'evaluatorUserId':opts['evaluatorUserId'],'name':opts['name'],'group':opts['group'],'agentTeamId':opts['agentTeamId'],'formContextId':opts['formContextId'],'userState':opts['userState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18343
18410
|
* Get a calibration by id. Requires either calibrator id or conversation id
|
|
18344
18411
|
*
|
|
18345
18412
|
* @param {String} calibrationId Calibration ID
|
|
@@ -18413,7 +18480,8 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
18413
18480
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
18414
18481
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
18415
18482
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
18416
|
-
|
|
18483
|
+
* @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
|
|
18484
|
+
*/},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder'],'includeDeletedUsers':opts['includeDeletedUsers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
18417
18485
|
* Get an evaluator activity
|
|
18418
18486
|
*
|
|
18419
18487
|
* @param {Object} opts Optional parameters
|
|
@@ -18731,7 +18799,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18731
18799
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
18732
18800
|
* Recording service.
|
|
18733
18801
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18734
|
-
* @version
|
|
18802
|
+
* @version 209.0.0
|
|
18735
18803
|
*//**
|
|
18736
18804
|
* Constructs a new RecordingApi.
|
|
18737
18805
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19143,7 +19211,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19143
19211
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
19144
19212
|
* ResponseManagement service.
|
|
19145
19213
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19146
|
-
* @version
|
|
19214
|
+
* @version 209.0.0
|
|
19147
19215
|
*//**
|
|
19148
19216
|
* Constructs a new ResponseManagementApi.
|
|
19149
19217
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19264,7 +19332,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19264
19332
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
19265
19333
|
* Routing service.
|
|
19266
19334
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19267
|
-
* @version
|
|
19335
|
+
* @version 209.0.0
|
|
19268
19336
|
*//**
|
|
19269
19337
|
* Constructs a new RoutingApi.
|
|
19270
19338
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19356,9 +19424,9 @@ if(skillGroupId===undefined||skillGroupId===null){throw'Missing the required par
|
|
|
19356
19424
|
if(addressId===undefined||addressId===null){throw'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';}return this.apiClient.callApi('/api/v2/routing/sms/addresses/{addressId}','DELETE',{'addressId':addressId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19357
19425
|
* Delete a phone number provisioned for SMS.
|
|
19358
19426
|
*
|
|
19359
|
-
* @param {String}
|
|
19360
|
-
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(
|
|
19361
|
-
if(
|
|
19427
|
+
* @param {String} phoneNumberId phone number
|
|
19428
|
+
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(phoneNumberId){// verify the required parameter 'phoneNumberId' is set
|
|
19429
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','DELETE',{'phoneNumberId':phoneNumberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19362
19430
|
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
19363
19431
|
*
|
|
19364
19432
|
* @param {String} userId User ID
|
|
@@ -19581,10 +19649,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
19581
19649
|
* Get Estimated Wait Time
|
|
19582
19650
|
*
|
|
19583
19651
|
* @param {String} queueId queueId
|
|
19584
|
-
* @param {
|
|
19585
|
-
|
|
19652
|
+
* @param {Object} mediaType mediaType
|
|
19653
|
+
* @param {Object} opts Optional parameters
|
|
19654
|
+
* @param {String} opts.labelId Unique id that represents the interaction label used with media type for EWT calculation
|
|
19655
|
+
*/},{key:"getRoutingQueueMediatypeEstimatedwaittime",value:function getRoutingQueueMediatypeEstimatedwaittime(queueId,mediaType,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
19586
19656
|
if(queueId===undefined||queueId===null){throw'Missing the required parameter "queueId" when calling getRoutingQueueMediatypeEstimatedwaittime';}// verify the required parameter 'mediaType' is set
|
|
19587
|
-
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19657
|
+
if(mediaType===undefined||mediaType===null){throw'Missing the required parameter "mediaType" when calling getRoutingQueueMediatypeEstimatedwaittime';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime','GET',{'queueId':queueId,'mediaType':mediaType},{'labelId':opts['labelId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19588
19658
|
* Get the members of this queue.
|
|
19589
19659
|
*
|
|
19590
19660
|
* @param {String} queueId Queue ID
|
|
@@ -19746,11 +19816,11 @@ if(countryCode===undefined||countryCode===null){throw'Missing the required param
|
|
|
19746
19816
|
if(phoneNumberType===undefined||phoneNumberType===null){throw'Missing the required parameter "phoneNumberType" when calling getRoutingSmsAvailablephonenumbers';}return this.apiClient.callApi('/api/v2/routing/sms/availablephonenumbers','GET',{},{'countryCode':countryCode,'region':opts['region'],'city':opts['city'],'areaCode':opts['areaCode'],'phoneNumberType':phoneNumberType,'pattern':opts['pattern'],'addressRequirement':opts['addressRequirement']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19747
19817
|
* Get a phone number provisioned for SMS.
|
|
19748
19818
|
*
|
|
19749
|
-
* @param {String}
|
|
19819
|
+
* @param {String} phoneNumberId phone number
|
|
19750
19820
|
* @param {Object} opts Optional parameters
|
|
19751
19821
|
* @param {Object} opts.expand Expand response with additional information
|
|
19752
|
-
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(
|
|
19753
|
-
if(
|
|
19822
|
+
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
19823
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling getRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','GET',{'phoneNumberId':phoneNumberId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19754
19824
|
* Get a list of provisioned phone numbers.
|
|
19755
19825
|
*
|
|
19756
19826
|
* @param {Object} opts Optional parameters
|
|
@@ -20212,11 +20282,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20212
20282
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20213
20283
|
* Update a phone number provisioned for SMS.
|
|
20214
20284
|
*
|
|
20215
|
-
* @param {String}
|
|
20285
|
+
* @param {String} phoneNumberId phone number
|
|
20216
20286
|
* @param {Object} body SmsPhoneNumber
|
|
20217
|
-
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(
|
|
20218
|
-
if(
|
|
20219
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{
|
|
20287
|
+
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
20288
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
20289
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRoutingSmsPhonenumber';}return this.apiClient.callApi('/api/v2/routing/sms/phonenumbers/{phoneNumberId}','PUT',{'phoneNumberId':phoneNumberId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20220
20290
|
* Update the user's Direct Routing Backup settings.
|
|
20221
20291
|
*
|
|
20222
20292
|
* @param {String} userId User ID
|
|
@@ -20268,7 +20338,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20268
20338
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
20269
20339
|
* SCIM service.
|
|
20270
20340
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20271
|
-
* @version
|
|
20341
|
+
* @version 209.0.0
|
|
20272
20342
|
*//**
|
|
20273
20343
|
* Constructs a new SCIMApi.
|
|
20274
20344
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20493,7 +20563,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20493
20563
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
20494
20564
|
* ScreenRecording service.
|
|
20495
20565
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20496
|
-
* @version
|
|
20566
|
+
* @version 209.0.0
|
|
20497
20567
|
*//**
|
|
20498
20568
|
* Constructs a new ScreenRecordingApi.
|
|
20499
20569
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20508,7 +20578,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20508
20578
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
20509
20579
|
* Scripts service.
|
|
20510
20580
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20511
|
-
* @version
|
|
20581
|
+
* @version 209.0.0
|
|
20512
20582
|
*//**
|
|
20513
20583
|
* Constructs a new ScriptsApi.
|
|
20514
20584
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20644,7 +20714,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20644
20714
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
20645
20715
|
* Search service.
|
|
20646
20716
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20647
|
-
* @version
|
|
20717
|
+
* @version 209.0.0
|
|
20648
20718
|
*//**
|
|
20649
20719
|
* Constructs a new SearchApi.
|
|
20650
20720
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20816,7 +20886,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20816
20886
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
20817
20887
|
* Settings service.
|
|
20818
20888
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20819
|
-
* @version
|
|
20889
|
+
* @version 209.0.0
|
|
20820
20890
|
*//**
|
|
20821
20891
|
* Constructs a new SettingsApi.
|
|
20822
20892
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20863,10 +20933,275 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20863
20933
|
* @param {Object} body AutoAnswerSettings
|
|
20864
20934
|
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
20865
20935
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}// verify the required parameter 'body' is set
|
|
20866
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
20936
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
20937
|
+
* SocialMedia service.
|
|
20938
|
+
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
20939
|
+
* @version 209.0.0
|
|
20940
|
+
*//**
|
|
20941
|
+
* Constructs a new SocialMediaApi.
|
|
20942
|
+
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
20943
|
+
* @class
|
|
20944
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
20945
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
20946
|
+
*/function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
20947
|
+
* Delete a social topic.
|
|
20948
|
+
*
|
|
20949
|
+
* @param {String} topicId topicId
|
|
20950
|
+
* @param {Object} opts Optional parameters
|
|
20951
|
+
* @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
|
|
20952
|
+
* deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20953
|
+
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
20954
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','DELETE',{'topicId':topicId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20955
|
+
* Delete a Facebook data ingestion rule.
|
|
20956
|
+
*
|
|
20957
|
+
* @param {String} topicId topicId
|
|
20958
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
20959
|
+
* @param {Object} opts Optional parameters
|
|
20960
|
+
* @param {Boolean} opts.hardDelete Determines whether a Facebook data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
20961
|
+
* deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20962
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
20963
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
20964
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20965
|
+
* Delete a open data ingestion rule.
|
|
20966
|
+
*
|
|
20967
|
+
* @param {String} topicId topicId
|
|
20968
|
+
* @param {String} openId openId
|
|
20969
|
+
* @param {Object} opts Optional parameters
|
|
20970
|
+
* @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
20971
|
+
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20972
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesOpenOpenId",value:function deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
20973
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
20974
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','DELETE',{'topicId':topicId,'openId':openId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20975
|
+
* Delete a X (formally Twitter) data ingestion rule.
|
|
20976
|
+
*
|
|
20977
|
+
* @param {String} topicId topicId
|
|
20978
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
20979
|
+
* @param {Object} opts Optional parameters
|
|
20980
|
+
* @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
20981
|
+
* deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20982
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
20983
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
20984
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','DELETE',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20985
|
+
* Get a single social topic.
|
|
20986
|
+
*
|
|
20987
|
+
* @param {String} topicId topicId
|
|
20988
|
+
* @param {Object} opts Optional parameters
|
|
20989
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
20990
|
+
* getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
20991
|
+
*/},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
20992
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','GET',{'topicId':topicId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20993
|
+
* Get a single Facebook data ingestion rule.
|
|
20994
|
+
*
|
|
20995
|
+
* @param {String} topicId topicId
|
|
20996
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
20997
|
+
* @param {Object} opts Optional parameters
|
|
20998
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
20999
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21000
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21001
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21002
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21003
|
+
* Get a single Facebook data ingestion rule version.
|
|
21004
|
+
*
|
|
21005
|
+
* @param {String} topicId topicId
|
|
21006
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21007
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21008
|
+
* @param {Object} opts Optional parameters
|
|
21009
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21010
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21011
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21012
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21013
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21014
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21015
|
+
* Get the Facebook data ingestion rule versions.
|
|
21016
|
+
*
|
|
21017
|
+
* @param {String} topicId topicId
|
|
21018
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21019
|
+
* @param {Object} opts Optional parameters
|
|
21020
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21021
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21022
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21023
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21024
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21025
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21026
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21027
|
+
* Get a single open data ingestion rule.
|
|
21028
|
+
*
|
|
21029
|
+
* @param {String} topicId topicId
|
|
21030
|
+
* @param {String} openId openId
|
|
21031
|
+
* @param {Object} opts Optional parameters
|
|
21032
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21033
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21034
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenId",value:function getSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21035
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21036
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','GET',{'topicId':topicId,'openId':openId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21037
|
+
* Get a single Open data ingestion rule version.
|
|
21038
|
+
*
|
|
21039
|
+
* @param {String} topicId topicId
|
|
21040
|
+
* @param {String} openId openId
|
|
21041
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21042
|
+
* @param {Object} opts Optional parameters
|
|
21043
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21044
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21045
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersion",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId,openId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21046
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'openId' is set
|
|
21047
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21048
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'openId':openId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21049
|
+
* Get the Open data ingestion rule versions.
|
|
21050
|
+
*
|
|
21051
|
+
* @param {String} topicId topicId
|
|
21052
|
+
* @param {String} openId openId
|
|
21053
|
+
* @param {Object} opts Optional parameters
|
|
21054
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21055
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21056
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21057
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21058
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersions",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21059
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}// verify the required parameter 'openId' is set
|
|
21060
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}/versions','GET',{'topicId':topicId,'openId':openId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21061
|
+
* Get a single X (formally Twitter) data ingestion rule.
|
|
21062
|
+
*
|
|
21063
|
+
* @param {String} topicId topicId
|
|
21064
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21065
|
+
* @param {Object} opts Optional parameters
|
|
21066
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21067
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21068
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21069
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21070
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21071
|
+
* Get a single X (formally Twitter) data ingestion rule version.
|
|
21072
|
+
*
|
|
21073
|
+
* @param {String} topicId topicId
|
|
21074
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21075
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21076
|
+
* @param {Object} opts Optional parameters
|
|
21077
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21078
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21079
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21080
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21081
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21082
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21083
|
+
* Get the Open data ingestion rule versions.
|
|
21084
|
+
*
|
|
21085
|
+
* @param {String} topicId topicId
|
|
21086
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21087
|
+
* @param {Object} opts Optional parameters
|
|
21088
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21089
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21090
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21091
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21092
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21093
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21094
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}/versions','GET',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21095
|
+
* Retrieve all social topics.
|
|
21096
|
+
*
|
|
21097
|
+
* @param {Object} opts Optional parameters
|
|
21098
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21099
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21100
|
+
* @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
|
|
21101
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21102
|
+
* getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21103
|
+
*/},{key:"getSocialmediaTopics",value:function getSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21104
|
+
* Update a social topic.
|
|
21105
|
+
*
|
|
21106
|
+
* @param {String} topicId topicId
|
|
21107
|
+
* @param {Object} opts Optional parameters
|
|
21108
|
+
* @param {Object} opts.body
|
|
21109
|
+
* patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21110
|
+
*/},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21111
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopic';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}','PATCH',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21112
|
+
* Update the status of a Facebook data ingestion rule.
|
|
21113
|
+
*
|
|
21114
|
+
* @param {String} topicId topicId
|
|
21115
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21116
|
+
* @param {Object} opts Optional parameters
|
|
21117
|
+
* @param {Object} opts.body
|
|
21118
|
+
* patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21119
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21120
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21121
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21122
|
+
* Update the status of a open data ingestion rule.
|
|
21123
|
+
*
|
|
21124
|
+
* @param {String} topicId topicId
|
|
21125
|
+
* @param {String} openId openId
|
|
21126
|
+
* @param {Object} opts Optional parameters
|
|
21127
|
+
* @param {Object} opts.body
|
|
21128
|
+
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21129
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesOpenOpenId",value:function patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21130
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21131
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PATCH',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21132
|
+
* Update the status of a X (formally Twitter) data ingestion rule.
|
|
21133
|
+
*
|
|
21134
|
+
* @param {String} topicId topicId
|
|
21135
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21136
|
+
* @param {Object} opts Optional parameters
|
|
21137
|
+
* @param {Object} opts.body
|
|
21138
|
+
* patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21139
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21140
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21141
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PATCH',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21142
|
+
* Create an Facebook data ingestion rule.
|
|
21143
|
+
*
|
|
21144
|
+
* @param {String} topicId topicId
|
|
21145
|
+
* @param {Object} opts Optional parameters
|
|
21146
|
+
* @param {Object} opts.body
|
|
21147
|
+
* postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21148
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21149
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21150
|
+
* Create an open data ingestion rule.
|
|
21151
|
+
*
|
|
21152
|
+
* @param {String} topicId topicId
|
|
21153
|
+
* @param {Object} opts Optional parameters
|
|
21154
|
+
* @param {Object} opts.body
|
|
21155
|
+
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21156
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesOpen",value:function postSocialmediaTopicDataingestionrulesOpen(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21157
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpen';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21158
|
+
* Create an twitter data ingestion rule.
|
|
21159
|
+
*
|
|
21160
|
+
* @param {String} topicId topicId
|
|
21161
|
+
* @param {Object} opts Optional parameters
|
|
21162
|
+
* @param {Object} opts.body
|
|
21163
|
+
* postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21164
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21165
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesTwitter';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21166
|
+
* Create a social topic.
|
|
21167
|
+
*
|
|
21168
|
+
* @param {Object} opts Optional parameters
|
|
21169
|
+
* @param {Object} opts.body
|
|
21170
|
+
* postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21171
|
+
*/},{key:"postSocialmediaTopics",value:function postSocialmediaTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/socialmedia/topics','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21172
|
+
* Update the Facebook data ingestion rule.
|
|
21173
|
+
*
|
|
21174
|
+
* @param {String} topicId topicId
|
|
21175
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21176
|
+
* @param {Object} opts Optional parameters
|
|
21177
|
+
* @param {Object} opts.body
|
|
21178
|
+
* putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21179
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21180
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21181
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21182
|
+
* Update the open data ingestion rule.
|
|
21183
|
+
*
|
|
21184
|
+
* @param {String} topicId topicId
|
|
21185
|
+
* @param {String} openId openId
|
|
21186
|
+
* @param {Object} opts Optional parameters
|
|
21187
|
+
* @param {Object} opts.body
|
|
21188
|
+
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21189
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesOpenOpenId",value:function putSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21190
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21191
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{openId}','PUT',{'topicId':topicId,'openId':openId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21192
|
+
* Update the X (formally Twitter) data ingestion rule.
|
|
21193
|
+
*
|
|
21194
|
+
* @param {String} topicId topicId
|
|
21195
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21196
|
+
* @param {Object} opts Optional parameters
|
|
21197
|
+
* @param {Object} opts.body
|
|
21198
|
+
* putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21199
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21200
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21201
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
20867
21202
|
* SpeechTextAnalytics service.
|
|
20868
21203
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20869
|
-
* @version
|
|
21204
|
+
* @version 209.0.0
|
|
20870
21205
|
*//**
|
|
20871
21206
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20872
21207
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -21165,7 +21500,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21165
21500
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
21166
21501
|
* Stations service.
|
|
21167
21502
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21168
|
-
* @version
|
|
21503
|
+
* @version 209.0.0
|
|
21169
21504
|
*//**
|
|
21170
21505
|
* Constructs a new StationsApi.
|
|
21171
21506
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21197,7 +21532,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21197
21532
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
21198
21533
|
* Suggest service.
|
|
21199
21534
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21200
|
-
* @version
|
|
21535
|
+
* @version 209.0.0
|
|
21201
21536
|
*//**
|
|
21202
21537
|
* Constructs a new SuggestApi.
|
|
21203
21538
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21237,7 +21572,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21237
21572
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
21238
21573
|
* TaskManagement service.
|
|
21239
21574
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21240
|
-
* @version
|
|
21575
|
+
* @version 209.0.0
|
|
21241
21576
|
*//**
|
|
21242
21577
|
* Constructs a new TaskManagementApi.
|
|
21243
21578
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21643,7 +21978,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21643
21978
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
21644
21979
|
* Teams service.
|
|
21645
21980
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21646
|
-
* @version
|
|
21981
|
+
* @version 209.0.0
|
|
21647
21982
|
*//**
|
|
21648
21983
|
* Constructs a new TeamsApi.
|
|
21649
21984
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -21723,7 +22058,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21723
22058
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
21724
22059
|
* Telephony service.
|
|
21725
22060
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
21726
|
-
* @version
|
|
22061
|
+
* @version 209.0.0
|
|
21727
22062
|
*//**
|
|
21728
22063
|
* Constructs a new TelephonyApi.
|
|
21729
22064
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21770,7 +22105,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21770
22105
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
21771
22106
|
* TelephonyProvidersEdge service.
|
|
21772
22107
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21773
|
-
* @version
|
|
22108
|
+
* @version 209.0.0
|
|
21774
22109
|
*//**
|
|
21775
22110
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21776
22111
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -22605,7 +22940,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
22605
22940
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
22606
22941
|
* Textbots service.
|
|
22607
22942
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
22608
|
-
* @version
|
|
22943
|
+
* @version 209.0.0
|
|
22609
22944
|
*//**
|
|
22610
22945
|
* Constructs a new TextbotsApi.
|
|
22611
22946
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -22640,7 +22975,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
22640
22975
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
22641
22976
|
* Tokens service.
|
|
22642
22977
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
22643
|
-
* @version
|
|
22978
|
+
* @version 209.0.0
|
|
22644
22979
|
*//**
|
|
22645
22980
|
* Constructs a new TokensApi.
|
|
22646
22981
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -22674,7 +23009,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22674
23009
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
22675
23010
|
* Uploads service.
|
|
22676
23011
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
22677
|
-
* @version
|
|
23012
|
+
* @version 209.0.0
|
|
22678
23013
|
*//**
|
|
22679
23014
|
* Constructs a new UploadsApi.
|
|
22680
23015
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -22740,7 +23075,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22740
23075
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
22741
23076
|
* Usage service.
|
|
22742
23077
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
22743
|
-
* @version
|
|
23078
|
+
* @version 209.0.0
|
|
22744
23079
|
*//**
|
|
22745
23080
|
* Constructs a new UsageApi.
|
|
22746
23081
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22794,7 +23129,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22794
23129
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
22795
23130
|
* UserRecordings service.
|
|
22796
23131
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22797
|
-
* @version
|
|
23132
|
+
* @version 209.0.0
|
|
22798
23133
|
*//**
|
|
22799
23134
|
* Constructs a new UserRecordingsApi.
|
|
22800
23135
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22851,7 +23186,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22851
23186
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
22852
23187
|
* Users service.
|
|
22853
23188
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22854
|
-
* @version
|
|
23189
|
+
* @version 209.0.0
|
|
22855
23190
|
*//**
|
|
22856
23191
|
* Constructs a new UsersApi.
|
|
22857
23192
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -23548,7 +23883,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
23548
23883
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
23549
23884
|
* Utilities service.
|
|
23550
23885
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
23551
|
-
* @version
|
|
23886
|
+
* @version 209.0.0
|
|
23552
23887
|
*//**
|
|
23553
23888
|
* Constructs a new UtilitiesApi.
|
|
23554
23889
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -23575,7 +23910,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23575
23910
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
23576
23911
|
* Voicemail service.
|
|
23577
23912
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
23578
|
-
* @version
|
|
23913
|
+
* @version 209.0.0
|
|
23579
23914
|
*//**
|
|
23580
23915
|
* Constructs a new VoicemailApi.
|
|
23581
23916
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -23737,7 +24072,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23737
24072
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
23738
24073
|
* WebChat service.
|
|
23739
24074
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
23740
|
-
* @version
|
|
24075
|
+
* @version 209.0.0
|
|
23741
24076
|
*//**
|
|
23742
24077
|
* Constructs a new WebChatApi.
|
|
23743
24078
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23872,7 +24207,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23872
24207
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
23873
24208
|
* WebDeployments service.
|
|
23874
24209
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23875
|
-
* @version
|
|
24210
|
+
* @version 209.0.0
|
|
23876
24211
|
*//**
|
|
23877
24212
|
* Constructs a new WebDeploymentsApi.
|
|
23878
24213
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23993,7 +24328,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23993
24328
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
23994
24329
|
* WebMessaging service.
|
|
23995
24330
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23996
|
-
* @version
|
|
24331
|
+
* @version 209.0.0
|
|
23997
24332
|
*//**
|
|
23998
24333
|
* Constructs a new WebMessagingApi.
|
|
23999
24334
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -24009,7 +24344,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
24009
24344
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
24010
24345
|
* Widgets service.
|
|
24011
24346
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
24012
|
-
* @version
|
|
24347
|
+
* @version 209.0.0
|
|
24013
24348
|
*//**
|
|
24014
24349
|
* Constructs a new WidgetsApi.
|
|
24015
24350
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -24044,7 +24379,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24044
24379
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
24045
24380
|
* WorkforceManagement service.
|
|
24046
24381
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
24047
|
-
* @version
|
|
24382
|
+
* @version 209.0.0
|
|
24048
24383
|
*//**
|
|
24049
24384
|
* Constructs a new WorkforceManagementApi.
|
|
24050
24385
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24769,7 +25104,7 @@ if(weekId===undefined||weekId===null){throw'Missing the required parameter "week
|
|
|
24769
25104
|
* Gets all the shift trades for a given week
|
|
24770
25105
|
*
|
|
24771
25106
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
24772
|
-
* @param {String} weekDateId The start date of the
|
|
25107
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
24773
25108
|
* @param {Object} opts Optional parameters
|
|
24774
25109
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
24775
25110
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -25068,7 +25403,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
25068
25403
|
* Updates a shift trade. This route can only be called by the initiating agent
|
|
25069
25404
|
*
|
|
25070
25405
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25071
|
-
* @param {String} weekDateId The start date of the
|
|
25406
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25072
25407
|
* @param {String} tradeId The ID of the shift trade to update
|
|
25073
25408
|
* @param {Object} body body
|
|
25074
25409
|
*/},{key:"patchWorkforcemanagementManagementunitWeekShifttrade",value:function patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -25635,7 +25970,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
25635
25970
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
25636
25971
|
*
|
|
25637
25972
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25638
|
-
* @param {String} weekDateId The start date of the
|
|
25973
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25639
25974
|
* @param {String} tradeId The ID of the shift trade to update
|
|
25640
25975
|
* @param {Object} body body
|
|
25641
25976
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttradeMatch",value:function postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -25646,7 +25981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25646
25981
|
* Adds a shift trade
|
|
25647
25982
|
*
|
|
25648
25983
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25649
|
-
* @param {String} weekDateId The start date of the
|
|
25984
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25650
25985
|
* @param {Object} body body
|
|
25651
25986
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttrades",value:function postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId,weekDateId,body){// verify the required parameter 'managementUnitId' is set
|
|
25652
25987
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';}// verify the required parameter 'weekDateId' is set
|
|
@@ -25655,7 +25990,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25655
25990
|
* Searches for potential shift trade matches for the current agent
|
|
25656
25991
|
*
|
|
25657
25992
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25658
|
-
* @param {String} weekDateId The start date of the
|
|
25993
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25659
25994
|
* @param {Object} body body
|
|
25660
25995
|
* @param {Object} opts Optional parameters
|
|
25661
25996
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -25666,7 +26001,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25666
26001
|
* Updates the state of a batch of shift trades
|
|
25667
26002
|
* Admin functionality is not supported with "mine".
|
|
25668
26003
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25669
|
-
* @param {String} weekDateId The start date of the
|
|
26004
|
+
* @param {String} weekDateId The start week date of the initiating shift in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25670
26005
|
* @param {Object} body body
|
|
25671
26006
|
* @param {Object} opts Optional parameters
|
|
25672
26007
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
@@ -25825,7 +26160,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25825
26160
|
* </pre>
|
|
25826
26161
|
* </p>
|
|
25827
26162
|
* @module purecloud-platform-client-v2/index
|
|
25828
|
-
* @version
|
|
26163
|
+
* @version 209.0.0
|
|
25829
26164
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
25830
26165
|
* The ApiClient constructor.
|
|
25831
26166
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -26007,6 +26342,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26007
26342
|
* The SettingsApi service constructor.
|
|
26008
26343
|
* @property {module:purecloud-platform-client-v2/api/SettingsApi}
|
|
26009
26344
|
*/this.SettingsApi=SettingsApi;/**
|
|
26345
|
+
* The SocialMediaApi service constructor.
|
|
26346
|
+
* @property {module:purecloud-platform-client-v2/api/SocialMediaApi}
|
|
26347
|
+
*/this.SocialMediaApi=SocialMediaApi;/**
|
|
26010
26348
|
* The SpeechTextAnalyticsApi service constructor.
|
|
26011
26349
|
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi}
|
|
26012
26350
|
*/this.SpeechTextAnalyticsApi=SpeechTextAnalyticsApi;/**
|
|
@@ -26073,4 +26411,4 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26073
26411
|
var index=new platformClient();module.exports=index;
|
|
26074
26412
|
|
|
26075
26413
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,require("timers").setImmediate)
|
|
26076
|
-
},{"buffer":3,"os":
|
|
26414
|
+
},{"buffer":3,"os":33,"path":34,"qs":37,"timers":43}]},{},[]);
|