purecloud-platform-client-v2 208.0.0 → 210.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 +1514 -138
- package/dist/web-amd/purecloud-platform-client-v2.js +1514 -138
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +516 -150
- package/dist/web-cjs/purecloud-platform-client-v2.js +697 -259
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +3829 -3147
- 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/DataPrivacyApi.js +175 -0
- 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 +240 -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 +9 -9
- 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 +11 -19
- package/src/purecloud-platform-client-v2/index.js +13 -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":23}],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":23}],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":20,"function-bind":23}],9:[function(require,module,exports){
|
|
1990
|
+
'use strict';
|
|
1991
|
+
|
|
1992
|
+
/** @type {import('./reflectApply')} */
|
|
1993
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && 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":24}],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":14,"set-function-length":41}],12:[function(require,module,exports){
|
|
1991
2039
|
'use strict';
|
|
1992
2040
|
|
|
1993
2041
|
var $defineProperty = require('es-define-property');
|
|
@@ -2045,13 +2093,36 @@ module.exports = function defineDataProperty(
|
|
|
2045
2093
|
}
|
|
2046
2094
|
};
|
|
2047
2095
|
|
|
2048
|
-
},{"es-define-property":
|
|
2096
|
+
},{"es-define-property":14,"es-errors/syntax":19,"es-errors/type":20,"gopd":26}],13:[function(require,module,exports){
|
|
2049
2097
|
'use strict';
|
|
2050
2098
|
|
|
2051
|
-
var
|
|
2099
|
+
var callBind = require('call-bind-apply-helpers');
|
|
2100
|
+
var gOPD = require('gopd');
|
|
2101
|
+
|
|
2102
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
2103
|
+
var hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
2104
|
+
|
|
2105
|
+
// eslint-disable-next-line no-extra-parens
|
|
2106
|
+
var desc = hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
2107
|
+
|
|
2108
|
+
var $Object = Object;
|
|
2109
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
2110
|
+
|
|
2111
|
+
/** @type {import('./get')} */
|
|
2112
|
+
module.exports = desc && typeof desc.get === 'function'
|
|
2113
|
+
? callBind([desc.get])
|
|
2114
|
+
: typeof $getPrototypeOf === 'function'
|
|
2115
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
2116
|
+
// eslint-disable-next-line eqeqeq
|
|
2117
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
2118
|
+
}
|
|
2119
|
+
: false;
|
|
2120
|
+
|
|
2121
|
+
},{"call-bind-apply-helpers":8,"gopd":26}],14:[function(require,module,exports){
|
|
2122
|
+
'use strict';
|
|
2052
2123
|
|
|
2053
2124
|
/** @type {import('.')} */
|
|
2054
|
-
var $defineProperty =
|
|
2125
|
+
var $defineProperty = Object.defineProperty || false;
|
|
2055
2126
|
if ($defineProperty) {
|
|
2056
2127
|
try {
|
|
2057
2128
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -2063,49 +2134,49 @@ if ($defineProperty) {
|
|
|
2063
2134
|
|
|
2064
2135
|
module.exports = $defineProperty;
|
|
2065
2136
|
|
|
2066
|
-
},{
|
|
2137
|
+
},{}],15:[function(require,module,exports){
|
|
2067
2138
|
'use strict';
|
|
2068
2139
|
|
|
2069
2140
|
/** @type {import('./eval')} */
|
|
2070
2141
|
module.exports = EvalError;
|
|
2071
2142
|
|
|
2072
|
-
},{}],
|
|
2143
|
+
},{}],16:[function(require,module,exports){
|
|
2073
2144
|
'use strict';
|
|
2074
2145
|
|
|
2075
2146
|
/** @type {import('.')} */
|
|
2076
2147
|
module.exports = Error;
|
|
2077
2148
|
|
|
2078
|
-
},{}],
|
|
2149
|
+
},{}],17:[function(require,module,exports){
|
|
2079
2150
|
'use strict';
|
|
2080
2151
|
|
|
2081
2152
|
/** @type {import('./range')} */
|
|
2082
2153
|
module.exports = RangeError;
|
|
2083
2154
|
|
|
2084
|
-
},{}],
|
|
2155
|
+
},{}],18:[function(require,module,exports){
|
|
2085
2156
|
'use strict';
|
|
2086
2157
|
|
|
2087
2158
|
/** @type {import('./ref')} */
|
|
2088
2159
|
module.exports = ReferenceError;
|
|
2089
2160
|
|
|
2090
|
-
},{}],
|
|
2161
|
+
},{}],19:[function(require,module,exports){
|
|
2091
2162
|
'use strict';
|
|
2092
2163
|
|
|
2093
2164
|
/** @type {import('./syntax')} */
|
|
2094
2165
|
module.exports = SyntaxError;
|
|
2095
2166
|
|
|
2096
|
-
},{}],
|
|
2167
|
+
},{}],20:[function(require,module,exports){
|
|
2097
2168
|
'use strict';
|
|
2098
2169
|
|
|
2099
2170
|
/** @type {import('./type')} */
|
|
2100
2171
|
module.exports = TypeError;
|
|
2101
2172
|
|
|
2102
|
-
},{}],
|
|
2173
|
+
},{}],21:[function(require,module,exports){
|
|
2103
2174
|
'use strict';
|
|
2104
2175
|
|
|
2105
2176
|
/** @type {import('./uri')} */
|
|
2106
2177
|
module.exports = URIError;
|
|
2107
2178
|
|
|
2108
|
-
},{}],
|
|
2179
|
+
},{}],22:[function(require,module,exports){
|
|
2109
2180
|
'use strict';
|
|
2110
2181
|
|
|
2111
2182
|
/* eslint no-invalid-this: 1 */
|
|
@@ -2191,14 +2262,14 @@ module.exports = function bind(that) {
|
|
|
2191
2262
|
return bound;
|
|
2192
2263
|
};
|
|
2193
2264
|
|
|
2194
|
-
},{}],
|
|
2265
|
+
},{}],23:[function(require,module,exports){
|
|
2195
2266
|
'use strict';
|
|
2196
2267
|
|
|
2197
2268
|
var implementation = require('./implementation');
|
|
2198
2269
|
|
|
2199
2270
|
module.exports = Function.prototype.bind || implementation;
|
|
2200
2271
|
|
|
2201
|
-
},{"./implementation":
|
|
2272
|
+
},{"./implementation":22}],24:[function(require,module,exports){
|
|
2202
2273
|
'use strict';
|
|
2203
2274
|
|
|
2204
2275
|
var undefined;
|
|
@@ -2220,14 +2291,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
2220
2291
|
} catch (e) {}
|
|
2221
2292
|
};
|
|
2222
2293
|
|
|
2223
|
-
var $gOPD =
|
|
2224
|
-
|
|
2225
|
-
try {
|
|
2226
|
-
$gOPD({}, '');
|
|
2227
|
-
} catch (e) {
|
|
2228
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2294
|
+
var $gOPD = require('gopd');
|
|
2295
|
+
var $defineProperty = require('es-define-property');
|
|
2231
2296
|
|
|
2232
2297
|
var throwTypeError = function () {
|
|
2233
2298
|
throw new $TypeError();
|
|
@@ -2250,13 +2315,14 @@ var ThrowTypeError = $gOPD
|
|
|
2250
2315
|
: throwTypeError;
|
|
2251
2316
|
|
|
2252
2317
|
var hasSymbols = require('has-symbols')();
|
|
2253
|
-
var
|
|
2318
|
+
var getDunderProto = require('dunder-proto/get');
|
|
2254
2319
|
|
|
2255
|
-
var getProto =
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
);
|
|
2320
|
+
var getProto = (typeof Reflect === 'function' && Reflect.getPrototypeOf)
|
|
2321
|
+
|| Object.getPrototypeOf
|
|
2322
|
+
|| getDunderProto;
|
|
2323
|
+
|
|
2324
|
+
var $apply = require('call-bind-apply-helpers/functionApply');
|
|
2325
|
+
var $call = require('call-bind-apply-helpers/functionCall');
|
|
2260
2326
|
|
|
2261
2327
|
var needsEval = {};
|
|
2262
2328
|
|
|
@@ -2304,6 +2370,7 @@ var INTRINSICS = {
|
|
|
2304
2370
|
'%Math%': Math,
|
|
2305
2371
|
'%Number%': Number,
|
|
2306
2372
|
'%Object%': Object,
|
|
2373
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
2307
2374
|
'%parseFloat%': parseFloat,
|
|
2308
2375
|
'%parseInt%': parseInt,
|
|
2309
2376
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -2329,7 +2396,11 @@ var INTRINSICS = {
|
|
|
2329
2396
|
'%URIError%': $URIError,
|
|
2330
2397
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
2331
2398
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
2332
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
2399
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
2400
|
+
|
|
2401
|
+
'%Function.prototype.call%': $call,
|
|
2402
|
+
'%Function.prototype.apply%': $apply,
|
|
2403
|
+
'%Object.defineProperty%': $defineProperty
|
|
2333
2404
|
};
|
|
2334
2405
|
|
|
2335
2406
|
if (getProto) {
|
|
@@ -2424,11 +2495,11 @@ var LEGACY_ALIASES = {
|
|
|
2424
2495
|
|
|
2425
2496
|
var bind = require('function-bind');
|
|
2426
2497
|
var hasOwn = require('hasown');
|
|
2427
|
-
var $concat = bind.call(
|
|
2428
|
-
var $spliceApply = bind.call(
|
|
2429
|
-
var $replace = bind.call(
|
|
2430
|
-
var $strSlice = bind.call(
|
|
2431
|
-
var $exec = bind.call(
|
|
2498
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
2499
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
2500
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
2501
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
2502
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
2432
2503
|
|
|
2433
2504
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
2434
2505
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -2559,12 +2630,17 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
2559
2630
|
return value;
|
|
2560
2631
|
};
|
|
2561
2632
|
|
|
2562
|
-
},{"es-errors":
|
|
2633
|
+
},{"call-bind-apply-helpers/functionApply":6,"call-bind-apply-helpers/functionCall":7,"dunder-proto/get":13,"es-define-property":14,"es-errors":16,"es-errors/eval":15,"es-errors/range":17,"es-errors/ref":18,"es-errors/syntax":19,"es-errors/type":20,"es-errors/uri":21,"function-bind":23,"gopd":26,"has-symbols":28,"hasown":30}],25:[function(require,module,exports){
|
|
2563
2634
|
'use strict';
|
|
2564
2635
|
|
|
2565
|
-
|
|
2636
|
+
/** @type {import('./gOPD')} */
|
|
2637
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
2638
|
+
|
|
2639
|
+
},{}],26:[function(require,module,exports){
|
|
2640
|
+
'use strict';
|
|
2566
2641
|
|
|
2567
|
-
|
|
2642
|
+
/** @type {import('.')} */
|
|
2643
|
+
var $gOPD = require('./gOPD');
|
|
2568
2644
|
|
|
2569
2645
|
if ($gOPD) {
|
|
2570
2646
|
try {
|
|
@@ -2577,7 +2653,7 @@ if ($gOPD) {
|
|
|
2577
2653
|
|
|
2578
2654
|
module.exports = $gOPD;
|
|
2579
2655
|
|
|
2580
|
-
},{"
|
|
2656
|
+
},{"./gOPD":25}],27:[function(require,module,exports){
|
|
2581
2657
|
'use strict';
|
|
2582
2658
|
|
|
2583
2659
|
var $defineProperty = require('es-define-property');
|
|
@@ -2601,29 +2677,13 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
2601
2677
|
|
|
2602
2678
|
module.exports = hasPropertyDescriptors;
|
|
2603
2679
|
|
|
2604
|
-
},{"es-define-property":
|
|
2605
|
-
'use strict';
|
|
2606
|
-
|
|
2607
|
-
var test = {
|
|
2608
|
-
__proto__: null,
|
|
2609
|
-
foo: {}
|
|
2610
|
-
};
|
|
2611
|
-
|
|
2612
|
-
var $Object = Object;
|
|
2613
|
-
|
|
2614
|
-
/** @type {import('.')} */
|
|
2615
|
-
module.exports = function hasProto() {
|
|
2616
|
-
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
2617
|
-
return { __proto__: test }.foo === test.foo
|
|
2618
|
-
&& !(test instanceof $Object);
|
|
2619
|
-
};
|
|
2620
|
-
|
|
2621
|
-
},{}],21:[function(require,module,exports){
|
|
2680
|
+
},{"es-define-property":14}],28:[function(require,module,exports){
|
|
2622
2681
|
'use strict';
|
|
2623
2682
|
|
|
2624
2683
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
2625
2684
|
var hasSymbolSham = require('./shams');
|
|
2626
2685
|
|
|
2686
|
+
/** @type {import('.')} */
|
|
2627
2687
|
module.exports = function hasNativeSymbols() {
|
|
2628
2688
|
if (typeof origSymbol !== 'function') { return false; }
|
|
2629
2689
|
if (typeof Symbol !== 'function') { return false; }
|
|
@@ -2633,14 +2693,16 @@ module.exports = function hasNativeSymbols() {
|
|
|
2633
2693
|
return hasSymbolSham();
|
|
2634
2694
|
};
|
|
2635
2695
|
|
|
2636
|
-
},{"./shams":
|
|
2696
|
+
},{"./shams":29}],29:[function(require,module,exports){
|
|
2637
2697
|
'use strict';
|
|
2638
2698
|
|
|
2699
|
+
/** @type {import('./shams')} */
|
|
2639
2700
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2640
2701
|
module.exports = function hasSymbols() {
|
|
2641
2702
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
2642
2703
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
2643
2704
|
|
|
2705
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
2644
2706
|
var obj = {};
|
|
2645
2707
|
var sym = Symbol('test');
|
|
2646
2708
|
var symObj = Object(sym);
|
|
@@ -2659,7 +2721,7 @@ module.exports = function hasSymbols() {
|
|
|
2659
2721
|
|
|
2660
2722
|
var symVal = 42;
|
|
2661
2723
|
obj[sym] = symVal;
|
|
2662
|
-
for (
|
|
2724
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
2663
2725
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
2664
2726
|
|
|
2665
2727
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -2670,14 +2732,15 @@ module.exports = function hasSymbols() {
|
|
|
2670
2732
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
2671
2733
|
|
|
2672
2734
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
2673
|
-
|
|
2735
|
+
// eslint-disable-next-line no-extra-parens
|
|
2736
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
2674
2737
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
2675
2738
|
}
|
|
2676
2739
|
|
|
2677
2740
|
return true;
|
|
2678
2741
|
};
|
|
2679
2742
|
|
|
2680
|
-
},{}],
|
|
2743
|
+
},{}],30:[function(require,module,exports){
|
|
2681
2744
|
'use strict';
|
|
2682
2745
|
|
|
2683
2746
|
var call = Function.prototype.call;
|
|
@@ -2687,7 +2750,7 @@ var bind = require('function-bind');
|
|
|
2687
2750
|
/** @type {import('.')} */
|
|
2688
2751
|
module.exports = bind.call(call, $hasOwn);
|
|
2689
2752
|
|
|
2690
|
-
},{"function-bind":
|
|
2753
|
+
},{"function-bind":23}],31:[function(require,module,exports){
|
|
2691
2754
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2692
2755
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
2693
2756
|
var e, m
|
|
@@ -2774,7 +2837,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
2774
2837
|
buffer[offset + i - d] |= s * 128
|
|
2775
2838
|
}
|
|
2776
2839
|
|
|
2777
|
-
},{}],
|
|
2840
|
+
},{}],32:[function(require,module,exports){
|
|
2778
2841
|
(function (global){(function (){
|
|
2779
2842
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
2780
2843
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -3319,7 +3382,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
3319
3382
|
}
|
|
3320
3383
|
|
|
3321
3384
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
3322
|
-
},{"./util.inspect":2}],
|
|
3385
|
+
},{"./util.inspect":2}],33:[function(require,module,exports){
|
|
3323
3386
|
exports.endianness = function () { return 'LE' };
|
|
3324
3387
|
|
|
3325
3388
|
exports.hostname = function () {
|
|
@@ -3370,7 +3433,7 @@ exports.homedir = function () {
|
|
|
3370
3433
|
return '/'
|
|
3371
3434
|
};
|
|
3372
3435
|
|
|
3373
|
-
},{}],
|
|
3436
|
+
},{}],34:[function(require,module,exports){
|
|
3374
3437
|
(function (process){(function (){
|
|
3375
3438
|
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
3376
3439
|
// transplited with Babel
|
|
@@ -3903,7 +3966,7 @@ posix.posix = posix;
|
|
|
3903
3966
|
module.exports = posix;
|
|
3904
3967
|
|
|
3905
3968
|
}).call(this)}).call(this,require('_process'))
|
|
3906
|
-
},{"_process":
|
|
3969
|
+
},{"_process":35}],35:[function(require,module,exports){
|
|
3907
3970
|
// shim for using process in browser
|
|
3908
3971
|
var process = module.exports = {};
|
|
3909
3972
|
|
|
@@ -4089,7 +4152,7 @@ process.chdir = function (dir) {
|
|
|
4089
4152
|
};
|
|
4090
4153
|
process.umask = function() { return 0; };
|
|
4091
4154
|
|
|
4092
|
-
},{}],
|
|
4155
|
+
},{}],36:[function(require,module,exports){
|
|
4093
4156
|
'use strict';
|
|
4094
4157
|
|
|
4095
4158
|
var replace = String.prototype.replace;
|
|
@@ -4114,7 +4177,7 @@ module.exports = {
|
|
|
4114
4177
|
RFC3986: Format.RFC3986
|
|
4115
4178
|
};
|
|
4116
4179
|
|
|
4117
|
-
},{}],
|
|
4180
|
+
},{}],37:[function(require,module,exports){
|
|
4118
4181
|
'use strict';
|
|
4119
4182
|
|
|
4120
4183
|
var stringify = require('./stringify');
|
|
@@ -4127,7 +4190,7 @@ module.exports = {
|
|
|
4127
4190
|
stringify: stringify
|
|
4128
4191
|
};
|
|
4129
4192
|
|
|
4130
|
-
},{"./formats":
|
|
4193
|
+
},{"./formats":36,"./parse":38,"./stringify":39}],38:[function(require,module,exports){
|
|
4131
4194
|
'use strict';
|
|
4132
4195
|
|
|
4133
4196
|
var utils = require('./utils');
|
|
@@ -4216,7 +4279,8 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4216
4279
|
var bracketEqualsPos = part.indexOf(']=');
|
|
4217
4280
|
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
|
4218
4281
|
|
|
4219
|
-
var key
|
|
4282
|
+
var key;
|
|
4283
|
+
var val;
|
|
4220
4284
|
if (pos === -1) {
|
|
4221
4285
|
key = options.decoder(part, defaults.decoder, charset, 'key');
|
|
4222
4286
|
val = options.strictNullHandling ? null : '';
|
|
@@ -4231,7 +4295,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4231
4295
|
}
|
|
4232
4296
|
|
|
4233
4297
|
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
|
4234
|
-
val = interpretNumericEntities(val);
|
|
4298
|
+
val = interpretNumericEntities(String(val));
|
|
4235
4299
|
}
|
|
4236
4300
|
|
|
4237
4301
|
if (part.indexOf('[]=') > -1) {
|
|
@@ -4261,7 +4325,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
4261
4325
|
? []
|
|
4262
4326
|
: [].concat(leaf);
|
|
4263
4327
|
} else {
|
|
4264
|
-
obj = options.plainObjects ?
|
|
4328
|
+
obj = options.plainObjects ? { __proto__: null } : {};
|
|
4265
4329
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
4266
4330
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
4267
4331
|
var index = parseInt(decodedRoot, 10);
|
|
@@ -4403,11 +4467,11 @@ module.exports = function (str, opts) {
|
|
|
4403
4467
|
var options = normalizeParseOptions(opts);
|
|
4404
4468
|
|
|
4405
4469
|
if (str === '' || str === null || typeof str === 'undefined') {
|
|
4406
|
-
return options.plainObjects ?
|
|
4470
|
+
return options.plainObjects ? { __proto__: null } : {};
|
|
4407
4471
|
}
|
|
4408
4472
|
|
|
4409
4473
|
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
|
4410
|
-
var obj = options.plainObjects ?
|
|
4474
|
+
var obj = options.plainObjects ? { __proto__: null } : {};
|
|
4411
4475
|
|
|
4412
4476
|
// Iterate over the keys and setup the new object
|
|
4413
4477
|
|
|
@@ -4425,7 +4489,7 @@ module.exports = function (str, opts) {
|
|
|
4425
4489
|
return utils.compact(obj);
|
|
4426
4490
|
};
|
|
4427
4491
|
|
|
4428
|
-
},{"./utils":
|
|
4492
|
+
},{"./utils":40}],39:[function(require,module,exports){
|
|
4429
4493
|
'use strict';
|
|
4430
4494
|
|
|
4431
4495
|
var getSideChannel = require('side-channel');
|
|
@@ -4462,11 +4526,13 @@ var defaults = {
|
|
|
4462
4526
|
arrayFormat: 'indices',
|
|
4463
4527
|
charset: 'utf-8',
|
|
4464
4528
|
charsetSentinel: false,
|
|
4529
|
+
commaRoundTrip: false,
|
|
4465
4530
|
delimiter: '&',
|
|
4466
4531
|
encode: true,
|
|
4467
4532
|
encodeDotInKeys: false,
|
|
4468
4533
|
encoder: utils.encode,
|
|
4469
4534
|
encodeValuesOnly: false,
|
|
4535
|
+
filter: void undefined,
|
|
4470
4536
|
format: defaultFormat,
|
|
4471
4537
|
formatter: formats.formatters[defaultFormat],
|
|
4472
4538
|
// deprecated
|
|
@@ -4578,7 +4644,7 @@ var stringify = function stringify(
|
|
|
4578
4644
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
4579
4645
|
}
|
|
4580
4646
|
|
|
4581
|
-
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
4647
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
|
|
4582
4648
|
|
|
4583
4649
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
4584
4650
|
|
|
@@ -4588,13 +4654,15 @@ var stringify = function stringify(
|
|
|
4588
4654
|
|
|
4589
4655
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
4590
4656
|
var key = objKeys[j];
|
|
4591
|
-
var value = typeof key === 'object' && typeof key.value !== 'undefined'
|
|
4657
|
+
var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
|
|
4658
|
+
? key.value
|
|
4659
|
+
: obj[key];
|
|
4592
4660
|
|
|
4593
4661
|
if (skipNulls && value === null) {
|
|
4594
4662
|
continue;
|
|
4595
4663
|
}
|
|
4596
4664
|
|
|
4597
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
4665
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
|
|
4598
4666
|
var keyPrefix = isArray(obj)
|
|
4599
4667
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
4600
4668
|
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
@@ -4685,7 +4753,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
4685
4753
|
arrayFormat: arrayFormat,
|
|
4686
4754
|
charset: charset,
|
|
4687
4755
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
4688
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
4756
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
4689
4757
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
4690
4758
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
4691
4759
|
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
@@ -4736,12 +4804,13 @@ module.exports = function (object, opts) {
|
|
|
4736
4804
|
var sideChannel = getSideChannel();
|
|
4737
4805
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
4738
4806
|
var key = objKeys[i];
|
|
4807
|
+
var value = obj[key];
|
|
4739
4808
|
|
|
4740
|
-
if (options.skipNulls &&
|
|
4809
|
+
if (options.skipNulls && value === null) {
|
|
4741
4810
|
continue;
|
|
4742
4811
|
}
|
|
4743
4812
|
pushToArray(keys, stringify(
|
|
4744
|
-
|
|
4813
|
+
value,
|
|
4745
4814
|
key,
|
|
4746
4815
|
generateArrayPrefix,
|
|
4747
4816
|
commaRoundTrip,
|
|
@@ -4778,7 +4847,7 @@ module.exports = function (object, opts) {
|
|
|
4778
4847
|
return joined.length > 0 ? prefix + joined : '';
|
|
4779
4848
|
};
|
|
4780
4849
|
|
|
4781
|
-
},{"./formats":
|
|
4850
|
+
},{"./formats":36,"./utils":40,"side-channel":42}],40:[function(require,module,exports){
|
|
4782
4851
|
'use strict';
|
|
4783
4852
|
|
|
4784
4853
|
var formats = require('./formats');
|
|
@@ -4815,7 +4884,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
4815
4884
|
};
|
|
4816
4885
|
|
|
4817
4886
|
var arrayToObject = function arrayToObject(source, options) {
|
|
4818
|
-
var obj = options && options.plainObjects ?
|
|
4887
|
+
var obj = options && options.plainObjects ? { __proto__: null } : {};
|
|
4819
4888
|
for (var i = 0; i < source.length; ++i) {
|
|
4820
4889
|
if (typeof source[i] !== 'undefined') {
|
|
4821
4890
|
obj[i] = source[i];
|
|
@@ -4831,11 +4900,14 @@ var merge = function merge(target, source, options) {
|
|
|
4831
4900
|
return target;
|
|
4832
4901
|
}
|
|
4833
4902
|
|
|
4834
|
-
if (typeof source !== 'object') {
|
|
4903
|
+
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
4835
4904
|
if (isArray(target)) {
|
|
4836
4905
|
target.push(source);
|
|
4837
4906
|
} else if (target && typeof target === 'object') {
|
|
4838
|
-
if (
|
|
4907
|
+
if (
|
|
4908
|
+
(options && (options.plainObjects || options.allowPrototypes))
|
|
4909
|
+
|| !has.call(Object.prototype, source)
|
|
4910
|
+
) {
|
|
4839
4911
|
target[source] = true;
|
|
4840
4912
|
}
|
|
4841
4913
|
} else {
|
|
@@ -4889,7 +4961,7 @@ var assign = function assignSingleSource(target, source) {
|
|
|
4889
4961
|
}, target);
|
|
4890
4962
|
};
|
|
4891
4963
|
|
|
4892
|
-
var decode = function (str,
|
|
4964
|
+
var decode = function (str, defaultDecoder, charset) {
|
|
4893
4965
|
var strWithoutPlus = str.replace(/\+/g, ' ');
|
|
4894
4966
|
if (charset === 'iso-8859-1') {
|
|
4895
4967
|
// unescape never throws, no try...catch needed:
|
|
@@ -5045,7 +5117,7 @@ module.exports = {
|
|
|
5045
5117
|
merge: merge
|
|
5046
5118
|
};
|
|
5047
5119
|
|
|
5048
|
-
},{"./formats":
|
|
5120
|
+
},{"./formats":36}],41:[function(require,module,exports){
|
|
5049
5121
|
'use strict';
|
|
5050
5122
|
|
|
5051
5123
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5089,7 +5161,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
5089
5161
|
return fn;
|
|
5090
5162
|
};
|
|
5091
5163
|
|
|
5092
|
-
},{"define-data-property":
|
|
5164
|
+
},{"define-data-property":12,"es-errors/type":20,"get-intrinsic":24,"gopd":26,"has-property-descriptors":27}],42:[function(require,module,exports){
|
|
5093
5165
|
'use strict';
|
|
5094
5166
|
|
|
5095
5167
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5220,7 +5292,7 @@ module.exports = function getSideChannel() {
|
|
|
5220
5292
|
return channel;
|
|
5221
5293
|
};
|
|
5222
5294
|
|
|
5223
|
-
},{"call-bind/callBound":
|
|
5295
|
+
},{"call-bind/callBound":10,"es-errors/type":20,"get-intrinsic":24,"object-inspect":32}],43:[function(require,module,exports){
|
|
5224
5296
|
(function (setImmediate,clearImmediate){(function (){
|
|
5225
5297
|
var nextTick = require('process/browser.js').nextTick;
|
|
5226
5298
|
var apply = Function.prototype.apply;
|
|
@@ -5299,7 +5371,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
|
|
|
5299
5371
|
delete immediateIds[id];
|
|
5300
5372
|
};
|
|
5301
5373
|
}).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
5302
|
-
},{"process/browser.js":
|
|
5374
|
+
},{"process/browser.js":35,"timers":43}],"platformClient":[function(require,module,exports){
|
|
5303
5375
|
(function (global,Buffer,setImmediate){(function (){
|
|
5304
5376
|
'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
5377
|
// if there are two placeholders, than the two characters before it
|
|
@@ -5818,10 +5890,10 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
|
|
|
5818
5890
|
*
|
|
5819
5891
|
* @param {string} url The base of the url (e.g., http://www.google.com)
|
|
5820
5892
|
* @param {object} [params] The params to be appended
|
|
5821
|
-
* @param {?object} options
|
|
5893
|
+
* @param {?(object|Function)} options
|
|
5822
5894
|
*
|
|
5823
5895
|
* @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=[];}/**
|
|
5896
|
+
*/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
5897
|
* Add a new interceptor to the stack
|
|
5826
5898
|
*
|
|
5827
5899
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
@@ -5957,22 +6029,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
|
|
|
5957
6029
|
* @param {Function} fn
|
|
5958
6030
|
* @param {Number} freq
|
|
5959
6031
|
* @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
|
|
6032
|
+
*/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
6033
|
{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
6034
|
{write:function write(){},read:function read(){return null;},remove:function remove(){}};/**
|
|
5978
6035
|
* Determines whether the specified URL is absolute
|
|
@@ -6008,11 +6065,11 @@ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);}/**
|
|
|
6008
6065
|
*
|
|
6009
6066
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
6010
6067
|
*/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
|
|
6068
|
+
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
|
|
6069
|
+
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
6070
|
function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
|
|
6014
6071
|
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
|
|
6072
|
+
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
6073
|
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
6074
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
6018
6075
|
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 +6125,7 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
|
|
|
6068
6125
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
6069
6126
|
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
6127
|
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.
|
|
6128
|
+
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
6129
|
['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
6130
|
* Transitional option validator
|
|
6074
6131
|
*
|
|
@@ -6079,7 +6136,8 @@ if(reason&&reason.response){reason.response.data=transformData.call(config,confi
|
|
|
6079
6136
|
* @returns {function}
|
|
6080
6137
|
*/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
6138
|
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;};}
|
|
6139
|
+
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
|
|
6140
|
+
console.warn("".concat(opt," is likely a misspelling of ").concat(correctSpelling));return true;};};/**
|
|
6083
6141
|
* Assert object's properties type
|
|
6084
6142
|
*
|
|
6085
6143
|
* @param {object} options
|
|
@@ -6100,11 +6158,11 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
|
|
|
6100
6158
|
* @param {?Object} config
|
|
6101
6159
|
*
|
|
6102
6160
|
* @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
|
|
6161
|
+
*/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
6162
|
stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';try{if(!_context9.t0.stack){_context9.t0.stack=stack;// match without the 2 top stack lines
|
|
6105
6163
|
}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
6164
|
}}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);}}
|
|
6165
|
+
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
6166
|
config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
|
|
6109
6167
|
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
6168
|
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 +6252,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6194
6252
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6195
6253
|
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
6254
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6197
|
-
* @version
|
|
6255
|
+
* @version 210.0.0
|
|
6198
6256
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6199
6257
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6200
6258
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6516,7 +6574,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6516
6574
|
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
6575
|
* AgentAssistants service.
|
|
6518
6576
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6519
|
-
* @version
|
|
6577
|
+
* @version 210.0.0
|
|
6520
6578
|
*//**
|
|
6521
6579
|
* Constructs a new AgentAssistantsApi.
|
|
6522
6580
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6617,7 +6675,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6617
6675
|
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
6676
|
* AgentCopilot service.
|
|
6619
6677
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6620
|
-
* @version
|
|
6678
|
+
* @version 210.0.0
|
|
6621
6679
|
*//**
|
|
6622
6680
|
* Constructs a new AgentCopilotApi.
|
|
6623
6681
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6639,7 +6697,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6639
6697
|
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
6698
|
* AgentUI service.
|
|
6641
6699
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6642
|
-
* @version
|
|
6700
|
+
* @version 210.0.0
|
|
6643
6701
|
*//**
|
|
6644
6702
|
* Constructs a new AgentUIApi.
|
|
6645
6703
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6673,7 +6731,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6673
6731
|
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
6732
|
* Alerting service.
|
|
6675
6733
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6676
|
-
* @version
|
|
6734
|
+
* @version 210.0.0
|
|
6677
6735
|
*//**
|
|
6678
6736
|
* Constructs a new AlertingApi.
|
|
6679
6737
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6830,7 +6888,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6830
6888
|
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
6889
|
* Analytics service.
|
|
6832
6890
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6833
|
-
* @version
|
|
6891
|
+
* @version 210.0.0
|
|
6834
6892
|
*//**
|
|
6835
6893
|
* Constructs a new AnalyticsApi.
|
|
6836
6894
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6877,7 +6935,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6877
6935
|
*/},{key:"getAnalyticsAgentcopilotsAggregatesJobResults",value:function getAnalyticsAgentcopilotsAggregatesJobResults(jobId,opts){opts=opts||{};// verify the required parameter 'jobId' is set
|
|
6878
6936
|
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
6937
|
* 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.
|
|
6938
|
+
* 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
6939
|
* @param {String} botFlowId ID of the bot flow.
|
|
6882
6940
|
* @param {Object} opts Optional parameters
|
|
6883
6941
|
* @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 +6948,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
6890
6948
|
*/},{key:"getAnalyticsBotflowDivisionsReportingturns",value:function getAnalyticsBotflowDivisionsReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6891
6949
|
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
6950
|
* 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.
|
|
6951
|
+
* 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
6952
|
* @param {String} botFlowId ID of the bot flow.
|
|
6895
6953
|
* @param {Object} opts Optional parameters
|
|
6896
6954
|
* @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 +6962,7 @@ if(botFlowId===undefined||botFlowId===null){throw'Missing the required parameter
|
|
|
6904
6962
|
*/},{key:"getAnalyticsBotflowReportingturns",value:function getAnalyticsBotflowReportingturns(botFlowId,opts){opts=opts||{};// verify the required parameter 'botFlowId' is set
|
|
6905
6963
|
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
6964
|
* 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.
|
|
6965
|
+
* 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
6966
|
* @param {String} botFlowId ID of the bot flow.
|
|
6909
6967
|
* @param {Object} opts Optional parameters
|
|
6910
6968
|
* @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 +7510,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7452
7510
|
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
7511
|
* Architect service.
|
|
7454
7512
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7455
|
-
* @version
|
|
7513
|
+
* @version 210.0.0
|
|
7456
7514
|
*//**
|
|
7457
7515
|
* Constructs a new ArchitectApi.
|
|
7458
7516
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8544,7 +8602,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8544
8602
|
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
8603
|
* Audit service.
|
|
8546
8604
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8547
|
-
* @version
|
|
8605
|
+
* @version 210.0.0
|
|
8548
8606
|
*//**
|
|
8549
8607
|
* Constructs a new AuditApi.
|
|
8550
8608
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8594,7 +8652,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8594
8652
|
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
8653
|
* Authorization service.
|
|
8596
8654
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8597
|
-
* @version
|
|
8655
|
+
* @version 210.0.0
|
|
8598
8656
|
*//**
|
|
8599
8657
|
* Constructs a new AuthorizationApi.
|
|
8600
8658
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8917,7 +8975,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8917
8975
|
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
8976
|
* Billing service.
|
|
8919
8977
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8920
|
-
* @version
|
|
8978
|
+
* @version 210.0.0
|
|
8921
8979
|
*//**
|
|
8922
8980
|
* Constructs a new BillingApi.
|
|
8923
8981
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8941,7 +8999,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8941
8999
|
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
9000
|
* CarrierServices service.
|
|
8943
9001
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8944
|
-
* @version
|
|
9002
|
+
* @version 210.0.0
|
|
8945
9003
|
*//**
|
|
8946
9004
|
* Constructs a new CarrierServicesApi.
|
|
8947
9005
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8961,7 +9019,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8961
9019
|
*/},{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
9020
|
* Chat service.
|
|
8963
9021
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8964
|
-
* @version
|
|
9022
|
+
* @version 210.0.0
|
|
8965
9023
|
*//**
|
|
8966
9024
|
* Constructs a new ChatApi.
|
|
8967
9025
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9186,7 +9244,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9186
9244
|
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
9245
|
* Coaching service.
|
|
9188
9246
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9189
|
-
* @version
|
|
9247
|
+
* @version 210.0.0
|
|
9190
9248
|
*//**
|
|
9191
9249
|
* Constructs a new CoachingApi.
|
|
9192
9250
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9339,7 +9397,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9339
9397
|
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
9398
|
* ContentManagement service.
|
|
9341
9399
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9342
|
-
* @version
|
|
9400
|
+
* @version 210.0.0
|
|
9343
9401
|
*//**
|
|
9344
9402
|
* Constructs a new ContentManagementApi.
|
|
9345
9403
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9621,7 +9679,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9621
9679
|
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
9680
|
* Conversations service.
|
|
9623
9681
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9624
|
-
* @version
|
|
9682
|
+
* @version 210.0.0
|
|
9625
9683
|
*//**
|
|
9626
9684
|
* Constructs a new ConversationsApi.
|
|
9627
9685
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -9805,7 +9863,6 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
9805
9863
|
* Get the summaries of the conversation.
|
|
9806
9864
|
*
|
|
9807
9865
|
* @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
9866
|
*/},{key:"getConversationSummaries",value:function getConversationSummaries(conversationId){// verify the required parameter 'conversationId' is set
|
|
9810
9867
|
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
9868
|
* Get active conversations for the logged in user
|
|
@@ -11350,7 +11407,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11350
11407
|
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
11408
|
* DataExtensions service.
|
|
11352
11409
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11353
|
-
* @version
|
|
11410
|
+
* @version 210.0.0
|
|
11354
11411
|
*//**
|
|
11355
11412
|
* Constructs a new DataExtensionsApi.
|
|
11356
11413
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11368,10 +11425,50 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11368
11425
|
*/},{key:"getDataextensionsCoretypes",value:function getDataextensionsCoretypes(){return this.apiClient.callApi('/api/v2/dataextensions/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11369
11426
|
* Get quantitative limits on schemas
|
|
11370
11427
|
*
|
|
11371
|
-
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
11428
|
+
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
11429
|
+
* DataPrivacy service.
|
|
11430
|
+
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11431
|
+
* @version 210.0.0
|
|
11432
|
+
*//**
|
|
11433
|
+
* Constructs a new DataPrivacyApi.
|
|
11434
|
+
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11435
|
+
* @class
|
|
11436
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11437
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11438
|
+
*/function DataPrivacyApi(apiClient){_classCallCheck(this,DataPrivacyApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11439
|
+
* Delete a masking rule.
|
|
11440
|
+
*
|
|
11441
|
+
* @param {String} ruleId ruleId
|
|
11442
|
+
*/return _createClass(DataPrivacyApi,[{key:"deleteDataprivacyMaskingrule",value:function deleteDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
11443
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11444
|
+
* Fetch details about a masking rule.
|
|
11445
|
+
*
|
|
11446
|
+
* @param {String} ruleId ruleId
|
|
11447
|
+
*/},{key:"getDataprivacyMaskingrule",value:function getDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
11448
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11449
|
+
* Retrieve the list of masking rules.
|
|
11450
|
+
*
|
|
11451
|
+
*/},{key:"getDataprivacyMaskingrules",value:function getDataprivacyMaskingrules(){return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11452
|
+
* Update information about a masking rule.
|
|
11453
|
+
*
|
|
11454
|
+
* @param {String} ruleId ruleId
|
|
11455
|
+
* @param {Object} opts Optional parameters
|
|
11456
|
+
* @param {Object} opts.body
|
|
11457
|
+
*/},{key:"patchDataprivacyMaskingrule",value:function patchDataprivacyMaskingrule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
11458
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11459
|
+
* Create a new masking rule resource.
|
|
11460
|
+
*
|
|
11461
|
+
* @param {Object} body Details for creating masking rule resource
|
|
11462
|
+
*/},{key:"postDataprivacyMaskingrules",value:function postDataprivacyMaskingrules(body){// verify the required parameter 'body' is set
|
|
11463
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrules';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11464
|
+
* Validate masking before creating.
|
|
11465
|
+
*
|
|
11466
|
+
* @param {Object} body Text to be masked
|
|
11467
|
+
*/},{key:"postDataprivacyMaskingrulesValidate",value:function postDataprivacyMaskingrulesValidate(body){// verify the required parameter 'body' is set
|
|
11468
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11372
11469
|
* Downloads service.
|
|
11373
11470
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11374
|
-
* @version
|
|
11471
|
+
* @version 210.0.0
|
|
11375
11472
|
*//**
|
|
11376
11473
|
* Constructs a new DownloadsApi.
|
|
11377
11474
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11390,7 +11487,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11390
11487
|
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
11488
|
* Emails service.
|
|
11392
11489
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11393
|
-
* @version
|
|
11490
|
+
* @version 210.0.0
|
|
11394
11491
|
*//**
|
|
11395
11492
|
* Constructs a new EmailsApi.
|
|
11396
11493
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11408,7 +11505,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11408
11505
|
*/},{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
11506
|
* EmployeeEngagement service.
|
|
11410
11507
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11411
|
-
* @version
|
|
11508
|
+
* @version 210.0.0
|
|
11412
11509
|
*//**
|
|
11413
11510
|
* Constructs a new EmployeeEngagementApi.
|
|
11414
11511
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11446,7 +11543,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11446
11543
|
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
11544
|
* Events service.
|
|
11448
11545
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11449
|
-
* @version
|
|
11546
|
+
* @version 210.0.0
|
|
11450
11547
|
*//**
|
|
11451
11548
|
* Constructs a new EventsApi.
|
|
11452
11549
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11471,7 +11568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11471
11568
|
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
11569
|
* ExternalContacts service.
|
|
11473
11570
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11474
|
-
* @version
|
|
11571
|
+
* @version 210.0.0
|
|
11475
11572
|
*//**
|
|
11476
11573
|
* Constructs a new ExternalContactsApi.
|
|
11477
11574
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11506,6 +11603,11 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
|
|
|
11506
11603
|
* @param {String} settingsId Settings id
|
|
11507
11604
|
*/},{key:"deleteExternalcontactsImportCsvSetting",value:function deleteExternalcontactsImportCsvSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11508
11605
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11606
|
+
* Delete Settings
|
|
11607
|
+
*
|
|
11608
|
+
* @param {String} settingsId Settings id
|
|
11609
|
+
*/},{key:"deleteExternalcontactsImportSetting",value:function deleteExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11610
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11509
11611
|
* Delete an external organization
|
|
11510
11612
|
*
|
|
11511
11613
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -11639,6 +11741,32 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
|
|
|
11639
11741
|
* @param {String} uploadId Upload id
|
|
11640
11742
|
*/},{key:"getExternalcontactsImportCsvUploadPreview",value:function getExternalcontactsImportCsvUploadPreview(uploadId){// verify the required parameter 'uploadId' is set
|
|
11641
11743
|
if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads/{uploadId}/preview','GET',{'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11744
|
+
* Get job based on id
|
|
11745
|
+
*
|
|
11746
|
+
* @param {String} jobId Job id
|
|
11747
|
+
*/},{key:"getExternalcontactsImportJob",value:function getExternalcontactsImportJob(jobId){// verify the required parameter 'jobId' is set
|
|
11748
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11749
|
+
* List jobs for organization
|
|
11750
|
+
*
|
|
11751
|
+
* @param {Object} opts Optional parameters
|
|
11752
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11753
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
11754
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
11755
|
+
* @param {Object} opts.jobStatus Search term to filter by jobStatus
|
|
11756
|
+
*/},{key:"getExternalcontactsImportJobs",value:function getExternalcontactsImportJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'jobStatus':opts['jobStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11757
|
+
* Get setting based on id
|
|
11758
|
+
*
|
|
11759
|
+
* @param {String} settingsId Settings id
|
|
11760
|
+
*/},{key:"getExternalcontactsImportSetting",value:function getExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11761
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','GET',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11762
|
+
* List settings for organization
|
|
11763
|
+
*
|
|
11764
|
+
* @param {Object} opts Optional parameters
|
|
11765
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11766
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
11767
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
11768
|
+
* @param {String} opts.name Search term to filter by settings name
|
|
11769
|
+
*/},{key:"getExternalcontactsImportSettings",value:function getExternalcontactsImportSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11642
11770
|
* Fetch an external organization
|
|
11643
11771
|
*
|
|
11644
11772
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -11897,6 +12025,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11897
12025
|
* @param {Object} body UploadRequest
|
|
11898
12026
|
*/},{key:"postExternalcontactsImportCsvUploads",value:function postExternalcontactsImportCsvUploads(body){// verify the required parameter 'body' is set
|
|
11899
12027
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvUploads';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12028
|
+
* Create a new job
|
|
12029
|
+
*
|
|
12030
|
+
* @param {Object} body Job
|
|
12031
|
+
*/},{key:"postExternalcontactsImportJobs",value:function postExternalcontactsImportJobs(body){// verify the required parameter 'body' is set
|
|
12032
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportJobs';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12033
|
+
* Create a new settings
|
|
12034
|
+
*
|
|
12035
|
+
* @param {Object} body Setting
|
|
12036
|
+
*/},{key:"postExternalcontactsImportSettings",value:function postExternalcontactsImportSettings(body){// verify the required parameter 'body' is set
|
|
12037
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11900
12038
|
* Merge two contacts into a new contact record
|
|
11901
12039
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
11902
12040
|
* @param {Object} body MergeRequest
|
|
@@ -11968,6 +12106,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11968
12106
|
*/},{key:"putExternalcontactsImportCsvSetting",value:function putExternalcontactsImportCsvSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
11969
12107
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';}// verify the required parameter 'body' is set
|
|
11970
12108
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12109
|
+
* Update Job's workflow status
|
|
12110
|
+
*
|
|
12111
|
+
* @param {String} jobId Job id
|
|
12112
|
+
* @param {Object} body Status of the Job's workflow
|
|
12113
|
+
*/},{key:"putExternalcontactsImportJob",value:function putExternalcontactsImportJob(jobId,body){// verify the required parameter 'jobId' is set
|
|
12114
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';}// verify the required parameter 'body' is set
|
|
12115
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','PUT',{'jobId':jobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12116
|
+
* Update settings
|
|
12117
|
+
*
|
|
12118
|
+
* @param {String} settingsId Settings id
|
|
12119
|
+
* @param {Object} body Setting
|
|
12120
|
+
*/},{key:"putExternalcontactsImportSetting",value:function putExternalcontactsImportSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
12121
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';}// verify the required parameter 'body' is set
|
|
12122
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11971
12123
|
* Update an external organization
|
|
11972
12124
|
*
|
|
11973
12125
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -12007,7 +12159,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12007
12159
|
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
12160
|
* Fax service.
|
|
12009
12161
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12010
|
-
* @version
|
|
12162
|
+
* @version 210.0.0
|
|
12011
12163
|
*//**
|
|
12012
12164
|
* Constructs a new FaxApi.
|
|
12013
12165
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12056,7 +12208,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12056
12208
|
*/},{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
12209
|
* Flows service.
|
|
12058
12210
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12059
|
-
* @version
|
|
12211
|
+
* @version 210.0.0
|
|
12060
12212
|
*//**
|
|
12061
12213
|
* Constructs a new FlowsApi.
|
|
12062
12214
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12104,7 +12256,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12104
12256
|
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
12257
|
* Gamification service.
|
|
12106
12258
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12107
|
-
* @version
|
|
12259
|
+
* @version 210.0.0
|
|
12108
12260
|
*//**
|
|
12109
12261
|
* Constructs a new GamificationApi.
|
|
12110
12262
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12644,7 +12796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12644
12796
|
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
12797
|
* GeneralDataProtectionRegulation service.
|
|
12646
12798
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12647
|
-
* @version
|
|
12799
|
+
* @version 210.0.0
|
|
12648
12800
|
*//**
|
|
12649
12801
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12650
12802
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12679,7 +12831,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12679
12831
|
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
12832
|
* Geolocation service.
|
|
12681
12833
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12682
|
-
* @version
|
|
12834
|
+
* @version 210.0.0
|
|
12683
12835
|
*//**
|
|
12684
12836
|
* Constructs a new GeolocationApi.
|
|
12685
12837
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12713,7 +12865,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12713
12865
|
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
12866
|
* Greetings service.
|
|
12715
12867
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12716
|
-
* @version
|
|
12868
|
+
* @version 210.0.0
|
|
12717
12869
|
*//**
|
|
12718
12870
|
* Constructs a new GreetingsApi.
|
|
12719
12871
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12820,7 +12972,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12820
12972
|
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
12973
|
* Groups service.
|
|
12822
12974
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12823
|
-
* @version
|
|
12975
|
+
* @version 210.0.0
|
|
12824
12976
|
*//**
|
|
12825
12977
|
* Constructs a new GroupsApi.
|
|
12826
12978
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12953,7 +13105,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12953
13105
|
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
13106
|
* IdentityProvider service.
|
|
12955
13107
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12956
|
-
* @version
|
|
13108
|
+
* @version 210.0.0
|
|
12957
13109
|
*//**
|
|
12958
13110
|
* Constructs a new IdentityProviderApi.
|
|
12959
13111
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13109,7 +13261,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13109
13261
|
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
13262
|
* InfrastructureAsCode service.
|
|
13111
13263
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13112
|
-
* @version
|
|
13264
|
+
* @version 210.0.0
|
|
13113
13265
|
*//**
|
|
13114
13266
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13115
13267
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13163,7 +13315,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13163
13315
|
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
13316
|
* Integrations service.
|
|
13165
13317
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13166
|
-
* @version
|
|
13318
|
+
* @version 210.0.0
|
|
13167
13319
|
*//**
|
|
13168
13320
|
* Constructs a new IntegrationsApi.
|
|
13169
13321
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13798,7 +13950,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13798
13950
|
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
13951
|
* Journey service.
|
|
13800
13952
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13801
|
-
* @version
|
|
13953
|
+
* @version 210.0.0
|
|
13802
13954
|
*//**
|
|
13803
13955
|
* Constructs a new JourneyApi.
|
|
13804
13956
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13839,7 +13991,7 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
|
|
|
13839
13991
|
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13840
13992
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13841
13993
|
* Delete the Schedule of a JourneyView
|
|
13842
|
-
*
|
|
13994
|
+
*
|
|
13843
13995
|
* @param {String} viewId Journey View Id
|
|
13844
13996
|
*/},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
13845
13997
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14009,7 +14161,7 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
14009
14161
|
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
14010
14162
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14011
14163
|
* Get the Schedule for a JourneyView
|
|
14012
|
-
*
|
|
14164
|
+
*
|
|
14013
14165
|
* @param {String} viewId Journey View Id
|
|
14014
14166
|
*/},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
14015
14167
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14041,7 +14193,7 @@ if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the
|
|
|
14041
14193
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'chartVersion' is set
|
|
14042
14194
|
if(chartVersion===undefined||chartVersion===null){throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'chartId':chartId,'chartVersion':chartVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14043
14195
|
* Get the job for a journey view version.
|
|
14044
|
-
*
|
|
14196
|
+
*
|
|
14045
14197
|
* @param {String} viewId Journey View Id
|
|
14046
14198
|
* @param {String} journeyVersionId Journey View Version
|
|
14047
14199
|
* @param {String} jobId JobId
|
|
@@ -14050,7 +14202,7 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
14050
14202
|
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';}// verify the required parameter 'jobId' is set
|
|
14051
14203
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14052
14204
|
* Get the result of a job for a journey view version.
|
|
14053
|
-
*
|
|
14205
|
+
*
|
|
14054
14206
|
* @param {String} viewId JourneyViewResult id
|
|
14055
14207
|
* @param {String} journeyViewVersion Journey View Version
|
|
14056
14208
|
* @param {String} jobId Id of the executing job
|
|
@@ -14070,7 +14222,7 @@ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the requ
|
|
|
14070
14222
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'chartId' is set
|
|
14071
14223
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId,'chartId':chartId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14072
14224
|
* Get the latest job of a journey view version.
|
|
14073
|
-
*
|
|
14225
|
+
*
|
|
14074
14226
|
* @param {String} viewId Journey View Id
|
|
14075
14227
|
* @param {String} journeyVersionId Journey View Version
|
|
14076
14228
|
*/},{key:"getJourneyViewVersionJobsLatest",value:function getJourneyViewVersionJobsLatest(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -14143,7 +14295,7 @@ if(outcomeId===undefined||outcomeId===null){throw'Missing the required parameter
|
|
|
14143
14295
|
*/},{key:"patchJourneySegment",value:function patchJourneySegment(segmentId,opts){opts=opts||{};// verify the required parameter 'segmentId' is set
|
|
14144
14296
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling patchJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','PATCH',{'segmentId':segmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14145
14297
|
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
14146
|
-
*
|
|
14298
|
+
*
|
|
14147
14299
|
* @param {String} viewId Journey View Id
|
|
14148
14300
|
* @param {String} journeyVersionId Journey View Version
|
|
14149
14301
|
* @param {String} jobId JobId
|
|
@@ -14234,7 +14386,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
14234
14386
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
14235
14387
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14236
14388
|
* Submit a job request for a journey view version.
|
|
14237
|
-
*
|
|
14389
|
+
*
|
|
14238
14390
|
* @param {String} viewId Journey View Id
|
|
14239
14391
|
* @param {String} journeyVersionId Journey View Version
|
|
14240
14392
|
*/},{key:"postJourneyViewVersionJobs",value:function postJourneyViewVersionJobs(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -14258,7 +14410,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14258
14410
|
* @param {Array.<Object>} opts.body
|
|
14259
14411
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14260
14412
|
* Update the Schedule for a JourneyView
|
|
14261
|
-
*
|
|
14413
|
+
*
|
|
14262
14414
|
* @param {String} viewId Journey View Id
|
|
14263
14415
|
* @param {Object} body journeyViewSchedule
|
|
14264
14416
|
*/},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
@@ -14275,7 +14427,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14275
14427
|
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
14428
|
* Knowledge service.
|
|
14277
14429
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14278
|
-
* @version
|
|
14430
|
+
* @version 210.0.0
|
|
14279
14431
|
*//**
|
|
14280
14432
|
* Constructs a new KnowledgeApi.
|
|
14281
14433
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14416,8 +14568,10 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
14416
14568
|
* Get sync options available for a knowledge-connect integration
|
|
14417
14569
|
*
|
|
14418
14570
|
* @param {String} integrationId Integration ID
|
|
14419
|
-
|
|
14420
|
-
|
|
14571
|
+
* @param {Object} opts Optional parameters
|
|
14572
|
+
* @param {Array.<String>} opts.knowledgeBaseIds Narrowing down filtering option results by knowledge base.
|
|
14573
|
+
*/},{key:"getKnowledgeIntegrationOptions",value:function getKnowledgeIntegrationOptions(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
14574
|
+
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
14575
|
* Get knowledge base
|
|
14422
14576
|
*
|
|
14423
14577
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -15343,7 +15497,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15343
15497
|
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
15498
|
* LanguageUnderstanding service.
|
|
15345
15499
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15346
|
-
* @version
|
|
15500
|
+
* @version 210.0.0
|
|
15347
15501
|
*//**
|
|
15348
15502
|
* Constructs a new LanguageUnderstandingApi.
|
|
15349
15503
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15603,7 +15757,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15603
15757
|
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
15758
|
* Languages service.
|
|
15605
15759
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15606
|
-
* @version
|
|
15760
|
+
* @version 210.0.0
|
|
15607
15761
|
*//**
|
|
15608
15762
|
* Constructs a new LanguagesApi.
|
|
15609
15763
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15658,7 +15812,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15658
15812
|
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
15813
|
* Learning service.
|
|
15660
15814
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15661
|
-
* @version
|
|
15815
|
+
* @version 210.0.0
|
|
15662
15816
|
*//**
|
|
15663
15817
|
* Constructs a new LearningApi.
|
|
15664
15818
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15929,7 +16083,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15929
16083
|
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
16084
|
* License service.
|
|
15931
16085
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15932
|
-
* @version
|
|
16086
|
+
* @version 210.0.0
|
|
15933
16087
|
*//**
|
|
15934
16088
|
* Constructs a new LicenseApi.
|
|
15935
16089
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15983,7 +16137,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15983
16137
|
*/},{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
16138
|
* Locations service.
|
|
15985
16139
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15986
|
-
* @version
|
|
16140
|
+
* @version 210.0.0
|
|
15987
16141
|
*//**
|
|
15988
16142
|
* Constructs a new LocationsApi.
|
|
15989
16143
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16042,7 +16196,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16042
16196
|
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
16197
|
* LogCapture service.
|
|
16044
16198
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16045
|
-
* @version
|
|
16199
|
+
* @version 210.0.0
|
|
16046
16200
|
*//**
|
|
16047
16201
|
* Constructs a new LogCaptureApi.
|
|
16048
16202
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16092,7 +16246,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16092
16246
|
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
16247
|
* Messaging service.
|
|
16094
16248
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16095
|
-
* @version
|
|
16249
|
+
* @version 210.0.0
|
|
16096
16250
|
*//**
|
|
16097
16251
|
* Constructs a new MessagingApi.
|
|
16098
16252
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16182,7 +16336,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16182
16336
|
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
16337
|
* MobileDevices service.
|
|
16184
16338
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16185
|
-
* @version
|
|
16339
|
+
* @version 210.0.0
|
|
16186
16340
|
*//**
|
|
16187
16341
|
* Constructs a new MobileDevicesApi.
|
|
16188
16342
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16221,7 +16375,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16221
16375
|
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
16376
|
* Notifications service.
|
|
16223
16377
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16224
|
-
* @version
|
|
16378
|
+
* @version 210.0.0
|
|
16225
16379
|
*//**
|
|
16226
16380
|
* Constructs a new NotificationsApi.
|
|
16227
16381
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16278,7 +16432,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16278
16432
|
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
16433
|
* OAuth service.
|
|
16280
16434
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16281
|
-
* @version
|
|
16435
|
+
* @version 210.0.0
|
|
16282
16436
|
*//**
|
|
16283
16437
|
* Constructs a new OAuthApi.
|
|
16284
16438
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16363,7 +16517,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16363
16517
|
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
16518
|
* Objects service.
|
|
16365
16519
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16366
|
-
* @version
|
|
16520
|
+
* @version 210.0.0
|
|
16367
16521
|
*//**
|
|
16368
16522
|
* Constructs a new ObjectsApi.
|
|
16369
16523
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16434,7 +16588,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16434
16588
|
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
16589
|
* OperationalEvents service.
|
|
16436
16590
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16437
|
-
* @version
|
|
16591
|
+
* @version 210.0.0
|
|
16438
16592
|
*//**
|
|
16439
16593
|
* Constructs a new OperationalEventsApi.
|
|
16440
16594
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16449,10 +16603,23 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16449
16603
|
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
16604
|
* Get all operational event definitions
|
|
16451
16605
|
*
|
|
16452
|
-
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}
|
|
16606
|
+
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16607
|
+
* Get aggregates for operational events in a timeframe.
|
|
16608
|
+
*
|
|
16609
|
+
* @param {Object} opts Optional parameters
|
|
16610
|
+
* @param {Object} opts.body
|
|
16611
|
+
*/},{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']);}/**
|
|
16612
|
+
* Query operational events in a timeframe.
|
|
16613
|
+
*
|
|
16614
|
+
* @param {Object} opts Optional parameters
|
|
16615
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
16616
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16617
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
16618
|
+
* @param {Object} opts.body
|
|
16619
|
+
*/},{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
16620
|
* Organization service.
|
|
16454
16621
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16455
|
-
* @version
|
|
16622
|
+
* @version 210.0.0
|
|
16456
16623
|
*//**
|
|
16457
16624
|
* Constructs a new OrganizationApi.
|
|
16458
16625
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16577,7 +16744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16577
16744
|
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
16745
|
* OrganizationAuthorization service.
|
|
16579
16746
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16580
|
-
* @version
|
|
16747
|
+
* @version 210.0.0
|
|
16581
16748
|
*//**
|
|
16582
16749
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16583
16750
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16911,7 +17078,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16911
17078
|
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
17079
|
* Outbound service.
|
|
16913
17080
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16914
|
-
* @version
|
|
17081
|
+
* @version 210.0.0
|
|
16915
17082
|
*//**
|
|
16916
17083
|
* Constructs a new OutboundApi.
|
|
16917
17084
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18018,7 +18185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18018
18185
|
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
18186
|
* Presence service.
|
|
18020
18187
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18021
|
-
* @version
|
|
18188
|
+
* @version 210.0.0
|
|
18022
18189
|
*//**
|
|
18023
18190
|
* Constructs a new PresenceApi.
|
|
18024
18191
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18191,7 +18358,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18191
18358
|
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
18359
|
* ProcessAutomation service.
|
|
18193
18360
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18194
|
-
* @version
|
|
18361
|
+
* @version 210.0.0
|
|
18195
18362
|
*//**
|
|
18196
18363
|
* Constructs a new ProcessAutomationApi.
|
|
18197
18364
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18254,7 +18421,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18254
18421
|
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
18422
|
* Quality service.
|
|
18256
18423
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18257
|
-
* @version
|
|
18424
|
+
* @version 210.0.0
|
|
18258
18425
|
*//**
|
|
18259
18426
|
* Constructs a new QualityApi.
|
|
18260
18427
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18339,7 +18506,8 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
18339
18506
|
* @param {String} opts.group group id
|
|
18340
18507
|
* @param {String} opts.agentTeamId team id of agents requested
|
|
18341
18508
|
* @param {String} opts.formContextId shared id between form versions
|
|
18342
|
-
|
|
18509
|
+
* @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)
|
|
18510
|
+
*/},{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
18511
|
* Get a calibration by id. Requires either calibrator id or conversation id
|
|
18344
18512
|
*
|
|
18345
18513
|
* @param {String} calibrationId Calibration ID
|
|
@@ -18413,7 +18581,8 @@ if(transactionId===undefined||transactionId===null){throw'Missing the required p
|
|
|
18413
18581
|
* @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
18582
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
18415
18583
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
18416
|
-
|
|
18584
|
+
* @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
|
|
18585
|
+
*/},{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
18586
|
* Get an evaluator activity
|
|
18418
18587
|
*
|
|
18419
18588
|
* @param {Object} opts Optional parameters
|
|
@@ -18731,7 +18900,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18731
18900
|
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
18901
|
* Recording service.
|
|
18733
18902
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18734
|
-
* @version
|
|
18903
|
+
* @version 210.0.0
|
|
18735
18904
|
*//**
|
|
18736
18905
|
* Constructs a new RecordingApi.
|
|
18737
18906
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19143,7 +19312,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19143
19312
|
*/},{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
19313
|
* ResponseManagement service.
|
|
19145
19314
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19146
|
-
* @version
|
|
19315
|
+
* @version 210.0.0
|
|
19147
19316
|
*//**
|
|
19148
19317
|
* Constructs a new ResponseManagementApi.
|
|
19149
19318
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19264,7 +19433,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19264
19433
|
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
19434
|
* Routing service.
|
|
19266
19435
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19267
|
-
* @version
|
|
19436
|
+
* @version 210.0.0
|
|
19268
19437
|
*//**
|
|
19269
19438
|
* Constructs a new RoutingApi.
|
|
19270
19439
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19356,9 +19525,9 @@ if(skillGroupId===undefined||skillGroupId===null){throw'Missing the required par
|
|
|
19356
19525
|
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
19526
|
* Delete a phone number provisioned for SMS.
|
|
19358
19527
|
*
|
|
19359
|
-
* @param {String}
|
|
19360
|
-
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(
|
|
19361
|
-
if(
|
|
19528
|
+
* @param {String} phoneNumberId phone number
|
|
19529
|
+
*/},{key:"deleteRoutingSmsPhonenumber",value:function deleteRoutingSmsPhonenumber(phoneNumberId){// verify the required parameter 'phoneNumberId' is set
|
|
19530
|
+
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
19531
|
* Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
|
|
19363
19532
|
*
|
|
19364
19533
|
* @param {String} userId User ID
|
|
@@ -19581,10 +19750,12 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
19581
19750
|
* Get Estimated Wait Time
|
|
19582
19751
|
*
|
|
19583
19752
|
* @param {String} queueId queueId
|
|
19584
|
-
* @param {
|
|
19585
|
-
|
|
19753
|
+
* @param {Object} mediaType mediaType
|
|
19754
|
+
* @param {Object} opts Optional parameters
|
|
19755
|
+
* @param {String} opts.labelId Unique id that represents the interaction label used with media type for EWT calculation
|
|
19756
|
+
*/},{key:"getRoutingQueueMediatypeEstimatedwaittime",value:function getRoutingQueueMediatypeEstimatedwaittime(queueId,mediaType,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
19586
19757
|
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']);}/**
|
|
19758
|
+
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
19759
|
* Get the members of this queue.
|
|
19589
19760
|
*
|
|
19590
19761
|
* @param {String} queueId Queue ID
|
|
@@ -19746,11 +19917,11 @@ if(countryCode===undefined||countryCode===null){throw'Missing the required param
|
|
|
19746
19917
|
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
19918
|
* Get a phone number provisioned for SMS.
|
|
19748
19919
|
*
|
|
19749
|
-
* @param {String}
|
|
19920
|
+
* @param {String} phoneNumberId phone number
|
|
19750
19921
|
* @param {Object} opts Optional parameters
|
|
19751
19922
|
* @param {Object} opts.expand Expand response with additional information
|
|
19752
|
-
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(
|
|
19753
|
-
if(
|
|
19923
|
+
*/},{key:"getRoutingSmsPhonenumber",value:function getRoutingSmsPhonenumber(phoneNumberId,opts){opts=opts||{};// verify the required parameter 'phoneNumberId' is set
|
|
19924
|
+
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
19925
|
* Get a list of provisioned phone numbers.
|
|
19755
19926
|
*
|
|
19756
19927
|
* @param {Object} opts Optional parameters
|
|
@@ -20212,11 +20383,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20212
20383
|
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
20384
|
* Update a phone number provisioned for SMS.
|
|
20214
20385
|
*
|
|
20215
|
-
* @param {String}
|
|
20386
|
+
* @param {String} phoneNumberId phone number
|
|
20216
20387
|
* @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/{
|
|
20388
|
+
*/},{key:"putRoutingSmsPhonenumber",value:function putRoutingSmsPhonenumber(phoneNumberId,body){// verify the required parameter 'phoneNumberId' is set
|
|
20389
|
+
if(phoneNumberId===undefined||phoneNumberId===null){throw'Missing the required parameter "phoneNumberId" when calling putRoutingSmsPhonenumber';}// verify the required parameter 'body' is set
|
|
20390
|
+
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
20391
|
* Update the user's Direct Routing Backup settings.
|
|
20221
20392
|
*
|
|
20222
20393
|
* @param {String} userId User ID
|
|
@@ -20268,7 +20439,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20268
20439
|
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
20440
|
* SCIM service.
|
|
20270
20441
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20271
|
-
* @version
|
|
20442
|
+
* @version 210.0.0
|
|
20272
20443
|
*//**
|
|
20273
20444
|
* Constructs a new SCIMApi.
|
|
20274
20445
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20493,7 +20664,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20493
20664
|
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
20665
|
* ScreenRecording service.
|
|
20495
20666
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20496
|
-
* @version
|
|
20667
|
+
* @version 210.0.0
|
|
20497
20668
|
*//**
|
|
20498
20669
|
* Constructs a new ScreenRecordingApi.
|
|
20499
20670
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20508,7 +20679,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20508
20679
|
*/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
20680
|
* Scripts service.
|
|
20510
20681
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20511
|
-
* @version
|
|
20682
|
+
* @version 210.0.0
|
|
20512
20683
|
*//**
|
|
20513
20684
|
* Constructs a new ScriptsApi.
|
|
20514
20685
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20644,7 +20815,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20644
20815
|
*/},{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
20816
|
* Search service.
|
|
20646
20817
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20647
|
-
* @version
|
|
20818
|
+
* @version 210.0.0
|
|
20648
20819
|
*//**
|
|
20649
20820
|
* Constructs a new SearchApi.
|
|
20650
20821
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20816,7 +20987,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20816
20987
|
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
20988
|
* Settings service.
|
|
20818
20989
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20819
|
-
* @version
|
|
20990
|
+
* @version 210.0.0
|
|
20820
20991
|
*//**
|
|
20821
20992
|
* Constructs a new SettingsApi.
|
|
20822
20993
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20863,10 +21034,275 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20863
21034
|
* @param {Object} body AutoAnswerSettings
|
|
20864
21035
|
*/},{key:"putUsersAgentuiAgentsAutoanswerAgentIdSettings",value:function putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId,body){// verify the required parameter 'agentId' is set
|
|
20865
21036
|
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
|
|
21037
|
+
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(){/**
|
|
21038
|
+
* SocialMedia service.
|
|
21039
|
+
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21040
|
+
* @version 210.0.0
|
|
21041
|
+
*//**
|
|
21042
|
+
* Constructs a new SocialMediaApi.
|
|
21043
|
+
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
21044
|
+
* @class
|
|
21045
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21046
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21047
|
+
*/function SocialMediaApi(apiClient){_classCallCheck(this,SocialMediaApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
21048
|
+
* Delete a social topic.
|
|
21049
|
+
*
|
|
21050
|
+
* @param {String} topicId topicId
|
|
21051
|
+
* @param {Object} opts Optional parameters
|
|
21052
|
+
* @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.
|
|
21053
|
+
* deleteSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21054
|
+
*/return _createClass(SocialMediaApi,[{key:"deleteSocialmediaTopic",value:function deleteSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21055
|
+
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']);}/**
|
|
21056
|
+
* Delete a Facebook data ingestion rule.
|
|
21057
|
+
*
|
|
21058
|
+
* @param {String} topicId topicId
|
|
21059
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21060
|
+
* @param {Object} opts Optional parameters
|
|
21061
|
+
* @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)
|
|
21062
|
+
* deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21063
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21064
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21065
|
+
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']);}/**
|
|
21066
|
+
* Delete a open data ingestion rule.
|
|
21067
|
+
*
|
|
21068
|
+
* @param {String} topicId topicId
|
|
21069
|
+
* @param {String} openId openId
|
|
21070
|
+
* @param {Object} opts Optional parameters
|
|
21071
|
+
* @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)
|
|
21072
|
+
* deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21073
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesOpenOpenId",value:function deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21074
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21075
|
+
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']);}/**
|
|
21076
|
+
* Delete a X (formally Twitter) data ingestion rule.
|
|
21077
|
+
*
|
|
21078
|
+
* @param {String} topicId topicId
|
|
21079
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21080
|
+
* @param {Object} opts Optional parameters
|
|
21081
|
+
* @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)
|
|
21082
|
+
* deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21083
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21084
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21085
|
+
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']);}/**
|
|
21086
|
+
* Get a single social topic.
|
|
21087
|
+
*
|
|
21088
|
+
* @param {String} topicId topicId
|
|
21089
|
+
* @param {Object} opts Optional parameters
|
|
21090
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21091
|
+
* getSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21092
|
+
*/},{key:"getSocialmediaTopic",value:function getSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21093
|
+
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']);}/**
|
|
21094
|
+
* Get a single Facebook data ingestion rule.
|
|
21095
|
+
*
|
|
21096
|
+
* @param {String} topicId topicId
|
|
21097
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21098
|
+
* @param {Object} opts Optional parameters
|
|
21099
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21100
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21101
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21102
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21103
|
+
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']);}/**
|
|
21104
|
+
* Get a single Facebook data ingestion rule version.
|
|
21105
|
+
*
|
|
21106
|
+
* @param {String} topicId topicId
|
|
21107
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21108
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21109
|
+
* @param {Object} opts Optional parameters
|
|
21110
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21111
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21112
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId,facebookIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21113
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21114
|
+
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21115
|
+
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']);}/**
|
|
21116
|
+
* Get the Facebook data ingestion rule versions.
|
|
21117
|
+
*
|
|
21118
|
+
* @param {String} topicId topicId
|
|
21119
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21120
|
+
* @param {Object} opts Optional parameters
|
|
21121
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21122
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21123
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21124
|
+
* getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21125
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21126
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21127
|
+
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']);}/**
|
|
21128
|
+
* Get a single open data ingestion rule.
|
|
21129
|
+
*
|
|
21130
|
+
* @param {String} topicId topicId
|
|
21131
|
+
* @param {String} openId openId
|
|
21132
|
+
* @param {Object} opts Optional parameters
|
|
21133
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21134
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21135
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenId",value:function getSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21136
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21137
|
+
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']);}/**
|
|
21138
|
+
* Get a single Open data ingestion rule version.
|
|
21139
|
+
*
|
|
21140
|
+
* @param {String} topicId topicId
|
|
21141
|
+
* @param {String} openId openId
|
|
21142
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21143
|
+
* @param {Object} opts Optional parameters
|
|
21144
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21145
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21146
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersion",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId,openId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21147
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'openId' is set
|
|
21148
|
+
if(openId===undefined||openId===null){throw'Missing the required parameter "openId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21149
|
+
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']);}/**
|
|
21150
|
+
* Get the Open data ingestion rule versions.
|
|
21151
|
+
*
|
|
21152
|
+
* @param {String} topicId topicId
|
|
21153
|
+
* @param {String} openId openId
|
|
21154
|
+
* @param {Object} opts Optional parameters
|
|
21155
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21156
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21157
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21158
|
+
* getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21159
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesOpenOpenIdVersions",value:function getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21160
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesOpenOpenIdVersions';}// verify the required parameter 'openId' is set
|
|
21161
|
+
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']);}/**
|
|
21162
|
+
* Get a single X (formally Twitter) data ingestion rule.
|
|
21163
|
+
*
|
|
21164
|
+
* @param {String} topicId topicId
|
|
21165
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21166
|
+
* @param {Object} opts Optional parameters
|
|
21167
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21168
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21169
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21170
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21171
|
+
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']);}/**
|
|
21172
|
+
* Get a single X (formally Twitter) data ingestion rule version.
|
|
21173
|
+
*
|
|
21174
|
+
* @param {String} topicId topicId
|
|
21175
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21176
|
+
* @param {String} dataIngestionRuleVersion version
|
|
21177
|
+
* @param {Object} opts Optional parameters
|
|
21178
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
21179
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21180
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId,twitterIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21181
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21182
|
+
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
21183
|
+
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']);}/**
|
|
21184
|
+
* Get the Open data ingestion rule versions.
|
|
21185
|
+
*
|
|
21186
|
+
* @param {String} topicId topicId
|
|
21187
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21188
|
+
* @param {Object} opts Optional parameters
|
|
21189
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21190
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21191
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21192
|
+
* getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21193
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21194
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21195
|
+
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']);}/**
|
|
21196
|
+
* Retrieve all social topics.
|
|
21197
|
+
*
|
|
21198
|
+
* @param {Object} opts Optional parameters
|
|
21199
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21200
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21201
|
+
* @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.
|
|
21202
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
21203
|
+
* getSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21204
|
+
*/},{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']);}/**
|
|
21205
|
+
* Update a social topic.
|
|
21206
|
+
*
|
|
21207
|
+
* @param {String} topicId topicId
|
|
21208
|
+
* @param {Object} opts Optional parameters
|
|
21209
|
+
* @param {Object} opts.body
|
|
21210
|
+
* patchSocialmediaTopic is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21211
|
+
*/},{key:"patchSocialmediaTopic",value:function patchSocialmediaTopic(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21212
|
+
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']);}/**
|
|
21213
|
+
* Update the status of a Facebook data ingestion rule.
|
|
21214
|
+
*
|
|
21215
|
+
* @param {String} topicId topicId
|
|
21216
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21217
|
+
* @param {Object} opts Optional parameters
|
|
21218
|
+
* @param {Object} opts.body
|
|
21219
|
+
* patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21220
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21221
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21222
|
+
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']);}/**
|
|
21223
|
+
* Update the status of a open data ingestion rule.
|
|
21224
|
+
*
|
|
21225
|
+
* @param {String} topicId topicId
|
|
21226
|
+
* @param {String} openId openId
|
|
21227
|
+
* @param {Object} opts Optional parameters
|
|
21228
|
+
* @param {Object} opts.body
|
|
21229
|
+
* patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21230
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesOpenOpenId",value:function patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21231
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21232
|
+
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']);}/**
|
|
21233
|
+
* Update the status of a X (formally Twitter) data ingestion rule.
|
|
21234
|
+
*
|
|
21235
|
+
* @param {String} topicId topicId
|
|
21236
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21237
|
+
* @param {Object} opts Optional parameters
|
|
21238
|
+
* @param {Object} opts.body
|
|
21239
|
+
* patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21240
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21241
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21242
|
+
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']);}/**
|
|
21243
|
+
* Create an Facebook data ingestion rule.
|
|
21244
|
+
*
|
|
21245
|
+
* @param {String} topicId topicId
|
|
21246
|
+
* @param {Object} opts Optional parameters
|
|
21247
|
+
* @param {Object} opts.body
|
|
21248
|
+
* postSocialmediaTopicDataingestionrulesFacebook is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21249
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21250
|
+
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']);}/**
|
|
21251
|
+
* Create an open data ingestion rule.
|
|
21252
|
+
*
|
|
21253
|
+
* @param {String} topicId topicId
|
|
21254
|
+
* @param {Object} opts Optional parameters
|
|
21255
|
+
* @param {Object} opts.body
|
|
21256
|
+
* postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21257
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesOpen",value:function postSocialmediaTopicDataingestionrulesOpen(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21258
|
+
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']);}/**
|
|
21259
|
+
* Create an twitter data ingestion rule.
|
|
21260
|
+
*
|
|
21261
|
+
* @param {String} topicId topicId
|
|
21262
|
+
* @param {Object} opts Optional parameters
|
|
21263
|
+
* @param {Object} opts.body
|
|
21264
|
+
* postSocialmediaTopicDataingestionrulesTwitter is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21265
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesTwitter",value:function postSocialmediaTopicDataingestionrulesTwitter(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21266
|
+
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']);}/**
|
|
21267
|
+
* Create a social topic.
|
|
21268
|
+
*
|
|
21269
|
+
* @param {Object} opts Optional parameters
|
|
21270
|
+
* @param {Object} opts.body
|
|
21271
|
+
* postSocialmediaTopics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21272
|
+
*/},{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']);}/**
|
|
21273
|
+
* Update the Facebook data ingestion rule.
|
|
21274
|
+
*
|
|
21275
|
+
* @param {String} topicId topicId
|
|
21276
|
+
* @param {String} facebookIngestionRuleId facebookIngestionRuleId
|
|
21277
|
+
* @param {Object} opts Optional parameters
|
|
21278
|
+
* @param {Object} opts.body
|
|
21279
|
+
* putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21280
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21281
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
21282
|
+
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']);}/**
|
|
21283
|
+
* Update the open data ingestion rule.
|
|
21284
|
+
*
|
|
21285
|
+
* @param {String} topicId topicId
|
|
21286
|
+
* @param {String} openId openId
|
|
21287
|
+
* @param {Object} opts Optional parameters
|
|
21288
|
+
* @param {Object} opts.body
|
|
21289
|
+
* putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21290
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesOpenOpenId",value:function putSocialmediaTopicDataingestionrulesOpenOpenId(topicId,openId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21291
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesOpenOpenId';}// verify the required parameter 'openId' is set
|
|
21292
|
+
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']);}/**
|
|
21293
|
+
* Update the X (formally Twitter) data ingestion rule.
|
|
21294
|
+
*
|
|
21295
|
+
* @param {String} topicId topicId
|
|
21296
|
+
* @param {String} twitterIngestionRuleId twitterIngestionRuleId
|
|
21297
|
+
* @param {Object} opts Optional parameters
|
|
21298
|
+
* @param {Object} opts.body
|
|
21299
|
+
* putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21300
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId,twitterIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
21301
|
+
if(topicId===undefined||topicId===null){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}// verify the required parameter 'twitterIngestionRuleId' is set
|
|
21302
|
+
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
21303
|
* SpeechTextAnalytics service.
|
|
20868
21304
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20869
|
-
* @version
|
|
21305
|
+
* @version 210.0.0
|
|
20870
21306
|
*//**
|
|
20871
21307
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20872
21308
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -21165,7 +21601,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21165
21601
|
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
21602
|
* Stations service.
|
|
21167
21603
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21168
|
-
* @version
|
|
21604
|
+
* @version 210.0.0
|
|
21169
21605
|
*//**
|
|
21170
21606
|
* Constructs a new StationsApi.
|
|
21171
21607
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21197,7 +21633,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21197
21633
|
*/},{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
21634
|
* Suggest service.
|
|
21199
21635
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21200
|
-
* @version
|
|
21636
|
+
* @version 210.0.0
|
|
21201
21637
|
*//**
|
|
21202
21638
|
* Constructs a new SuggestApi.
|
|
21203
21639
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21237,7 +21673,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21237
21673
|
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
21674
|
* TaskManagement service.
|
|
21239
21675
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21240
|
-
* @version
|
|
21676
|
+
* @version 210.0.0
|
|
21241
21677
|
*//**
|
|
21242
21678
|
* Constructs a new TaskManagementApi.
|
|
21243
21679
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21643,7 +22079,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21643
22079
|
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
22080
|
* Teams service.
|
|
21645
22081
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21646
|
-
* @version
|
|
22082
|
+
* @version 210.0.0
|
|
21647
22083
|
*//**
|
|
21648
22084
|
* Constructs a new TeamsApi.
|
|
21649
22085
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -21723,7 +22159,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21723
22159
|
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
22160
|
* Telephony service.
|
|
21725
22161
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
21726
|
-
* @version
|
|
22162
|
+
* @version 210.0.0
|
|
21727
22163
|
*//**
|
|
21728
22164
|
* Constructs a new TelephonyApi.
|
|
21729
22165
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21770,7 +22206,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21770
22206
|
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
22207
|
* TelephonyProvidersEdge service.
|
|
21772
22208
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21773
|
-
* @version
|
|
22209
|
+
* @version 210.0.0
|
|
21774
22210
|
*//**
|
|
21775
22211
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21776
22212
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -22605,7 +23041,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
22605
23041
|
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
23042
|
* Textbots service.
|
|
22607
23043
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
22608
|
-
* @version
|
|
23044
|
+
* @version 210.0.0
|
|
22609
23045
|
*//**
|
|
22610
23046
|
* Constructs a new TextbotsApi.
|
|
22611
23047
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -22640,7 +23076,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
22640
23076
|
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
23077
|
* Tokens service.
|
|
22642
23078
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
22643
|
-
* @version
|
|
23079
|
+
* @version 210.0.0
|
|
22644
23080
|
*//**
|
|
22645
23081
|
* Constructs a new TokensApi.
|
|
22646
23082
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -22674,7 +23110,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22674
23110
|
*/},{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
23111
|
* Uploads service.
|
|
22676
23112
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
22677
|
-
* @version
|
|
23113
|
+
* @version 210.0.0
|
|
22678
23114
|
*//**
|
|
22679
23115
|
* Constructs a new UploadsApi.
|
|
22680
23116
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -22740,7 +23176,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22740
23176
|
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
23177
|
* Usage service.
|
|
22742
23178
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
22743
|
-
* @version
|
|
23179
|
+
* @version 210.0.0
|
|
22744
23180
|
*//**
|
|
22745
23181
|
* Constructs a new UsageApi.
|
|
22746
23182
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22794,7 +23230,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22794
23230
|
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
23231
|
* UserRecordings service.
|
|
22796
23232
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22797
|
-
* @version
|
|
23233
|
+
* @version 210.0.0
|
|
22798
23234
|
*//**
|
|
22799
23235
|
* Constructs a new UserRecordingsApi.
|
|
22800
23236
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22851,7 +23287,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22851
23287
|
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
23288
|
* Users service.
|
|
22853
23289
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22854
|
-
* @version
|
|
23290
|
+
* @version 210.0.0
|
|
22855
23291
|
*//**
|
|
22856
23292
|
* Constructs a new UsersApi.
|
|
22857
23293
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -23548,7 +23984,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
23548
23984
|
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
23985
|
* Utilities service.
|
|
23550
23986
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
23551
|
-
* @version
|
|
23987
|
+
* @version 210.0.0
|
|
23552
23988
|
*//**
|
|
23553
23989
|
* Constructs a new UtilitiesApi.
|
|
23554
23990
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -23575,7 +24011,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23575
24011
|
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
24012
|
* Voicemail service.
|
|
23577
24013
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
23578
|
-
* @version
|
|
24014
|
+
* @version 210.0.0
|
|
23579
24015
|
*//**
|
|
23580
24016
|
* Constructs a new VoicemailApi.
|
|
23581
24017
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -23737,7 +24173,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23737
24173
|
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
24174
|
* WebChat service.
|
|
23739
24175
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
23740
|
-
* @version
|
|
24176
|
+
* @version 210.0.0
|
|
23741
24177
|
*//**
|
|
23742
24178
|
* Constructs a new WebChatApi.
|
|
23743
24179
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23872,7 +24308,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23872
24308
|
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
24309
|
* WebDeployments service.
|
|
23874
24310
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23875
|
-
* @version
|
|
24311
|
+
* @version 210.0.0
|
|
23876
24312
|
*//**
|
|
23877
24313
|
* Constructs a new WebDeploymentsApi.
|
|
23878
24314
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23993,7 +24429,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23993
24429
|
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
24430
|
* WebMessaging service.
|
|
23995
24431
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23996
|
-
* @version
|
|
24432
|
+
* @version 210.0.0
|
|
23997
24433
|
*//**
|
|
23998
24434
|
* Constructs a new WebMessagingApi.
|
|
23999
24435
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -24009,7 +24445,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
24009
24445
|
*/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
24446
|
* Widgets service.
|
|
24011
24447
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
24012
|
-
* @version
|
|
24448
|
+
* @version 210.0.0
|
|
24013
24449
|
*//**
|
|
24014
24450
|
* Constructs a new WidgetsApi.
|
|
24015
24451
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -24044,7 +24480,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24044
24480
|
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
24481
|
* WorkforceManagement service.
|
|
24046
24482
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
24047
|
-
* @version
|
|
24483
|
+
* @version 210.0.0
|
|
24048
24484
|
*//**
|
|
24049
24485
|
* Constructs a new WorkforceManagementApi.
|
|
24050
24486
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24731,11 +25167,9 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
24731
25167
|
*
|
|
24732
25168
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
24733
25169
|
* @param {String} userId The userId to whom the Time Off Request applies.
|
|
24734
|
-
|
|
24735
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
24736
|
-
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
25170
|
+
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId){// verify the required parameter 'managementUnitId' is set
|
|
24737
25171
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}// verify the required parameter 'userId' is set
|
|
24738
|
-
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{
|
|
25172
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24739
25173
|
* Get users in the management unit
|
|
24740
25174
|
*
|
|
24741
25175
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -24769,7 +25203,7 @@ if(weekId===undefined||weekId===null){throw'Missing the required parameter "week
|
|
|
24769
25203
|
* Gets all the shift trades for a given week
|
|
24770
25204
|
*
|
|
24771
25205
|
* @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
|
|
25206
|
+
* @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
25207
|
* @param {Object} opts Optional parameters
|
|
24774
25208
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
24775
25209
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -24854,9 +25288,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
24854
25288
|
if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions','GET',{'timeOffRequestId':timeOffRequestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24855
25289
|
* Get a list of time off requests for the current user
|
|
24856
25290
|
*
|
|
24857
|
-
|
|
24858
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
24859
|
-
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{'recentlyReviewed':opts['recentlyReviewed']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25291
|
+
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(){return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24860
25292
|
* Get work plan bid ranks for a user
|
|
24861
25293
|
*
|
|
24862
25294
|
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
@@ -25068,7 +25500,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
25068
25500
|
* Updates a shift trade. This route can only be called by the initiating agent
|
|
25069
25501
|
*
|
|
25070
25502
|
* @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
|
|
25503
|
+
* @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
25504
|
* @param {String} tradeId The ID of the shift trade to update
|
|
25073
25505
|
* @param {Object} body body
|
|
25074
25506
|
*/},{key:"patchWorkforcemanagementManagementunitWeekShifttrade",value:function patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -25635,7 +26067,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
25635
26067
|
* Matches a shift trade. This route can only be called by the receiving agent
|
|
25636
26068
|
*
|
|
25637
26069
|
* @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
|
|
26070
|
+
* @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
26071
|
* @param {String} tradeId The ID of the shift trade to update
|
|
25640
26072
|
* @param {Object} body body
|
|
25641
26073
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttradeMatch",value:function postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId,weekDateId,tradeId,body){// verify the required parameter 'managementUnitId' is set
|
|
@@ -25646,7 +26078,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25646
26078
|
* Adds a shift trade
|
|
25647
26079
|
*
|
|
25648
26080
|
* @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
|
|
26081
|
+
* @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
26082
|
* @param {Object} body body
|
|
25651
26083
|
*/},{key:"postWorkforcemanagementManagementunitWeekShifttrades",value:function postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId,weekDateId,body){// verify the required parameter 'managementUnitId' is set
|
|
25652
26084
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';}// verify the required parameter 'weekDateId' is set
|
|
@@ -25655,7 +26087,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25655
26087
|
* Searches for potential shift trade matches for the current agent
|
|
25656
26088
|
*
|
|
25657
26089
|
* @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
|
|
26090
|
+
* @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
26091
|
* @param {Object} body body
|
|
25660
26092
|
* @param {Object} opts Optional parameters
|
|
25661
26093
|
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
@@ -25666,7 +26098,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25666
26098
|
* Updates the state of a batch of shift trades
|
|
25667
26099
|
* Admin functionality is not supported with "mine".
|
|
25668
26100
|
* @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
|
|
26101
|
+
* @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
26102
|
* @param {Object} body body
|
|
25671
26103
|
* @param {Object} opts Optional parameters
|
|
25672
26104
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
@@ -25825,7 +26257,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25825
26257
|
* </pre>
|
|
25826
26258
|
* </p>
|
|
25827
26259
|
* @module purecloud-platform-client-v2/index
|
|
25828
|
-
* @version
|
|
26260
|
+
* @version 210.0.0
|
|
25829
26261
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
25830
26262
|
* The ApiClient constructor.
|
|
25831
26263
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -25878,6 +26310,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
25878
26310
|
* The DataExtensionsApi service constructor.
|
|
25879
26311
|
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
|
|
25880
26312
|
*/this.DataExtensionsApi=DataExtensionsApi;/**
|
|
26313
|
+
* The DataPrivacyApi service constructor.
|
|
26314
|
+
* @property {module:purecloud-platform-client-v2/api/DataPrivacyApi}
|
|
26315
|
+
*/this.DataPrivacyApi=DataPrivacyApi;/**
|
|
25881
26316
|
* The DownloadsApi service constructor.
|
|
25882
26317
|
* @property {module:purecloud-platform-client-v2/api/DownloadsApi}
|
|
25883
26318
|
*/this.DownloadsApi=DownloadsApi;/**
|
|
@@ -26007,6 +26442,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26007
26442
|
* The SettingsApi service constructor.
|
|
26008
26443
|
* @property {module:purecloud-platform-client-v2/api/SettingsApi}
|
|
26009
26444
|
*/this.SettingsApi=SettingsApi;/**
|
|
26445
|
+
* The SocialMediaApi service constructor.
|
|
26446
|
+
* @property {module:purecloud-platform-client-v2/api/SocialMediaApi}
|
|
26447
|
+
*/this.SocialMediaApi=SocialMediaApi;/**
|
|
26010
26448
|
* The SpeechTextAnalyticsApi service constructor.
|
|
26011
26449
|
* @property {module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi}
|
|
26012
26450
|
*/this.SpeechTextAnalyticsApi=SpeechTextAnalyticsApi;/**
|
|
@@ -26073,4 +26511,4 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26073
26511
|
var index=new platformClient();module.exports=index;
|
|
26074
26512
|
|
|
26075
26513
|
}).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":
|
|
26514
|
+
},{"buffer":3,"os":33,"path":34,"qs":37,"timers":43}]},{},[]);
|