purecloud-platform-client-v2 179.3.0 → 181.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +538 -166
- package/dist/web-amd/purecloud-platform-client-v2.js +538 -166
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +538 -166
- package/dist/web-cjs/purecloud-platform-client-v2.js +790 -213
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +459 -250
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +8 -80
- 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 +59 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +73 -2
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +71 -0
- 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 +9 -4
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +57 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +86 -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 +92 -2
- 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 +17 -7
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -4987,17 +4987,18 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
4987
4987
|
return intrinsic;
|
|
4988
4988
|
};
|
|
4989
4989
|
|
|
4990
|
-
},{"./":41,"get-intrinsic":
|
|
4990
|
+
},{"./":41,"get-intrinsic":45}],41:[function(require,module,exports){
|
|
4991
4991
|
'use strict';
|
|
4992
4992
|
|
|
4993
4993
|
var bind = require('function-bind');
|
|
4994
4994
|
var GetIntrinsic = require('get-intrinsic');
|
|
4995
|
+
var setFunctionLength = require('set-function-length');
|
|
4995
4996
|
|
|
4997
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
|
4996
4998
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
4997
4999
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
4998
5000
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
4999
5001
|
|
|
5000
|
-
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
5001
5002
|
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
5002
5003
|
var $max = GetIntrinsic('%Math.max%');
|
|
5003
5004
|
|
|
@@ -5011,19 +5012,15 @@ if ($defineProperty) {
|
|
|
5011
5012
|
}
|
|
5012
5013
|
|
|
5013
5014
|
module.exports = function callBind(originalFunction) {
|
|
5015
|
+
if (typeof originalFunction !== 'function') {
|
|
5016
|
+
throw new $TypeError('a function is required');
|
|
5017
|
+
}
|
|
5014
5018
|
var func = $reflectApply(bind, $call, arguments);
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
func,
|
|
5021
|
-
'length',
|
|
5022
|
-
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
5023
|
-
);
|
|
5024
|
-
}
|
|
5025
|
-
}
|
|
5026
|
-
return func;
|
|
5019
|
+
return setFunctionLength(
|
|
5020
|
+
func,
|
|
5021
|
+
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
5022
|
+
true
|
|
5023
|
+
);
|
|
5027
5024
|
};
|
|
5028
5025
|
|
|
5029
5026
|
var applyBind = function applyBind() {
|
|
@@ -5036,49 +5033,151 @@ if ($defineProperty) {
|
|
|
5036
5033
|
module.exports.apply = applyBind;
|
|
5037
5034
|
}
|
|
5038
5035
|
|
|
5039
|
-
},{"function-bind":
|
|
5036
|
+
},{"function-bind":44,"get-intrinsic":45,"set-function-length":58}],42:[function(require,module,exports){
|
|
5037
|
+
'use strict';
|
|
5038
|
+
|
|
5039
|
+
var hasPropertyDescriptors = require('has-property-descriptors')();
|
|
5040
|
+
|
|
5041
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
5042
|
+
|
|
5043
|
+
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
5044
|
+
if ($defineProperty) {
|
|
5045
|
+
try {
|
|
5046
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
5047
|
+
} catch (e) {
|
|
5048
|
+
// IE 8 has a broken defineProperty
|
|
5049
|
+
$defineProperty = false;
|
|
5050
|
+
}
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
var $SyntaxError = GetIntrinsic('%SyntaxError%');
|
|
5054
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
|
5055
|
+
|
|
5056
|
+
var gopd = require('gopd');
|
|
5057
|
+
|
|
5058
|
+
/** @type {(obj: Record<PropertyKey, unknown>, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */
|
|
5059
|
+
module.exports = function defineDataProperty(
|
|
5060
|
+
obj,
|
|
5061
|
+
property,
|
|
5062
|
+
value
|
|
5063
|
+
) {
|
|
5064
|
+
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
5065
|
+
throw new $TypeError('`obj` must be an object or a function`');
|
|
5066
|
+
}
|
|
5067
|
+
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
5068
|
+
throw new $TypeError('`property` must be a string or a symbol`');
|
|
5069
|
+
}
|
|
5070
|
+
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
5071
|
+
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
5072
|
+
}
|
|
5073
|
+
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
5074
|
+
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
5075
|
+
}
|
|
5076
|
+
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
5077
|
+
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
5078
|
+
}
|
|
5079
|
+
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
5080
|
+
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
5081
|
+
}
|
|
5082
|
+
|
|
5083
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
5084
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
5085
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
5086
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
5087
|
+
|
|
5088
|
+
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
5089
|
+
var desc = !!gopd && gopd(obj, property);
|
|
5090
|
+
|
|
5091
|
+
if ($defineProperty) {
|
|
5092
|
+
$defineProperty(obj, property, {
|
|
5093
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
5094
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
5095
|
+
value: value,
|
|
5096
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
5097
|
+
});
|
|
5098
|
+
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
5099
|
+
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
5100
|
+
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
5101
|
+
} else {
|
|
5102
|
+
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
5103
|
+
}
|
|
5104
|
+
};
|
|
5105
|
+
|
|
5106
|
+
},{"get-intrinsic":45,"gopd":46,"has-property-descriptors":47}],43:[function(require,module,exports){
|
|
5040
5107
|
'use strict';
|
|
5041
5108
|
|
|
5042
5109
|
/* eslint no-invalid-this: 1 */
|
|
5043
5110
|
|
|
5044
5111
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
5045
|
-
var slice = Array.prototype.slice;
|
|
5046
5112
|
var toStr = Object.prototype.toString;
|
|
5113
|
+
var max = Math.max;
|
|
5047
5114
|
var funcType = '[object Function]';
|
|
5048
5115
|
|
|
5116
|
+
var concatty = function concatty(a, b) {
|
|
5117
|
+
var arr = [];
|
|
5118
|
+
|
|
5119
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
5120
|
+
arr[i] = a[i];
|
|
5121
|
+
}
|
|
5122
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
5123
|
+
arr[j + a.length] = b[j];
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
return arr;
|
|
5127
|
+
};
|
|
5128
|
+
|
|
5129
|
+
var slicy = function slicy(arrLike, offset) {
|
|
5130
|
+
var arr = [];
|
|
5131
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
5132
|
+
arr[j] = arrLike[i];
|
|
5133
|
+
}
|
|
5134
|
+
return arr;
|
|
5135
|
+
};
|
|
5136
|
+
|
|
5137
|
+
var joiny = function (arr, joiner) {
|
|
5138
|
+
var str = '';
|
|
5139
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
5140
|
+
str += arr[i];
|
|
5141
|
+
if (i + 1 < arr.length) {
|
|
5142
|
+
str += joiner;
|
|
5143
|
+
}
|
|
5144
|
+
}
|
|
5145
|
+
return str;
|
|
5146
|
+
};
|
|
5147
|
+
|
|
5049
5148
|
module.exports = function bind(that) {
|
|
5050
5149
|
var target = this;
|
|
5051
|
-
if (typeof target !== 'function' || toStr.
|
|
5150
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
5052
5151
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
5053
5152
|
}
|
|
5054
|
-
var args =
|
|
5153
|
+
var args = slicy(arguments, 1);
|
|
5055
5154
|
|
|
5056
5155
|
var bound;
|
|
5057
5156
|
var binder = function () {
|
|
5058
5157
|
if (this instanceof bound) {
|
|
5059
5158
|
var result = target.apply(
|
|
5060
5159
|
this,
|
|
5061
|
-
args
|
|
5160
|
+
concatty(args, arguments)
|
|
5062
5161
|
);
|
|
5063
5162
|
if (Object(result) === result) {
|
|
5064
5163
|
return result;
|
|
5065
5164
|
}
|
|
5066
5165
|
return this;
|
|
5067
|
-
} else {
|
|
5068
|
-
return target.apply(
|
|
5069
|
-
that,
|
|
5070
|
-
args.concat(slice.call(arguments))
|
|
5071
|
-
);
|
|
5072
5166
|
}
|
|
5167
|
+
return target.apply(
|
|
5168
|
+
that,
|
|
5169
|
+
concatty(args, arguments)
|
|
5170
|
+
);
|
|
5171
|
+
|
|
5073
5172
|
};
|
|
5074
5173
|
|
|
5075
|
-
var boundLength =
|
|
5174
|
+
var boundLength = max(0, target.length - args.length);
|
|
5076
5175
|
var boundArgs = [];
|
|
5077
5176
|
for (var i = 0; i < boundLength; i++) {
|
|
5078
|
-
boundArgs
|
|
5177
|
+
boundArgs[i] = '$' + i;
|
|
5079
5178
|
}
|
|
5080
5179
|
|
|
5081
|
-
bound = Function('binder', 'return function (' + boundArgs
|
|
5180
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
5082
5181
|
|
|
5083
5182
|
if (target.prototype) {
|
|
5084
5183
|
var Empty = function Empty() {};
|
|
@@ -5090,14 +5189,14 @@ module.exports = function bind(that) {
|
|
|
5090
5189
|
return bound;
|
|
5091
5190
|
};
|
|
5092
5191
|
|
|
5093
|
-
},{}],
|
|
5192
|
+
},{}],44:[function(require,module,exports){
|
|
5094
5193
|
'use strict';
|
|
5095
5194
|
|
|
5096
5195
|
var implementation = require('./implementation');
|
|
5097
5196
|
|
|
5098
5197
|
module.exports = Function.prototype.bind || implementation;
|
|
5099
5198
|
|
|
5100
|
-
},{"./implementation":
|
|
5199
|
+
},{"./implementation":43}],45:[function(require,module,exports){
|
|
5101
5200
|
'use strict';
|
|
5102
5201
|
|
|
5103
5202
|
var undefined;
|
|
@@ -5314,7 +5413,7 @@ var LEGACY_ALIASES = {
|
|
|
5314
5413
|
};
|
|
5315
5414
|
|
|
5316
5415
|
var bind = require('function-bind');
|
|
5317
|
-
var hasOwn = require('
|
|
5416
|
+
var hasOwn = require('hasown');
|
|
5318
5417
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
5319
5418
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
5320
5419
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -5450,7 +5549,60 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
5450
5549
|
return value;
|
|
5451
5550
|
};
|
|
5452
5551
|
|
|
5453
|
-
},{"function-bind":
|
|
5552
|
+
},{"function-bind":44,"has-proto":48,"has-symbols":49,"hasown":51}],46:[function(require,module,exports){
|
|
5553
|
+
'use strict';
|
|
5554
|
+
|
|
5555
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
5556
|
+
|
|
5557
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
5558
|
+
|
|
5559
|
+
if ($gOPD) {
|
|
5560
|
+
try {
|
|
5561
|
+
$gOPD([], 'length');
|
|
5562
|
+
} catch (e) {
|
|
5563
|
+
// IE 8 has a broken gOPD
|
|
5564
|
+
$gOPD = null;
|
|
5565
|
+
}
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
module.exports = $gOPD;
|
|
5569
|
+
|
|
5570
|
+
},{"get-intrinsic":45}],47:[function(require,module,exports){
|
|
5571
|
+
'use strict';
|
|
5572
|
+
|
|
5573
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
5574
|
+
|
|
5575
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
5576
|
+
|
|
5577
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
5578
|
+
if ($defineProperty) {
|
|
5579
|
+
try {
|
|
5580
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
5581
|
+
return true;
|
|
5582
|
+
} catch (e) {
|
|
5583
|
+
// IE 8 has a broken defineProperty
|
|
5584
|
+
return false;
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
return false;
|
|
5588
|
+
};
|
|
5589
|
+
|
|
5590
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
5591
|
+
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
5592
|
+
if (!hasPropertyDescriptors()) {
|
|
5593
|
+
return null;
|
|
5594
|
+
}
|
|
5595
|
+
try {
|
|
5596
|
+
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
5597
|
+
} catch (e) {
|
|
5598
|
+
// In Firefox 4-22, defining length on an array throws an exception.
|
|
5599
|
+
return true;
|
|
5600
|
+
}
|
|
5601
|
+
};
|
|
5602
|
+
|
|
5603
|
+
module.exports = hasPropertyDescriptors;
|
|
5604
|
+
|
|
5605
|
+
},{"get-intrinsic":45}],48:[function(require,module,exports){
|
|
5454
5606
|
'use strict';
|
|
5455
5607
|
|
|
5456
5608
|
var test = {
|
|
@@ -5463,7 +5615,7 @@ module.exports = function hasProto() {
|
|
|
5463
5615
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
5464
5616
|
};
|
|
5465
5617
|
|
|
5466
|
-
},{}],
|
|
5618
|
+
},{}],49:[function(require,module,exports){
|
|
5467
5619
|
'use strict';
|
|
5468
5620
|
|
|
5469
5621
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -5478,7 +5630,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
5478
5630
|
return hasSymbolSham();
|
|
5479
5631
|
};
|
|
5480
5632
|
|
|
5481
|
-
},{"./shams":
|
|
5633
|
+
},{"./shams":50}],50:[function(require,module,exports){
|
|
5482
5634
|
'use strict';
|
|
5483
5635
|
|
|
5484
5636
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -5522,17 +5674,18 @@ module.exports = function hasSymbols() {
|
|
|
5522
5674
|
return true;
|
|
5523
5675
|
};
|
|
5524
5676
|
|
|
5525
|
-
},{}],
|
|
5677
|
+
},{}],51:[function(require,module,exports){
|
|
5526
5678
|
'use strict';
|
|
5527
5679
|
|
|
5528
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
|
5529
5680
|
var call = Function.prototype.call;
|
|
5681
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
5682
|
+
var bind = require('function-bind');
|
|
5530
5683
|
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
};
|
|
5684
|
+
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
|
|
5685
|
+
module.exports = bind.call(call, $hasOwn);
|
|
5534
5686
|
|
|
5535
|
-
},{}],
|
|
5687
|
+
},{"function-bind":44}],52:[function(require,module,exports){
|
|
5688
|
+
(function (global){(function (){
|
|
5536
5689
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
5537
5690
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
5538
5691
|
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
|
|
@@ -5774,6 +5927,14 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5774
5927
|
if (isString(obj)) {
|
|
5775
5928
|
return markBoxed(inspect(String(obj)));
|
|
5776
5929
|
}
|
|
5930
|
+
// note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
|
|
5931
|
+
/* eslint-env browser */
|
|
5932
|
+
if (typeof window !== 'undefined' && obj === window) {
|
|
5933
|
+
return '{ [object Window] }';
|
|
5934
|
+
}
|
|
5935
|
+
if (obj === global) {
|
|
5936
|
+
return '{ [object globalThis] }';
|
|
5937
|
+
}
|
|
5777
5938
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
5778
5939
|
var ys = arrObjKeys(obj, inspect);
|
|
5779
5940
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
@@ -6050,7 +6211,8 @@ function arrObjKeys(obj, inspect) {
|
|
|
6050
6211
|
return xs;
|
|
6051
6212
|
}
|
|
6052
6213
|
|
|
6053
|
-
},
|
|
6214
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
6215
|
+
},{"./util.inspect":2}],53:[function(require,module,exports){
|
|
6054
6216
|
'use strict';
|
|
6055
6217
|
|
|
6056
6218
|
var replace = String.prototype.replace;
|
|
@@ -6075,7 +6237,7 @@ module.exports = {
|
|
|
6075
6237
|
RFC3986: Format.RFC3986
|
|
6076
6238
|
};
|
|
6077
6239
|
|
|
6078
|
-
},{}],
|
|
6240
|
+
},{}],54:[function(require,module,exports){
|
|
6079
6241
|
'use strict';
|
|
6080
6242
|
|
|
6081
6243
|
var stringify = require('./stringify');
|
|
@@ -6088,7 +6250,7 @@ module.exports = {
|
|
|
6088
6250
|
stringify: stringify
|
|
6089
6251
|
};
|
|
6090
6252
|
|
|
6091
|
-
},{"./formats":
|
|
6253
|
+
},{"./formats":53,"./parse":55,"./stringify":56}],55:[function(require,module,exports){
|
|
6092
6254
|
'use strict';
|
|
6093
6255
|
|
|
6094
6256
|
var utils = require('./utils');
|
|
@@ -6354,7 +6516,7 @@ module.exports = function (str, opts) {
|
|
|
6354
6516
|
return utils.compact(obj);
|
|
6355
6517
|
};
|
|
6356
6518
|
|
|
6357
|
-
},{"./utils":
|
|
6519
|
+
},{"./utils":57}],56:[function(require,module,exports){
|
|
6358
6520
|
'use strict';
|
|
6359
6521
|
|
|
6360
6522
|
var getSideChannel = require('side-channel');
|
|
@@ -6676,7 +6838,7 @@ module.exports = function (object, opts) {
|
|
|
6676
6838
|
return joined.length > 0 ? prefix + joined : '';
|
|
6677
6839
|
};
|
|
6678
6840
|
|
|
6679
|
-
},{"./formats":
|
|
6841
|
+
},{"./formats":53,"./utils":57,"side-channel":59}],57:[function(require,module,exports){
|
|
6680
6842
|
'use strict';
|
|
6681
6843
|
|
|
6682
6844
|
var formats = require('./formats');
|
|
@@ -6930,7 +7092,50 @@ module.exports = {
|
|
|
6930
7092
|
merge: merge
|
|
6931
7093
|
};
|
|
6932
7094
|
|
|
6933
|
-
},{"./formats":
|
|
7095
|
+
},{"./formats":53}],58:[function(require,module,exports){
|
|
7096
|
+
'use strict';
|
|
7097
|
+
|
|
7098
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
7099
|
+
var define = require('define-data-property');
|
|
7100
|
+
var hasDescriptors = require('has-property-descriptors')();
|
|
7101
|
+
var gOPD = require('gopd');
|
|
7102
|
+
|
|
7103
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
|
7104
|
+
var $floor = GetIntrinsic('%Math.floor%');
|
|
7105
|
+
|
|
7106
|
+
module.exports = function setFunctionLength(fn, length) {
|
|
7107
|
+
if (typeof fn !== 'function') {
|
|
7108
|
+
throw new $TypeError('`fn` is not a function');
|
|
7109
|
+
}
|
|
7110
|
+
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
7111
|
+
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
7112
|
+
}
|
|
7113
|
+
|
|
7114
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
7115
|
+
|
|
7116
|
+
var functionLengthIsConfigurable = true;
|
|
7117
|
+
var functionLengthIsWritable = true;
|
|
7118
|
+
if ('length' in fn && gOPD) {
|
|
7119
|
+
var desc = gOPD(fn, 'length');
|
|
7120
|
+
if (desc && !desc.configurable) {
|
|
7121
|
+
functionLengthIsConfigurable = false;
|
|
7122
|
+
}
|
|
7123
|
+
if (desc && !desc.writable) {
|
|
7124
|
+
functionLengthIsWritable = false;
|
|
7125
|
+
}
|
|
7126
|
+
}
|
|
7127
|
+
|
|
7128
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
7129
|
+
if (hasDescriptors) {
|
|
7130
|
+
define(fn, 'length', length, true, true);
|
|
7131
|
+
} else {
|
|
7132
|
+
define(fn, 'length', length);
|
|
7133
|
+
}
|
|
7134
|
+
}
|
|
7135
|
+
return fn;
|
|
7136
|
+
};
|
|
7137
|
+
|
|
7138
|
+
},{"define-data-property":42,"get-intrinsic":45,"gopd":46,"has-property-descriptors":47}],59:[function(require,module,exports){
|
|
6934
7139
|
'use strict';
|
|
6935
7140
|
|
|
6936
7141
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -7056,7 +7261,7 @@ module.exports = function getSideChannel() {
|
|
|
7056
7261
|
return channel;
|
|
7057
7262
|
};
|
|
7058
7263
|
|
|
7059
|
-
},{"call-bind/callBound":40,"get-intrinsic":
|
|
7264
|
+
},{"call-bind/callBound":40,"get-intrinsic":45,"object-inspect":52}],"platformClient":[function(require,module,exports){
|
|
7060
7265
|
(function (global,Buffer){(function (){
|
|
7061
7266
|
'use strict';
|
|
7062
7267
|
|
|
@@ -9339,7 +9544,7 @@ class Configuration {
|
|
|
9339
9544
|
|
|
9340
9545
|
/**
|
|
9341
9546
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9342
|
-
* @version
|
|
9547
|
+
* @version 181.0.0
|
|
9343
9548
|
*/
|
|
9344
9549
|
class ApiClient {
|
|
9345
9550
|
/**
|
|
@@ -10418,7 +10623,7 @@ class AlertingApi {
|
|
|
10418
10623
|
/**
|
|
10419
10624
|
* Alerting service.
|
|
10420
10625
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10421
|
-
* @version
|
|
10626
|
+
* @version 181.0.0
|
|
10422
10627
|
*/
|
|
10423
10628
|
|
|
10424
10629
|
/**
|
|
@@ -11068,7 +11273,7 @@ class AnalyticsApi {
|
|
|
11068
11273
|
/**
|
|
11069
11274
|
* Analytics service.
|
|
11070
11275
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
11071
|
-
* @version
|
|
11276
|
+
* @version 181.0.0
|
|
11072
11277
|
*/
|
|
11073
11278
|
|
|
11074
11279
|
/**
|
|
@@ -13514,7 +13719,7 @@ class ArchitectApi {
|
|
|
13514
13719
|
/**
|
|
13515
13720
|
* Architect service.
|
|
13516
13721
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
13517
|
-
* @version
|
|
13722
|
+
* @version 181.0.0
|
|
13518
13723
|
*/
|
|
13519
13724
|
|
|
13520
13725
|
/**
|
|
@@ -17349,7 +17554,7 @@ class AuditApi {
|
|
|
17349
17554
|
/**
|
|
17350
17555
|
* Audit service.
|
|
17351
17556
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
17352
|
-
* @version
|
|
17557
|
+
* @version 181.0.0
|
|
17353
17558
|
*/
|
|
17354
17559
|
|
|
17355
17560
|
/**
|
|
@@ -17520,7 +17725,7 @@ class AuthorizationApi {
|
|
|
17520
17725
|
/**
|
|
17521
17726
|
* Authorization service.
|
|
17522
17727
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
17523
|
-
* @version
|
|
17728
|
+
* @version 181.0.0
|
|
17524
17729
|
*/
|
|
17525
17730
|
|
|
17526
17731
|
/**
|
|
@@ -18751,7 +18956,7 @@ class BillingApi {
|
|
|
18751
18956
|
/**
|
|
18752
18957
|
* Billing service.
|
|
18753
18958
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
18754
|
-
* @version
|
|
18959
|
+
* @version 181.0.0
|
|
18755
18960
|
*/
|
|
18756
18961
|
|
|
18757
18962
|
/**
|
|
@@ -18831,7 +19036,7 @@ class CarrierServicesApi {
|
|
|
18831
19036
|
/**
|
|
18832
19037
|
* CarrierServices service.
|
|
18833
19038
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
18834
|
-
* @version
|
|
19039
|
+
* @version 181.0.0
|
|
18835
19040
|
*/
|
|
18836
19041
|
|
|
18837
19042
|
/**
|
|
@@ -18901,7 +19106,7 @@ class ChatApi {
|
|
|
18901
19106
|
/**
|
|
18902
19107
|
* Chat service.
|
|
18903
19108
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
18904
|
-
* @version
|
|
19109
|
+
* @version 181.0.0
|
|
18905
19110
|
*/
|
|
18906
19111
|
|
|
18907
19112
|
/**
|
|
@@ -19040,27 +19245,6 @@ class ChatApi {
|
|
|
19040
19245
|
);
|
|
19041
19246
|
}
|
|
19042
19247
|
|
|
19043
|
-
/**
|
|
19044
|
-
* Get Chat Settings.
|
|
19045
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19046
|
-
* @deprecated
|
|
19047
|
-
*/
|
|
19048
|
-
getChatSettings() {
|
|
19049
|
-
|
|
19050
|
-
return this.apiClient.callApi(
|
|
19051
|
-
'/api/v2/chat/settings',
|
|
19052
|
-
'GET',
|
|
19053
|
-
{ },
|
|
19054
|
-
{ },
|
|
19055
|
-
{ },
|
|
19056
|
-
{ },
|
|
19057
|
-
null,
|
|
19058
|
-
['PureCloud OAuth'],
|
|
19059
|
-
['application/json'],
|
|
19060
|
-
['application/json']
|
|
19061
|
-
);
|
|
19062
|
-
}
|
|
19063
|
-
|
|
19064
19248
|
/**
|
|
19065
19249
|
* Get a message
|
|
19066
19250
|
*
|
|
@@ -19309,32 +19493,6 @@ class ChatApi {
|
|
|
19309
19493
|
);
|
|
19310
19494
|
}
|
|
19311
19495
|
|
|
19312
|
-
/**
|
|
19313
|
-
* Patch Chat Settings.
|
|
19314
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19315
|
-
* @param {Object} body Chat
|
|
19316
|
-
* @deprecated
|
|
19317
|
-
*/
|
|
19318
|
-
patchChatSettings(body) {
|
|
19319
|
-
// verify the required parameter 'body' is set
|
|
19320
|
-
if (body === undefined || body === null) {
|
|
19321
|
-
throw 'Missing the required parameter "body" when calling patchChatSettings';
|
|
19322
|
-
}
|
|
19323
|
-
|
|
19324
|
-
return this.apiClient.callApi(
|
|
19325
|
-
'/api/v2/chat/settings',
|
|
19326
|
-
'PATCH',
|
|
19327
|
-
{ },
|
|
19328
|
-
{ },
|
|
19329
|
-
{ },
|
|
19330
|
-
{ },
|
|
19331
|
-
body,
|
|
19332
|
-
['PureCloud OAuth'],
|
|
19333
|
-
['application/json'],
|
|
19334
|
-
['application/json']
|
|
19335
|
-
);
|
|
19336
|
-
}
|
|
19337
|
-
|
|
19338
19496
|
/**
|
|
19339
19497
|
* Set properties for a room
|
|
19340
19498
|
*
|
|
@@ -19559,13 +19717,14 @@ class ChatApi {
|
|
|
19559
19717
|
/**
|
|
19560
19718
|
* Create an adhoc room
|
|
19561
19719
|
*
|
|
19562
|
-
* @param {Object}
|
|
19563
|
-
* @param {Object} opts.body Room properties
|
|
19720
|
+
* @param {Object} body Room properties
|
|
19564
19721
|
* postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
19565
19722
|
*/
|
|
19566
|
-
postChatsRooms(
|
|
19567
|
-
|
|
19568
|
-
|
|
19723
|
+
postChatsRooms(body) {
|
|
19724
|
+
// verify the required parameter 'body' is set
|
|
19725
|
+
if (body === undefined || body === null) {
|
|
19726
|
+
throw 'Missing the required parameter "body" when calling postChatsRooms';
|
|
19727
|
+
}
|
|
19569
19728
|
|
|
19570
19729
|
return this.apiClient.callApi(
|
|
19571
19730
|
'/api/v2/chats/rooms',
|
|
@@ -19574,7 +19733,7 @@ class ChatApi {
|
|
|
19574
19733
|
{ },
|
|
19575
19734
|
{ },
|
|
19576
19735
|
{ },
|
|
19577
|
-
|
|
19736
|
+
body,
|
|
19578
19737
|
['PureCloud OAuth'],
|
|
19579
19738
|
['application/json'],
|
|
19580
19739
|
['application/json']
|
|
@@ -19612,32 +19771,6 @@ class ChatApi {
|
|
|
19612
19771
|
);
|
|
19613
19772
|
}
|
|
19614
19773
|
|
|
19615
|
-
/**
|
|
19616
|
-
* Update Chat Settings.
|
|
19617
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19618
|
-
* @param {Object} body Chat
|
|
19619
|
-
* @deprecated
|
|
19620
|
-
*/
|
|
19621
|
-
putChatSettings(body) {
|
|
19622
|
-
// verify the required parameter 'body' is set
|
|
19623
|
-
if (body === undefined || body === null) {
|
|
19624
|
-
throw 'Missing the required parameter "body" when calling putChatSettings';
|
|
19625
|
-
}
|
|
19626
|
-
|
|
19627
|
-
return this.apiClient.callApi(
|
|
19628
|
-
'/api/v2/chat/settings',
|
|
19629
|
-
'PUT',
|
|
19630
|
-
{ },
|
|
19631
|
-
{ },
|
|
19632
|
-
{ },
|
|
19633
|
-
{ },
|
|
19634
|
-
body,
|
|
19635
|
-
['PureCloud OAuth'],
|
|
19636
|
-
['application/json'],
|
|
19637
|
-
['application/json']
|
|
19638
|
-
);
|
|
19639
|
-
}
|
|
19640
|
-
|
|
19641
19774
|
/**
|
|
19642
19775
|
* Update Chat Settings.
|
|
19643
19776
|
*
|
|
@@ -19669,7 +19802,7 @@ class CoachingApi {
|
|
|
19669
19802
|
/**
|
|
19670
19803
|
* Coaching service.
|
|
19671
19804
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
19672
|
-
* @version
|
|
19805
|
+
* @version 181.0.0
|
|
19673
19806
|
*/
|
|
19674
19807
|
|
|
19675
19808
|
/**
|
|
@@ -20246,7 +20379,7 @@ class ContentManagementApi {
|
|
|
20246
20379
|
/**
|
|
20247
20380
|
* ContentManagement service.
|
|
20248
20381
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
20249
|
-
* @version
|
|
20382
|
+
* @version 181.0.0
|
|
20250
20383
|
*/
|
|
20251
20384
|
|
|
20252
20385
|
/**
|
|
@@ -21389,7 +21522,7 @@ class ConversationsApi {
|
|
|
21389
21522
|
/**
|
|
21390
21523
|
* Conversations service.
|
|
21391
21524
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
21392
|
-
* @version
|
|
21525
|
+
* @version 181.0.0
|
|
21393
21526
|
*/
|
|
21394
21527
|
|
|
21395
21528
|
/**
|
|
@@ -25434,6 +25567,36 @@ class ConversationsApi {
|
|
|
25434
25567
|
);
|
|
25435
25568
|
}
|
|
25436
25569
|
|
|
25570
|
+
/**
|
|
25571
|
+
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
25572
|
+
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
|
|
25573
|
+
* @param {String} integrationId Integration ID
|
|
25574
|
+
* @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
|
|
25575
|
+
*/
|
|
25576
|
+
patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId, body) {
|
|
25577
|
+
// verify the required parameter 'integrationId' is set
|
|
25578
|
+
if (integrationId === undefined || integrationId === null) {
|
|
25579
|
+
throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';
|
|
25580
|
+
}
|
|
25581
|
+
// verify the required parameter 'body' is set
|
|
25582
|
+
if (body === undefined || body === null) {
|
|
25583
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';
|
|
25584
|
+
}
|
|
25585
|
+
|
|
25586
|
+
return this.apiClient.callApi(
|
|
25587
|
+
'/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}',
|
|
25588
|
+
'PATCH',
|
|
25589
|
+
{ 'integrationId': integrationId },
|
|
25590
|
+
{ },
|
|
25591
|
+
{ },
|
|
25592
|
+
{ },
|
|
25593
|
+
body,
|
|
25594
|
+
['PureCloud OAuth'],
|
|
25595
|
+
['application/json'],
|
|
25596
|
+
['application/json']
|
|
25597
|
+
);
|
|
25598
|
+
}
|
|
25599
|
+
|
|
25437
25600
|
/**
|
|
25438
25601
|
* Update or activate a WhatsApp messaging integration
|
|
25439
25602
|
* The following steps are required in order to fully activate a WhatsApp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
|
|
@@ -27660,9 +27823,10 @@ class ConversationsApi {
|
|
|
27660
27823
|
}
|
|
27661
27824
|
|
|
27662
27825
|
/**
|
|
27663
|
-
* Create a WhatsApp Integration
|
|
27664
|
-
* You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
|
27826
|
+
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
|
|
27827
|
+
* [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
|
|
27665
27828
|
* @param {Object} body WhatsAppIntegrationRequest
|
|
27829
|
+
* @deprecated
|
|
27666
27830
|
*/
|
|
27667
27831
|
postConversationsMessagingIntegrationsWhatsapp(body) {
|
|
27668
27832
|
// verify the required parameter 'body' is set
|
|
@@ -27684,6 +27848,31 @@ class ConversationsApi {
|
|
|
27684
27848
|
);
|
|
27685
27849
|
}
|
|
27686
27850
|
|
|
27851
|
+
/**
|
|
27852
|
+
* Create a WhatsApp Integration using the WhatsApp embedded signup flow
|
|
27853
|
+
* Use the access token returned from the embedded signup flow to obtain a list of available phone numbers that can be associated with the created integration. The returned WhatsApp integration will initially have a createStatus of Initiated until the list of available phone numbers can be obtained from the provider. Please run a GET on the created integration until it returns a createStatus of Completed, and the list of available phone numbers obtained from the provider. You can then specify one of the available phone numbers in the PATCH call on the integration to activate it.
|
|
27854
|
+
* @param {Object} body WhatsAppEmbeddedSignupIntegrationRequest
|
|
27855
|
+
*/
|
|
27856
|
+
postConversationsMessagingIntegrationsWhatsappEmbeddedsignup(body) {
|
|
27857
|
+
// verify the required parameter 'body' is set
|
|
27858
|
+
if (body === undefined || body === null) {
|
|
27859
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsWhatsappEmbeddedsignup';
|
|
27860
|
+
}
|
|
27861
|
+
|
|
27862
|
+
return this.apiClient.callApi(
|
|
27863
|
+
'/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup',
|
|
27864
|
+
'POST',
|
|
27865
|
+
{ },
|
|
27866
|
+
{ },
|
|
27867
|
+
{ },
|
|
27868
|
+
{ },
|
|
27869
|
+
body,
|
|
27870
|
+
['PureCloud OAuth'],
|
|
27871
|
+
['application/json'],
|
|
27872
|
+
['application/json']
|
|
27873
|
+
);
|
|
27874
|
+
}
|
|
27875
|
+
|
|
27687
27876
|
/**
|
|
27688
27877
|
* Create a messaging setting
|
|
27689
27878
|
*
|
|
@@ -28473,7 +28662,7 @@ class DataExtensionsApi {
|
|
|
28473
28662
|
/**
|
|
28474
28663
|
* DataExtensions service.
|
|
28475
28664
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
28476
|
-
* @version
|
|
28665
|
+
* @version 181.0.0
|
|
28477
28666
|
*/
|
|
28478
28667
|
|
|
28479
28668
|
/**
|
|
@@ -28559,7 +28748,7 @@ class DownloadsApi {
|
|
|
28559
28748
|
/**
|
|
28560
28749
|
* Downloads service.
|
|
28561
28750
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
28562
|
-
* @version
|
|
28751
|
+
* @version 181.0.0
|
|
28563
28752
|
*/
|
|
28564
28753
|
|
|
28565
28754
|
/**
|
|
@@ -28611,7 +28800,7 @@ class EmailsApi {
|
|
|
28611
28800
|
/**
|
|
28612
28801
|
* Emails service.
|
|
28613
28802
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
28614
|
-
* @version
|
|
28803
|
+
* @version 181.0.0
|
|
28615
28804
|
*/
|
|
28616
28805
|
|
|
28617
28806
|
/**
|
|
@@ -28676,7 +28865,7 @@ class EventsApi {
|
|
|
28676
28865
|
/**
|
|
28677
28866
|
* Events service.
|
|
28678
28867
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
28679
|
-
* @version
|
|
28868
|
+
* @version 181.0.0
|
|
28680
28869
|
*/
|
|
28681
28870
|
|
|
28682
28871
|
/**
|
|
@@ -28772,7 +28961,7 @@ class ExternalContactsApi {
|
|
|
28772
28961
|
/**
|
|
28773
28962
|
* ExternalContacts service.
|
|
28774
28963
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
28775
|
-
* @version
|
|
28964
|
+
* @version 181.0.0
|
|
28776
28965
|
*/
|
|
28777
28966
|
|
|
28778
28967
|
/**
|
|
@@ -30730,7 +30919,7 @@ class FaxApi {
|
|
|
30730
30919
|
/**
|
|
30731
30920
|
* Fax service.
|
|
30732
30921
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
30733
|
-
* @version
|
|
30922
|
+
* @version 181.0.0
|
|
30734
30923
|
*/
|
|
30735
30924
|
|
|
30736
30925
|
/**
|
|
@@ -30901,7 +31090,7 @@ class FlowsApi {
|
|
|
30901
31090
|
/**
|
|
30902
31091
|
* Flows service.
|
|
30903
31092
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
30904
|
-
* @version
|
|
31093
|
+
* @version 181.0.0
|
|
30905
31094
|
*/
|
|
30906
31095
|
|
|
30907
31096
|
/**
|
|
@@ -31085,7 +31274,7 @@ class GamificationApi {
|
|
|
31085
31274
|
/**
|
|
31086
31275
|
* Gamification service.
|
|
31087
31276
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
31088
|
-
* @version
|
|
31277
|
+
* @version 181.0.0
|
|
31089
31278
|
*/
|
|
31090
31279
|
|
|
31091
31280
|
/**
|
|
@@ -33171,7 +33360,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
33171
33360
|
/**
|
|
33172
33361
|
* GeneralDataProtectionRegulation service.
|
|
33173
33362
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
33174
|
-
* @version
|
|
33363
|
+
* @version 181.0.0
|
|
33175
33364
|
*/
|
|
33176
33365
|
|
|
33177
33366
|
/**
|
|
@@ -33301,7 +33490,7 @@ class GeolocationApi {
|
|
|
33301
33490
|
/**
|
|
33302
33491
|
* Geolocation service.
|
|
33303
33492
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
33304
|
-
* @version
|
|
33493
|
+
* @version 181.0.0
|
|
33305
33494
|
*/
|
|
33306
33495
|
|
|
33307
33496
|
/**
|
|
@@ -33432,7 +33621,7 @@ class GreetingsApi {
|
|
|
33432
33621
|
/**
|
|
33433
33622
|
* Greetings service.
|
|
33434
33623
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
33435
|
-
* @version
|
|
33624
|
+
* @version 181.0.0
|
|
33436
33625
|
*/
|
|
33437
33626
|
|
|
33438
33627
|
/**
|
|
@@ -33887,7 +34076,7 @@ class GroupsApi {
|
|
|
33887
34076
|
/**
|
|
33888
34077
|
* Groups service.
|
|
33889
34078
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
33890
|
-
* @version
|
|
34079
|
+
* @version 181.0.0
|
|
33891
34080
|
*/
|
|
33892
34081
|
|
|
33893
34082
|
/**
|
|
@@ -34406,7 +34595,7 @@ class IdentityProviderApi {
|
|
|
34406
34595
|
/**
|
|
34407
34596
|
* IdentityProvider service.
|
|
34408
34597
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34409
|
-
* @version
|
|
34598
|
+
* @version 181.0.0
|
|
34410
34599
|
*/
|
|
34411
34600
|
|
|
34412
34601
|
/**
|
|
@@ -35162,7 +35351,7 @@ class InfrastructureAsCodeApi {
|
|
|
35162
35351
|
/**
|
|
35163
35352
|
* InfrastructureAsCode service.
|
|
35164
35353
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
35165
|
-
* @version
|
|
35354
|
+
* @version 181.0.0
|
|
35166
35355
|
*/
|
|
35167
35356
|
|
|
35168
35357
|
/**
|
|
@@ -35329,7 +35518,7 @@ class IntegrationsApi {
|
|
|
35329
35518
|
/**
|
|
35330
35519
|
* Integrations service.
|
|
35331
35520
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35332
|
-
* @version
|
|
35521
|
+
* @version 181.0.0
|
|
35333
35522
|
*/
|
|
35334
35523
|
|
|
35335
35524
|
/**
|
|
@@ -37291,7 +37480,7 @@ class JourneyApi {
|
|
|
37291
37480
|
/**
|
|
37292
37481
|
* Journey service.
|
|
37293
37482
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37294
|
-
* @version
|
|
37483
|
+
* @version 181.0.0
|
|
37295
37484
|
*/
|
|
37296
37485
|
|
|
37297
37486
|
/**
|
|
@@ -37733,6 +37922,48 @@ class JourneyApi {
|
|
|
37733
37922
|
);
|
|
37734
37923
|
}
|
|
37735
37924
|
|
|
37925
|
+
/**
|
|
37926
|
+
* Send a ping.
|
|
37927
|
+
*
|
|
37928
|
+
* @param {String} deploymentId The ID of the deployment sending the ping.
|
|
37929
|
+
* @param {String} customerCookieId ID of the customer associated with the ping.
|
|
37930
|
+
* @param {String} sessionId UUID of the customer session. Use the same Session Id for all pings, AppEvents and ActionEvents in the session
|
|
37931
|
+
* @param {Object} opts Optional parameters
|
|
37932
|
+
* @param {String} opts.dl Document Location: 1) Web Page URL if overridden or URL fragment identifier (window.location.hash). OR 2) Application screen name that the ping request was sent from in the app. e.g. 'home' or 'help. Pings without this parameter will not return actions.
|
|
37933
|
+
* @param {String} opts.dt Document Title. A human readable name for the page or screen
|
|
37934
|
+
* @param {String} opts.appNamespace Namespace of the application (e.g. com.genesys.bancodinero). Used for domain filtering in application sessions
|
|
37935
|
+
* @param {Number} opts.sinceLastBeaconMilliseconds How long (milliseconds) since the last app event or beacon was sent. The response may return a pollInternvalMilliseconds to reduce the frequency of pings.
|
|
37936
|
+
*/
|
|
37937
|
+
getJourneyDeploymentCustomerPing(deploymentId, customerCookieId, sessionId, opts) {
|
|
37938
|
+
opts = opts || {};
|
|
37939
|
+
|
|
37940
|
+
// verify the required parameter 'deploymentId' is set
|
|
37941
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
37942
|
+
throw 'Missing the required parameter "deploymentId" when calling getJourneyDeploymentCustomerPing';
|
|
37943
|
+
}
|
|
37944
|
+
// verify the required parameter 'customerCookieId' is set
|
|
37945
|
+
if (customerCookieId === undefined || customerCookieId === null) {
|
|
37946
|
+
throw 'Missing the required parameter "customerCookieId" when calling getJourneyDeploymentCustomerPing';
|
|
37947
|
+
}
|
|
37948
|
+
// verify the required parameter 'sessionId' is set
|
|
37949
|
+
if (sessionId === undefined || sessionId === null) {
|
|
37950
|
+
throw 'Missing the required parameter "sessionId" when calling getJourneyDeploymentCustomerPing';
|
|
37951
|
+
}
|
|
37952
|
+
|
|
37953
|
+
return this.apiClient.callApi(
|
|
37954
|
+
'/api/v2/journey/deployments/{deploymentId}/customers/{customerCookieId}/ping',
|
|
37955
|
+
'GET',
|
|
37956
|
+
{ 'deploymentId': deploymentId,'customerCookieId': customerCookieId },
|
|
37957
|
+
{ 'dl': opts['dl'],'dt': opts['dt'],'appNamespace': opts['appNamespace'],'sessionId': sessionId,'sinceLastBeaconMilliseconds': opts['sinceLastBeaconMilliseconds'] },
|
|
37958
|
+
{ },
|
|
37959
|
+
{ },
|
|
37960
|
+
null,
|
|
37961
|
+
['PureCloud OAuth'],
|
|
37962
|
+
['application/json'],
|
|
37963
|
+
['application/json']
|
|
37964
|
+
);
|
|
37965
|
+
}
|
|
37966
|
+
|
|
37736
37967
|
/**
|
|
37737
37968
|
* Retrieve a single outcome.
|
|
37738
37969
|
*
|
|
@@ -38322,13 +38553,42 @@ class JourneyApi {
|
|
|
38322
38553
|
);
|
|
38323
38554
|
}
|
|
38324
38555
|
|
|
38556
|
+
/**
|
|
38557
|
+
* Sends an action event, which is used for changing the state of actions that have been offered to the user.
|
|
38558
|
+
*
|
|
38559
|
+
* @param {String} deploymentId The ID of the deployment sending the beacon.
|
|
38560
|
+
* @param {Object} body
|
|
38561
|
+
*/
|
|
38562
|
+
postJourneyDeploymentActionevent(deploymentId, body) {
|
|
38563
|
+
// verify the required parameter 'deploymentId' is set
|
|
38564
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
38565
|
+
throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentActionevent';
|
|
38566
|
+
}
|
|
38567
|
+
// verify the required parameter 'body' is set
|
|
38568
|
+
if (body === undefined || body === null) {
|
|
38569
|
+
throw 'Missing the required parameter "body" when calling postJourneyDeploymentActionevent';
|
|
38570
|
+
}
|
|
38571
|
+
|
|
38572
|
+
return this.apiClient.callApi(
|
|
38573
|
+
'/api/v2/journey/deployments/{deploymentId}/actionevent',
|
|
38574
|
+
'POST',
|
|
38575
|
+
{ 'deploymentId': deploymentId },
|
|
38576
|
+
{ },
|
|
38577
|
+
{ },
|
|
38578
|
+
{ },
|
|
38579
|
+
body,
|
|
38580
|
+
['PureCloud OAuth'],
|
|
38581
|
+
['application/json'],
|
|
38582
|
+
['application/json']
|
|
38583
|
+
);
|
|
38584
|
+
}
|
|
38585
|
+
|
|
38325
38586
|
/**
|
|
38326
38587
|
* Send a journey app event, used for tracking customer activity on an application.
|
|
38327
38588
|
*
|
|
38328
38589
|
* @param {String} deploymentId The ID of the deployment sending the app event.
|
|
38329
38590
|
* @param {Object} opts Optional parameters
|
|
38330
38591
|
* @param {Object} opts.body
|
|
38331
|
-
* postJourneyDeploymentAppevents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
38332
38592
|
*/
|
|
38333
38593
|
postJourneyDeploymentAppevents(deploymentId, opts) {
|
|
38334
38594
|
opts = opts || {};
|
|
@@ -38455,7 +38715,7 @@ class KnowledgeApi {
|
|
|
38455
38715
|
/**
|
|
38456
38716
|
* Knowledge service.
|
|
38457
38717
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
38458
|
-
* @version
|
|
38718
|
+
* @version 181.0.0
|
|
38459
38719
|
*/
|
|
38460
38720
|
|
|
38461
38721
|
/**
|
|
@@ -41276,7 +41536,7 @@ class LanguageUnderstandingApi {
|
|
|
41276
41536
|
/**
|
|
41277
41537
|
* LanguageUnderstanding service.
|
|
41278
41538
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41279
|
-
* @version
|
|
41539
|
+
* @version 181.0.0
|
|
41280
41540
|
*/
|
|
41281
41541
|
|
|
41282
41542
|
/**
|
|
@@ -42289,7 +42549,7 @@ class LanguagesApi {
|
|
|
42289
42549
|
/**
|
|
42290
42550
|
* Languages service.
|
|
42291
42551
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42292
|
-
* @version
|
|
42552
|
+
* @version 181.0.0
|
|
42293
42553
|
*/
|
|
42294
42554
|
|
|
42295
42555
|
/**
|
|
@@ -42511,7 +42771,7 @@ class LearningApi {
|
|
|
42511
42771
|
/**
|
|
42512
42772
|
* Learning service.
|
|
42513
42773
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42514
|
-
* @version
|
|
42774
|
+
* @version 181.0.0
|
|
42515
42775
|
*/
|
|
42516
42776
|
|
|
42517
42777
|
/**
|
|
@@ -43330,7 +43590,7 @@ class LicenseApi {
|
|
|
43330
43590
|
/**
|
|
43331
43591
|
* License service.
|
|
43332
43592
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43333
|
-
* @version
|
|
43593
|
+
* @version 181.0.0
|
|
43334
43594
|
*/
|
|
43335
43595
|
|
|
43336
43596
|
/**
|
|
@@ -43568,7 +43828,7 @@ class LocationsApi {
|
|
|
43568
43828
|
/**
|
|
43569
43829
|
* Locations service.
|
|
43570
43830
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43571
|
-
* @version
|
|
43831
|
+
* @version 181.0.0
|
|
43572
43832
|
*/
|
|
43573
43833
|
|
|
43574
43834
|
/**
|
|
@@ -43804,7 +44064,7 @@ class MessagingApi {
|
|
|
43804
44064
|
/**
|
|
43805
44065
|
* Messaging service.
|
|
43806
44066
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
43807
|
-
* @version
|
|
44067
|
+
* @version 181.0.0
|
|
43808
44068
|
*/
|
|
43809
44069
|
|
|
43810
44070
|
/**
|
|
@@ -44163,7 +44423,7 @@ class MobileDevicesApi {
|
|
|
44163
44423
|
/**
|
|
44164
44424
|
* MobileDevices service.
|
|
44165
44425
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44166
|
-
* @version
|
|
44426
|
+
* @version 181.0.0
|
|
44167
44427
|
*/
|
|
44168
44428
|
|
|
44169
44429
|
/**
|
|
@@ -44314,7 +44574,7 @@ class NotificationsApi {
|
|
|
44314
44574
|
/**
|
|
44315
44575
|
* Notifications service.
|
|
44316
44576
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44317
|
-
* @version
|
|
44577
|
+
* @version 181.0.0
|
|
44318
44578
|
*/
|
|
44319
44579
|
|
|
44320
44580
|
/**
|
|
@@ -44547,7 +44807,7 @@ class OAuthApi {
|
|
|
44547
44807
|
/**
|
|
44548
44808
|
* OAuth service.
|
|
44549
44809
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
44550
|
-
* @version
|
|
44810
|
+
* @version 181.0.0
|
|
44551
44811
|
*/
|
|
44552
44812
|
|
|
44553
44813
|
/**
|
|
@@ -44913,7 +45173,7 @@ class ObjectsApi {
|
|
|
44913
45173
|
/**
|
|
44914
45174
|
* Objects service.
|
|
44915
45175
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
44916
|
-
* @version
|
|
45176
|
+
* @version 181.0.0
|
|
44917
45177
|
*/
|
|
44918
45178
|
|
|
44919
45179
|
/**
|
|
@@ -45180,11 +45440,77 @@ class ObjectsApi {
|
|
|
45180
45440
|
|
|
45181
45441
|
}
|
|
45182
45442
|
|
|
45443
|
+
class OperationalEventsApi {
|
|
45444
|
+
/**
|
|
45445
|
+
* OperationalEvents service.
|
|
45446
|
+
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
45447
|
+
* @version 181.0.0
|
|
45448
|
+
*/
|
|
45449
|
+
|
|
45450
|
+
/**
|
|
45451
|
+
* Constructs a new OperationalEventsApi.
|
|
45452
|
+
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
45453
|
+
* @class
|
|
45454
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
45455
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
45456
|
+
*/
|
|
45457
|
+
constructor(apiClient) {
|
|
45458
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
45459
|
+
}
|
|
45460
|
+
|
|
45461
|
+
|
|
45462
|
+
/**
|
|
45463
|
+
* Get an operational event definition by its id
|
|
45464
|
+
*
|
|
45465
|
+
* @param {String} eventDefinitionId EventDefinition id
|
|
45466
|
+
*/
|
|
45467
|
+
getUsageEventsDefinition(eventDefinitionId) {
|
|
45468
|
+
// verify the required parameter 'eventDefinitionId' is set
|
|
45469
|
+
if (eventDefinitionId === undefined || eventDefinitionId === null) {
|
|
45470
|
+
throw 'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';
|
|
45471
|
+
}
|
|
45472
|
+
|
|
45473
|
+
return this.apiClient.callApi(
|
|
45474
|
+
'/api/v2/usage/events/definitions/{eventDefinitionId}',
|
|
45475
|
+
'GET',
|
|
45476
|
+
{ 'eventDefinitionId': eventDefinitionId },
|
|
45477
|
+
{ },
|
|
45478
|
+
{ },
|
|
45479
|
+
{ },
|
|
45480
|
+
null,
|
|
45481
|
+
['PureCloud OAuth'],
|
|
45482
|
+
['application/json'],
|
|
45483
|
+
['application/json']
|
|
45484
|
+
);
|
|
45485
|
+
}
|
|
45486
|
+
|
|
45487
|
+
/**
|
|
45488
|
+
* Get all operational event definitions
|
|
45489
|
+
*
|
|
45490
|
+
*/
|
|
45491
|
+
getUsageEventsDefinitions() {
|
|
45492
|
+
|
|
45493
|
+
return this.apiClient.callApi(
|
|
45494
|
+
'/api/v2/usage/events/definitions',
|
|
45495
|
+
'GET',
|
|
45496
|
+
{ },
|
|
45497
|
+
{ },
|
|
45498
|
+
{ },
|
|
45499
|
+
{ },
|
|
45500
|
+
null,
|
|
45501
|
+
['PureCloud OAuth'],
|
|
45502
|
+
['application/json'],
|
|
45503
|
+
['application/json']
|
|
45504
|
+
);
|
|
45505
|
+
}
|
|
45506
|
+
|
|
45507
|
+
}
|
|
45508
|
+
|
|
45183
45509
|
class OrganizationApi {
|
|
45184
45510
|
/**
|
|
45185
45511
|
* Organization service.
|
|
45186
45512
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45187
|
-
* @version
|
|
45513
|
+
* @version 181.0.0
|
|
45188
45514
|
*/
|
|
45189
45515
|
|
|
45190
45516
|
/**
|
|
@@ -45639,7 +45965,7 @@ class OrganizationAuthorizationApi {
|
|
|
45639
45965
|
/**
|
|
45640
45966
|
* OrganizationAuthorization service.
|
|
45641
45967
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
45642
|
-
* @version
|
|
45968
|
+
* @version 181.0.0
|
|
45643
45969
|
*/
|
|
45644
45970
|
|
|
45645
45971
|
/**
|
|
@@ -46986,7 +47312,7 @@ class OutboundApi {
|
|
|
46986
47312
|
/**
|
|
46987
47313
|
* Outbound service.
|
|
46988
47314
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
46989
|
-
* @version
|
|
47315
|
+
* @version 181.0.0
|
|
46990
47316
|
*/
|
|
46991
47317
|
|
|
46992
47318
|
/**
|
|
@@ -50608,7 +50934,7 @@ class PresenceApi {
|
|
|
50608
50934
|
/**
|
|
50609
50935
|
* Presence service.
|
|
50610
50936
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
50611
|
-
* @version
|
|
50937
|
+
* @version 181.0.0
|
|
50612
50938
|
*/
|
|
50613
50939
|
|
|
50614
50940
|
/**
|
|
@@ -50703,9 +51029,13 @@ class PresenceApi {
|
|
|
50703
51029
|
* Get a Presence Definition
|
|
50704
51030
|
*
|
|
50705
51031
|
* @param {String} definitionId Presence Definition ID
|
|
51032
|
+
* @param {Object} opts Optional parameters
|
|
51033
|
+
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
50706
51034
|
* getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
50707
51035
|
*/
|
|
50708
|
-
getPresenceDefinition0(definitionId) {
|
|
51036
|
+
getPresenceDefinition0(definitionId, opts) {
|
|
51037
|
+
opts = opts || {};
|
|
51038
|
+
|
|
50709
51039
|
// verify the required parameter 'definitionId' is set
|
|
50710
51040
|
if (definitionId === undefined || definitionId === null) {
|
|
50711
51041
|
throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
|
|
@@ -50715,7 +51045,7 @@ class PresenceApi {
|
|
|
50715
51045
|
'/api/v2/presence/definitions/{definitionId}',
|
|
50716
51046
|
'GET',
|
|
50717
51047
|
{ 'definitionId': definitionId },
|
|
50718
|
-
{
|
|
51048
|
+
{ 'localeCode': opts['localeCode'] },
|
|
50719
51049
|
{ },
|
|
50720
51050
|
{ },
|
|
50721
51051
|
null,
|
|
@@ -50731,6 +51061,7 @@ class PresenceApi {
|
|
|
50731
51061
|
* @param {Object} opts Optional parameters
|
|
50732
51062
|
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
50733
51063
|
* @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
|
|
51064
|
+
* @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
|
|
50734
51065
|
* getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
50735
51066
|
*/
|
|
50736
51067
|
getPresenceDefinitions0(opts) {
|
|
@@ -50741,7 +51072,7 @@ class PresenceApi {
|
|
|
50741
51072
|
'/api/v2/presence/definitions',
|
|
50742
51073
|
'GET',
|
|
50743
51074
|
{ },
|
|
50744
|
-
{ 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
51075
|
+
{ 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'localeCode': opts['localeCode'] },
|
|
50745
51076
|
{ },
|
|
50746
51077
|
{ },
|
|
50747
51078
|
null,
|
|
@@ -51347,7 +51678,7 @@ class ProcessAutomationApi {
|
|
|
51347
51678
|
/**
|
|
51348
51679
|
* ProcessAutomation service.
|
|
51349
51680
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
51350
|
-
* @version
|
|
51681
|
+
* @version 181.0.0
|
|
51351
51682
|
*/
|
|
51352
51683
|
|
|
51353
51684
|
/**
|
|
@@ -51586,7 +51917,7 @@ class QualityApi {
|
|
|
51586
51917
|
/**
|
|
51587
51918
|
* Quality service.
|
|
51588
51919
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
51589
|
-
* @version
|
|
51920
|
+
* @version 181.0.0
|
|
51590
51921
|
*/
|
|
51591
51922
|
|
|
51592
51923
|
/**
|
|
@@ -52295,7 +52626,7 @@ class QualityApi {
|
|
|
52295
52626
|
|
|
52296
52627
|
/**
|
|
52297
52628
|
* Get the list of evaluation forms
|
|
52298
|
-
*
|
|
52629
|
+
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
|
|
52299
52630
|
* @param {Object} opts Optional parameters
|
|
52300
52631
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
52301
52632
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -53340,7 +53671,7 @@ class RecordingApi {
|
|
|
53340
53671
|
/**
|
|
53341
53672
|
* Recording service.
|
|
53342
53673
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
53343
|
-
* @version
|
|
53674
|
+
* @version 181.0.0
|
|
53344
53675
|
*/
|
|
53345
53676
|
|
|
53346
53677
|
/**
|
|
@@ -54977,7 +55308,7 @@ class ResponseManagementApi {
|
|
|
54977
55308
|
/**
|
|
54978
55309
|
* ResponseManagement service.
|
|
54979
55310
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
54980
|
-
* @version
|
|
55311
|
+
* @version 181.0.0
|
|
54981
55312
|
*/
|
|
54982
55313
|
|
|
54983
55314
|
/**
|
|
@@ -55462,7 +55793,7 @@ class RoutingApi {
|
|
|
55462
55793
|
/**
|
|
55463
55794
|
* Routing service.
|
|
55464
55795
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
55465
|
-
* @version
|
|
55796
|
+
* @version 181.0.0
|
|
55466
55797
|
*/
|
|
55467
55798
|
|
|
55468
55799
|
/**
|
|
@@ -59170,7 +59501,7 @@ class SCIMApi {
|
|
|
59170
59501
|
/**
|
|
59171
59502
|
* SCIM service.
|
|
59172
59503
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
59173
|
-
* @version
|
|
59504
|
+
* @version 181.0.0
|
|
59174
59505
|
*/
|
|
59175
59506
|
|
|
59176
59507
|
/**
|
|
@@ -60047,7 +60378,7 @@ class ScriptsApi {
|
|
|
60047
60378
|
/**
|
|
60048
60379
|
* Scripts service.
|
|
60049
60380
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
60050
|
-
* @version
|
|
60381
|
+
* @version 181.0.0
|
|
60051
60382
|
*/
|
|
60052
60383
|
|
|
60053
60384
|
/**
|
|
@@ -60491,7 +60822,7 @@ class SearchApi {
|
|
|
60491
60822
|
/**
|
|
60492
60823
|
* Search service.
|
|
60493
60824
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
60494
|
-
* @version
|
|
60825
|
+
* @version 181.0.0
|
|
60495
60826
|
*/
|
|
60496
60827
|
|
|
60497
60828
|
/**
|
|
@@ -61180,7 +61511,7 @@ class SettingsApi {
|
|
|
61180
61511
|
/**
|
|
61181
61512
|
* Settings service.
|
|
61182
61513
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
61183
|
-
* @version
|
|
61514
|
+
* @version 181.0.0
|
|
61184
61515
|
*/
|
|
61185
61516
|
|
|
61186
61517
|
/**
|
|
@@ -61245,7 +61576,7 @@ class SpeechTextAnalyticsApi {
|
|
|
61245
61576
|
/**
|
|
61246
61577
|
* SpeechTextAnalytics service.
|
|
61247
61578
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61248
|
-
* @version
|
|
61579
|
+
* @version 181.0.0
|
|
61249
61580
|
*/
|
|
61250
61581
|
|
|
61251
61582
|
/**
|
|
@@ -62358,7 +62689,7 @@ class StationsApi {
|
|
|
62358
62689
|
/**
|
|
62359
62690
|
* Stations service.
|
|
62360
62691
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62361
|
-
* @version
|
|
62692
|
+
* @version 181.0.0
|
|
62362
62693
|
*/
|
|
62363
62694
|
|
|
62364
62695
|
/**
|
|
@@ -62460,7 +62791,7 @@ class SuggestApi {
|
|
|
62460
62791
|
/**
|
|
62461
62792
|
* Suggest service.
|
|
62462
62793
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62463
|
-
* @version
|
|
62794
|
+
* @version 181.0.0
|
|
62464
62795
|
*/
|
|
62465
62796
|
|
|
62466
62797
|
/**
|
|
@@ -62599,7 +62930,7 @@ class TaskManagementApi {
|
|
|
62599
62930
|
/**
|
|
62600
62931
|
* TaskManagement service.
|
|
62601
62932
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
62602
|
-
* @version
|
|
62933
|
+
* @version 181.0.0
|
|
62603
62934
|
*/
|
|
62604
62935
|
|
|
62605
62936
|
/**
|
|
@@ -63880,7 +64211,7 @@ class TeamsApi {
|
|
|
63880
64211
|
/**
|
|
63881
64212
|
* Teams service.
|
|
63882
64213
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
63883
|
-
* @version
|
|
64214
|
+
* @version 181.0.0
|
|
63884
64215
|
*/
|
|
63885
64216
|
|
|
63886
64217
|
/**
|
|
@@ -64182,7 +64513,7 @@ class TelephonyApi {
|
|
|
64182
64513
|
/**
|
|
64183
64514
|
* Telephony service.
|
|
64184
64515
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
64185
|
-
* @version
|
|
64516
|
+
* @version 181.0.0
|
|
64186
64517
|
*/
|
|
64187
64518
|
|
|
64188
64519
|
/**
|
|
@@ -64217,6 +64548,62 @@ class TelephonyApi {
|
|
|
64217
64548
|
);
|
|
64218
64549
|
}
|
|
64219
64550
|
|
|
64551
|
+
/**
|
|
64552
|
+
* Get a SIP message.
|
|
64553
|
+
* Get the raw form of the SIP message
|
|
64554
|
+
* @param {String} conversationId Conversation id
|
|
64555
|
+
* getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64556
|
+
*/
|
|
64557
|
+
getTelephonySipmessagesConversation(conversationId) {
|
|
64558
|
+
// verify the required parameter 'conversationId' is set
|
|
64559
|
+
if (conversationId === undefined || conversationId === null) {
|
|
64560
|
+
throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';
|
|
64561
|
+
}
|
|
64562
|
+
|
|
64563
|
+
return this.apiClient.callApi(
|
|
64564
|
+
'/api/v2/telephony/sipmessages/conversations/{conversationId}',
|
|
64565
|
+
'GET',
|
|
64566
|
+
{ 'conversationId': conversationId },
|
|
64567
|
+
{ },
|
|
64568
|
+
{ },
|
|
64569
|
+
{ },
|
|
64570
|
+
null,
|
|
64571
|
+
['PureCloud OAuth'],
|
|
64572
|
+
['application/json'],
|
|
64573
|
+
['application/json']
|
|
64574
|
+
);
|
|
64575
|
+
}
|
|
64576
|
+
|
|
64577
|
+
/**
|
|
64578
|
+
* Get SIP headers.
|
|
64579
|
+
* Get parsed SIP headers. Returns specific headers if key query parameters are added.
|
|
64580
|
+
* @param {String} conversationId Conversation id
|
|
64581
|
+
* @param {Object} opts Optional parameters
|
|
64582
|
+
* @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
|
|
64583
|
+
* getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
64584
|
+
*/
|
|
64585
|
+
getTelephonySipmessagesConversationHeaders(conversationId, opts) {
|
|
64586
|
+
opts = opts || {};
|
|
64587
|
+
|
|
64588
|
+
// verify the required parameter 'conversationId' is set
|
|
64589
|
+
if (conversationId === undefined || conversationId === null) {
|
|
64590
|
+
throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';
|
|
64591
|
+
}
|
|
64592
|
+
|
|
64593
|
+
return this.apiClient.callApi(
|
|
64594
|
+
'/api/v2/telephony/sipmessages/conversations/{conversationId}/headers',
|
|
64595
|
+
'GET',
|
|
64596
|
+
{ 'conversationId': conversationId },
|
|
64597
|
+
{ 'keys': this.apiClient.buildCollectionParam(opts['keys'], 'multi') },
|
|
64598
|
+
{ },
|
|
64599
|
+
{ },
|
|
64600
|
+
null,
|
|
64601
|
+
['PureCloud OAuth'],
|
|
64602
|
+
['application/json'],
|
|
64603
|
+
['application/json']
|
|
64604
|
+
);
|
|
64605
|
+
}
|
|
64606
|
+
|
|
64220
64607
|
/**
|
|
64221
64608
|
* Fetch SIP metadata
|
|
64222
64609
|
* Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
|
|
@@ -64310,7 +64697,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
64310
64697
|
/**
|
|
64311
64698
|
* TelephonyProvidersEdge service.
|
|
64312
64699
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
64313
|
-
* @version
|
|
64700
|
+
* @version 181.0.0
|
|
64314
64701
|
*/
|
|
64315
64702
|
|
|
64316
64703
|
/**
|
|
@@ -66234,6 +66621,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
66234
66621
|
);
|
|
66235
66622
|
}
|
|
66236
66623
|
|
|
66624
|
+
/**
|
|
66625
|
+
* Get site connections for a site.
|
|
66626
|
+
*
|
|
66627
|
+
* @param {String} siteId Site ID
|
|
66628
|
+
*/
|
|
66629
|
+
getTelephonyProvidersEdgesSiteSiteconnections(siteId) {
|
|
66630
|
+
// verify the required parameter 'siteId' is set
|
|
66631
|
+
if (siteId === undefined || siteId === null) {
|
|
66632
|
+
throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';
|
|
66633
|
+
}
|
|
66634
|
+
|
|
66635
|
+
return this.apiClient.callApi(
|
|
66636
|
+
'/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
|
|
66637
|
+
'GET',
|
|
66638
|
+
{ 'siteId': siteId },
|
|
66639
|
+
{ },
|
|
66640
|
+
{ },
|
|
66641
|
+
{ },
|
|
66642
|
+
null,
|
|
66643
|
+
['PureCloud OAuth'],
|
|
66644
|
+
['application/json'],
|
|
66645
|
+
['application/json']
|
|
66646
|
+
);
|
|
66647
|
+
}
|
|
66648
|
+
|
|
66237
66649
|
/**
|
|
66238
66650
|
* Get the list of Sites.
|
|
66239
66651
|
*
|
|
@@ -66530,6 +66942,36 @@ class TelephonyProvidersEdgeApi {
|
|
|
66530
66942
|
);
|
|
66531
66943
|
}
|
|
66532
66944
|
|
|
66945
|
+
/**
|
|
66946
|
+
* Disable site connections for a site.
|
|
66947
|
+
*
|
|
66948
|
+
* @param {String} siteId Site ID
|
|
66949
|
+
* @param {Object} body Site
|
|
66950
|
+
*/
|
|
66951
|
+
patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
|
|
66952
|
+
// verify the required parameter 'siteId' is set
|
|
66953
|
+
if (siteId === undefined || siteId === null) {
|
|
66954
|
+
throw 'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
|
|
66955
|
+
}
|
|
66956
|
+
// verify the required parameter 'body' is set
|
|
66957
|
+
if (body === undefined || body === null) {
|
|
66958
|
+
throw 'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
|
|
66959
|
+
}
|
|
66960
|
+
|
|
66961
|
+
return this.apiClient.callApi(
|
|
66962
|
+
'/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
|
|
66963
|
+
'PATCH',
|
|
66964
|
+
{ 'siteId': siteId },
|
|
66965
|
+
{ },
|
|
66966
|
+
{ },
|
|
66967
|
+
{ },
|
|
66968
|
+
body,
|
|
66969
|
+
['PureCloud OAuth'],
|
|
66970
|
+
['application/json'],
|
|
66971
|
+
['application/json']
|
|
66972
|
+
);
|
|
66973
|
+
}
|
|
66974
|
+
|
|
66533
66975
|
/**
|
|
66534
66976
|
* Nslookup request command to collect networking-related information from an Edge for a target IP or host.
|
|
66535
66977
|
*
|
|
@@ -67563,6 +68005,36 @@ class TelephonyProvidersEdgeApi {
|
|
|
67563
68005
|
);
|
|
67564
68006
|
}
|
|
67565
68007
|
|
|
68008
|
+
/**
|
|
68009
|
+
* Update site connections for a site.
|
|
68010
|
+
*
|
|
68011
|
+
* @param {String} siteId Site ID
|
|
68012
|
+
* @param {Object} body Site
|
|
68013
|
+
*/
|
|
68014
|
+
putTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
|
|
68015
|
+
// verify the required parameter 'siteId' is set
|
|
68016
|
+
if (siteId === undefined || siteId === null) {
|
|
68017
|
+
throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';
|
|
68018
|
+
}
|
|
68019
|
+
// verify the required parameter 'body' is set
|
|
68020
|
+
if (body === undefined || body === null) {
|
|
68021
|
+
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';
|
|
68022
|
+
}
|
|
68023
|
+
|
|
68024
|
+
return this.apiClient.callApi(
|
|
68025
|
+
'/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
|
|
68026
|
+
'PUT',
|
|
68027
|
+
{ 'siteId': siteId },
|
|
68028
|
+
{ },
|
|
68029
|
+
{ },
|
|
68030
|
+
{ },
|
|
68031
|
+
body,
|
|
68032
|
+
['PureCloud OAuth'],
|
|
68033
|
+
['application/json'],
|
|
68034
|
+
['application/json']
|
|
68035
|
+
);
|
|
68036
|
+
}
|
|
68037
|
+
|
|
67566
68038
|
/**
|
|
67567
68039
|
* Update a Trunk Base Settings object by ID
|
|
67568
68040
|
*
|
|
@@ -67599,7 +68071,7 @@ class TextbotsApi {
|
|
|
67599
68071
|
/**
|
|
67600
68072
|
* Textbots service.
|
|
67601
68073
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
67602
|
-
* @version
|
|
68074
|
+
* @version 181.0.0
|
|
67603
68075
|
*/
|
|
67604
68076
|
|
|
67605
68077
|
/**
|
|
@@ -67727,7 +68199,7 @@ class TokensApi {
|
|
|
67727
68199
|
/**
|
|
67728
68200
|
* Tokens service.
|
|
67729
68201
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
67730
|
-
* @version
|
|
68202
|
+
* @version 181.0.0
|
|
67731
68203
|
*/
|
|
67732
68204
|
|
|
67733
68205
|
/**
|
|
@@ -67883,7 +68355,7 @@ class UploadsApi {
|
|
|
67883
68355
|
/**
|
|
67884
68356
|
* Uploads service.
|
|
67885
68357
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
67886
|
-
* @version
|
|
68358
|
+
* @version 181.0.0
|
|
67887
68359
|
*/
|
|
67888
68360
|
|
|
67889
68361
|
/**
|
|
@@ -68059,7 +68531,7 @@ class UsageApi {
|
|
|
68059
68531
|
/**
|
|
68060
68532
|
* Usage service.
|
|
68061
68533
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
68062
|
-
* @version
|
|
68534
|
+
* @version 181.0.0
|
|
68063
68535
|
*/
|
|
68064
68536
|
|
|
68065
68537
|
/**
|
|
@@ -68269,7 +68741,7 @@ class UserRecordingsApi {
|
|
|
68269
68741
|
/**
|
|
68270
68742
|
* UserRecordings service.
|
|
68271
68743
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
68272
|
-
* @version
|
|
68744
|
+
* @version 181.0.0
|
|
68273
68745
|
*/
|
|
68274
68746
|
|
|
68275
68747
|
/**
|
|
@@ -68454,7 +68926,7 @@ class UsersApi {
|
|
|
68454
68926
|
/**
|
|
68455
68927
|
* Users service.
|
|
68456
68928
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
68457
|
-
* @version
|
|
68929
|
+
* @version 181.0.0
|
|
68458
68930
|
*/
|
|
68459
68931
|
|
|
68460
68932
|
/**
|
|
@@ -68689,6 +69161,36 @@ class UsersApi {
|
|
|
68689
69161
|
);
|
|
68690
69162
|
}
|
|
68691
69163
|
|
|
69164
|
+
/**
|
|
69165
|
+
* Delete a verifier
|
|
69166
|
+
*
|
|
69167
|
+
* @param {String} userId User ID
|
|
69168
|
+
* @param {String} verifierId Verifier ID
|
|
69169
|
+
*/
|
|
69170
|
+
deleteUserVerifier(userId, verifierId) {
|
|
69171
|
+
// verify the required parameter 'userId' is set
|
|
69172
|
+
if (userId === undefined || userId === null) {
|
|
69173
|
+
throw 'Missing the required parameter "userId" when calling deleteUserVerifier';
|
|
69174
|
+
}
|
|
69175
|
+
// verify the required parameter 'verifierId' is set
|
|
69176
|
+
if (verifierId === undefined || verifierId === null) {
|
|
69177
|
+
throw 'Missing the required parameter "verifierId" when calling deleteUserVerifier';
|
|
69178
|
+
}
|
|
69179
|
+
|
|
69180
|
+
return this.apiClient.callApi(
|
|
69181
|
+
'/api/v2/users/{userId}/verifiers/{verifierId}',
|
|
69182
|
+
'DELETE',
|
|
69183
|
+
{ 'userId': userId,'verifierId': verifierId },
|
|
69184
|
+
{ },
|
|
69185
|
+
{ },
|
|
69186
|
+
{ },
|
|
69187
|
+
null,
|
|
69188
|
+
['PureCloud OAuth'],
|
|
69189
|
+
['application/json'],
|
|
69190
|
+
['application/json']
|
|
69191
|
+
);
|
|
69192
|
+
}
|
|
69193
|
+
|
|
68692
69194
|
/**
|
|
68693
69195
|
* Get status for async query for user aggregates
|
|
68694
69196
|
*
|
|
@@ -69585,6 +70087,31 @@ class UsersApi {
|
|
|
69585
70087
|
);
|
|
69586
70088
|
}
|
|
69587
70089
|
|
|
70090
|
+
/**
|
|
70091
|
+
* Get a list of verifiers
|
|
70092
|
+
*
|
|
70093
|
+
* @param {String} userId User ID
|
|
70094
|
+
*/
|
|
70095
|
+
getUserVerifiers(userId) {
|
|
70096
|
+
// verify the required parameter 'userId' is set
|
|
70097
|
+
if (userId === undefined || userId === null) {
|
|
70098
|
+
throw 'Missing the required parameter "userId" when calling getUserVerifiers';
|
|
70099
|
+
}
|
|
70100
|
+
|
|
70101
|
+
return this.apiClient.callApi(
|
|
70102
|
+
'/api/v2/users/{userId}/verifiers',
|
|
70103
|
+
'GET',
|
|
70104
|
+
{ 'userId': userId },
|
|
70105
|
+
{ },
|
|
70106
|
+
{ },
|
|
70107
|
+
{ },
|
|
70108
|
+
null,
|
|
70109
|
+
['PureCloud OAuth'],
|
|
70110
|
+
['application/json'],
|
|
70111
|
+
['application/json']
|
|
70112
|
+
);
|
|
70113
|
+
}
|
|
70114
|
+
|
|
69588
70115
|
/**
|
|
69589
70116
|
* Get the list of available users.
|
|
69590
70117
|
*
|
|
@@ -70030,7 +70557,7 @@ class UsersApi {
|
|
|
70030
70557
|
}
|
|
70031
70558
|
|
|
70032
70559
|
/**
|
|
70033
|
-
* Update bulk acd autoanswer on users
|
|
70560
|
+
* Update bulk acd autoanswer on users. Max 50 users can be updated at a time.
|
|
70034
70561
|
*
|
|
70035
70562
|
* @param {Array.<Object>} body Users
|
|
70036
70563
|
*/
|
|
@@ -71009,13 +71536,48 @@ class UsersApi {
|
|
|
71009
71536
|
);
|
|
71010
71537
|
}
|
|
71011
71538
|
|
|
71539
|
+
/**
|
|
71540
|
+
* Update a verifier
|
|
71541
|
+
*
|
|
71542
|
+
* @param {String} userId User ID
|
|
71543
|
+
* @param {String} verifierId Verifier ID
|
|
71544
|
+
* @param {Object} body Verifier Update
|
|
71545
|
+
*/
|
|
71546
|
+
putUserVerifier(userId, verifierId, body) {
|
|
71547
|
+
// verify the required parameter 'userId' is set
|
|
71548
|
+
if (userId === undefined || userId === null) {
|
|
71549
|
+
throw 'Missing the required parameter "userId" when calling putUserVerifier';
|
|
71550
|
+
}
|
|
71551
|
+
// verify the required parameter 'verifierId' is set
|
|
71552
|
+
if (verifierId === undefined || verifierId === null) {
|
|
71553
|
+
throw 'Missing the required parameter "verifierId" when calling putUserVerifier';
|
|
71554
|
+
}
|
|
71555
|
+
// verify the required parameter 'body' is set
|
|
71556
|
+
if (body === undefined || body === null) {
|
|
71557
|
+
throw 'Missing the required parameter "body" when calling putUserVerifier';
|
|
71558
|
+
}
|
|
71559
|
+
|
|
71560
|
+
return this.apiClient.callApi(
|
|
71561
|
+
'/api/v2/users/{userId}/verifiers/{verifierId}',
|
|
71562
|
+
'PUT',
|
|
71563
|
+
{ 'userId': userId,'verifierId': verifierId },
|
|
71564
|
+
{ },
|
|
71565
|
+
{ },
|
|
71566
|
+
{ },
|
|
71567
|
+
body,
|
|
71568
|
+
['PureCloud OAuth'],
|
|
71569
|
+
['application/json'],
|
|
71570
|
+
['application/json']
|
|
71571
|
+
);
|
|
71572
|
+
}
|
|
71573
|
+
|
|
71012
71574
|
}
|
|
71013
71575
|
|
|
71014
71576
|
class UtilitiesApi {
|
|
71015
71577
|
/**
|
|
71016
71578
|
* Utilities service.
|
|
71017
71579
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
71018
|
-
* @version
|
|
71580
|
+
* @version 181.0.0
|
|
71019
71581
|
*/
|
|
71020
71582
|
|
|
71021
71583
|
/**
|
|
@@ -71126,7 +71688,7 @@ class VoicemailApi {
|
|
|
71126
71688
|
/**
|
|
71127
71689
|
* Voicemail service.
|
|
71128
71690
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
71129
|
-
* @version
|
|
71691
|
+
* @version 181.0.0
|
|
71130
71692
|
*/
|
|
71131
71693
|
|
|
71132
71694
|
/**
|
|
@@ -71793,7 +72355,7 @@ class WebChatApi {
|
|
|
71793
72355
|
/**
|
|
71794
72356
|
* WebChat service.
|
|
71795
72357
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
71796
|
-
* @version
|
|
72358
|
+
* @version 181.0.0
|
|
71797
72359
|
*/
|
|
71798
72360
|
|
|
71799
72361
|
/**
|
|
@@ -72342,7 +72904,7 @@ class WebDeploymentsApi {
|
|
|
72342
72904
|
/**
|
|
72343
72905
|
* WebDeployments service.
|
|
72344
72906
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
72345
|
-
* @version
|
|
72907
|
+
* @version 181.0.0
|
|
72346
72908
|
*/
|
|
72347
72909
|
|
|
72348
72910
|
/**
|
|
@@ -72869,7 +73431,7 @@ class WebMessagingApi {
|
|
|
72869
73431
|
/**
|
|
72870
73432
|
* WebMessaging service.
|
|
72871
73433
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
72872
|
-
* @version
|
|
73434
|
+
* @version 181.0.0
|
|
72873
73435
|
*/
|
|
72874
73436
|
|
|
72875
73437
|
/**
|
|
@@ -72915,7 +73477,7 @@ class WidgetsApi {
|
|
|
72915
73477
|
/**
|
|
72916
73478
|
* Widgets service.
|
|
72917
73479
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
72918
|
-
* @version
|
|
73480
|
+
* @version 181.0.0
|
|
72919
73481
|
*/
|
|
72920
73482
|
|
|
72921
73483
|
/**
|
|
@@ -73061,7 +73623,7 @@ class WorkforceManagementApi {
|
|
|
73061
73623
|
/**
|
|
73062
73624
|
* WorkforceManagement service.
|
|
73063
73625
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
73064
|
-
* @version
|
|
73626
|
+
* @version 181.0.0
|
|
73065
73627
|
*/
|
|
73066
73628
|
|
|
73067
73629
|
/**
|
|
@@ -73744,8 +74306,12 @@ class WorkforceManagementApi {
|
|
|
73744
74306
|
* Get activity codes
|
|
73745
74307
|
*
|
|
73746
74308
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
74309
|
+
* @param {Object} opts Optional parameters
|
|
74310
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
73747
74311
|
*/
|
|
73748
|
-
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId) {
|
|
74312
|
+
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId, opts) {
|
|
74313
|
+
opts = opts || {};
|
|
74314
|
+
|
|
73749
74315
|
// verify the required parameter 'businessUnitId' is set
|
|
73750
74316
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73751
74317
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';
|
|
@@ -73755,7 +74321,7 @@ class WorkforceManagementApi {
|
|
|
73755
74321
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
|
|
73756
74322
|
'GET',
|
|
73757
74323
|
{ 'businessUnitId': businessUnitId },
|
|
73758
|
-
{
|
|
74324
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
73759
74325
|
{ },
|
|
73760
74326
|
{ },
|
|
73761
74327
|
null,
|
|
@@ -75145,6 +75711,7 @@ class WorkforceManagementApi {
|
|
|
75145
75711
|
* @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
75146
75712
|
* @param {Object} opts Optional parameters
|
|
75147
75713
|
* @param {Boolean} opts.evaluateMatches Whether to evaluate the matches for violations (default to true)
|
|
75714
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
75148
75715
|
*/
|
|
75149
75716
|
getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
|
|
75150
75717
|
opts = opts || {};
|
|
@@ -75162,7 +75729,7 @@ class WorkforceManagementApi {
|
|
|
75162
75729
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
|
|
75163
75730
|
'GET',
|
|
75164
75731
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
75165
|
-
{ 'evaluateMatches': opts['evaluateMatches'] },
|
|
75732
|
+
{ 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
|
|
75166
75733
|
{ },
|
|
75167
75734
|
{ },
|
|
75168
75735
|
null,
|
|
@@ -77410,6 +77977,7 @@ class WorkforceManagementApi {
|
|
|
77410
77977
|
* Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are filters
|
|
77411
77978
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77412
77979
|
* @param {Object} opts Optional parameters
|
|
77980
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
77413
77981
|
* @param {Object} opts.body body
|
|
77414
77982
|
*/
|
|
77415
77983
|
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
|
|
@@ -77424,7 +77992,7 @@ class WorkforceManagementApi {
|
|
|
77424
77992
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
|
|
77425
77993
|
'POST',
|
|
77426
77994
|
{ 'managementUnitId': managementUnitId },
|
|
77427
|
-
{
|
|
77995
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77428
77996
|
{ },
|
|
77429
77997
|
{ },
|
|
77430
77998
|
opts['body'],
|
|
@@ -77648,8 +78216,12 @@ class WorkforceManagementApi {
|
|
|
77648
78216
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77649
78217
|
* @param {String} weekDateId The start date of the week schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
77650
78218
|
* @param {Object} body body
|
|
78219
|
+
* @param {Object} opts Optional parameters
|
|
78220
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
77651
78221
|
*/
|
|
77652
|
-
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body) {
|
|
78222
|
+
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body, opts) {
|
|
78223
|
+
opts = opts || {};
|
|
78224
|
+
|
|
77653
78225
|
// verify the required parameter 'managementUnitId' is set
|
|
77654
78226
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
77655
78227
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
|
|
@@ -77667,7 +78239,7 @@ class WorkforceManagementApi {
|
|
|
77667
78239
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search',
|
|
77668
78240
|
'POST',
|
|
77669
78241
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
77670
|
-
{
|
|
78242
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77671
78243
|
{ },
|
|
77672
78244
|
{ },
|
|
77673
78245
|
body,
|
|
@@ -78225,7 +78797,7 @@ class WorkforceManagementApi {
|
|
|
78225
78797
|
* </pre>
|
|
78226
78798
|
* </p>
|
|
78227
78799
|
* @module purecloud-platform-client-v2/index
|
|
78228
|
-
* @version
|
|
78800
|
+
* @version 181.0.0
|
|
78229
78801
|
*/
|
|
78230
78802
|
class platformClient {
|
|
78231
78803
|
constructor() {
|
|
@@ -78429,6 +79001,11 @@ class platformClient {
|
|
|
78429
79001
|
* @property {module:purecloud-platform-client-v2/api/ObjectsApi}
|
|
78430
79002
|
*/
|
|
78431
79003
|
this.ObjectsApi = ObjectsApi;
|
|
79004
|
+
/**
|
|
79005
|
+
* The OperationalEventsApi service constructor.
|
|
79006
|
+
* @property {module:purecloud-platform-client-v2/api/OperationalEventsApi}
|
|
79007
|
+
*/
|
|
79008
|
+
this.OperationalEventsApi = OperationalEventsApi;
|
|
78432
79009
|
/**
|
|
78433
79010
|
* The OrganizationApi service constructor.
|
|
78434
79011
|
* @property {module:purecloud-platform-client-v2/api/OrganizationApi}
|
|
@@ -78610,4 +79187,4 @@ var index = new platformClient();
|
|
|
78610
79187
|
module.exports = index;
|
|
78611
79188
|
|
|
78612
79189
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
78613
|
-
},{"axios":8,"buffer":3,"os":5,"path":6,"qs":
|
|
79190
|
+
},{"axios":8,"buffer":3,"os":5,"path":6,"qs":54}]},{},[]);
|