purecloud-platform-client-v2 180.0.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 +475 -160
- package/dist/web-amd/purecloud-platform-client-v2.js +475 -160
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +475 -160
- package/dist/web-cjs/purecloud-platform-client-v2.js +683 -195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +420 -234
- 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 +1 -74
- 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 +1 -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,7 +5033,77 @@ 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 */
|
|
@@ -5122,14 +5189,14 @@ module.exports = function bind(that) {
|
|
|
5122
5189
|
return bound;
|
|
5123
5190
|
};
|
|
5124
5191
|
|
|
5125
|
-
},{}],
|
|
5192
|
+
},{}],44:[function(require,module,exports){
|
|
5126
5193
|
'use strict';
|
|
5127
5194
|
|
|
5128
5195
|
var implementation = require('./implementation');
|
|
5129
5196
|
|
|
5130
5197
|
module.exports = Function.prototype.bind || implementation;
|
|
5131
5198
|
|
|
5132
|
-
},{"./implementation":
|
|
5199
|
+
},{"./implementation":43}],45:[function(require,module,exports){
|
|
5133
5200
|
'use strict';
|
|
5134
5201
|
|
|
5135
5202
|
var undefined;
|
|
@@ -5346,7 +5413,7 @@ var LEGACY_ALIASES = {
|
|
|
5346
5413
|
};
|
|
5347
5414
|
|
|
5348
5415
|
var bind = require('function-bind');
|
|
5349
|
-
var hasOwn = require('
|
|
5416
|
+
var hasOwn = require('hasown');
|
|
5350
5417
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
5351
5418
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
5352
5419
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -5482,7 +5549,60 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
5482
5549
|
return value;
|
|
5483
5550
|
};
|
|
5484
5551
|
|
|
5485
|
-
},{"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){
|
|
5486
5606
|
'use strict';
|
|
5487
5607
|
|
|
5488
5608
|
var test = {
|
|
@@ -5495,7 +5615,7 @@ module.exports = function hasProto() {
|
|
|
5495
5615
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
5496
5616
|
};
|
|
5497
5617
|
|
|
5498
|
-
},{}],
|
|
5618
|
+
},{}],49:[function(require,module,exports){
|
|
5499
5619
|
'use strict';
|
|
5500
5620
|
|
|
5501
5621
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -5510,7 +5630,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
5510
5630
|
return hasSymbolSham();
|
|
5511
5631
|
};
|
|
5512
5632
|
|
|
5513
|
-
},{"./shams":
|
|
5633
|
+
},{"./shams":50}],50:[function(require,module,exports){
|
|
5514
5634
|
'use strict';
|
|
5515
5635
|
|
|
5516
5636
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -5554,17 +5674,18 @@ module.exports = function hasSymbols() {
|
|
|
5554
5674
|
return true;
|
|
5555
5675
|
};
|
|
5556
5676
|
|
|
5557
|
-
},{}],
|
|
5677
|
+
},{}],51:[function(require,module,exports){
|
|
5558
5678
|
'use strict';
|
|
5559
5679
|
|
|
5560
|
-
var hasOwnProperty = {}.hasOwnProperty;
|
|
5561
5680
|
var call = Function.prototype.call;
|
|
5681
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
5682
|
+
var bind = require('function-bind');
|
|
5562
5683
|
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
};
|
|
5684
|
+
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
|
|
5685
|
+
module.exports = bind.call(call, $hasOwn);
|
|
5566
5686
|
|
|
5567
|
-
},{}],
|
|
5687
|
+
},{"function-bind":44}],52:[function(require,module,exports){
|
|
5688
|
+
(function (global){(function (){
|
|
5568
5689
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
5569
5690
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
5570
5691
|
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
|
|
@@ -5806,6 +5927,14 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5806
5927
|
if (isString(obj)) {
|
|
5807
5928
|
return markBoxed(inspect(String(obj)));
|
|
5808
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
|
+
}
|
|
5809
5938
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
5810
5939
|
var ys = arrObjKeys(obj, inspect);
|
|
5811
5940
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
@@ -6082,7 +6211,8 @@ function arrObjKeys(obj, inspect) {
|
|
|
6082
6211
|
return xs;
|
|
6083
6212
|
}
|
|
6084
6213
|
|
|
6085
|
-
},
|
|
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){
|
|
6086
6216
|
'use strict';
|
|
6087
6217
|
|
|
6088
6218
|
var replace = String.prototype.replace;
|
|
@@ -6107,7 +6237,7 @@ module.exports = {
|
|
|
6107
6237
|
RFC3986: Format.RFC3986
|
|
6108
6238
|
};
|
|
6109
6239
|
|
|
6110
|
-
},{}],
|
|
6240
|
+
},{}],54:[function(require,module,exports){
|
|
6111
6241
|
'use strict';
|
|
6112
6242
|
|
|
6113
6243
|
var stringify = require('./stringify');
|
|
@@ -6120,7 +6250,7 @@ module.exports = {
|
|
|
6120
6250
|
stringify: stringify
|
|
6121
6251
|
};
|
|
6122
6252
|
|
|
6123
|
-
},{"./formats":
|
|
6253
|
+
},{"./formats":53,"./parse":55,"./stringify":56}],55:[function(require,module,exports){
|
|
6124
6254
|
'use strict';
|
|
6125
6255
|
|
|
6126
6256
|
var utils = require('./utils');
|
|
@@ -6386,7 +6516,7 @@ module.exports = function (str, opts) {
|
|
|
6386
6516
|
return utils.compact(obj);
|
|
6387
6517
|
};
|
|
6388
6518
|
|
|
6389
|
-
},{"./utils":
|
|
6519
|
+
},{"./utils":57}],56:[function(require,module,exports){
|
|
6390
6520
|
'use strict';
|
|
6391
6521
|
|
|
6392
6522
|
var getSideChannel = require('side-channel');
|
|
@@ -6708,7 +6838,7 @@ module.exports = function (object, opts) {
|
|
|
6708
6838
|
return joined.length > 0 ? prefix + joined : '';
|
|
6709
6839
|
};
|
|
6710
6840
|
|
|
6711
|
-
},{"./formats":
|
|
6841
|
+
},{"./formats":53,"./utils":57,"side-channel":59}],57:[function(require,module,exports){
|
|
6712
6842
|
'use strict';
|
|
6713
6843
|
|
|
6714
6844
|
var formats = require('./formats');
|
|
@@ -6962,7 +7092,50 @@ module.exports = {
|
|
|
6962
7092
|
merge: merge
|
|
6963
7093
|
};
|
|
6964
7094
|
|
|
6965
|
-
},{"./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){
|
|
6966
7139
|
'use strict';
|
|
6967
7140
|
|
|
6968
7141
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -7088,7 +7261,7 @@ module.exports = function getSideChannel() {
|
|
|
7088
7261
|
return channel;
|
|
7089
7262
|
};
|
|
7090
7263
|
|
|
7091
|
-
},{"call-bind/callBound":40,"get-intrinsic":
|
|
7264
|
+
},{"call-bind/callBound":40,"get-intrinsic":45,"object-inspect":52}],"platformClient":[function(require,module,exports){
|
|
7092
7265
|
(function (global,Buffer){(function (){
|
|
7093
7266
|
'use strict';
|
|
7094
7267
|
|
|
@@ -9371,7 +9544,7 @@ class Configuration {
|
|
|
9371
9544
|
|
|
9372
9545
|
/**
|
|
9373
9546
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9374
|
-
* @version
|
|
9547
|
+
* @version 181.0.0
|
|
9375
9548
|
*/
|
|
9376
9549
|
class ApiClient {
|
|
9377
9550
|
/**
|
|
@@ -10450,7 +10623,7 @@ class AlertingApi {
|
|
|
10450
10623
|
/**
|
|
10451
10624
|
* Alerting service.
|
|
10452
10625
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10453
|
-
* @version
|
|
10626
|
+
* @version 181.0.0
|
|
10454
10627
|
*/
|
|
10455
10628
|
|
|
10456
10629
|
/**
|
|
@@ -11100,7 +11273,7 @@ class AnalyticsApi {
|
|
|
11100
11273
|
/**
|
|
11101
11274
|
* Analytics service.
|
|
11102
11275
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
11103
|
-
* @version
|
|
11276
|
+
* @version 181.0.0
|
|
11104
11277
|
*/
|
|
11105
11278
|
|
|
11106
11279
|
/**
|
|
@@ -13546,7 +13719,7 @@ class ArchitectApi {
|
|
|
13546
13719
|
/**
|
|
13547
13720
|
* Architect service.
|
|
13548
13721
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
13549
|
-
* @version
|
|
13722
|
+
* @version 181.0.0
|
|
13550
13723
|
*/
|
|
13551
13724
|
|
|
13552
13725
|
/**
|
|
@@ -17381,7 +17554,7 @@ class AuditApi {
|
|
|
17381
17554
|
/**
|
|
17382
17555
|
* Audit service.
|
|
17383
17556
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
17384
|
-
* @version
|
|
17557
|
+
* @version 181.0.0
|
|
17385
17558
|
*/
|
|
17386
17559
|
|
|
17387
17560
|
/**
|
|
@@ -17552,7 +17725,7 @@ class AuthorizationApi {
|
|
|
17552
17725
|
/**
|
|
17553
17726
|
* Authorization service.
|
|
17554
17727
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
17555
|
-
* @version
|
|
17728
|
+
* @version 181.0.0
|
|
17556
17729
|
*/
|
|
17557
17730
|
|
|
17558
17731
|
/**
|
|
@@ -18783,7 +18956,7 @@ class BillingApi {
|
|
|
18783
18956
|
/**
|
|
18784
18957
|
* Billing service.
|
|
18785
18958
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
18786
|
-
* @version
|
|
18959
|
+
* @version 181.0.0
|
|
18787
18960
|
*/
|
|
18788
18961
|
|
|
18789
18962
|
/**
|
|
@@ -18863,7 +19036,7 @@ class CarrierServicesApi {
|
|
|
18863
19036
|
/**
|
|
18864
19037
|
* CarrierServices service.
|
|
18865
19038
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
18866
|
-
* @version
|
|
19039
|
+
* @version 181.0.0
|
|
18867
19040
|
*/
|
|
18868
19041
|
|
|
18869
19042
|
/**
|
|
@@ -18933,7 +19106,7 @@ class ChatApi {
|
|
|
18933
19106
|
/**
|
|
18934
19107
|
* Chat service.
|
|
18935
19108
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
18936
|
-
* @version
|
|
19109
|
+
* @version 181.0.0
|
|
18937
19110
|
*/
|
|
18938
19111
|
|
|
18939
19112
|
/**
|
|
@@ -19072,27 +19245,6 @@ class ChatApi {
|
|
|
19072
19245
|
);
|
|
19073
19246
|
}
|
|
19074
19247
|
|
|
19075
|
-
/**
|
|
19076
|
-
* Get Chat Settings.
|
|
19077
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19078
|
-
* @deprecated
|
|
19079
|
-
*/
|
|
19080
|
-
getChatSettings() {
|
|
19081
|
-
|
|
19082
|
-
return this.apiClient.callApi(
|
|
19083
|
-
'/api/v2/chat/settings',
|
|
19084
|
-
'GET',
|
|
19085
|
-
{ },
|
|
19086
|
-
{ },
|
|
19087
|
-
{ },
|
|
19088
|
-
{ },
|
|
19089
|
-
null,
|
|
19090
|
-
['PureCloud OAuth'],
|
|
19091
|
-
['application/json'],
|
|
19092
|
-
['application/json']
|
|
19093
|
-
);
|
|
19094
|
-
}
|
|
19095
|
-
|
|
19096
19248
|
/**
|
|
19097
19249
|
* Get a message
|
|
19098
19250
|
*
|
|
@@ -19341,32 +19493,6 @@ class ChatApi {
|
|
|
19341
19493
|
);
|
|
19342
19494
|
}
|
|
19343
19495
|
|
|
19344
|
-
/**
|
|
19345
|
-
* Patch Chat Settings.
|
|
19346
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19347
|
-
* @param {Object} body Chat
|
|
19348
|
-
* @deprecated
|
|
19349
|
-
*/
|
|
19350
|
-
patchChatSettings(body) {
|
|
19351
|
-
// verify the required parameter 'body' is set
|
|
19352
|
-
if (body === undefined || body === null) {
|
|
19353
|
-
throw 'Missing the required parameter "body" when calling patchChatSettings';
|
|
19354
|
-
}
|
|
19355
|
-
|
|
19356
|
-
return this.apiClient.callApi(
|
|
19357
|
-
'/api/v2/chat/settings',
|
|
19358
|
-
'PATCH',
|
|
19359
|
-
{ },
|
|
19360
|
-
{ },
|
|
19361
|
-
{ },
|
|
19362
|
-
{ },
|
|
19363
|
-
body,
|
|
19364
|
-
['PureCloud OAuth'],
|
|
19365
|
-
['application/json'],
|
|
19366
|
-
['application/json']
|
|
19367
|
-
);
|
|
19368
|
-
}
|
|
19369
|
-
|
|
19370
19496
|
/**
|
|
19371
19497
|
* Set properties for a room
|
|
19372
19498
|
*
|
|
@@ -19645,32 +19771,6 @@ class ChatApi {
|
|
|
19645
19771
|
);
|
|
19646
19772
|
}
|
|
19647
19773
|
|
|
19648
|
-
/**
|
|
19649
|
-
* Update Chat Settings.
|
|
19650
|
-
* This route is deprecated, please use /chats/settings instead
|
|
19651
|
-
* @param {Object} body Chat
|
|
19652
|
-
* @deprecated
|
|
19653
|
-
*/
|
|
19654
|
-
putChatSettings(body) {
|
|
19655
|
-
// verify the required parameter 'body' is set
|
|
19656
|
-
if (body === undefined || body === null) {
|
|
19657
|
-
throw 'Missing the required parameter "body" when calling putChatSettings';
|
|
19658
|
-
}
|
|
19659
|
-
|
|
19660
|
-
return this.apiClient.callApi(
|
|
19661
|
-
'/api/v2/chat/settings',
|
|
19662
|
-
'PUT',
|
|
19663
|
-
{ },
|
|
19664
|
-
{ },
|
|
19665
|
-
{ },
|
|
19666
|
-
{ },
|
|
19667
|
-
body,
|
|
19668
|
-
['PureCloud OAuth'],
|
|
19669
|
-
['application/json'],
|
|
19670
|
-
['application/json']
|
|
19671
|
-
);
|
|
19672
|
-
}
|
|
19673
|
-
|
|
19674
19774
|
/**
|
|
19675
19775
|
* Update Chat Settings.
|
|
19676
19776
|
*
|
|
@@ -19702,7 +19802,7 @@ class CoachingApi {
|
|
|
19702
19802
|
/**
|
|
19703
19803
|
* Coaching service.
|
|
19704
19804
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
19705
|
-
* @version
|
|
19805
|
+
* @version 181.0.0
|
|
19706
19806
|
*/
|
|
19707
19807
|
|
|
19708
19808
|
/**
|
|
@@ -20279,7 +20379,7 @@ class ContentManagementApi {
|
|
|
20279
20379
|
/**
|
|
20280
20380
|
* ContentManagement service.
|
|
20281
20381
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
20282
|
-
* @version
|
|
20382
|
+
* @version 181.0.0
|
|
20283
20383
|
*/
|
|
20284
20384
|
|
|
20285
20385
|
/**
|
|
@@ -21422,7 +21522,7 @@ class ConversationsApi {
|
|
|
21422
21522
|
/**
|
|
21423
21523
|
* Conversations service.
|
|
21424
21524
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
21425
|
-
* @version
|
|
21525
|
+
* @version 181.0.0
|
|
21426
21526
|
*/
|
|
21427
21527
|
|
|
21428
21528
|
/**
|
|
@@ -25467,6 +25567,36 @@ class ConversationsApi {
|
|
|
25467
25567
|
);
|
|
25468
25568
|
}
|
|
25469
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
|
+
|
|
25470
25600
|
/**
|
|
25471
25601
|
* Update or activate a WhatsApp messaging integration
|
|
25472
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.
|
|
@@ -27693,9 +27823,10 @@ class ConversationsApi {
|
|
|
27693
27823
|
}
|
|
27694
27824
|
|
|
27695
27825
|
/**
|
|
27696
|
-
* Create a WhatsApp Integration
|
|
27697
|
-
* 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.
|
|
27698
27828
|
* @param {Object} body WhatsAppIntegrationRequest
|
|
27829
|
+
* @deprecated
|
|
27699
27830
|
*/
|
|
27700
27831
|
postConversationsMessagingIntegrationsWhatsapp(body) {
|
|
27701
27832
|
// verify the required parameter 'body' is set
|
|
@@ -27717,6 +27848,31 @@ class ConversationsApi {
|
|
|
27717
27848
|
);
|
|
27718
27849
|
}
|
|
27719
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
|
+
|
|
27720
27876
|
/**
|
|
27721
27877
|
* Create a messaging setting
|
|
27722
27878
|
*
|
|
@@ -28506,7 +28662,7 @@ class DataExtensionsApi {
|
|
|
28506
28662
|
/**
|
|
28507
28663
|
* DataExtensions service.
|
|
28508
28664
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
28509
|
-
* @version
|
|
28665
|
+
* @version 181.0.0
|
|
28510
28666
|
*/
|
|
28511
28667
|
|
|
28512
28668
|
/**
|
|
@@ -28592,7 +28748,7 @@ class DownloadsApi {
|
|
|
28592
28748
|
/**
|
|
28593
28749
|
* Downloads service.
|
|
28594
28750
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
28595
|
-
* @version
|
|
28751
|
+
* @version 181.0.0
|
|
28596
28752
|
*/
|
|
28597
28753
|
|
|
28598
28754
|
/**
|
|
@@ -28644,7 +28800,7 @@ class EmailsApi {
|
|
|
28644
28800
|
/**
|
|
28645
28801
|
* Emails service.
|
|
28646
28802
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
28647
|
-
* @version
|
|
28803
|
+
* @version 181.0.0
|
|
28648
28804
|
*/
|
|
28649
28805
|
|
|
28650
28806
|
/**
|
|
@@ -28709,7 +28865,7 @@ class EventsApi {
|
|
|
28709
28865
|
/**
|
|
28710
28866
|
* Events service.
|
|
28711
28867
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
28712
|
-
* @version
|
|
28868
|
+
* @version 181.0.0
|
|
28713
28869
|
*/
|
|
28714
28870
|
|
|
28715
28871
|
/**
|
|
@@ -28805,7 +28961,7 @@ class ExternalContactsApi {
|
|
|
28805
28961
|
/**
|
|
28806
28962
|
* ExternalContacts service.
|
|
28807
28963
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
28808
|
-
* @version
|
|
28964
|
+
* @version 181.0.0
|
|
28809
28965
|
*/
|
|
28810
28966
|
|
|
28811
28967
|
/**
|
|
@@ -30763,7 +30919,7 @@ class FaxApi {
|
|
|
30763
30919
|
/**
|
|
30764
30920
|
* Fax service.
|
|
30765
30921
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
30766
|
-
* @version
|
|
30922
|
+
* @version 181.0.0
|
|
30767
30923
|
*/
|
|
30768
30924
|
|
|
30769
30925
|
/**
|
|
@@ -30934,7 +31090,7 @@ class FlowsApi {
|
|
|
30934
31090
|
/**
|
|
30935
31091
|
* Flows service.
|
|
30936
31092
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
30937
|
-
* @version
|
|
31093
|
+
* @version 181.0.0
|
|
30938
31094
|
*/
|
|
30939
31095
|
|
|
30940
31096
|
/**
|
|
@@ -31118,7 +31274,7 @@ class GamificationApi {
|
|
|
31118
31274
|
/**
|
|
31119
31275
|
* Gamification service.
|
|
31120
31276
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
31121
|
-
* @version
|
|
31277
|
+
* @version 181.0.0
|
|
31122
31278
|
*/
|
|
31123
31279
|
|
|
31124
31280
|
/**
|
|
@@ -33204,7 +33360,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
33204
33360
|
/**
|
|
33205
33361
|
* GeneralDataProtectionRegulation service.
|
|
33206
33362
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
33207
|
-
* @version
|
|
33363
|
+
* @version 181.0.0
|
|
33208
33364
|
*/
|
|
33209
33365
|
|
|
33210
33366
|
/**
|
|
@@ -33334,7 +33490,7 @@ class GeolocationApi {
|
|
|
33334
33490
|
/**
|
|
33335
33491
|
* Geolocation service.
|
|
33336
33492
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
33337
|
-
* @version
|
|
33493
|
+
* @version 181.0.0
|
|
33338
33494
|
*/
|
|
33339
33495
|
|
|
33340
33496
|
/**
|
|
@@ -33465,7 +33621,7 @@ class GreetingsApi {
|
|
|
33465
33621
|
/**
|
|
33466
33622
|
* Greetings service.
|
|
33467
33623
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
33468
|
-
* @version
|
|
33624
|
+
* @version 181.0.0
|
|
33469
33625
|
*/
|
|
33470
33626
|
|
|
33471
33627
|
/**
|
|
@@ -33920,7 +34076,7 @@ class GroupsApi {
|
|
|
33920
34076
|
/**
|
|
33921
34077
|
* Groups service.
|
|
33922
34078
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
33923
|
-
* @version
|
|
34079
|
+
* @version 181.0.0
|
|
33924
34080
|
*/
|
|
33925
34081
|
|
|
33926
34082
|
/**
|
|
@@ -34439,7 +34595,7 @@ class IdentityProviderApi {
|
|
|
34439
34595
|
/**
|
|
34440
34596
|
* IdentityProvider service.
|
|
34441
34597
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34442
|
-
* @version
|
|
34598
|
+
* @version 181.0.0
|
|
34443
34599
|
*/
|
|
34444
34600
|
|
|
34445
34601
|
/**
|
|
@@ -35195,7 +35351,7 @@ class InfrastructureAsCodeApi {
|
|
|
35195
35351
|
/**
|
|
35196
35352
|
* InfrastructureAsCode service.
|
|
35197
35353
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
35198
|
-
* @version
|
|
35354
|
+
* @version 181.0.0
|
|
35199
35355
|
*/
|
|
35200
35356
|
|
|
35201
35357
|
/**
|
|
@@ -35362,7 +35518,7 @@ class IntegrationsApi {
|
|
|
35362
35518
|
/**
|
|
35363
35519
|
* Integrations service.
|
|
35364
35520
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35365
|
-
* @version
|
|
35521
|
+
* @version 181.0.0
|
|
35366
35522
|
*/
|
|
35367
35523
|
|
|
35368
35524
|
/**
|
|
@@ -37324,7 +37480,7 @@ class JourneyApi {
|
|
|
37324
37480
|
/**
|
|
37325
37481
|
* Journey service.
|
|
37326
37482
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37327
|
-
* @version
|
|
37483
|
+
* @version 181.0.0
|
|
37328
37484
|
*/
|
|
37329
37485
|
|
|
37330
37486
|
/**
|
|
@@ -37766,6 +37922,48 @@ class JourneyApi {
|
|
|
37766
37922
|
);
|
|
37767
37923
|
}
|
|
37768
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
|
+
|
|
37769
37967
|
/**
|
|
37770
37968
|
* Retrieve a single outcome.
|
|
37771
37969
|
*
|
|
@@ -38355,13 +38553,42 @@ class JourneyApi {
|
|
|
38355
38553
|
);
|
|
38356
38554
|
}
|
|
38357
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
|
+
|
|
38358
38586
|
/**
|
|
38359
38587
|
* Send a journey app event, used for tracking customer activity on an application.
|
|
38360
38588
|
*
|
|
38361
38589
|
* @param {String} deploymentId The ID of the deployment sending the app event.
|
|
38362
38590
|
* @param {Object} opts Optional parameters
|
|
38363
38591
|
* @param {Object} opts.body
|
|
38364
|
-
* postJourneyDeploymentAppevents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
38365
38592
|
*/
|
|
38366
38593
|
postJourneyDeploymentAppevents(deploymentId, opts) {
|
|
38367
38594
|
opts = opts || {};
|
|
@@ -38488,7 +38715,7 @@ class KnowledgeApi {
|
|
|
38488
38715
|
/**
|
|
38489
38716
|
* Knowledge service.
|
|
38490
38717
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
38491
|
-
* @version
|
|
38718
|
+
* @version 181.0.0
|
|
38492
38719
|
*/
|
|
38493
38720
|
|
|
38494
38721
|
/**
|
|
@@ -41309,7 +41536,7 @@ class LanguageUnderstandingApi {
|
|
|
41309
41536
|
/**
|
|
41310
41537
|
* LanguageUnderstanding service.
|
|
41311
41538
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
41312
|
-
* @version
|
|
41539
|
+
* @version 181.0.0
|
|
41313
41540
|
*/
|
|
41314
41541
|
|
|
41315
41542
|
/**
|
|
@@ -42322,7 +42549,7 @@ class LanguagesApi {
|
|
|
42322
42549
|
/**
|
|
42323
42550
|
* Languages service.
|
|
42324
42551
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
42325
|
-
* @version
|
|
42552
|
+
* @version 181.0.0
|
|
42326
42553
|
*/
|
|
42327
42554
|
|
|
42328
42555
|
/**
|
|
@@ -42544,7 +42771,7 @@ class LearningApi {
|
|
|
42544
42771
|
/**
|
|
42545
42772
|
* Learning service.
|
|
42546
42773
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
42547
|
-
* @version
|
|
42774
|
+
* @version 181.0.0
|
|
42548
42775
|
*/
|
|
42549
42776
|
|
|
42550
42777
|
/**
|
|
@@ -43363,7 +43590,7 @@ class LicenseApi {
|
|
|
43363
43590
|
/**
|
|
43364
43591
|
* License service.
|
|
43365
43592
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
43366
|
-
* @version
|
|
43593
|
+
* @version 181.0.0
|
|
43367
43594
|
*/
|
|
43368
43595
|
|
|
43369
43596
|
/**
|
|
@@ -43601,7 +43828,7 @@ class LocationsApi {
|
|
|
43601
43828
|
/**
|
|
43602
43829
|
* Locations service.
|
|
43603
43830
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43604
|
-
* @version
|
|
43831
|
+
* @version 181.0.0
|
|
43605
43832
|
*/
|
|
43606
43833
|
|
|
43607
43834
|
/**
|
|
@@ -43837,7 +44064,7 @@ class MessagingApi {
|
|
|
43837
44064
|
/**
|
|
43838
44065
|
* Messaging service.
|
|
43839
44066
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
43840
|
-
* @version
|
|
44067
|
+
* @version 181.0.0
|
|
43841
44068
|
*/
|
|
43842
44069
|
|
|
43843
44070
|
/**
|
|
@@ -44196,7 +44423,7 @@ class MobileDevicesApi {
|
|
|
44196
44423
|
/**
|
|
44197
44424
|
* MobileDevices service.
|
|
44198
44425
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
44199
|
-
* @version
|
|
44426
|
+
* @version 181.0.0
|
|
44200
44427
|
*/
|
|
44201
44428
|
|
|
44202
44429
|
/**
|
|
@@ -44347,7 +44574,7 @@ class NotificationsApi {
|
|
|
44347
44574
|
/**
|
|
44348
44575
|
* Notifications service.
|
|
44349
44576
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
44350
|
-
* @version
|
|
44577
|
+
* @version 181.0.0
|
|
44351
44578
|
*/
|
|
44352
44579
|
|
|
44353
44580
|
/**
|
|
@@ -44580,7 +44807,7 @@ class OAuthApi {
|
|
|
44580
44807
|
/**
|
|
44581
44808
|
* OAuth service.
|
|
44582
44809
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
44583
|
-
* @version
|
|
44810
|
+
* @version 181.0.0
|
|
44584
44811
|
*/
|
|
44585
44812
|
|
|
44586
44813
|
/**
|
|
@@ -44946,7 +45173,7 @@ class ObjectsApi {
|
|
|
44946
45173
|
/**
|
|
44947
45174
|
* Objects service.
|
|
44948
45175
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
44949
|
-
* @version
|
|
45176
|
+
* @version 181.0.0
|
|
44950
45177
|
*/
|
|
44951
45178
|
|
|
44952
45179
|
/**
|
|
@@ -45213,11 +45440,77 @@ class ObjectsApi {
|
|
|
45213
45440
|
|
|
45214
45441
|
}
|
|
45215
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
|
+
|
|
45216
45509
|
class OrganizationApi {
|
|
45217
45510
|
/**
|
|
45218
45511
|
* Organization service.
|
|
45219
45512
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
45220
|
-
* @version
|
|
45513
|
+
* @version 181.0.0
|
|
45221
45514
|
*/
|
|
45222
45515
|
|
|
45223
45516
|
/**
|
|
@@ -45672,7 +45965,7 @@ class OrganizationAuthorizationApi {
|
|
|
45672
45965
|
/**
|
|
45673
45966
|
* OrganizationAuthorization service.
|
|
45674
45967
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
45675
|
-
* @version
|
|
45968
|
+
* @version 181.0.0
|
|
45676
45969
|
*/
|
|
45677
45970
|
|
|
45678
45971
|
/**
|
|
@@ -47019,7 +47312,7 @@ class OutboundApi {
|
|
|
47019
47312
|
/**
|
|
47020
47313
|
* Outbound service.
|
|
47021
47314
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
47022
|
-
* @version
|
|
47315
|
+
* @version 181.0.0
|
|
47023
47316
|
*/
|
|
47024
47317
|
|
|
47025
47318
|
/**
|
|
@@ -50641,7 +50934,7 @@ class PresenceApi {
|
|
|
50641
50934
|
/**
|
|
50642
50935
|
* Presence service.
|
|
50643
50936
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
50644
|
-
* @version
|
|
50937
|
+
* @version 181.0.0
|
|
50645
50938
|
*/
|
|
50646
50939
|
|
|
50647
50940
|
/**
|
|
@@ -50736,9 +51029,13 @@ class PresenceApi {
|
|
|
50736
51029
|
* Get a Presence Definition
|
|
50737
51030
|
*
|
|
50738
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.
|
|
50739
51034
|
* getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
50740
51035
|
*/
|
|
50741
|
-
getPresenceDefinition0(definitionId) {
|
|
51036
|
+
getPresenceDefinition0(definitionId, opts) {
|
|
51037
|
+
opts = opts || {};
|
|
51038
|
+
|
|
50742
51039
|
// verify the required parameter 'definitionId' is set
|
|
50743
51040
|
if (definitionId === undefined || definitionId === null) {
|
|
50744
51041
|
throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
|
|
@@ -50748,7 +51045,7 @@ class PresenceApi {
|
|
|
50748
51045
|
'/api/v2/presence/definitions/{definitionId}',
|
|
50749
51046
|
'GET',
|
|
50750
51047
|
{ 'definitionId': definitionId },
|
|
50751
|
-
{
|
|
51048
|
+
{ 'localeCode': opts['localeCode'] },
|
|
50752
51049
|
{ },
|
|
50753
51050
|
{ },
|
|
50754
51051
|
null,
|
|
@@ -50764,6 +51061,7 @@ class PresenceApi {
|
|
|
50764
51061
|
* @param {Object} opts Optional parameters
|
|
50765
51062
|
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
50766
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.
|
|
50767
51065
|
* getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
50768
51066
|
*/
|
|
50769
51067
|
getPresenceDefinitions0(opts) {
|
|
@@ -50774,7 +51072,7 @@ class PresenceApi {
|
|
|
50774
51072
|
'/api/v2/presence/definitions',
|
|
50775
51073
|
'GET',
|
|
50776
51074
|
{ },
|
|
50777
|
-
{ 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
51075
|
+
{ 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'localeCode': opts['localeCode'] },
|
|
50778
51076
|
{ },
|
|
50779
51077
|
{ },
|
|
50780
51078
|
null,
|
|
@@ -51380,7 +51678,7 @@ class ProcessAutomationApi {
|
|
|
51380
51678
|
/**
|
|
51381
51679
|
* ProcessAutomation service.
|
|
51382
51680
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
51383
|
-
* @version
|
|
51681
|
+
* @version 181.0.0
|
|
51384
51682
|
*/
|
|
51385
51683
|
|
|
51386
51684
|
/**
|
|
@@ -51619,7 +51917,7 @@ class QualityApi {
|
|
|
51619
51917
|
/**
|
|
51620
51918
|
* Quality service.
|
|
51621
51919
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
51622
|
-
* @version
|
|
51920
|
+
* @version 181.0.0
|
|
51623
51921
|
*/
|
|
51624
51922
|
|
|
51625
51923
|
/**
|
|
@@ -52328,7 +52626,7 @@ class QualityApi {
|
|
|
52328
52626
|
|
|
52329
52627
|
/**
|
|
52330
52628
|
* Get the list of evaluation forms
|
|
52331
|
-
*
|
|
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.
|
|
52332
52630
|
* @param {Object} opts Optional parameters
|
|
52333
52631
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
52334
52632
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -53373,7 +53671,7 @@ class RecordingApi {
|
|
|
53373
53671
|
/**
|
|
53374
53672
|
* Recording service.
|
|
53375
53673
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
53376
|
-
* @version
|
|
53674
|
+
* @version 181.0.0
|
|
53377
53675
|
*/
|
|
53378
53676
|
|
|
53379
53677
|
/**
|
|
@@ -55010,7 +55308,7 @@ class ResponseManagementApi {
|
|
|
55010
55308
|
/**
|
|
55011
55309
|
* ResponseManagement service.
|
|
55012
55310
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
55013
|
-
* @version
|
|
55311
|
+
* @version 181.0.0
|
|
55014
55312
|
*/
|
|
55015
55313
|
|
|
55016
55314
|
/**
|
|
@@ -55495,7 +55793,7 @@ class RoutingApi {
|
|
|
55495
55793
|
/**
|
|
55496
55794
|
* Routing service.
|
|
55497
55795
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
55498
|
-
* @version
|
|
55796
|
+
* @version 181.0.0
|
|
55499
55797
|
*/
|
|
55500
55798
|
|
|
55501
55799
|
/**
|
|
@@ -59203,7 +59501,7 @@ class SCIMApi {
|
|
|
59203
59501
|
/**
|
|
59204
59502
|
* SCIM service.
|
|
59205
59503
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
59206
|
-
* @version
|
|
59504
|
+
* @version 181.0.0
|
|
59207
59505
|
*/
|
|
59208
59506
|
|
|
59209
59507
|
/**
|
|
@@ -60080,7 +60378,7 @@ class ScriptsApi {
|
|
|
60080
60378
|
/**
|
|
60081
60379
|
* Scripts service.
|
|
60082
60380
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
60083
|
-
* @version
|
|
60381
|
+
* @version 181.0.0
|
|
60084
60382
|
*/
|
|
60085
60383
|
|
|
60086
60384
|
/**
|
|
@@ -60524,7 +60822,7 @@ class SearchApi {
|
|
|
60524
60822
|
/**
|
|
60525
60823
|
* Search service.
|
|
60526
60824
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
60527
|
-
* @version
|
|
60825
|
+
* @version 181.0.0
|
|
60528
60826
|
*/
|
|
60529
60827
|
|
|
60530
60828
|
/**
|
|
@@ -61213,7 +61511,7 @@ class SettingsApi {
|
|
|
61213
61511
|
/**
|
|
61214
61512
|
* Settings service.
|
|
61215
61513
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
61216
|
-
* @version
|
|
61514
|
+
* @version 181.0.0
|
|
61217
61515
|
*/
|
|
61218
61516
|
|
|
61219
61517
|
/**
|
|
@@ -61278,7 +61576,7 @@ class SpeechTextAnalyticsApi {
|
|
|
61278
61576
|
/**
|
|
61279
61577
|
* SpeechTextAnalytics service.
|
|
61280
61578
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
61281
|
-
* @version
|
|
61579
|
+
* @version 181.0.0
|
|
61282
61580
|
*/
|
|
61283
61581
|
|
|
61284
61582
|
/**
|
|
@@ -62391,7 +62689,7 @@ class StationsApi {
|
|
|
62391
62689
|
/**
|
|
62392
62690
|
* Stations service.
|
|
62393
62691
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
62394
|
-
* @version
|
|
62692
|
+
* @version 181.0.0
|
|
62395
62693
|
*/
|
|
62396
62694
|
|
|
62397
62695
|
/**
|
|
@@ -62493,7 +62791,7 @@ class SuggestApi {
|
|
|
62493
62791
|
/**
|
|
62494
62792
|
* Suggest service.
|
|
62495
62793
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
62496
|
-
* @version
|
|
62794
|
+
* @version 181.0.0
|
|
62497
62795
|
*/
|
|
62498
62796
|
|
|
62499
62797
|
/**
|
|
@@ -62632,7 +62930,7 @@ class TaskManagementApi {
|
|
|
62632
62930
|
/**
|
|
62633
62931
|
* TaskManagement service.
|
|
62634
62932
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
62635
|
-
* @version
|
|
62933
|
+
* @version 181.0.0
|
|
62636
62934
|
*/
|
|
62637
62935
|
|
|
62638
62936
|
/**
|
|
@@ -63913,7 +64211,7 @@ class TeamsApi {
|
|
|
63913
64211
|
/**
|
|
63914
64212
|
* Teams service.
|
|
63915
64213
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
63916
|
-
* @version
|
|
64214
|
+
* @version 181.0.0
|
|
63917
64215
|
*/
|
|
63918
64216
|
|
|
63919
64217
|
/**
|
|
@@ -64215,7 +64513,7 @@ class TelephonyApi {
|
|
|
64215
64513
|
/**
|
|
64216
64514
|
* Telephony service.
|
|
64217
64515
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
64218
|
-
* @version
|
|
64516
|
+
* @version 181.0.0
|
|
64219
64517
|
*/
|
|
64220
64518
|
|
|
64221
64519
|
/**
|
|
@@ -64399,7 +64697,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
64399
64697
|
/**
|
|
64400
64698
|
* TelephonyProvidersEdge service.
|
|
64401
64699
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
64402
|
-
* @version
|
|
64700
|
+
* @version 181.0.0
|
|
64403
64701
|
*/
|
|
64404
64702
|
|
|
64405
64703
|
/**
|
|
@@ -66323,6 +66621,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
66323
66621
|
);
|
|
66324
66622
|
}
|
|
66325
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
|
+
|
|
66326
66649
|
/**
|
|
66327
66650
|
* Get the list of Sites.
|
|
66328
66651
|
*
|
|
@@ -66619,6 +66942,36 @@ class TelephonyProvidersEdgeApi {
|
|
|
66619
66942
|
);
|
|
66620
66943
|
}
|
|
66621
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
|
+
|
|
66622
66975
|
/**
|
|
66623
66976
|
* Nslookup request command to collect networking-related information from an Edge for a target IP or host.
|
|
66624
66977
|
*
|
|
@@ -67652,6 +68005,36 @@ class TelephonyProvidersEdgeApi {
|
|
|
67652
68005
|
);
|
|
67653
68006
|
}
|
|
67654
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
|
+
|
|
67655
68038
|
/**
|
|
67656
68039
|
* Update a Trunk Base Settings object by ID
|
|
67657
68040
|
*
|
|
@@ -67688,7 +68071,7 @@ class TextbotsApi {
|
|
|
67688
68071
|
/**
|
|
67689
68072
|
* Textbots service.
|
|
67690
68073
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
67691
|
-
* @version
|
|
68074
|
+
* @version 181.0.0
|
|
67692
68075
|
*/
|
|
67693
68076
|
|
|
67694
68077
|
/**
|
|
@@ -67816,7 +68199,7 @@ class TokensApi {
|
|
|
67816
68199
|
/**
|
|
67817
68200
|
* Tokens service.
|
|
67818
68201
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
67819
|
-
* @version
|
|
68202
|
+
* @version 181.0.0
|
|
67820
68203
|
*/
|
|
67821
68204
|
|
|
67822
68205
|
/**
|
|
@@ -67972,7 +68355,7 @@ class UploadsApi {
|
|
|
67972
68355
|
/**
|
|
67973
68356
|
* Uploads service.
|
|
67974
68357
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
67975
|
-
* @version
|
|
68358
|
+
* @version 181.0.0
|
|
67976
68359
|
*/
|
|
67977
68360
|
|
|
67978
68361
|
/**
|
|
@@ -68148,7 +68531,7 @@ class UsageApi {
|
|
|
68148
68531
|
/**
|
|
68149
68532
|
* Usage service.
|
|
68150
68533
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
68151
|
-
* @version
|
|
68534
|
+
* @version 181.0.0
|
|
68152
68535
|
*/
|
|
68153
68536
|
|
|
68154
68537
|
/**
|
|
@@ -68358,7 +68741,7 @@ class UserRecordingsApi {
|
|
|
68358
68741
|
/**
|
|
68359
68742
|
* UserRecordings service.
|
|
68360
68743
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
68361
|
-
* @version
|
|
68744
|
+
* @version 181.0.0
|
|
68362
68745
|
*/
|
|
68363
68746
|
|
|
68364
68747
|
/**
|
|
@@ -68543,7 +68926,7 @@ class UsersApi {
|
|
|
68543
68926
|
/**
|
|
68544
68927
|
* Users service.
|
|
68545
68928
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
68546
|
-
* @version
|
|
68929
|
+
* @version 181.0.0
|
|
68547
68930
|
*/
|
|
68548
68931
|
|
|
68549
68932
|
/**
|
|
@@ -68778,6 +69161,36 @@ class UsersApi {
|
|
|
68778
69161
|
);
|
|
68779
69162
|
}
|
|
68780
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
|
+
|
|
68781
69194
|
/**
|
|
68782
69195
|
* Get status for async query for user aggregates
|
|
68783
69196
|
*
|
|
@@ -69674,6 +70087,31 @@ class UsersApi {
|
|
|
69674
70087
|
);
|
|
69675
70088
|
}
|
|
69676
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
|
+
|
|
69677
70115
|
/**
|
|
69678
70116
|
* Get the list of available users.
|
|
69679
70117
|
*
|
|
@@ -70119,7 +70557,7 @@ class UsersApi {
|
|
|
70119
70557
|
}
|
|
70120
70558
|
|
|
70121
70559
|
/**
|
|
70122
|
-
* Update bulk acd autoanswer on users
|
|
70560
|
+
* Update bulk acd autoanswer on users. Max 50 users can be updated at a time.
|
|
70123
70561
|
*
|
|
70124
70562
|
* @param {Array.<Object>} body Users
|
|
70125
70563
|
*/
|
|
@@ -71098,13 +71536,48 @@ class UsersApi {
|
|
|
71098
71536
|
);
|
|
71099
71537
|
}
|
|
71100
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
|
+
|
|
71101
71574
|
}
|
|
71102
71575
|
|
|
71103
71576
|
class UtilitiesApi {
|
|
71104
71577
|
/**
|
|
71105
71578
|
* Utilities service.
|
|
71106
71579
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
71107
|
-
* @version
|
|
71580
|
+
* @version 181.0.0
|
|
71108
71581
|
*/
|
|
71109
71582
|
|
|
71110
71583
|
/**
|
|
@@ -71215,7 +71688,7 @@ class VoicemailApi {
|
|
|
71215
71688
|
/**
|
|
71216
71689
|
* Voicemail service.
|
|
71217
71690
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
71218
|
-
* @version
|
|
71691
|
+
* @version 181.0.0
|
|
71219
71692
|
*/
|
|
71220
71693
|
|
|
71221
71694
|
/**
|
|
@@ -71882,7 +72355,7 @@ class WebChatApi {
|
|
|
71882
72355
|
/**
|
|
71883
72356
|
* WebChat service.
|
|
71884
72357
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
71885
|
-
* @version
|
|
72358
|
+
* @version 181.0.0
|
|
71886
72359
|
*/
|
|
71887
72360
|
|
|
71888
72361
|
/**
|
|
@@ -72431,7 +72904,7 @@ class WebDeploymentsApi {
|
|
|
72431
72904
|
/**
|
|
72432
72905
|
* WebDeployments service.
|
|
72433
72906
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
72434
|
-
* @version
|
|
72907
|
+
* @version 181.0.0
|
|
72435
72908
|
*/
|
|
72436
72909
|
|
|
72437
72910
|
/**
|
|
@@ -72958,7 +73431,7 @@ class WebMessagingApi {
|
|
|
72958
73431
|
/**
|
|
72959
73432
|
* WebMessaging service.
|
|
72960
73433
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
72961
|
-
* @version
|
|
73434
|
+
* @version 181.0.0
|
|
72962
73435
|
*/
|
|
72963
73436
|
|
|
72964
73437
|
/**
|
|
@@ -73004,7 +73477,7 @@ class WidgetsApi {
|
|
|
73004
73477
|
/**
|
|
73005
73478
|
* Widgets service.
|
|
73006
73479
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
73007
|
-
* @version
|
|
73480
|
+
* @version 181.0.0
|
|
73008
73481
|
*/
|
|
73009
73482
|
|
|
73010
73483
|
/**
|
|
@@ -73150,7 +73623,7 @@ class WorkforceManagementApi {
|
|
|
73150
73623
|
/**
|
|
73151
73624
|
* WorkforceManagement service.
|
|
73152
73625
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
73153
|
-
* @version
|
|
73626
|
+
* @version 181.0.0
|
|
73154
73627
|
*/
|
|
73155
73628
|
|
|
73156
73629
|
/**
|
|
@@ -73833,8 +74306,12 @@ class WorkforceManagementApi {
|
|
|
73833
74306
|
* Get activity codes
|
|
73834
74307
|
*
|
|
73835
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
|
|
73836
74311
|
*/
|
|
73837
|
-
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId) {
|
|
74312
|
+
getWorkforcemanagementBusinessunitActivitycodes(businessUnitId, opts) {
|
|
74313
|
+
opts = opts || {};
|
|
74314
|
+
|
|
73838
74315
|
// verify the required parameter 'businessUnitId' is set
|
|
73839
74316
|
if (businessUnitId === undefined || businessUnitId === null) {
|
|
73840
74317
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';
|
|
@@ -73844,7 +74321,7 @@ class WorkforceManagementApi {
|
|
|
73844
74321
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
|
|
73845
74322
|
'GET',
|
|
73846
74323
|
{ 'businessUnitId': businessUnitId },
|
|
73847
|
-
{
|
|
74324
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
73848
74325
|
{ },
|
|
73849
74326
|
{ },
|
|
73850
74327
|
null,
|
|
@@ -75234,6 +75711,7 @@ class WorkforceManagementApi {
|
|
|
75234
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
|
|
75235
75712
|
* @param {Object} opts Optional parameters
|
|
75236
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
|
|
75237
75715
|
*/
|
|
75238
75716
|
getWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, opts) {
|
|
75239
75717
|
opts = opts || {};
|
|
@@ -75251,7 +75729,7 @@ class WorkforceManagementApi {
|
|
|
75251
75729
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades',
|
|
75252
75730
|
'GET',
|
|
75253
75731
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
75254
|
-
{ 'evaluateMatches': opts['evaluateMatches'] },
|
|
75732
|
+
{ 'evaluateMatches': opts['evaluateMatches'],'forceDownloadService': opts['forceDownloadService'] },
|
|
75255
75733
|
{ },
|
|
75256
75734
|
{ },
|
|
75257
75735
|
null,
|
|
@@ -77499,6 +77977,7 @@ class WorkforceManagementApi {
|
|
|
77499
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
|
|
77500
77978
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77501
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
|
|
77502
77981
|
* @param {Object} opts.body body
|
|
77503
77982
|
*/
|
|
77504
77983
|
postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
|
|
@@ -77513,7 +77992,7 @@ class WorkforceManagementApi {
|
|
|
77513
77992
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
|
|
77514
77993
|
'POST',
|
|
77515
77994
|
{ 'managementUnitId': managementUnitId },
|
|
77516
|
-
{
|
|
77995
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77517
77996
|
{ },
|
|
77518
77997
|
{ },
|
|
77519
77998
|
opts['body'],
|
|
@@ -77737,8 +78216,12 @@ class WorkforceManagementApi {
|
|
|
77737
78216
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
77738
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
|
|
77739
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
|
|
77740
78221
|
*/
|
|
77741
|
-
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body) {
|
|
78222
|
+
postWorkforcemanagementManagementunitWeekShifttradesSearch(managementUnitId, weekDateId, body, opts) {
|
|
78223
|
+
opts = opts || {};
|
|
78224
|
+
|
|
77742
78225
|
// verify the required parameter 'managementUnitId' is set
|
|
77743
78226
|
if (managementUnitId === undefined || managementUnitId === null) {
|
|
77744
78227
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
|
|
@@ -77756,7 +78239,7 @@ class WorkforceManagementApi {
|
|
|
77756
78239
|
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shifttrades/search',
|
|
77757
78240
|
'POST',
|
|
77758
78241
|
{ 'managementUnitId': managementUnitId,'weekDateId': weekDateId },
|
|
77759
|
-
{
|
|
78242
|
+
{ 'forceDownloadService': opts['forceDownloadService'] },
|
|
77760
78243
|
{ },
|
|
77761
78244
|
{ },
|
|
77762
78245
|
body,
|
|
@@ -78314,7 +78797,7 @@ class WorkforceManagementApi {
|
|
|
78314
78797
|
* </pre>
|
|
78315
78798
|
* </p>
|
|
78316
78799
|
* @module purecloud-platform-client-v2/index
|
|
78317
|
-
* @version
|
|
78800
|
+
* @version 181.0.0
|
|
78318
78801
|
*/
|
|
78319
78802
|
class platformClient {
|
|
78320
78803
|
constructor() {
|
|
@@ -78518,6 +79001,11 @@ class platformClient {
|
|
|
78518
79001
|
* @property {module:purecloud-platform-client-v2/api/ObjectsApi}
|
|
78519
79002
|
*/
|
|
78520
79003
|
this.ObjectsApi = ObjectsApi;
|
|
79004
|
+
/**
|
|
79005
|
+
* The OperationalEventsApi service constructor.
|
|
79006
|
+
* @property {module:purecloud-platform-client-v2/api/OperationalEventsApi}
|
|
79007
|
+
*/
|
|
79008
|
+
this.OperationalEventsApi = OperationalEventsApi;
|
|
78521
79009
|
/**
|
|
78522
79010
|
* The OrganizationApi service constructor.
|
|
78523
79011
|
* @property {module:purecloud-platform-client-v2/api/OrganizationApi}
|
|
@@ -78699,4 +79187,4 @@ var index = new platformClient();
|
|
|
78699
79187
|
module.exports = index;
|
|
78700
79188
|
|
|
78701
79189
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
78702
|
-
},{"axios":8,"buffer":3,"os":5,"path":6,"qs":
|
|
79190
|
+
},{"axios":8,"buffer":3,"os":5,"path":6,"qs":54}]},{},[]);
|