purecloud-platform-client-v2 160.0.0 → 160.1.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 +816 -69
- package/dist/web-amd/purecloud-platform-client-v2.js +816 -69
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +816 -69
- package/dist/web-cjs/purecloud-platform-client-v2.js +1169 -395
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +84 -0
- 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/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +789 -42
- 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/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5090,14 +5090,14 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
5090
5090
|
/*</replacement>*/
|
|
5091
5091
|
|
|
5092
5092
|
module.exports = Duplex;
|
|
5093
|
-
|
|
5094
|
-
|
|
5093
|
+
var Readable = require('./_stream_readable');
|
|
5094
|
+
var Writable = require('./_stream_writable');
|
|
5095
5095
|
require('inherits')(Duplex, Readable);
|
|
5096
5096
|
{
|
|
5097
5097
|
// Allow the keys array to be GC'ed.
|
|
5098
|
-
|
|
5098
|
+
var keys = objectKeys(Writable.prototype);
|
|
5099
5099
|
for (var v = 0; v < keys.length; v++) {
|
|
5100
|
-
|
|
5100
|
+
var method = keys[v];
|
|
5101
5101
|
if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
|
|
5102
5102
|
}
|
|
5103
5103
|
}
|
|
@@ -5120,7 +5120,7 @@ Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', {
|
|
|
5120
5120
|
// because otherwise some prototype manipulation in
|
|
5121
5121
|
// userland will fail
|
|
5122
5122
|
enumerable: false,
|
|
5123
|
-
get() {
|
|
5123
|
+
get: function get() {
|
|
5124
5124
|
return this._writableState.highWaterMark;
|
|
5125
5125
|
}
|
|
5126
5126
|
});
|
|
@@ -5138,7 +5138,7 @@ Object.defineProperty(Duplex.prototype, 'writableLength', {
|
|
|
5138
5138
|
// because otherwise some prototype manipulation in
|
|
5139
5139
|
// userland will fail
|
|
5140
5140
|
enumerable: false,
|
|
5141
|
-
get() {
|
|
5141
|
+
get: function get() {
|
|
5142
5142
|
return this._writableState.length;
|
|
5143
5143
|
}
|
|
5144
5144
|
});
|
|
@@ -5160,13 +5160,13 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
|
|
|
5160
5160
|
// because otherwise some prototype manipulation in
|
|
5161
5161
|
// userland will fail
|
|
5162
5162
|
enumerable: false,
|
|
5163
|
-
get() {
|
|
5163
|
+
get: function get() {
|
|
5164
5164
|
if (this._readableState === undefined || this._writableState === undefined) {
|
|
5165
5165
|
return false;
|
|
5166
5166
|
}
|
|
5167
5167
|
return this._readableState.destroyed && this._writableState.destroyed;
|
|
5168
5168
|
},
|
|
5169
|
-
set(value) {
|
|
5169
|
+
set: function set(value) {
|
|
5170
5170
|
// we ignore the value if the stream
|
|
5171
5171
|
// has not been initialized yet
|
|
5172
5172
|
if (this._readableState === undefined || this._writableState === undefined) {
|
|
@@ -5209,7 +5209,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
|
|
|
5209
5209
|
'use strict';
|
|
5210
5210
|
|
|
5211
5211
|
module.exports = PassThrough;
|
|
5212
|
-
|
|
5212
|
+
var Transform = require('./_stream_transform');
|
|
5213
5213
|
require('inherits')(PassThrough, Transform);
|
|
5214
5214
|
function PassThrough(options) {
|
|
5215
5215
|
if (!(this instanceof PassThrough)) return new PassThrough(options);
|
|
@@ -5252,7 +5252,7 @@ var Duplex;
|
|
|
5252
5252
|
Readable.ReadableState = ReadableState;
|
|
5253
5253
|
|
|
5254
5254
|
/*<replacement>*/
|
|
5255
|
-
|
|
5255
|
+
var EE = require('events').EventEmitter;
|
|
5256
5256
|
var EElistenerCount = function EElistenerCount(emitter, type) {
|
|
5257
5257
|
return emitter.listeners(type).length;
|
|
5258
5258
|
};
|
|
@@ -5262,8 +5262,8 @@ var EElistenerCount = function EElistenerCount(emitter, type) {
|
|
|
5262
5262
|
var Stream = require('./internal/streams/stream');
|
|
5263
5263
|
/*</replacement>*/
|
|
5264
5264
|
|
|
5265
|
-
|
|
5266
|
-
|
|
5265
|
+
var Buffer = require('buffer').Buffer;
|
|
5266
|
+
var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
|
|
5267
5267
|
function _uint8ArrayToBuffer(chunk) {
|
|
5268
5268
|
return Buffer.from(chunk);
|
|
5269
5269
|
}
|
|
@@ -5272,8 +5272,8 @@ function _isUint8Array(obj) {
|
|
|
5272
5272
|
}
|
|
5273
5273
|
|
|
5274
5274
|
/*<replacement>*/
|
|
5275
|
-
|
|
5276
|
-
|
|
5275
|
+
var debugUtil = require('util');
|
|
5276
|
+
var debug;
|
|
5277
5277
|
if (debugUtil && debugUtil.debuglog) {
|
|
5278
5278
|
debug = debugUtil.debuglog('stream');
|
|
5279
5279
|
} else {
|
|
@@ -5281,23 +5281,23 @@ if (debugUtil && debugUtil.debuglog) {
|
|
|
5281
5281
|
}
|
|
5282
5282
|
/*</replacement>*/
|
|
5283
5283
|
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5284
|
+
var BufferList = require('./internal/streams/buffer_list');
|
|
5285
|
+
var destroyImpl = require('./internal/streams/destroy');
|
|
5286
|
+
var _require = require('./internal/streams/state'),
|
|
5287
5287
|
getHighWaterMark = _require.getHighWaterMark;
|
|
5288
|
-
|
|
5288
|
+
var _require$codes = require('../errors').codes,
|
|
5289
5289
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
5290
5290
|
ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,
|
|
5291
5291
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
5292
5292
|
ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
|
|
5293
5293
|
|
|
5294
5294
|
// Lazy loaded to improve the startup performance.
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5295
|
+
var StringDecoder;
|
|
5296
|
+
var createReadableStreamAsyncIterator;
|
|
5297
|
+
var from;
|
|
5298
5298
|
require('inherits')(Readable, Stream);
|
|
5299
|
-
|
|
5300
|
-
|
|
5299
|
+
var errorOrDestroy = destroyImpl.errorOrDestroy;
|
|
5300
|
+
var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];
|
|
5301
5301
|
function prependListener(emitter, event, fn) {
|
|
5302
5302
|
// Sadly this is not cacheable as some libraries bundle their own
|
|
5303
5303
|
// event emitter implementation with them.
|
|
@@ -5388,7 +5388,7 @@ function Readable(options) {
|
|
|
5388
5388
|
|
|
5389
5389
|
// Checking for a Stream.Duplex instance is faster here instead of inside
|
|
5390
5390
|
// the ReadableState constructor, at least with V8 6.5
|
|
5391
|
-
|
|
5391
|
+
var isDuplex = this instanceof Duplex;
|
|
5392
5392
|
this._readableState = new ReadableState(options, this, isDuplex);
|
|
5393
5393
|
|
|
5394
5394
|
// legacy
|
|
@@ -5404,13 +5404,13 @@ Object.defineProperty(Readable.prototype, 'destroyed', {
|
|
|
5404
5404
|
// because otherwise some prototype manipulation in
|
|
5405
5405
|
// userland will fail
|
|
5406
5406
|
enumerable: false,
|
|
5407
|
-
get() {
|
|
5407
|
+
get: function get() {
|
|
5408
5408
|
if (this._readableState === undefined) {
|
|
5409
5409
|
return false;
|
|
5410
5410
|
}
|
|
5411
5411
|
return this._readableState.destroyed;
|
|
5412
5412
|
},
|
|
5413
|
-
set(value) {
|
|
5413
|
+
set: function set(value) {
|
|
5414
5414
|
// we ignore the value if the stream
|
|
5415
5415
|
// has not been initialized yet
|
|
5416
5416
|
if (!this._readableState) {
|
|
@@ -5521,14 +5521,14 @@ Readable.prototype.isPaused = function () {
|
|
|
5521
5521
|
// backwards compatibility.
|
|
5522
5522
|
Readable.prototype.setEncoding = function (enc) {
|
|
5523
5523
|
if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;
|
|
5524
|
-
|
|
5524
|
+
var decoder = new StringDecoder(enc);
|
|
5525
5525
|
this._readableState.decoder = decoder;
|
|
5526
5526
|
// If setEncoding(null), decoder.encoding equals utf8
|
|
5527
5527
|
this._readableState.encoding = this._readableState.decoder.encoding;
|
|
5528
5528
|
|
|
5529
5529
|
// Iterate over current buffer to convert already stored Buffers:
|
|
5530
|
-
|
|
5531
|
-
|
|
5530
|
+
var p = this._readableState.buffer.head;
|
|
5531
|
+
var content = '';
|
|
5532
5532
|
while (p !== null) {
|
|
5533
5533
|
content += decoder.write(p.data);
|
|
5534
5534
|
p = p.next;
|
|
@@ -5540,7 +5540,7 @@ Readable.prototype.setEncoding = function (enc) {
|
|
|
5540
5540
|
};
|
|
5541
5541
|
|
|
5542
5542
|
// Don't raise the hwm > 1GB
|
|
5543
|
-
|
|
5543
|
+
var MAX_HWM = 0x40000000;
|
|
5544
5544
|
function computeNewHighWaterMark(n) {
|
|
5545
5545
|
if (n >= MAX_HWM) {
|
|
5546
5546
|
// TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.
|
|
@@ -5767,7 +5767,7 @@ function maybeReadMore_(stream, state) {
|
|
|
5767
5767
|
// read()s. The execution ends in this method again after the _read() ends
|
|
5768
5768
|
// up calling push() with more data.
|
|
5769
5769
|
while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) {
|
|
5770
|
-
|
|
5770
|
+
var len = state.length;
|
|
5771
5771
|
debug('maybeReadMore read 0');
|
|
5772
5772
|
stream.read(0);
|
|
5773
5773
|
if (len === state.length)
|
|
@@ -5964,8 +5964,8 @@ Readable.prototype.unpipe = function (dest) {
|
|
|
5964
5964
|
// set up data events if they are asked for
|
|
5965
5965
|
// Ensure readable listeners eventually get something
|
|
5966
5966
|
Readable.prototype.on = function (ev, fn) {
|
|
5967
|
-
|
|
5968
|
-
|
|
5967
|
+
var res = Stream.prototype.on.call(this, ev, fn);
|
|
5968
|
+
var state = this._readableState;
|
|
5969
5969
|
if (ev === 'data') {
|
|
5970
5970
|
// update readableListening so that resume() may be a no-op
|
|
5971
5971
|
// a few lines down. This is needed to support once('readable').
|
|
@@ -5990,7 +5990,7 @@ Readable.prototype.on = function (ev, fn) {
|
|
|
5990
5990
|
};
|
|
5991
5991
|
Readable.prototype.addListener = Readable.prototype.on;
|
|
5992
5992
|
Readable.prototype.removeListener = function (ev, fn) {
|
|
5993
|
-
|
|
5993
|
+
var res = Stream.prototype.removeListener.call(this, ev, fn);
|
|
5994
5994
|
if (ev === 'readable') {
|
|
5995
5995
|
// We need to check if there is someone still listening to
|
|
5996
5996
|
// readable and reset the state. However this needs to happen
|
|
@@ -6003,7 +6003,7 @@ Readable.prototype.removeListener = function (ev, fn) {
|
|
|
6003
6003
|
return res;
|
|
6004
6004
|
};
|
|
6005
6005
|
Readable.prototype.removeAllListeners = function (ev) {
|
|
6006
|
-
|
|
6006
|
+
var res = Stream.prototype.removeAllListeners.apply(this, arguments);
|
|
6007
6007
|
if (ev === 'readable' || ev === undefined) {
|
|
6008
6008
|
// We need to check if there is someone still listening to
|
|
6009
6009
|
// readable and reset the state. However this needs to happen
|
|
@@ -6016,7 +6016,7 @@ Readable.prototype.removeAllListeners = function (ev) {
|
|
|
6016
6016
|
return res;
|
|
6017
6017
|
};
|
|
6018
6018
|
function updateReadableListening(self) {
|
|
6019
|
-
|
|
6019
|
+
var state = self._readableState;
|
|
6020
6020
|
state.readableListening = self.listenerCount('readable') > 0;
|
|
6021
6021
|
if (state.resumeScheduled && !state.paused) {
|
|
6022
6022
|
// flowing needs to be set to true now, otherwise
|
|
@@ -6075,7 +6075,7 @@ Readable.prototype.pause = function () {
|
|
|
6075
6075
|
return this;
|
|
6076
6076
|
};
|
|
6077
6077
|
function flow(stream) {
|
|
6078
|
-
|
|
6078
|
+
var state = stream._readableState;
|
|
6079
6079
|
debug('flow', state.flowing);
|
|
6080
6080
|
while (state.flowing && stream.read() !== null);
|
|
6081
6081
|
}
|
|
@@ -6084,23 +6084,24 @@ function flow(stream) {
|
|
|
6084
6084
|
// This is *not* part of the readable stream interface.
|
|
6085
6085
|
// It is an ugly unfortunate mess of history.
|
|
6086
6086
|
Readable.prototype.wrap = function (stream) {
|
|
6087
|
+
var _this = this;
|
|
6087
6088
|
var state = this._readableState;
|
|
6088
6089
|
var paused = false;
|
|
6089
|
-
stream.on('end', ()
|
|
6090
|
+
stream.on('end', function () {
|
|
6090
6091
|
debug('wrapped end');
|
|
6091
6092
|
if (state.decoder && !state.ended) {
|
|
6092
6093
|
var chunk = state.decoder.end();
|
|
6093
|
-
if (chunk && chunk.length)
|
|
6094
|
+
if (chunk && chunk.length) _this.push(chunk);
|
|
6094
6095
|
}
|
|
6095
|
-
|
|
6096
|
+
_this.push(null);
|
|
6096
6097
|
});
|
|
6097
|
-
stream.on('data', chunk
|
|
6098
|
+
stream.on('data', function (chunk) {
|
|
6098
6099
|
debug('wrapped data');
|
|
6099
6100
|
if (state.decoder) chunk = state.decoder.write(chunk);
|
|
6100
6101
|
|
|
6101
6102
|
// don't skip over falsy values in objectMode
|
|
6102
6103
|
if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;
|
|
6103
|
-
var ret =
|
|
6104
|
+
var ret = _this.push(chunk);
|
|
6104
6105
|
if (!ret) {
|
|
6105
6106
|
paused = true;
|
|
6106
6107
|
stream.pause();
|
|
@@ -6126,7 +6127,7 @@ Readable.prototype.wrap = function (stream) {
|
|
|
6126
6127
|
|
|
6127
6128
|
// when we try to consume some more bytes, simply unpause the
|
|
6128
6129
|
// underlying stream.
|
|
6129
|
-
this._read = n
|
|
6130
|
+
this._read = function (n) {
|
|
6130
6131
|
debug('wrapped _read', n);
|
|
6131
6132
|
if (paused) {
|
|
6132
6133
|
paused = false;
|
|
@@ -6183,7 +6184,7 @@ Object.defineProperty(Readable.prototype, 'readableLength', {
|
|
|
6183
6184
|
// because otherwise some prototype manipulation in
|
|
6184
6185
|
// userland will fail
|
|
6185
6186
|
enumerable: false,
|
|
6186
|
-
get() {
|
|
6187
|
+
get: function get() {
|
|
6187
6188
|
return this._readableState.length;
|
|
6188
6189
|
}
|
|
6189
6190
|
});
|
|
@@ -6225,7 +6226,7 @@ function endReadableNT(state, stream) {
|
|
|
6225
6226
|
if (state.autoDestroy) {
|
|
6226
6227
|
// In case of duplex streams we need a way to detect
|
|
6227
6228
|
// if the writable side is ready for autoDestroy as well
|
|
6228
|
-
|
|
6229
|
+
var wState = stream._writableState;
|
|
6229
6230
|
if (!wState || wState.autoDestroy && wState.finished) {
|
|
6230
6231
|
stream.destroy();
|
|
6231
6232
|
}
|
|
@@ -6314,12 +6315,12 @@ function indexOf(xs, x) {
|
|
|
6314
6315
|
'use strict';
|
|
6315
6316
|
|
|
6316
6317
|
module.exports = Transform;
|
|
6317
|
-
|
|
6318
|
+
var _require$codes = require('../errors').codes,
|
|
6318
6319
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
6319
6320
|
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
|
|
6320
6321
|
ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,
|
|
6321
6322
|
ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
|
|
6322
|
-
|
|
6323
|
+
var Duplex = require('./_stream_duplex');
|
|
6323
6324
|
require('inherits')(Transform, Duplex);
|
|
6324
6325
|
function afterTransform(er, data) {
|
|
6325
6326
|
var ts = this._transformState;
|
|
@@ -6368,9 +6369,10 @@ function Transform(options) {
|
|
|
6368
6369
|
this.on('prefinish', prefinish);
|
|
6369
6370
|
}
|
|
6370
6371
|
function prefinish() {
|
|
6372
|
+
var _this = this;
|
|
6371
6373
|
if (typeof this._flush === 'function' && !this._readableState.destroyed) {
|
|
6372
|
-
this._flush((er, data)
|
|
6373
|
-
done(
|
|
6374
|
+
this._flush(function (er, data) {
|
|
6375
|
+
done(_this, er, data);
|
|
6374
6376
|
});
|
|
6375
6377
|
} else {
|
|
6376
6378
|
done(this, null, null);
|
|
@@ -6420,7 +6422,7 @@ Transform.prototype._read = function (n) {
|
|
|
6420
6422
|
}
|
|
6421
6423
|
};
|
|
6422
6424
|
Transform.prototype._destroy = function (err, cb) {
|
|
6423
|
-
Duplex.prototype._destroy.call(this, err, err2
|
|
6425
|
+
Duplex.prototype._destroy.call(this, err, function (err2) {
|
|
6424
6426
|
cb(err2);
|
|
6425
6427
|
});
|
|
6426
6428
|
};
|
|
@@ -6479,10 +6481,11 @@ function WriteReq(chunk, encoding, cb) {
|
|
|
6479
6481
|
// It seems a linked list but it is not
|
|
6480
6482
|
// there will be only 2 of these for each stream
|
|
6481
6483
|
function CorkedRequest(state) {
|
|
6484
|
+
var _this = this;
|
|
6482
6485
|
this.next = null;
|
|
6483
6486
|
this.entry = null;
|
|
6484
|
-
this.finish = ()
|
|
6485
|
-
onCorkedFinish(
|
|
6487
|
+
this.finish = function () {
|
|
6488
|
+
onCorkedFinish(_this, state);
|
|
6486
6489
|
};
|
|
6487
6490
|
}
|
|
6488
6491
|
/* </replacement> */
|
|
@@ -6494,7 +6497,7 @@ var Duplex;
|
|
|
6494
6497
|
Writable.WritableState = WritableState;
|
|
6495
6498
|
|
|
6496
6499
|
/*<replacement>*/
|
|
6497
|
-
|
|
6500
|
+
var internalUtil = {
|
|
6498
6501
|
deprecate: require('util-deprecate')
|
|
6499
6502
|
};
|
|
6500
6503
|
/*</replacement>*/
|
|
@@ -6503,18 +6506,18 @@ const internalUtil = {
|
|
|
6503
6506
|
var Stream = require('./internal/streams/stream');
|
|
6504
6507
|
/*</replacement>*/
|
|
6505
6508
|
|
|
6506
|
-
|
|
6507
|
-
|
|
6509
|
+
var Buffer = require('buffer').Buffer;
|
|
6510
|
+
var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
|
|
6508
6511
|
function _uint8ArrayToBuffer(chunk) {
|
|
6509
6512
|
return Buffer.from(chunk);
|
|
6510
6513
|
}
|
|
6511
6514
|
function _isUint8Array(obj) {
|
|
6512
6515
|
return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
|
|
6513
6516
|
}
|
|
6514
|
-
|
|
6515
|
-
|
|
6517
|
+
var destroyImpl = require('./internal/streams/destroy');
|
|
6518
|
+
var _require = require('./internal/streams/state'),
|
|
6516
6519
|
getHighWaterMark = _require.getHighWaterMark;
|
|
6517
|
-
|
|
6520
|
+
var _require$codes = require('../errors').codes,
|
|
6518
6521
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
6519
6522
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
6520
6523
|
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
|
|
@@ -6523,7 +6526,7 @@ const _require$codes = require('../errors').codes,
|
|
|
6523
6526
|
ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,
|
|
6524
6527
|
ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,
|
|
6525
6528
|
ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
|
|
6526
|
-
|
|
6529
|
+
var errorOrDestroy = destroyImpl.errorOrDestroy;
|
|
6527
6530
|
require('inherits')(Writable, Stream);
|
|
6528
6531
|
function nop() {}
|
|
6529
6532
|
function WritableState(options, stream, isDuplex) {
|
|
@@ -6681,7 +6684,7 @@ function Writable(options) {
|
|
|
6681
6684
|
|
|
6682
6685
|
// Checking for a Stream.Duplex instance is faster here instead of inside
|
|
6683
6686
|
// the WritableState constructor, at least with V8 6.5
|
|
6684
|
-
|
|
6687
|
+
var isDuplex = this instanceof Duplex;
|
|
6685
6688
|
if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);
|
|
6686
6689
|
this._writableState = new WritableState(options, this, isDuplex);
|
|
6687
6690
|
|
|
@@ -6805,9 +6808,9 @@ function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
|
|
|
6805
6808
|
if (state.writing || state.corked) {
|
|
6806
6809
|
var last = state.lastBufferedRequest;
|
|
6807
6810
|
state.lastBufferedRequest = {
|
|
6808
|
-
chunk,
|
|
6809
|
-
encoding,
|
|
6810
|
-
isBuf,
|
|
6811
|
+
chunk: chunk,
|
|
6812
|
+
encoding: encoding,
|
|
6813
|
+
isBuf: isBuf,
|
|
6811
6814
|
callback: cb,
|
|
6812
6815
|
next: null
|
|
6813
6816
|
};
|
|
@@ -6980,7 +6983,7 @@ Object.defineProperty(Writable.prototype, 'writableLength', {
|
|
|
6980
6983
|
// because otherwise some prototype manipulation in
|
|
6981
6984
|
// userland will fail
|
|
6982
6985
|
enumerable: false,
|
|
6983
|
-
get() {
|
|
6986
|
+
get: function get() {
|
|
6984
6987
|
return this._writableState.length;
|
|
6985
6988
|
}
|
|
6986
6989
|
});
|
|
@@ -6988,7 +6991,7 @@ function needFinish(state) {
|
|
|
6988
6991
|
return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;
|
|
6989
6992
|
}
|
|
6990
6993
|
function callFinal(stream, state) {
|
|
6991
|
-
stream._final(err
|
|
6994
|
+
stream._final(function (err) {
|
|
6992
6995
|
state.pendingcb--;
|
|
6993
6996
|
if (err) {
|
|
6994
6997
|
errorOrDestroy(stream, err);
|
|
@@ -7020,7 +7023,7 @@ function finishMaybe(stream, state) {
|
|
|
7020
7023
|
if (state.autoDestroy) {
|
|
7021
7024
|
// In case of duplex streams we need a way to detect
|
|
7022
7025
|
// if the readable side is ready for autoDestroy as well
|
|
7023
|
-
|
|
7026
|
+
var rState = stream._readableState;
|
|
7024
7027
|
if (!rState || rState.autoDestroy && rState.endEmitted) {
|
|
7025
7028
|
stream.destroy();
|
|
7026
7029
|
}
|
|
@@ -7056,13 +7059,13 @@ Object.defineProperty(Writable.prototype, 'destroyed', {
|
|
|
7056
7059
|
// because otherwise some prototype manipulation in
|
|
7057
7060
|
// userland will fail
|
|
7058
7061
|
enumerable: false,
|
|
7059
|
-
get() {
|
|
7062
|
+
get: function get() {
|
|
7060
7063
|
if (this._writableState === undefined) {
|
|
7061
7064
|
return false;
|
|
7062
7065
|
}
|
|
7063
7066
|
return this._writableState.destroyed;
|
|
7064
7067
|
},
|
|
7065
|
-
set(value) {
|
|
7068
|
+
set: function set(value) {
|
|
7066
7069
|
// we ignore the value if the stream
|
|
7067
7070
|
// has not been initialized yet
|
|
7068
7071
|
if (!this._writableState) {
|
|
@@ -7084,24 +7087,28 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
7084
7087
|
(function (process){(function (){
|
|
7085
7088
|
'use strict';
|
|
7086
7089
|
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7090
|
+
var _Object$setPrototypeO;
|
|
7091
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7092
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
7093
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7094
|
+
var finished = require('./end-of-stream');
|
|
7095
|
+
var kLastResolve = Symbol('lastResolve');
|
|
7096
|
+
var kLastReject = Symbol('lastReject');
|
|
7097
|
+
var kError = Symbol('error');
|
|
7098
|
+
var kEnded = Symbol('ended');
|
|
7099
|
+
var kLastPromise = Symbol('lastPromise');
|
|
7100
|
+
var kHandlePromise = Symbol('handlePromise');
|
|
7101
|
+
var kStream = Symbol('stream');
|
|
7095
7102
|
function createIterResult(value, done) {
|
|
7096
7103
|
return {
|
|
7097
|
-
value,
|
|
7098
|
-
done
|
|
7104
|
+
value: value,
|
|
7105
|
+
done: done
|
|
7099
7106
|
};
|
|
7100
7107
|
}
|
|
7101
7108
|
function readAndResolve(iter) {
|
|
7102
|
-
|
|
7109
|
+
var resolve = iter[kLastResolve];
|
|
7103
7110
|
if (resolve !== null) {
|
|
7104
|
-
|
|
7111
|
+
var data = iter[kStream].read();
|
|
7105
7112
|
// we defer if data is null
|
|
7106
7113
|
// we can be expecting either 'end' or
|
|
7107
7114
|
// 'error'
|
|
@@ -7119,8 +7126,8 @@ function onReadable(iter) {
|
|
|
7119
7126
|
process.nextTick(readAndResolve, iter);
|
|
7120
7127
|
}
|
|
7121
7128
|
function wrapForNext(lastPromise, iter) {
|
|
7122
|
-
return (resolve, reject)
|
|
7123
|
-
lastPromise.then(()
|
|
7129
|
+
return function (resolve, reject) {
|
|
7130
|
+
lastPromise.then(function () {
|
|
7124
7131
|
if (iter[kEnded]) {
|
|
7125
7132
|
resolve(createIterResult(undefined, true));
|
|
7126
7133
|
return;
|
|
@@ -7129,15 +7136,16 @@ function wrapForNext(lastPromise, iter) {
|
|
|
7129
7136
|
}, reject);
|
|
7130
7137
|
};
|
|
7131
7138
|
}
|
|
7132
|
-
|
|
7133
|
-
|
|
7139
|
+
var AsyncIteratorPrototype = Object.getPrototypeOf(function () {});
|
|
7140
|
+
var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {
|
|
7134
7141
|
get stream() {
|
|
7135
7142
|
return this[kStream];
|
|
7136
7143
|
},
|
|
7137
|
-
next() {
|
|
7144
|
+
next: function next() {
|
|
7145
|
+
var _this = this;
|
|
7138
7146
|
// if we have detected an error in the meanwhile
|
|
7139
7147
|
// reject straight away
|
|
7140
|
-
|
|
7148
|
+
var error = this[kError];
|
|
7141
7149
|
if (error !== null) {
|
|
7142
7150
|
return Promise.reject(error);
|
|
7143
7151
|
}
|
|
@@ -7149,10 +7157,10 @@ const ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf({
|
|
|
7149
7157
|
// called, the error will be emitted via nextTick, and
|
|
7150
7158
|
// we cannot guarantee that there is no error lingering around
|
|
7151
7159
|
// waiting to be emitted.
|
|
7152
|
-
return new Promise((resolve, reject)
|
|
7153
|
-
process.nextTick(()
|
|
7154
|
-
if (
|
|
7155
|
-
reject(
|
|
7160
|
+
return new Promise(function (resolve, reject) {
|
|
7161
|
+
process.nextTick(function () {
|
|
7162
|
+
if (_this[kError]) {
|
|
7163
|
+
reject(_this[kError]);
|
|
7156
7164
|
} else {
|
|
7157
7165
|
resolve(createIterResult(undefined, true));
|
|
7158
7166
|
}
|
|
@@ -7164,14 +7172,14 @@ const ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf({
|
|
|
7164
7172
|
// we will wait for the previous Promise to finish
|
|
7165
7173
|
// this logic is optimized to support for await loops,
|
|
7166
7174
|
// where next() is only called once at a time
|
|
7167
|
-
|
|
7168
|
-
|
|
7175
|
+
var lastPromise = this[kLastPromise];
|
|
7176
|
+
var promise;
|
|
7169
7177
|
if (lastPromise) {
|
|
7170
7178
|
promise = new Promise(wrapForNext(lastPromise, this));
|
|
7171
7179
|
} else {
|
|
7172
7180
|
// fast path needed to support multiple this.push()
|
|
7173
7181
|
// without triggering the next() queue
|
|
7174
|
-
|
|
7182
|
+
var data = this[kStream].read();
|
|
7175
7183
|
if (data !== null) {
|
|
7176
7184
|
return Promise.resolve(createIterResult(data, false));
|
|
7177
7185
|
}
|
|
@@ -7179,70 +7187,60 @@ const ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf({
|
|
|
7179
7187
|
}
|
|
7180
7188
|
this[kLastPromise] = promise;
|
|
7181
7189
|
return promise;
|
|
7182
|
-
},
|
|
7183
|
-
[Symbol.asyncIterator]() {
|
|
7184
|
-
return this;
|
|
7185
|
-
},
|
|
7186
|
-
return() {
|
|
7187
|
-
// destroy(err, cb) is a private API
|
|
7188
|
-
// we can guarantee we have that here, because we control the
|
|
7189
|
-
// Readable class this is attached to
|
|
7190
|
-
return new Promise((resolve, reject) => {
|
|
7191
|
-
this[kStream].destroy(null, err => {
|
|
7192
|
-
if (err) {
|
|
7193
|
-
reject(err);
|
|
7194
|
-
return;
|
|
7195
|
-
}
|
|
7196
|
-
resolve(createIterResult(undefined, true));
|
|
7197
|
-
});
|
|
7198
|
-
});
|
|
7199
7190
|
}
|
|
7200
|
-
},
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
}
|
|
7215
|
-
[kError]: {
|
|
7216
|
-
value: null,
|
|
7217
|
-
writable: true
|
|
7218
|
-
},
|
|
7219
|
-
[kEnded]: {
|
|
7220
|
-
value: stream._readableState.endEmitted,
|
|
7221
|
-
writable: true
|
|
7222
|
-
},
|
|
7223
|
-
// the function passed to new Promise
|
|
7224
|
-
// is cached so we avoid allocating a new
|
|
7225
|
-
// closure at every run
|
|
7226
|
-
[kHandlePromise]: {
|
|
7227
|
-
value: (resolve, reject) => {
|
|
7228
|
-
const data = iterator[kStream].read();
|
|
7229
|
-
if (data) {
|
|
7230
|
-
iterator[kLastPromise] = null;
|
|
7231
|
-
iterator[kLastResolve] = null;
|
|
7232
|
-
iterator[kLastReject] = null;
|
|
7233
|
-
resolve(createIterResult(data, false));
|
|
7234
|
-
} else {
|
|
7235
|
-
iterator[kLastResolve] = resolve;
|
|
7236
|
-
iterator[kLastReject] = reject;
|
|
7237
|
-
}
|
|
7238
|
-
},
|
|
7239
|
-
writable: true
|
|
7240
|
-
}
|
|
7191
|
+
}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () {
|
|
7192
|
+
return this;
|
|
7193
|
+
}), _defineProperty(_Object$setPrototypeO, "return", function _return() {
|
|
7194
|
+
var _this2 = this;
|
|
7195
|
+
// destroy(err, cb) is a private API
|
|
7196
|
+
// we can guarantee we have that here, because we control the
|
|
7197
|
+
// Readable class this is attached to
|
|
7198
|
+
return new Promise(function (resolve, reject) {
|
|
7199
|
+
_this2[kStream].destroy(null, function (err) {
|
|
7200
|
+
if (err) {
|
|
7201
|
+
reject(err);
|
|
7202
|
+
return;
|
|
7203
|
+
}
|
|
7204
|
+
resolve(createIterResult(undefined, true));
|
|
7205
|
+
});
|
|
7241
7206
|
});
|
|
7207
|
+
}), _Object$setPrototypeO), AsyncIteratorPrototype);
|
|
7208
|
+
var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {
|
|
7209
|
+
var _Object$create;
|
|
7210
|
+
var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
|
|
7211
|
+
value: stream,
|
|
7212
|
+
writable: true
|
|
7213
|
+
}), _defineProperty(_Object$create, kLastResolve, {
|
|
7214
|
+
value: null,
|
|
7215
|
+
writable: true
|
|
7216
|
+
}), _defineProperty(_Object$create, kLastReject, {
|
|
7217
|
+
value: null,
|
|
7218
|
+
writable: true
|
|
7219
|
+
}), _defineProperty(_Object$create, kError, {
|
|
7220
|
+
value: null,
|
|
7221
|
+
writable: true
|
|
7222
|
+
}), _defineProperty(_Object$create, kEnded, {
|
|
7223
|
+
value: stream._readableState.endEmitted,
|
|
7224
|
+
writable: true
|
|
7225
|
+
}), _defineProperty(_Object$create, kHandlePromise, {
|
|
7226
|
+
value: function value(resolve, reject) {
|
|
7227
|
+
var data = iterator[kStream].read();
|
|
7228
|
+
if (data) {
|
|
7229
|
+
iterator[kLastPromise] = null;
|
|
7230
|
+
iterator[kLastResolve] = null;
|
|
7231
|
+
iterator[kLastReject] = null;
|
|
7232
|
+
resolve(createIterResult(data, false));
|
|
7233
|
+
} else {
|
|
7234
|
+
iterator[kLastResolve] = resolve;
|
|
7235
|
+
iterator[kLastReject] = reject;
|
|
7236
|
+
}
|
|
7237
|
+
},
|
|
7238
|
+
writable: true
|
|
7239
|
+
}), _Object$create));
|
|
7242
7240
|
iterator[kLastPromise] = null;
|
|
7243
|
-
finished(stream, err
|
|
7241
|
+
finished(stream, function (err) {
|
|
7244
7242
|
if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {
|
|
7245
|
-
|
|
7243
|
+
var reject = iterator[kLastReject];
|
|
7246
7244
|
// reject if we are waiting for data in the Promise
|
|
7247
7245
|
// returned by next() and store the error
|
|
7248
7246
|
if (reject !== null) {
|
|
@@ -7254,7 +7252,7 @@ const createReadableStreamAsyncIterator = stream => {
|
|
|
7254
7252
|
iterator[kError] = err;
|
|
7255
7253
|
return;
|
|
7256
7254
|
}
|
|
7257
|
-
|
|
7255
|
+
var resolve = iterator[kLastResolve];
|
|
7258
7256
|
if (resolve !== null) {
|
|
7259
7257
|
iterator[kLastPromise] = null;
|
|
7260
7258
|
iterator[kLastResolve] = null;
|
|
@@ -7274,164 +7272,193 @@ module.exports = createReadableStreamAsyncIterator;
|
|
|
7274
7272
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7275
7273
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7276
7274
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7275
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7276
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
7277
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
7277
7278
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
7278
7279
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7279
|
-
|
|
7280
|
+
var _require = require('buffer'),
|
|
7280
7281
|
Buffer = _require.Buffer;
|
|
7281
|
-
|
|
7282
|
+
var _require2 = require('util'),
|
|
7282
7283
|
inspect = _require2.inspect;
|
|
7283
|
-
|
|
7284
|
+
var custom = inspect && inspect.custom || 'inspect';
|
|
7284
7285
|
function copyBuffer(src, target, offset) {
|
|
7285
7286
|
Buffer.prototype.copy.call(src, target, offset);
|
|
7286
7287
|
}
|
|
7287
|
-
module.exports =
|
|
7288
|
-
|
|
7288
|
+
module.exports = /*#__PURE__*/function () {
|
|
7289
|
+
function BufferList() {
|
|
7290
|
+
_classCallCheck(this, BufferList);
|
|
7289
7291
|
this.head = null;
|
|
7290
7292
|
this.tail = null;
|
|
7291
7293
|
this.length = 0;
|
|
7292
7294
|
}
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7295
|
+
_createClass(BufferList, [{
|
|
7296
|
+
key: "push",
|
|
7297
|
+
value: function push(v) {
|
|
7298
|
+
var entry = {
|
|
7299
|
+
data: v,
|
|
7300
|
+
next: null
|
|
7301
|
+
};
|
|
7302
|
+
if (this.length > 0) this.tail.next = entry;else this.head = entry;
|
|
7303
|
+
this.tail = entry;
|
|
7304
|
+
++this.length;
|
|
7305
|
+
}
|
|
7306
|
+
}, {
|
|
7307
|
+
key: "unshift",
|
|
7308
|
+
value: function unshift(v) {
|
|
7309
|
+
var entry = {
|
|
7310
|
+
data: v,
|
|
7311
|
+
next: this.head
|
|
7312
|
+
};
|
|
7313
|
+
if (this.length === 0) this.tail = entry;
|
|
7314
|
+
this.head = entry;
|
|
7315
|
+
++this.length;
|
|
7316
|
+
}
|
|
7317
|
+
}, {
|
|
7318
|
+
key: "shift",
|
|
7319
|
+
value: function shift() {
|
|
7320
|
+
if (this.length === 0) return;
|
|
7321
|
+
var ret = this.head.data;
|
|
7322
|
+
if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;
|
|
7323
|
+
--this.length;
|
|
7324
|
+
return ret;
|
|
7325
|
+
}
|
|
7326
|
+
}, {
|
|
7327
|
+
key: "clear",
|
|
7328
|
+
value: function clear() {
|
|
7329
|
+
this.head = this.tail = null;
|
|
7330
|
+
this.length = 0;
|
|
7331
|
+
}
|
|
7332
|
+
}, {
|
|
7333
|
+
key: "join",
|
|
7334
|
+
value: function join(s) {
|
|
7335
|
+
if (this.length === 0) return '';
|
|
7336
|
+
var p = this.head;
|
|
7337
|
+
var ret = '' + p.data;
|
|
7338
|
+
while (p = p.next) ret += s + p.data;
|
|
7339
|
+
return ret;
|
|
7340
|
+
}
|
|
7341
|
+
}, {
|
|
7342
|
+
key: "concat",
|
|
7343
|
+
value: function concat(n) {
|
|
7344
|
+
if (this.length === 0) return Buffer.alloc(0);
|
|
7345
|
+
var ret = Buffer.allocUnsafe(n >>> 0);
|
|
7346
|
+
var p = this.head;
|
|
7347
|
+
var i = 0;
|
|
7348
|
+
while (p) {
|
|
7349
|
+
copyBuffer(p.data, ret, i);
|
|
7350
|
+
i += p.data.length;
|
|
7351
|
+
p = p.next;
|
|
7352
|
+
}
|
|
7353
|
+
return ret;
|
|
7338
7354
|
}
|
|
7339
|
-
return ret;
|
|
7340
|
-
}
|
|
7341
7355
|
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7356
|
+
// Consumes a specified amount of bytes or characters from the buffered data.
|
|
7357
|
+
}, {
|
|
7358
|
+
key: "consume",
|
|
7359
|
+
value: function consume(n, hasStrings) {
|
|
7360
|
+
var ret;
|
|
7361
|
+
if (n < this.head.data.length) {
|
|
7362
|
+
// `slice` is the same for buffers and strings.
|
|
7363
|
+
ret = this.head.data.slice(0, n);
|
|
7364
|
+
this.head.data = this.head.data.slice(n);
|
|
7365
|
+
} else if (n === this.head.data.length) {
|
|
7366
|
+
// First chunk is a perfect match.
|
|
7367
|
+
ret = this.shift();
|
|
7368
|
+
} else {
|
|
7369
|
+
// Result spans more than one buffer.
|
|
7370
|
+
ret = hasStrings ? this._getString(n) : this._getBuffer(n);
|
|
7371
|
+
}
|
|
7372
|
+
return ret;
|
|
7373
|
+
}
|
|
7374
|
+
}, {
|
|
7375
|
+
key: "first",
|
|
7376
|
+
value: function first() {
|
|
7377
|
+
return this.head.data;
|
|
7355
7378
|
}
|
|
7356
|
-
return ret;
|
|
7357
|
-
}
|
|
7358
|
-
first() {
|
|
7359
|
-
return this.head.data;
|
|
7360
|
-
}
|
|
7361
7379
|
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
if (
|
|
7377
|
-
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
+
// Consumes a specified amount of characters from the buffered data.
|
|
7381
|
+
}, {
|
|
7382
|
+
key: "_getString",
|
|
7383
|
+
value: function _getString(n) {
|
|
7384
|
+
var p = this.head;
|
|
7385
|
+
var c = 1;
|
|
7386
|
+
var ret = p.data;
|
|
7387
|
+
n -= ret.length;
|
|
7388
|
+
while (p = p.next) {
|
|
7389
|
+
var str = p.data;
|
|
7390
|
+
var nb = n > str.length ? str.length : n;
|
|
7391
|
+
if (nb === str.length) ret += str;else ret += str.slice(0, n);
|
|
7392
|
+
n -= nb;
|
|
7393
|
+
if (n === 0) {
|
|
7394
|
+
if (nb === str.length) {
|
|
7395
|
+
++c;
|
|
7396
|
+
if (p.next) this.head = p.next;else this.head = this.tail = null;
|
|
7397
|
+
} else {
|
|
7398
|
+
this.head = p;
|
|
7399
|
+
p.data = str.slice(nb);
|
|
7400
|
+
}
|
|
7401
|
+
break;
|
|
7380
7402
|
}
|
|
7381
|
-
|
|
7403
|
+
++c;
|
|
7382
7404
|
}
|
|
7383
|
-
|
|
7405
|
+
this.length -= c;
|
|
7406
|
+
return ret;
|
|
7384
7407
|
}
|
|
7385
|
-
this.length -= c;
|
|
7386
|
-
return ret;
|
|
7387
|
-
}
|
|
7388
7408
|
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
if (
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7409
|
+
// Consumes a specified amount of bytes from the buffered data.
|
|
7410
|
+
}, {
|
|
7411
|
+
key: "_getBuffer",
|
|
7412
|
+
value: function _getBuffer(n) {
|
|
7413
|
+
var ret = Buffer.allocUnsafe(n);
|
|
7414
|
+
var p = this.head;
|
|
7415
|
+
var c = 1;
|
|
7416
|
+
p.data.copy(ret);
|
|
7417
|
+
n -= p.data.length;
|
|
7418
|
+
while (p = p.next) {
|
|
7419
|
+
var buf = p.data;
|
|
7420
|
+
var nb = n > buf.length ? buf.length : n;
|
|
7421
|
+
buf.copy(ret, ret.length - n, 0, nb);
|
|
7422
|
+
n -= nb;
|
|
7423
|
+
if (n === 0) {
|
|
7424
|
+
if (nb === buf.length) {
|
|
7425
|
+
++c;
|
|
7426
|
+
if (p.next) this.head = p.next;else this.head = this.tail = null;
|
|
7427
|
+
} else {
|
|
7428
|
+
this.head = p;
|
|
7429
|
+
p.data = buf.slice(nb);
|
|
7430
|
+
}
|
|
7431
|
+
break;
|
|
7408
7432
|
}
|
|
7409
|
-
|
|
7433
|
+
++c;
|
|
7410
7434
|
}
|
|
7411
|
-
|
|
7435
|
+
this.length -= c;
|
|
7436
|
+
return ret;
|
|
7412
7437
|
}
|
|
7413
|
-
this.length -= c;
|
|
7414
|
-
return ret;
|
|
7415
|
-
}
|
|
7416
7438
|
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
};
|
|
7439
|
+
// Make sure the linked list only shows the minimal necessary information.
|
|
7440
|
+
}, {
|
|
7441
|
+
key: custom,
|
|
7442
|
+
value: function value(_, options) {
|
|
7443
|
+
return inspect(this, _objectSpread(_objectSpread({}, options), {}, {
|
|
7444
|
+
// Only inspect one level.
|
|
7445
|
+
depth: 0,
|
|
7446
|
+
// It should not recurse.
|
|
7447
|
+
customInspect: false
|
|
7448
|
+
}));
|
|
7449
|
+
}
|
|
7450
|
+
}]);
|
|
7451
|
+
return BufferList;
|
|
7452
|
+
}();
|
|
7427
7453
|
},{"buffer":3,"util":2}],29:[function(require,module,exports){
|
|
7428
7454
|
(function (process){(function (){
|
|
7429
7455
|
'use strict';
|
|
7430
7456
|
|
|
7431
7457
|
// undocumented cb() API, needed for core, not for public API
|
|
7432
7458
|
function destroy(err, cb) {
|
|
7433
|
-
|
|
7434
|
-
|
|
7459
|
+
var _this = this;
|
|
7460
|
+
var readableDestroyed = this._readableState && this._readableState.destroyed;
|
|
7461
|
+
var writableDestroyed = this._writableState && this._writableState.destroyed;
|
|
7435
7462
|
if (readableDestroyed || writableDestroyed) {
|
|
7436
7463
|
if (cb) {
|
|
7437
7464
|
cb(err);
|
|
@@ -7457,21 +7484,21 @@ function destroy(err, cb) {
|
|
|
7457
7484
|
if (this._writableState) {
|
|
7458
7485
|
this._writableState.destroyed = true;
|
|
7459
7486
|
}
|
|
7460
|
-
this._destroy(err || null, err
|
|
7487
|
+
this._destroy(err || null, function (err) {
|
|
7461
7488
|
if (!cb && err) {
|
|
7462
|
-
if (!
|
|
7463
|
-
process.nextTick(emitErrorAndCloseNT,
|
|
7464
|
-
} else if (!
|
|
7465
|
-
|
|
7466
|
-
process.nextTick(emitErrorAndCloseNT,
|
|
7489
|
+
if (!_this._writableState) {
|
|
7490
|
+
process.nextTick(emitErrorAndCloseNT, _this, err);
|
|
7491
|
+
} else if (!_this._writableState.errorEmitted) {
|
|
7492
|
+
_this._writableState.errorEmitted = true;
|
|
7493
|
+
process.nextTick(emitErrorAndCloseNT, _this, err);
|
|
7467
7494
|
} else {
|
|
7468
|
-
process.nextTick(emitCloseNT,
|
|
7495
|
+
process.nextTick(emitCloseNT, _this);
|
|
7469
7496
|
}
|
|
7470
7497
|
} else if (cb) {
|
|
7471
|
-
process.nextTick(emitCloseNT,
|
|
7498
|
+
process.nextTick(emitCloseNT, _this);
|
|
7472
7499
|
cb(err);
|
|
7473
7500
|
} else {
|
|
7474
|
-
process.nextTick(emitCloseNT,
|
|
7501
|
+
process.nextTick(emitCloseNT, _this);
|
|
7475
7502
|
}
|
|
7476
7503
|
});
|
|
7477
7504
|
return this;
|
|
@@ -7512,14 +7539,14 @@ function errorOrDestroy(stream, err) {
|
|
|
7512
7539
|
// the error to be emitted nextTick. In a future
|
|
7513
7540
|
// semver major update we should change the default to this.
|
|
7514
7541
|
|
|
7515
|
-
|
|
7516
|
-
|
|
7542
|
+
var rState = stream._readableState;
|
|
7543
|
+
var wState = stream._writableState;
|
|
7517
7544
|
if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);
|
|
7518
7545
|
}
|
|
7519
7546
|
module.exports = {
|
|
7520
|
-
destroy,
|
|
7521
|
-
undestroy,
|
|
7522
|
-
errorOrDestroy
|
|
7547
|
+
destroy: destroy,
|
|
7548
|
+
undestroy: undestroy,
|
|
7549
|
+
errorOrDestroy: errorOrDestroy
|
|
7523
7550
|
};
|
|
7524
7551
|
}).call(this)}).call(this,require('_process'))
|
|
7525
7552
|
},{"_process":11}],30:[function(require,module,exports){
|
|
@@ -7528,9 +7555,9 @@ module.exports = {
|
|
|
7528
7555
|
|
|
7529
7556
|
'use strict';
|
|
7530
7557
|
|
|
7531
|
-
|
|
7558
|
+
var ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
7532
7559
|
function once(callback) {
|
|
7533
|
-
|
|
7560
|
+
var called = false;
|
|
7534
7561
|
return function () {
|
|
7535
7562
|
if (called) return;
|
|
7536
7563
|
called = true;
|
|
@@ -7548,28 +7575,28 @@ function eos(stream, opts, callback) {
|
|
|
7548
7575
|
if (typeof opts === 'function') return eos(stream, null, opts);
|
|
7549
7576
|
if (!opts) opts = {};
|
|
7550
7577
|
callback = once(callback || noop);
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7578
|
+
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
7579
|
+
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
7580
|
+
var onlegacyfinish = function onlegacyfinish() {
|
|
7554
7581
|
if (!stream.writable) onfinish();
|
|
7555
7582
|
};
|
|
7556
7583
|
var writableEnded = stream._writableState && stream._writableState.finished;
|
|
7557
|
-
|
|
7584
|
+
var onfinish = function onfinish() {
|
|
7558
7585
|
writable = false;
|
|
7559
7586
|
writableEnded = true;
|
|
7560
7587
|
if (!readable) callback.call(stream);
|
|
7561
7588
|
};
|
|
7562
7589
|
var readableEnded = stream._readableState && stream._readableState.endEmitted;
|
|
7563
|
-
|
|
7590
|
+
var onend = function onend() {
|
|
7564
7591
|
readable = false;
|
|
7565
7592
|
readableEnded = true;
|
|
7566
7593
|
if (!writable) callback.call(stream);
|
|
7567
7594
|
};
|
|
7568
|
-
|
|
7595
|
+
var onerror = function onerror(err) {
|
|
7569
7596
|
callback.call(stream, err);
|
|
7570
7597
|
};
|
|
7571
|
-
|
|
7572
|
-
|
|
7598
|
+
var onclose = function onclose() {
|
|
7599
|
+
var err;
|
|
7573
7600
|
if (readable && !readableEnded) {
|
|
7574
7601
|
if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();
|
|
7575
7602
|
return callback.call(stream, err);
|
|
@@ -7579,7 +7606,7 @@ function eos(stream, opts, callback) {
|
|
|
7579
7606
|
return callback.call(stream, err);
|
|
7580
7607
|
}
|
|
7581
7608
|
};
|
|
7582
|
-
|
|
7609
|
+
var onrequest = function onrequest() {
|
|
7583
7610
|
stream.req.on('finish', onfinish);
|
|
7584
7611
|
};
|
|
7585
7612
|
if (isRequest(stream)) {
|
|
@@ -7620,16 +7647,16 @@ module.exports = function () {
|
|
|
7620
7647
|
|
|
7621
7648
|
'use strict';
|
|
7622
7649
|
|
|
7623
|
-
|
|
7650
|
+
var eos;
|
|
7624
7651
|
function once(callback) {
|
|
7625
|
-
|
|
7652
|
+
var called = false;
|
|
7626
7653
|
return function () {
|
|
7627
7654
|
if (called) return;
|
|
7628
7655
|
called = true;
|
|
7629
|
-
callback(
|
|
7656
|
+
callback.apply(void 0, arguments);
|
|
7630
7657
|
};
|
|
7631
7658
|
}
|
|
7632
|
-
|
|
7659
|
+
var _require$codes = require('../../../errors').codes,
|
|
7633
7660
|
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
|
|
7634
7661
|
ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
7635
7662
|
function noop(err) {
|
|
@@ -7641,21 +7668,21 @@ function isRequest(stream) {
|
|
|
7641
7668
|
}
|
|
7642
7669
|
function destroyer(stream, reading, writing, callback) {
|
|
7643
7670
|
callback = once(callback);
|
|
7644
|
-
|
|
7645
|
-
stream.on('close', ()
|
|
7671
|
+
var closed = false;
|
|
7672
|
+
stream.on('close', function () {
|
|
7646
7673
|
closed = true;
|
|
7647
7674
|
});
|
|
7648
7675
|
if (eos === undefined) eos = require('./end-of-stream');
|
|
7649
7676
|
eos(stream, {
|
|
7650
7677
|
readable: reading,
|
|
7651
7678
|
writable: writing
|
|
7652
|
-
}, err
|
|
7679
|
+
}, function (err) {
|
|
7653
7680
|
if (err) return callback(err);
|
|
7654
7681
|
closed = true;
|
|
7655
7682
|
callback();
|
|
7656
7683
|
});
|
|
7657
|
-
|
|
7658
|
-
return err
|
|
7684
|
+
var destroyed = false;
|
|
7685
|
+
return function (err) {
|
|
7659
7686
|
if (closed) return;
|
|
7660
7687
|
if (destroyed) return;
|
|
7661
7688
|
destroyed = true;
|
|
@@ -7681,15 +7708,15 @@ function pipeline() {
|
|
|
7681
7708
|
for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
7682
7709
|
streams[_key] = arguments[_key];
|
|
7683
7710
|
}
|
|
7684
|
-
|
|
7711
|
+
var callback = popCallback(streams);
|
|
7685
7712
|
if (Array.isArray(streams[0])) streams = streams[0];
|
|
7686
7713
|
if (streams.length < 2) {
|
|
7687
7714
|
throw new ERR_MISSING_ARGS('streams');
|
|
7688
7715
|
}
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7716
|
+
var error;
|
|
7717
|
+
var destroys = streams.map(function (stream, i) {
|
|
7718
|
+
var reading = i < streams.length - 1;
|
|
7719
|
+
var writing = i > 0;
|
|
7693
7720
|
return destroyer(stream, reading, writing, function (err) {
|
|
7694
7721
|
if (!error) error = err;
|
|
7695
7722
|
if (err) destroys.forEach(call);
|
|
@@ -7704,15 +7731,15 @@ module.exports = pipeline;
|
|
|
7704
7731
|
},{"../../../errors":21,"./end-of-stream":30}],33:[function(require,module,exports){
|
|
7705
7732
|
'use strict';
|
|
7706
7733
|
|
|
7707
|
-
|
|
7734
|
+
var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;
|
|
7708
7735
|
function highWaterMarkFrom(options, isDuplex, duplexKey) {
|
|
7709
7736
|
return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;
|
|
7710
7737
|
}
|
|
7711
7738
|
function getHighWaterMark(state, options, duplexKey, isDuplex) {
|
|
7712
|
-
|
|
7739
|
+
var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);
|
|
7713
7740
|
if (hwm != null) {
|
|
7714
7741
|
if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {
|
|
7715
|
-
|
|
7742
|
+
var name = isDuplex ? duplexKey : 'highWaterMark';
|
|
7716
7743
|
throw new ERR_INVALID_OPT_VALUE(name, hwm);
|
|
7717
7744
|
}
|
|
7718
7745
|
return Math.floor(hwm);
|
|
@@ -7722,7 +7749,7 @@ function getHighWaterMark(state, options, duplexKey, isDuplex) {
|
|
|
7722
7749
|
return state.objectMode ? 16 : 16 * 1024;
|
|
7723
7750
|
}
|
|
7724
7751
|
module.exports = {
|
|
7725
|
-
getHighWaterMark
|
|
7752
|
+
getHighWaterMark: getHighWaterMark
|
|
7726
7753
|
};
|
|
7727
7754
|
},{"../../../errors":21}],34:[function(require,module,exports){
|
|
7728
7755
|
module.exports = require('events').EventEmitter;
|
|
@@ -15536,7 +15563,7 @@ const { HttpsProxyAgent } = require('hpagent');
|
|
|
15536
15563
|
|
|
15537
15564
|
/**
|
|
15538
15565
|
* @module purecloud-platform-client-v2/ApiClient
|
|
15539
|
-
* @version 160.
|
|
15566
|
+
* @version 160.1.0
|
|
15540
15567
|
*/
|
|
15541
15568
|
class ApiClient {
|
|
15542
15569
|
/**
|
|
@@ -16619,7 +16646,7 @@ class AlertingApi {
|
|
|
16619
16646
|
/**
|
|
16620
16647
|
* Alerting service.
|
|
16621
16648
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
16622
|
-
* @version 160.
|
|
16649
|
+
* @version 160.1.0
|
|
16623
16650
|
*/
|
|
16624
16651
|
|
|
16625
16652
|
/**
|
|
@@ -16933,7 +16960,7 @@ class AnalyticsApi {
|
|
|
16933
16960
|
/**
|
|
16934
16961
|
* Analytics service.
|
|
16935
16962
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
16936
|
-
* @version 160.
|
|
16963
|
+
* @version 160.1.0
|
|
16937
16964
|
*/
|
|
16938
16965
|
|
|
16939
16966
|
/**
|
|
@@ -18187,7 +18214,7 @@ class ArchitectApi {
|
|
|
18187
18214
|
/**
|
|
18188
18215
|
* Architect service.
|
|
18189
18216
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
18190
|
-
* @version 160.
|
|
18217
|
+
* @version 160.1.0
|
|
18191
18218
|
*/
|
|
18192
18219
|
|
|
18193
18220
|
/**
|
|
@@ -21235,7 +21262,7 @@ class AuditApi {
|
|
|
21235
21262
|
/**
|
|
21236
21263
|
* Audit service.
|
|
21237
21264
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
21238
|
-
* @version 160.
|
|
21265
|
+
* @version 160.1.0
|
|
21239
21266
|
*/
|
|
21240
21267
|
|
|
21241
21268
|
/**
|
|
@@ -21406,7 +21433,7 @@ class AuthorizationApi {
|
|
|
21406
21433
|
/**
|
|
21407
21434
|
* Authorization service.
|
|
21408
21435
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
21409
|
-
* @version 160.
|
|
21436
|
+
* @version 160.1.0
|
|
21410
21437
|
*/
|
|
21411
21438
|
|
|
21412
21439
|
/**
|
|
@@ -22634,7 +22661,7 @@ class BillingApi {
|
|
|
22634
22661
|
/**
|
|
22635
22662
|
* Billing service.
|
|
22636
22663
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
22637
|
-
* @version 160.
|
|
22664
|
+
* @version 160.1.0
|
|
22638
22665
|
*/
|
|
22639
22666
|
|
|
22640
22667
|
/**
|
|
@@ -22714,7 +22741,7 @@ class ChatApi {
|
|
|
22714
22741
|
/**
|
|
22715
22742
|
* Chat service.
|
|
22716
22743
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
22717
|
-
* @version 160.
|
|
22744
|
+
* @version 160.1.0
|
|
22718
22745
|
*/
|
|
22719
22746
|
|
|
22720
22747
|
/**
|
|
@@ -22805,7 +22832,7 @@ class CoachingApi {
|
|
|
22805
22832
|
/**
|
|
22806
22833
|
* Coaching service.
|
|
22807
22834
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
22808
|
-
* @version 160.
|
|
22835
|
+
* @version 160.1.0
|
|
22809
22836
|
*/
|
|
22810
22837
|
|
|
22811
22838
|
/**
|
|
@@ -23382,7 +23409,7 @@ class ContentManagementApi {
|
|
|
23382
23409
|
/**
|
|
23383
23410
|
* ContentManagement service.
|
|
23384
23411
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
23385
|
-
* @version 160.
|
|
23412
|
+
* @version 160.1.0
|
|
23386
23413
|
*/
|
|
23387
23414
|
|
|
23388
23415
|
/**
|
|
@@ -24522,7 +24549,7 @@ class ConversationsApi {
|
|
|
24522
24549
|
/**
|
|
24523
24550
|
* Conversations service.
|
|
24524
24551
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
24525
|
-
* @version 160.
|
|
24552
|
+
* @version 160.1.0
|
|
24526
24553
|
*/
|
|
24527
24554
|
|
|
24528
24555
|
/**
|
|
@@ -25189,6 +25216,45 @@ class ConversationsApi {
|
|
|
25189
25216
|
);
|
|
25190
25217
|
}
|
|
25191
25218
|
|
|
25219
|
+
/**
|
|
25220
|
+
* Get the wrap-up for this conversation communication.
|
|
25221
|
+
*
|
|
25222
|
+
* @param {String} conversationId conversationId
|
|
25223
|
+
* @param {String} participantId participantId
|
|
25224
|
+
* @param {String} communicationId communicationId
|
|
25225
|
+
* @param {Object} opts Optional parameters
|
|
25226
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
25227
|
+
*/
|
|
25228
|
+
getConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
25229
|
+
opts = opts || {};
|
|
25230
|
+
|
|
25231
|
+
// verify the required parameter 'conversationId' is set
|
|
25232
|
+
if (conversationId === undefined || conversationId === null) {
|
|
25233
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
25234
|
+
}
|
|
25235
|
+
// verify the required parameter 'participantId' is set
|
|
25236
|
+
if (participantId === undefined || participantId === null) {
|
|
25237
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
25238
|
+
}
|
|
25239
|
+
// verify the required parameter 'communicationId' is set
|
|
25240
|
+
if (communicationId === undefined || communicationId === null) {
|
|
25241
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
|
|
25242
|
+
}
|
|
25243
|
+
|
|
25244
|
+
return this.apiClient.callApi(
|
|
25245
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
25246
|
+
'GET',
|
|
25247
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
25248
|
+
{ 'provisional': opts['provisional'] },
|
|
25249
|
+
{ },
|
|
25250
|
+
{ },
|
|
25251
|
+
null,
|
|
25252
|
+
['PureCloud OAuth'],
|
|
25253
|
+
['application/json'],
|
|
25254
|
+
['application/json']
|
|
25255
|
+
);
|
|
25256
|
+
}
|
|
25257
|
+
|
|
25192
25258
|
/**
|
|
25193
25259
|
* Get the wrap-up for this conversation participant.
|
|
25194
25260
|
*
|
|
@@ -25278,6 +25344,45 @@ class ConversationsApi {
|
|
|
25278
25344
|
);
|
|
25279
25345
|
}
|
|
25280
25346
|
|
|
25347
|
+
/**
|
|
25348
|
+
* Get the wrap-up for this conversation communication.
|
|
25349
|
+
*
|
|
25350
|
+
* @param {String} conversationId conversationId
|
|
25351
|
+
* @param {String} participantId participantId
|
|
25352
|
+
* @param {String} communicationId communicationId
|
|
25353
|
+
* @param {Object} opts Optional parameters
|
|
25354
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
25355
|
+
*/
|
|
25356
|
+
getConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
25357
|
+
opts = opts || {};
|
|
25358
|
+
|
|
25359
|
+
// verify the required parameter 'conversationId' is set
|
|
25360
|
+
if (conversationId === undefined || conversationId === null) {
|
|
25361
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
25362
|
+
}
|
|
25363
|
+
// verify the required parameter 'participantId' is set
|
|
25364
|
+
if (participantId === undefined || participantId === null) {
|
|
25365
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
25366
|
+
}
|
|
25367
|
+
// verify the required parameter 'communicationId' is set
|
|
25368
|
+
if (communicationId === undefined || communicationId === null) {
|
|
25369
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
|
|
25370
|
+
}
|
|
25371
|
+
|
|
25372
|
+
return this.apiClient.callApi(
|
|
25373
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
25374
|
+
'GET',
|
|
25375
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
25376
|
+
{ 'provisional': opts['provisional'] },
|
|
25377
|
+
{ },
|
|
25378
|
+
{ },
|
|
25379
|
+
null,
|
|
25380
|
+
['PureCloud OAuth'],
|
|
25381
|
+
['application/json'],
|
|
25382
|
+
['application/json']
|
|
25383
|
+
);
|
|
25384
|
+
}
|
|
25385
|
+
|
|
25281
25386
|
/**
|
|
25282
25387
|
* Get the wrap-up for this conversation participant.
|
|
25283
25388
|
*
|
|
@@ -25516,6 +25621,45 @@ class ConversationsApi {
|
|
|
25516
25621
|
);
|
|
25517
25622
|
}
|
|
25518
25623
|
|
|
25624
|
+
/**
|
|
25625
|
+
* Get the wrap-up for this conversation communication.
|
|
25626
|
+
*
|
|
25627
|
+
* @param {String} conversationId conversationId
|
|
25628
|
+
* @param {String} participantId participantId
|
|
25629
|
+
* @param {String} communicationId communicationId
|
|
25630
|
+
* @param {Object} opts Optional parameters
|
|
25631
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
25632
|
+
*/
|
|
25633
|
+
getConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
25634
|
+
opts = opts || {};
|
|
25635
|
+
|
|
25636
|
+
// verify the required parameter 'conversationId' is set
|
|
25637
|
+
if (conversationId === undefined || conversationId === null) {
|
|
25638
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
25639
|
+
}
|
|
25640
|
+
// verify the required parameter 'participantId' is set
|
|
25641
|
+
if (participantId === undefined || participantId === null) {
|
|
25642
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
25643
|
+
}
|
|
25644
|
+
// verify the required parameter 'communicationId' is set
|
|
25645
|
+
if (communicationId === undefined || communicationId === null) {
|
|
25646
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
|
|
25647
|
+
}
|
|
25648
|
+
|
|
25649
|
+
return this.apiClient.callApi(
|
|
25650
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
25651
|
+
'GET',
|
|
25652
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
25653
|
+
{ 'provisional': opts['provisional'] },
|
|
25654
|
+
{ },
|
|
25655
|
+
{ },
|
|
25656
|
+
null,
|
|
25657
|
+
['PureCloud OAuth'],
|
|
25658
|
+
['application/json'],
|
|
25659
|
+
['application/json']
|
|
25660
|
+
);
|
|
25661
|
+
}
|
|
25662
|
+
|
|
25519
25663
|
/**
|
|
25520
25664
|
* Get the wrap-up for this conversation participant.
|
|
25521
25665
|
*
|
|
@@ -25625,6 +25769,45 @@ class ConversationsApi {
|
|
|
25625
25769
|
);
|
|
25626
25770
|
}
|
|
25627
25771
|
|
|
25772
|
+
/**
|
|
25773
|
+
* Get the wrap-up for this conversation communication.
|
|
25774
|
+
*
|
|
25775
|
+
* @param {String} conversationId conversationId
|
|
25776
|
+
* @param {String} participantId participantId
|
|
25777
|
+
* @param {String} communicationId communicationId
|
|
25778
|
+
* @param {Object} opts Optional parameters
|
|
25779
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
25780
|
+
*/
|
|
25781
|
+
getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
25782
|
+
opts = opts || {};
|
|
25783
|
+
|
|
25784
|
+
// verify the required parameter 'conversationId' is set
|
|
25785
|
+
if (conversationId === undefined || conversationId === null) {
|
|
25786
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
25787
|
+
}
|
|
25788
|
+
// verify the required parameter 'participantId' is set
|
|
25789
|
+
if (participantId === undefined || participantId === null) {
|
|
25790
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
25791
|
+
}
|
|
25792
|
+
// verify the required parameter 'communicationId' is set
|
|
25793
|
+
if (communicationId === undefined || communicationId === null) {
|
|
25794
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
25795
|
+
}
|
|
25796
|
+
|
|
25797
|
+
return this.apiClient.callApi(
|
|
25798
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
25799
|
+
'GET',
|
|
25800
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
25801
|
+
{ 'provisional': opts['provisional'] },
|
|
25802
|
+
{ },
|
|
25803
|
+
{ },
|
|
25804
|
+
null,
|
|
25805
|
+
['PureCloud OAuth'],
|
|
25806
|
+
['application/json'],
|
|
25807
|
+
['application/json']
|
|
25808
|
+
);
|
|
25809
|
+
}
|
|
25810
|
+
|
|
25628
25811
|
/**
|
|
25629
25812
|
* Get the wrap-up for this conversation participant.
|
|
25630
25813
|
*
|
|
@@ -25814,6 +25997,45 @@ class ConversationsApi {
|
|
|
25814
25997
|
);
|
|
25815
25998
|
}
|
|
25816
25999
|
|
|
26000
|
+
/**
|
|
26001
|
+
* Get the wrap-up for this conversation communication.
|
|
26002
|
+
*
|
|
26003
|
+
* @param {String} conversationId conversationId
|
|
26004
|
+
* @param {String} participantId participantId
|
|
26005
|
+
* @param {String} communicationId communicationId
|
|
26006
|
+
* @param {Object} opts Optional parameters
|
|
26007
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
26008
|
+
*/
|
|
26009
|
+
getConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
26010
|
+
opts = opts || {};
|
|
26011
|
+
|
|
26012
|
+
// verify the required parameter 'conversationId' is set
|
|
26013
|
+
if (conversationId === undefined || conversationId === null) {
|
|
26014
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
26015
|
+
}
|
|
26016
|
+
// verify the required parameter 'participantId' is set
|
|
26017
|
+
if (participantId === undefined || participantId === null) {
|
|
26018
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
26019
|
+
}
|
|
26020
|
+
// verify the required parameter 'communicationId' is set
|
|
26021
|
+
if (communicationId === undefined || communicationId === null) {
|
|
26022
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
|
|
26023
|
+
}
|
|
26024
|
+
|
|
26025
|
+
return this.apiClient.callApi(
|
|
26026
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
26027
|
+
'GET',
|
|
26028
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
26029
|
+
{ 'provisional': opts['provisional'] },
|
|
26030
|
+
{ },
|
|
26031
|
+
{ },
|
|
26032
|
+
null,
|
|
26033
|
+
['PureCloud OAuth'],
|
|
26034
|
+
['application/json'],
|
|
26035
|
+
['application/json']
|
|
26036
|
+
);
|
|
26037
|
+
}
|
|
26038
|
+
|
|
25817
26039
|
/**
|
|
25818
26040
|
* Get the wrap-up for this conversation participant.
|
|
25819
26041
|
*
|
|
@@ -26091,6 +26313,45 @@ class ConversationsApi {
|
|
|
26091
26313
|
);
|
|
26092
26314
|
}
|
|
26093
26315
|
|
|
26316
|
+
/**
|
|
26317
|
+
* Get the wrap-up for this conversation communication.
|
|
26318
|
+
*
|
|
26319
|
+
* @param {String} conversationId conversationId
|
|
26320
|
+
* @param {String} participantId participantId
|
|
26321
|
+
* @param {String} communicationId communicationId
|
|
26322
|
+
* @param {Object} opts Optional parameters
|
|
26323
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
26324
|
+
*/
|
|
26325
|
+
getConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
26326
|
+
opts = opts || {};
|
|
26327
|
+
|
|
26328
|
+
// verify the required parameter 'conversationId' is set
|
|
26329
|
+
if (conversationId === undefined || conversationId === null) {
|
|
26330
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
26331
|
+
}
|
|
26332
|
+
// verify the required parameter 'participantId' is set
|
|
26333
|
+
if (participantId === undefined || participantId === null) {
|
|
26334
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
26335
|
+
}
|
|
26336
|
+
// verify the required parameter 'communicationId' is set
|
|
26337
|
+
if (communicationId === undefined || communicationId === null) {
|
|
26338
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
|
|
26339
|
+
}
|
|
26340
|
+
|
|
26341
|
+
return this.apiClient.callApi(
|
|
26342
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
26343
|
+
'GET',
|
|
26344
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
26345
|
+
{ 'provisional': opts['provisional'] },
|
|
26346
|
+
{ },
|
|
26347
|
+
{ },
|
|
26348
|
+
null,
|
|
26349
|
+
['PureCloud OAuth'],
|
|
26350
|
+
['application/json'],
|
|
26351
|
+
['application/json']
|
|
26352
|
+
);
|
|
26353
|
+
}
|
|
26354
|
+
|
|
26094
26355
|
/**
|
|
26095
26356
|
* Get the wrap-up for this conversation participant.
|
|
26096
26357
|
*
|
|
@@ -26628,6 +26889,143 @@ class ConversationsApi {
|
|
|
26628
26889
|
);
|
|
26629
26890
|
}
|
|
26630
26891
|
|
|
26892
|
+
/**
|
|
26893
|
+
* Get the wrap-up for this conversation communication.
|
|
26894
|
+
*
|
|
26895
|
+
* @param {String} conversationId conversationId
|
|
26896
|
+
* @param {String} participantId participantId
|
|
26897
|
+
* @param {String} communicationId communicationId
|
|
26898
|
+
* @param {Object} opts Optional parameters
|
|
26899
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
26900
|
+
*/
|
|
26901
|
+
getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
26902
|
+
opts = opts || {};
|
|
26903
|
+
|
|
26904
|
+
// verify the required parameter 'conversationId' is set
|
|
26905
|
+
if (conversationId === undefined || conversationId === null) {
|
|
26906
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
26907
|
+
}
|
|
26908
|
+
// verify the required parameter 'participantId' is set
|
|
26909
|
+
if (participantId === undefined || participantId === null) {
|
|
26910
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
26911
|
+
}
|
|
26912
|
+
// verify the required parameter 'communicationId' is set
|
|
26913
|
+
if (communicationId === undefined || communicationId === null) {
|
|
26914
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
|
|
26915
|
+
}
|
|
26916
|
+
|
|
26917
|
+
return this.apiClient.callApi(
|
|
26918
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
26919
|
+
'GET',
|
|
26920
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
26921
|
+
{ 'provisional': opts['provisional'] },
|
|
26922
|
+
{ },
|
|
26923
|
+
{ },
|
|
26924
|
+
null,
|
|
26925
|
+
['PureCloud OAuth'],
|
|
26926
|
+
['application/json'],
|
|
26927
|
+
['application/json']
|
|
26928
|
+
);
|
|
26929
|
+
}
|
|
26930
|
+
|
|
26931
|
+
/**
|
|
26932
|
+
* Get Settings
|
|
26933
|
+
*
|
|
26934
|
+
*/
|
|
26935
|
+
getConversationsSettings() {
|
|
26936
|
+
|
|
26937
|
+
return this.apiClient.callApi(
|
|
26938
|
+
'/api/v2/conversations/settings',
|
|
26939
|
+
'GET',
|
|
26940
|
+
{ },
|
|
26941
|
+
{ },
|
|
26942
|
+
{ },
|
|
26943
|
+
{ },
|
|
26944
|
+
null,
|
|
26945
|
+
['PureCloud OAuth'],
|
|
26946
|
+
['application/json'],
|
|
26947
|
+
['application/json']
|
|
26948
|
+
);
|
|
26949
|
+
}
|
|
26950
|
+
|
|
26951
|
+
/**
|
|
26952
|
+
* Get the wrap-up for this conversation communication.
|
|
26953
|
+
*
|
|
26954
|
+
* @param {String} conversationId conversationId
|
|
26955
|
+
* @param {String} participantId participantId
|
|
26956
|
+
* @param {String} communicationId communicationId
|
|
26957
|
+
* @param {Object} opts Optional parameters
|
|
26958
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
26959
|
+
*/
|
|
26960
|
+
getConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
26961
|
+
opts = opts || {};
|
|
26962
|
+
|
|
26963
|
+
// verify the required parameter 'conversationId' is set
|
|
26964
|
+
if (conversationId === undefined || conversationId === null) {
|
|
26965
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
26966
|
+
}
|
|
26967
|
+
// verify the required parameter 'participantId' is set
|
|
26968
|
+
if (participantId === undefined || participantId === null) {
|
|
26969
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
26970
|
+
}
|
|
26971
|
+
// verify the required parameter 'communicationId' is set
|
|
26972
|
+
if (communicationId === undefined || communicationId === null) {
|
|
26973
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
|
|
26974
|
+
}
|
|
26975
|
+
|
|
26976
|
+
return this.apiClient.callApi(
|
|
26977
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
26978
|
+
'GET',
|
|
26979
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
26980
|
+
{ 'provisional': opts['provisional'] },
|
|
26981
|
+
{ },
|
|
26982
|
+
{ },
|
|
26983
|
+
null,
|
|
26984
|
+
['PureCloud OAuth'],
|
|
26985
|
+
['application/json'],
|
|
26986
|
+
['application/json']
|
|
26987
|
+
);
|
|
26988
|
+
}
|
|
26989
|
+
|
|
26990
|
+
/**
|
|
26991
|
+
* Get the wrap-up for this conversation communication.
|
|
26992
|
+
*
|
|
26993
|
+
* @param {String} conversationId conversationId
|
|
26994
|
+
* @param {String} participantId participantId
|
|
26995
|
+
* @param {String} communicationId communicationId
|
|
26996
|
+
* @param {Object} opts Optional parameters
|
|
26997
|
+
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
26998
|
+
*/
|
|
26999
|
+
getConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
27000
|
+
opts = opts || {};
|
|
27001
|
+
|
|
27002
|
+
// verify the required parameter 'conversationId' is set
|
|
27003
|
+
if (conversationId === undefined || conversationId === null) {
|
|
27004
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
27005
|
+
}
|
|
27006
|
+
// verify the required parameter 'participantId' is set
|
|
27007
|
+
if (participantId === undefined || participantId === null) {
|
|
27008
|
+
throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
27009
|
+
}
|
|
27010
|
+
// verify the required parameter 'communicationId' is set
|
|
27011
|
+
if (communicationId === undefined || communicationId === null) {
|
|
27012
|
+
throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
|
|
27013
|
+
}
|
|
27014
|
+
|
|
27015
|
+
return this.apiClient.callApi(
|
|
27016
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
27017
|
+
'GET',
|
|
27018
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
27019
|
+
{ 'provisional': opts['provisional'] },
|
|
27020
|
+
{ },
|
|
27021
|
+
{ },
|
|
27022
|
+
null,
|
|
27023
|
+
['PureCloud OAuth'],
|
|
27024
|
+
['application/json'],
|
|
27025
|
+
['application/json']
|
|
27026
|
+
);
|
|
27027
|
+
}
|
|
27028
|
+
|
|
26631
27029
|
/**
|
|
26632
27030
|
* Update a participant.
|
|
26633
27031
|
* Update conversation participant.
|
|
@@ -27774,6 +28172,31 @@ class ConversationsApi {
|
|
|
27774
28172
|
);
|
|
27775
28173
|
}
|
|
27776
28174
|
|
|
28175
|
+
/**
|
|
28176
|
+
* Update Settings
|
|
28177
|
+
*
|
|
28178
|
+
* @param {Object} body Settings
|
|
28179
|
+
*/
|
|
28180
|
+
patchConversationsSettings(body) {
|
|
28181
|
+
// verify the required parameter 'body' is set
|
|
28182
|
+
if (body === undefined || body === null) {
|
|
28183
|
+
throw 'Missing the required parameter "body" when calling patchConversationsSettings';
|
|
28184
|
+
}
|
|
28185
|
+
|
|
28186
|
+
return this.apiClient.callApi(
|
|
28187
|
+
'/api/v2/conversations/settings',
|
|
28188
|
+
'PATCH',
|
|
28189
|
+
{ },
|
|
28190
|
+
{ },
|
|
28191
|
+
{ },
|
|
28192
|
+
{ },
|
|
28193
|
+
body,
|
|
28194
|
+
['PureCloud OAuth'],
|
|
28195
|
+
['application/json'],
|
|
28196
|
+
['application/json']
|
|
28197
|
+
);
|
|
28198
|
+
}
|
|
28199
|
+
|
|
27777
28200
|
/**
|
|
27778
28201
|
* Index conversation properties
|
|
27779
28202
|
*
|
|
@@ -28156,6 +28579,45 @@ class ConversationsApi {
|
|
|
28156
28579
|
);
|
|
28157
28580
|
}
|
|
28158
28581
|
|
|
28582
|
+
/**
|
|
28583
|
+
* Apply wrap-up for this conversation communication
|
|
28584
|
+
*
|
|
28585
|
+
* @param {String} conversationId conversationId
|
|
28586
|
+
* @param {String} participantId participantId
|
|
28587
|
+
* @param {String} communicationId communicationId
|
|
28588
|
+
* @param {Object} opts Optional parameters
|
|
28589
|
+
* @param {Object} opts.body Wrap-up
|
|
28590
|
+
*/
|
|
28591
|
+
postConversationsCallParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
28592
|
+
opts = opts || {};
|
|
28593
|
+
|
|
28594
|
+
// verify the required parameter 'conversationId' is set
|
|
28595
|
+
if (conversationId === undefined || conversationId === null) {
|
|
28596
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
28597
|
+
}
|
|
28598
|
+
// verify the required parameter 'participantId' is set
|
|
28599
|
+
if (participantId === undefined || participantId === null) {
|
|
28600
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
28601
|
+
}
|
|
28602
|
+
// verify the required parameter 'communicationId' is set
|
|
28603
|
+
if (communicationId === undefined || communicationId === null) {
|
|
28604
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
|
|
28605
|
+
}
|
|
28606
|
+
|
|
28607
|
+
return this.apiClient.callApi(
|
|
28608
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
28609
|
+
'POST',
|
|
28610
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
28611
|
+
{ },
|
|
28612
|
+
{ },
|
|
28613
|
+
{ },
|
|
28614
|
+
opts['body'],
|
|
28615
|
+
['PureCloud OAuth'],
|
|
28616
|
+
['application/json'],
|
|
28617
|
+
['application/json']
|
|
28618
|
+
);
|
|
28619
|
+
}
|
|
28620
|
+
|
|
28159
28621
|
/**
|
|
28160
28622
|
* Initiate and update consult transfer
|
|
28161
28623
|
*
|
|
@@ -28286,6 +28748,45 @@ class ConversationsApi {
|
|
|
28286
28748
|
);
|
|
28287
28749
|
}
|
|
28288
28750
|
|
|
28751
|
+
/**
|
|
28752
|
+
* Apply wrap-up for this conversation communication
|
|
28753
|
+
*
|
|
28754
|
+
* @param {String} conversationId conversationId
|
|
28755
|
+
* @param {String} participantId participantId
|
|
28756
|
+
* @param {String} communicationId communicationId
|
|
28757
|
+
* @param {Object} opts Optional parameters
|
|
28758
|
+
* @param {Object} opts.body Wrap-up
|
|
28759
|
+
*/
|
|
28760
|
+
postConversationsCallbackParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
28761
|
+
opts = opts || {};
|
|
28762
|
+
|
|
28763
|
+
// verify the required parameter 'conversationId' is set
|
|
28764
|
+
if (conversationId === undefined || conversationId === null) {
|
|
28765
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
28766
|
+
}
|
|
28767
|
+
// verify the required parameter 'participantId' is set
|
|
28768
|
+
if (participantId === undefined || participantId === null) {
|
|
28769
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
28770
|
+
}
|
|
28771
|
+
// verify the required parameter 'communicationId' is set
|
|
28772
|
+
if (communicationId === undefined || communicationId === null) {
|
|
28773
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
|
|
28774
|
+
}
|
|
28775
|
+
|
|
28776
|
+
return this.apiClient.callApi(
|
|
28777
|
+
'/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
28778
|
+
'POST',
|
|
28779
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
28780
|
+
{ },
|
|
28781
|
+
{ },
|
|
28782
|
+
{ },
|
|
28783
|
+
opts['body'],
|
|
28784
|
+
['PureCloud OAuth'],
|
|
28785
|
+
['application/json'],
|
|
28786
|
+
['application/json']
|
|
28787
|
+
);
|
|
28788
|
+
}
|
|
28789
|
+
|
|
28289
28790
|
/**
|
|
28290
28791
|
* Replace this participant with the specified user and/or address
|
|
28291
28792
|
*
|
|
@@ -28486,6 +28987,45 @@ class ConversationsApi {
|
|
|
28486
28987
|
);
|
|
28487
28988
|
}
|
|
28488
28989
|
|
|
28990
|
+
/**
|
|
28991
|
+
* Apply wrap-up for this conversation communication
|
|
28992
|
+
*
|
|
28993
|
+
* @param {String} conversationId conversationId
|
|
28994
|
+
* @param {String} participantId participantId
|
|
28995
|
+
* @param {String} communicationId communicationId
|
|
28996
|
+
* @param {Object} opts Optional parameters
|
|
28997
|
+
* @param {Object} opts.body Wrap-up
|
|
28998
|
+
*/
|
|
28999
|
+
postConversationsChatParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29000
|
+
opts = opts || {};
|
|
29001
|
+
|
|
29002
|
+
// verify the required parameter 'conversationId' is set
|
|
29003
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29004
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
29005
|
+
}
|
|
29006
|
+
// verify the required parameter 'participantId' is set
|
|
29007
|
+
if (participantId === undefined || participantId === null) {
|
|
29008
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
29009
|
+
}
|
|
29010
|
+
// verify the required parameter 'communicationId' is set
|
|
29011
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29012
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
|
|
29013
|
+
}
|
|
29014
|
+
|
|
29015
|
+
return this.apiClient.callApi(
|
|
29016
|
+
'/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29017
|
+
'POST',
|
|
29018
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29019
|
+
{ },
|
|
29020
|
+
{ },
|
|
29021
|
+
{ },
|
|
29022
|
+
opts['body'],
|
|
29023
|
+
['PureCloud OAuth'],
|
|
29024
|
+
['application/json'],
|
|
29025
|
+
['application/json']
|
|
29026
|
+
);
|
|
29027
|
+
}
|
|
29028
|
+
|
|
28489
29029
|
/**
|
|
28490
29030
|
* Replace this participant with the specified user and/or address
|
|
28491
29031
|
*
|
|
@@ -28546,6 +29086,45 @@ class ConversationsApi {
|
|
|
28546
29086
|
);
|
|
28547
29087
|
}
|
|
28548
29088
|
|
|
29089
|
+
/**
|
|
29090
|
+
* Apply wrap-up for this conversation communication
|
|
29091
|
+
*
|
|
29092
|
+
* @param {String} conversationId conversationId
|
|
29093
|
+
* @param {String} participantId participantId
|
|
29094
|
+
* @param {String} communicationId communicationId
|
|
29095
|
+
* @param {Object} opts Optional parameters
|
|
29096
|
+
* @param {Object} opts.body Wrap-up
|
|
29097
|
+
*/
|
|
29098
|
+
postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29099
|
+
opts = opts || {};
|
|
29100
|
+
|
|
29101
|
+
// verify the required parameter 'conversationId' is set
|
|
29102
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29103
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
29104
|
+
}
|
|
29105
|
+
// verify the required parameter 'participantId' is set
|
|
29106
|
+
if (participantId === undefined || participantId === null) {
|
|
29107
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
29108
|
+
}
|
|
29109
|
+
// verify the required parameter 'communicationId' is set
|
|
29110
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29111
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
|
|
29112
|
+
}
|
|
29113
|
+
|
|
29114
|
+
return this.apiClient.callApi(
|
|
29115
|
+
'/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29116
|
+
'POST',
|
|
29117
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29118
|
+
{ },
|
|
29119
|
+
{ },
|
|
29120
|
+
{ },
|
|
29121
|
+
opts['body'],
|
|
29122
|
+
['PureCloud OAuth'],
|
|
29123
|
+
['application/json'],
|
|
29124
|
+
['application/json']
|
|
29125
|
+
);
|
|
29126
|
+
}
|
|
29127
|
+
|
|
28549
29128
|
/**
|
|
28550
29129
|
* Replace this participant with the specified user and/or address
|
|
28551
29130
|
*
|
|
@@ -28670,6 +29249,45 @@ class ConversationsApi {
|
|
|
28670
29249
|
);
|
|
28671
29250
|
}
|
|
28672
29251
|
|
|
29252
|
+
/**
|
|
29253
|
+
* Apply wrap-up for this conversation communication
|
|
29254
|
+
*
|
|
29255
|
+
* @param {String} conversationId conversationId
|
|
29256
|
+
* @param {String} participantId participantId
|
|
29257
|
+
* @param {String} communicationId communicationId
|
|
29258
|
+
* @param {Object} opts Optional parameters
|
|
29259
|
+
* @param {Object} opts.body Wrap-up
|
|
29260
|
+
*/
|
|
29261
|
+
postConversationsEmailParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29262
|
+
opts = opts || {};
|
|
29263
|
+
|
|
29264
|
+
// verify the required parameter 'conversationId' is set
|
|
29265
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29266
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
29267
|
+
}
|
|
29268
|
+
// verify the required parameter 'participantId' is set
|
|
29269
|
+
if (participantId === undefined || participantId === null) {
|
|
29270
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
29271
|
+
}
|
|
29272
|
+
// verify the required parameter 'communicationId' is set
|
|
29273
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29274
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
|
|
29275
|
+
}
|
|
29276
|
+
|
|
29277
|
+
return this.apiClient.callApi(
|
|
29278
|
+
'/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29279
|
+
'POST',
|
|
29280
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29281
|
+
{ },
|
|
29282
|
+
{ },
|
|
29283
|
+
{ },
|
|
29284
|
+
opts['body'],
|
|
29285
|
+
['PureCloud OAuth'],
|
|
29286
|
+
['application/json'],
|
|
29287
|
+
['application/json']
|
|
29288
|
+
);
|
|
29289
|
+
}
|
|
29290
|
+
|
|
28673
29291
|
/**
|
|
28674
29292
|
* Replace this participant with the specified user and/or address
|
|
28675
29293
|
*
|
|
@@ -28964,6 +29582,45 @@ class ConversationsApi {
|
|
|
28964
29582
|
);
|
|
28965
29583
|
}
|
|
28966
29584
|
|
|
29585
|
+
/**
|
|
29586
|
+
* Apply wrap-up for this conversation communication
|
|
29587
|
+
*
|
|
29588
|
+
* @param {String} conversationId conversationId
|
|
29589
|
+
* @param {String} participantId participantId
|
|
29590
|
+
* @param {String} communicationId communicationId
|
|
29591
|
+
* @param {Object} opts Optional parameters
|
|
29592
|
+
* @param {Object} opts.body Wrap-up
|
|
29593
|
+
*/
|
|
29594
|
+
postConversationsMessageParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29595
|
+
opts = opts || {};
|
|
29596
|
+
|
|
29597
|
+
// verify the required parameter 'conversationId' is set
|
|
29598
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29599
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
29600
|
+
}
|
|
29601
|
+
// verify the required parameter 'participantId' is set
|
|
29602
|
+
if (participantId === undefined || participantId === null) {
|
|
29603
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
29604
|
+
}
|
|
29605
|
+
// verify the required parameter 'communicationId' is set
|
|
29606
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29607
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
|
|
29608
|
+
}
|
|
29609
|
+
|
|
29610
|
+
return this.apiClient.callApi(
|
|
29611
|
+
'/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29612
|
+
'POST',
|
|
29613
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29614
|
+
{ },
|
|
29615
|
+
{ },
|
|
29616
|
+
{ },
|
|
29617
|
+
opts['body'],
|
|
29618
|
+
['PureCloud OAuth'],
|
|
29619
|
+
['application/json'],
|
|
29620
|
+
['application/json']
|
|
29621
|
+
);
|
|
29622
|
+
}
|
|
29623
|
+
|
|
28967
29624
|
/**
|
|
28968
29625
|
* Replace this participant with the specified user and/or address
|
|
28969
29626
|
*
|
|
@@ -29249,6 +29906,123 @@ class ConversationsApi {
|
|
|
29249
29906
|
);
|
|
29250
29907
|
}
|
|
29251
29908
|
|
|
29909
|
+
/**
|
|
29910
|
+
* Apply wrap-up for this conversation communication
|
|
29911
|
+
*
|
|
29912
|
+
* @param {String} conversationId conversationId
|
|
29913
|
+
* @param {String} participantId participantId
|
|
29914
|
+
* @param {String} communicationId communicationId
|
|
29915
|
+
* @param {Object} opts Optional parameters
|
|
29916
|
+
* @param {Object} opts.body Wrap-up
|
|
29917
|
+
*/
|
|
29918
|
+
postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29919
|
+
opts = opts || {};
|
|
29920
|
+
|
|
29921
|
+
// verify the required parameter 'conversationId' is set
|
|
29922
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29923
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
29924
|
+
}
|
|
29925
|
+
// verify the required parameter 'participantId' is set
|
|
29926
|
+
if (participantId === undefined || participantId === null) {
|
|
29927
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
29928
|
+
}
|
|
29929
|
+
// verify the required parameter 'communicationId' is set
|
|
29930
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29931
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
|
|
29932
|
+
}
|
|
29933
|
+
|
|
29934
|
+
return this.apiClient.callApi(
|
|
29935
|
+
'/api/v2/conversations/screenshares/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29936
|
+
'POST',
|
|
29937
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29938
|
+
{ },
|
|
29939
|
+
{ },
|
|
29940
|
+
{ },
|
|
29941
|
+
opts['body'],
|
|
29942
|
+
['PureCloud OAuth'],
|
|
29943
|
+
['application/json'],
|
|
29944
|
+
['application/json']
|
|
29945
|
+
);
|
|
29946
|
+
}
|
|
29947
|
+
|
|
29948
|
+
/**
|
|
29949
|
+
* Apply wrap-up for this conversation communication
|
|
29950
|
+
*
|
|
29951
|
+
* @param {String} conversationId conversationId
|
|
29952
|
+
* @param {String} participantId participantId
|
|
29953
|
+
* @param {String} communicationId communicationId
|
|
29954
|
+
* @param {Object} opts Optional parameters
|
|
29955
|
+
* @param {Object} opts.body Wrap-up
|
|
29956
|
+
*/
|
|
29957
|
+
postConversationsSocialParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29958
|
+
opts = opts || {};
|
|
29959
|
+
|
|
29960
|
+
// verify the required parameter 'conversationId' is set
|
|
29961
|
+
if (conversationId === undefined || conversationId === null) {
|
|
29962
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
29963
|
+
}
|
|
29964
|
+
// verify the required parameter 'participantId' is set
|
|
29965
|
+
if (participantId === undefined || participantId === null) {
|
|
29966
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
29967
|
+
}
|
|
29968
|
+
// verify the required parameter 'communicationId' is set
|
|
29969
|
+
if (communicationId === undefined || communicationId === null) {
|
|
29970
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
|
|
29971
|
+
}
|
|
29972
|
+
|
|
29973
|
+
return this.apiClient.callApi(
|
|
29974
|
+
'/api/v2/conversations/socials/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
29975
|
+
'POST',
|
|
29976
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
29977
|
+
{ },
|
|
29978
|
+
{ },
|
|
29979
|
+
{ },
|
|
29980
|
+
opts['body'],
|
|
29981
|
+
['PureCloud OAuth'],
|
|
29982
|
+
['application/json'],
|
|
29983
|
+
['application/json']
|
|
29984
|
+
);
|
|
29985
|
+
}
|
|
29986
|
+
|
|
29987
|
+
/**
|
|
29988
|
+
* Apply wrap-up for this conversation communication
|
|
29989
|
+
*
|
|
29990
|
+
* @param {String} conversationId conversationId
|
|
29991
|
+
* @param {String} participantId participantId
|
|
29992
|
+
* @param {String} communicationId communicationId
|
|
29993
|
+
* @param {Object} opts Optional parameters
|
|
29994
|
+
* @param {Object} opts.body Wrap-up
|
|
29995
|
+
*/
|
|
29996
|
+
postConversationsVideoParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
|
|
29997
|
+
opts = opts || {};
|
|
29998
|
+
|
|
29999
|
+
// verify the required parameter 'conversationId' is set
|
|
30000
|
+
if (conversationId === undefined || conversationId === null) {
|
|
30001
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
30002
|
+
}
|
|
30003
|
+
// verify the required parameter 'participantId' is set
|
|
30004
|
+
if (participantId === undefined || participantId === null) {
|
|
30005
|
+
throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
30006
|
+
}
|
|
30007
|
+
// verify the required parameter 'communicationId' is set
|
|
30008
|
+
if (communicationId === undefined || communicationId === null) {
|
|
30009
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
|
|
30010
|
+
}
|
|
30011
|
+
|
|
30012
|
+
return this.apiClient.callApi(
|
|
30013
|
+
'/api/v2/conversations/videos/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup',
|
|
30014
|
+
'POST',
|
|
30015
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
30016
|
+
{ },
|
|
30017
|
+
{ },
|
|
30018
|
+
{ },
|
|
30019
|
+
opts['body'],
|
|
30020
|
+
['PureCloud OAuth'],
|
|
30021
|
+
['application/json'],
|
|
30022
|
+
['application/json']
|
|
30023
|
+
);
|
|
30024
|
+
}
|
|
30025
|
+
|
|
29252
30026
|
/**
|
|
29253
30027
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
29254
30028
|
*
|
|
@@ -29795,7 +30569,7 @@ class DataExtensionsApi {
|
|
|
29795
30569
|
/**
|
|
29796
30570
|
* DataExtensions service.
|
|
29797
30571
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
29798
|
-
* @version 160.
|
|
30572
|
+
* @version 160.1.0
|
|
29799
30573
|
*/
|
|
29800
30574
|
|
|
29801
30575
|
/**
|
|
@@ -29881,7 +30655,7 @@ class DownloadsApi {
|
|
|
29881
30655
|
/**
|
|
29882
30656
|
* Downloads service.
|
|
29883
30657
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
29884
|
-
* @version 160.
|
|
30658
|
+
* @version 160.1.0
|
|
29885
30659
|
*/
|
|
29886
30660
|
|
|
29887
30661
|
/**
|
|
@@ -29933,7 +30707,7 @@ class EventsApi {
|
|
|
29933
30707
|
/**
|
|
29934
30708
|
* Events service.
|
|
29935
30709
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
29936
|
-
* @version 160.
|
|
30710
|
+
* @version 160.1.0
|
|
29937
30711
|
*/
|
|
29938
30712
|
|
|
29939
30713
|
/**
|
|
@@ -30029,7 +30803,7 @@ class ExternalContactsApi {
|
|
|
30029
30803
|
/**
|
|
30030
30804
|
* ExternalContacts service.
|
|
30031
30805
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
30032
|
-
* @version 160.
|
|
30806
|
+
* @version 160.1.0
|
|
30033
30807
|
*/
|
|
30034
30808
|
|
|
30035
30809
|
/**
|
|
@@ -31987,7 +32761,7 @@ class FaxApi {
|
|
|
31987
32761
|
/**
|
|
31988
32762
|
* Fax service.
|
|
31989
32763
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
31990
|
-
* @version 160.
|
|
32764
|
+
* @version 160.1.0
|
|
31991
32765
|
*/
|
|
31992
32766
|
|
|
31993
32767
|
/**
|
|
@@ -32158,7 +32932,7 @@ class FlowsApi {
|
|
|
32158
32932
|
/**
|
|
32159
32933
|
* Flows service.
|
|
32160
32934
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
32161
|
-
* @version 160.
|
|
32935
|
+
* @version 160.1.0
|
|
32162
32936
|
*/
|
|
32163
32937
|
|
|
32164
32938
|
/**
|
|
@@ -32229,7 +33003,7 @@ class GamificationApi {
|
|
|
32229
33003
|
/**
|
|
32230
33004
|
* Gamification service.
|
|
32231
33005
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
32232
|
-
* @version 160.
|
|
33006
|
+
* @version 160.1.0
|
|
32233
33007
|
*/
|
|
32234
33008
|
|
|
32235
33009
|
/**
|
|
@@ -33846,7 +34620,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
33846
34620
|
/**
|
|
33847
34621
|
* GeneralDataProtectionRegulation service.
|
|
33848
34622
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
33849
|
-
* @version 160.
|
|
34623
|
+
* @version 160.1.0
|
|
33850
34624
|
*/
|
|
33851
34625
|
|
|
33852
34626
|
/**
|
|
@@ -33976,7 +34750,7 @@ class GeolocationApi {
|
|
|
33976
34750
|
/**
|
|
33977
34751
|
* Geolocation service.
|
|
33978
34752
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
33979
|
-
* @version 160.
|
|
34753
|
+
* @version 160.1.0
|
|
33980
34754
|
*/
|
|
33981
34755
|
|
|
33982
34756
|
/**
|
|
@@ -34107,7 +34881,7 @@ class GreetingsApi {
|
|
|
34107
34881
|
/**
|
|
34108
34882
|
* Greetings service.
|
|
34109
34883
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
34110
|
-
* @version 160.
|
|
34884
|
+
* @version 160.1.0
|
|
34111
34885
|
*/
|
|
34112
34886
|
|
|
34113
34887
|
/**
|
|
@@ -34562,7 +35336,7 @@ class GroupsApi {
|
|
|
34562
35336
|
/**
|
|
34563
35337
|
* Groups service.
|
|
34564
35338
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
34565
|
-
* @version 160.
|
|
35339
|
+
* @version 160.1.0
|
|
34566
35340
|
*/
|
|
34567
35341
|
|
|
34568
35342
|
/**
|
|
@@ -34968,7 +35742,7 @@ class IdentityProviderApi {
|
|
|
34968
35742
|
/**
|
|
34969
35743
|
* IdentityProvider service.
|
|
34970
35744
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34971
|
-
* @version 160.
|
|
35745
|
+
* @version 160.1.0
|
|
34972
35746
|
*/
|
|
34973
35747
|
|
|
34974
35748
|
/**
|
|
@@ -35724,7 +36498,7 @@ class InfrastructureAsCodeApi {
|
|
|
35724
36498
|
/**
|
|
35725
36499
|
* InfrastructureAsCode service.
|
|
35726
36500
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
35727
|
-
* @version 160.
|
|
36501
|
+
* @version 160.1.0
|
|
35728
36502
|
*/
|
|
35729
36503
|
|
|
35730
36504
|
/**
|
|
@@ -35826,7 +36600,7 @@ class IntegrationsApi {
|
|
|
35826
36600
|
/**
|
|
35827
36601
|
* Integrations service.
|
|
35828
36602
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35829
|
-
* @version 160.
|
|
36603
|
+
* @version 160.1.0
|
|
35830
36604
|
*/
|
|
35831
36605
|
|
|
35832
36606
|
/**
|
|
@@ -37426,7 +38200,7 @@ class JourneyApi {
|
|
|
37426
38200
|
/**
|
|
37427
38201
|
* Journey service.
|
|
37428
38202
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37429
|
-
* @version 160.
|
|
38203
|
+
* @version 160.1.0
|
|
37430
38204
|
*/
|
|
37431
38205
|
|
|
37432
38206
|
/**
|
|
@@ -38306,7 +39080,7 @@ class KnowledgeApi {
|
|
|
38306
39080
|
/**
|
|
38307
39081
|
* Knowledge service.
|
|
38308
39082
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
38309
|
-
* @version 160.
|
|
39083
|
+
* @version 160.1.0
|
|
38310
39084
|
*/
|
|
38311
39085
|
|
|
38312
39086
|
/**
|
|
@@ -40738,7 +41512,7 @@ class LanguageUnderstandingApi {
|
|
|
40738
41512
|
/**
|
|
40739
41513
|
* LanguageUnderstanding service.
|
|
40740
41514
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
40741
|
-
* @version 160.
|
|
41515
|
+
* @version 160.1.0
|
|
40742
41516
|
*/
|
|
40743
41517
|
|
|
40744
41518
|
/**
|
|
@@ -41751,7 +42525,7 @@ class LanguagesApi {
|
|
|
41751
42525
|
/**
|
|
41752
42526
|
* Languages service.
|
|
41753
42527
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
41754
|
-
* @version 160.
|
|
42528
|
+
* @version 160.1.0
|
|
41755
42529
|
*/
|
|
41756
42530
|
|
|
41757
42531
|
/**
|
|
@@ -41969,7 +42743,7 @@ class LearningApi {
|
|
|
41969
42743
|
/**
|
|
41970
42744
|
* Learning service.
|
|
41971
42745
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
41972
|
-
* @version 160.
|
|
42746
|
+
* @version 160.1.0
|
|
41973
42747
|
*/
|
|
41974
42748
|
|
|
41975
42749
|
/**
|
|
@@ -42784,7 +43558,7 @@ class LicenseApi {
|
|
|
42784
43558
|
/**
|
|
42785
43559
|
* License service.
|
|
42786
43560
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
42787
|
-
* @version 160.
|
|
43561
|
+
* @version 160.1.0
|
|
42788
43562
|
*/
|
|
42789
43563
|
|
|
42790
43564
|
/**
|
|
@@ -43022,7 +43796,7 @@ class LocationsApi {
|
|
|
43022
43796
|
/**
|
|
43023
43797
|
* Locations service.
|
|
43024
43798
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
43025
|
-
* @version 160.
|
|
43799
|
+
* @version 160.1.0
|
|
43026
43800
|
*/
|
|
43027
43801
|
|
|
43028
43802
|
/**
|
|
@@ -43258,7 +44032,7 @@ class MessagingApi {
|
|
|
43258
44032
|
/**
|
|
43259
44033
|
* Messaging service.
|
|
43260
44034
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
43261
|
-
* @version 160.
|
|
44035
|
+
* @version 160.1.0
|
|
43262
44036
|
*/
|
|
43263
44037
|
|
|
43264
44038
|
/**
|
|
@@ -43409,7 +44183,7 @@ class MobileDevicesApi {
|
|
|
43409
44183
|
/**
|
|
43410
44184
|
* MobileDevices service.
|
|
43411
44185
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
43412
|
-
* @version 160.
|
|
44186
|
+
* @version 160.1.0
|
|
43413
44187
|
*/
|
|
43414
44188
|
|
|
43415
44189
|
/**
|
|
@@ -43560,7 +44334,7 @@ class NotificationsApi {
|
|
|
43560
44334
|
/**
|
|
43561
44335
|
* Notifications service.
|
|
43562
44336
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
43563
|
-
* @version 160.
|
|
44337
|
+
* @version 160.1.0
|
|
43564
44338
|
*/
|
|
43565
44339
|
|
|
43566
44340
|
/**
|
|
@@ -43793,7 +44567,7 @@ class OAuthApi {
|
|
|
43793
44567
|
/**
|
|
43794
44568
|
* OAuth service.
|
|
43795
44569
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
43796
|
-
* @version 160.
|
|
44570
|
+
* @version 160.1.0
|
|
43797
44571
|
*/
|
|
43798
44572
|
|
|
43799
44573
|
/**
|
|
@@ -44159,7 +44933,7 @@ class ObjectsApi {
|
|
|
44159
44933
|
/**
|
|
44160
44934
|
* Objects service.
|
|
44161
44935
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
44162
|
-
* @version 160.
|
|
44936
|
+
* @version 160.1.0
|
|
44163
44937
|
*/
|
|
44164
44938
|
|
|
44165
44939
|
/**
|
|
@@ -44430,7 +45204,7 @@ class OrganizationApi {
|
|
|
44430
45204
|
/**
|
|
44431
45205
|
* Organization service.
|
|
44432
45206
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
44433
|
-
* @version 160.
|
|
45207
|
+
* @version 160.1.0
|
|
44434
45208
|
*/
|
|
44435
45209
|
|
|
44436
45210
|
/**
|
|
@@ -44833,7 +45607,7 @@ class OrganizationAuthorizationApi {
|
|
|
44833
45607
|
/**
|
|
44834
45608
|
* OrganizationAuthorization service.
|
|
44835
45609
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
44836
|
-
* @version 160.
|
|
45610
|
+
* @version 160.1.0
|
|
44837
45611
|
*/
|
|
44838
45612
|
|
|
44839
45613
|
/**
|
|
@@ -46128,7 +46902,7 @@ class OutboundApi {
|
|
|
46128
46902
|
/**
|
|
46129
46903
|
* Outbound service.
|
|
46130
46904
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
46131
|
-
* @version 160.
|
|
46905
|
+
* @version 160.1.0
|
|
46132
46906
|
*/
|
|
46133
46907
|
|
|
46134
46908
|
/**
|
|
@@ -49724,7 +50498,7 @@ class PresenceApi {
|
|
|
49724
50498
|
/**
|
|
49725
50499
|
* Presence service.
|
|
49726
50500
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
49727
|
-
* @version 160.
|
|
50501
|
+
* @version 160.1.0
|
|
49728
50502
|
*/
|
|
49729
50503
|
|
|
49730
50504
|
/**
|
|
@@ -50230,7 +51004,7 @@ class ProcessAutomationApi {
|
|
|
50230
51004
|
/**
|
|
50231
51005
|
* ProcessAutomation service.
|
|
50232
51006
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
50233
|
-
* @version 160.
|
|
51007
|
+
* @version 160.1.0
|
|
50234
51008
|
*/
|
|
50235
51009
|
|
|
50236
51010
|
/**
|
|
@@ -50469,7 +51243,7 @@ class QualityApi {
|
|
|
50469
51243
|
/**
|
|
50470
51244
|
* Quality service.
|
|
50471
51245
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
50472
|
-
* @version 160.
|
|
51246
|
+
* @version 160.1.0
|
|
50473
51247
|
*/
|
|
50474
51248
|
|
|
50475
51249
|
/**
|
|
@@ -52048,7 +52822,7 @@ class RecordingApi {
|
|
|
52048
52822
|
/**
|
|
52049
52823
|
* Recording service.
|
|
52050
52824
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
52051
|
-
* @version 160.
|
|
52825
|
+
* @version 160.1.0
|
|
52052
52826
|
*/
|
|
52053
52827
|
|
|
52054
52828
|
/**
|
|
@@ -53685,7 +54459,7 @@ class ResponseManagementApi {
|
|
|
53685
54459
|
/**
|
|
53686
54460
|
* ResponseManagement service.
|
|
53687
54461
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
53688
|
-
* @version 160.
|
|
54462
|
+
* @version 160.1.0
|
|
53689
54463
|
*/
|
|
53690
54464
|
|
|
53691
54465
|
/**
|
|
@@ -54169,7 +54943,7 @@ class RoutingApi {
|
|
|
54169
54943
|
/**
|
|
54170
54944
|
* Routing service.
|
|
54171
54945
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
54172
|
-
* @version 160.
|
|
54946
|
+
* @version 160.1.0
|
|
54173
54947
|
*/
|
|
54174
54948
|
|
|
54175
54949
|
/**
|
|
@@ -57669,7 +58443,7 @@ class SCIMApi {
|
|
|
57669
58443
|
/**
|
|
57670
58444
|
* SCIM service.
|
|
57671
58445
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
57672
|
-
* @version 160.
|
|
58446
|
+
* @version 160.1.0
|
|
57673
58447
|
*/
|
|
57674
58448
|
|
|
57675
58449
|
/**
|
|
@@ -58546,7 +59320,7 @@ class ScriptsApi {
|
|
|
58546
59320
|
/**
|
|
58547
59321
|
* Scripts service.
|
|
58548
59322
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
58549
|
-
* @version 160.
|
|
59323
|
+
* @version 160.1.0
|
|
58550
59324
|
*/
|
|
58551
59325
|
|
|
58552
59326
|
/**
|
|
@@ -58965,7 +59739,7 @@ class SearchApi {
|
|
|
58965
59739
|
/**
|
|
58966
59740
|
* Search service.
|
|
58967
59741
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
58968
|
-
* @version 160.
|
|
59742
|
+
* @version 160.1.0
|
|
58969
59743
|
*/
|
|
58970
59744
|
|
|
58971
59745
|
/**
|
|
@@ -59575,7 +60349,7 @@ class SpeechTextAnalyticsApi {
|
|
|
59575
60349
|
/**
|
|
59576
60350
|
* SpeechTextAnalytics service.
|
|
59577
60351
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
59578
|
-
* @version 160.
|
|
60352
|
+
* @version 160.1.0
|
|
59579
60353
|
*/
|
|
59580
60354
|
|
|
59581
60355
|
/**
|
|
@@ -60504,7 +61278,7 @@ class StationsApi {
|
|
|
60504
61278
|
/**
|
|
60505
61279
|
* Stations service.
|
|
60506
61280
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
60507
|
-
* @version 160.
|
|
61281
|
+
* @version 160.1.0
|
|
60508
61282
|
*/
|
|
60509
61283
|
|
|
60510
61284
|
/**
|
|
@@ -60651,7 +61425,7 @@ class SuggestApi {
|
|
|
60651
61425
|
/**
|
|
60652
61426
|
* Suggest service.
|
|
60653
61427
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
60654
|
-
* @version 160.
|
|
61428
|
+
* @version 160.1.0
|
|
60655
61429
|
*/
|
|
60656
61430
|
|
|
60657
61431
|
/**
|
|
@@ -60790,7 +61564,7 @@ class TeamsApi {
|
|
|
60790
61564
|
/**
|
|
60791
61565
|
* Teams service.
|
|
60792
61566
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60793
|
-
* @version 160.
|
|
61567
|
+
* @version 160.1.0
|
|
60794
61568
|
*/
|
|
60795
61569
|
|
|
60796
61570
|
/**
|
|
@@ -61061,7 +61835,7 @@ class TelephonyApi {
|
|
|
61061
61835
|
/**
|
|
61062
61836
|
* Telephony service.
|
|
61063
61837
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
61064
|
-
* @version 160.
|
|
61838
|
+
* @version 160.1.0
|
|
61065
61839
|
*/
|
|
61066
61840
|
|
|
61067
61841
|
/**
|
|
@@ -61189,7 +61963,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
61189
61963
|
/**
|
|
61190
61964
|
* TelephonyProvidersEdge service.
|
|
61191
61965
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
61192
|
-
* @version 160.
|
|
61966
|
+
* @version 160.1.0
|
|
61193
61967
|
*/
|
|
61194
61968
|
|
|
61195
61969
|
/**
|
|
@@ -64823,7 +65597,7 @@ class TextbotsApi {
|
|
|
64823
65597
|
/**
|
|
64824
65598
|
* Textbots service.
|
|
64825
65599
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
64826
|
-
* @version 160.
|
|
65600
|
+
* @version 160.1.0
|
|
64827
65601
|
*/
|
|
64828
65602
|
|
|
64829
65603
|
/**
|
|
@@ -64951,7 +65725,7 @@ class TokensApi {
|
|
|
64951
65725
|
/**
|
|
64952
65726
|
* Tokens service.
|
|
64953
65727
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
64954
|
-
* @version 160.
|
|
65728
|
+
* @version 160.1.0
|
|
64955
65729
|
*/
|
|
64956
65730
|
|
|
64957
65731
|
/**
|
|
@@ -65057,7 +65831,7 @@ class UploadsApi {
|
|
|
65057
65831
|
/**
|
|
65058
65832
|
* Uploads service.
|
|
65059
65833
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
65060
|
-
* @version 160.
|
|
65834
|
+
* @version 160.1.0
|
|
65061
65835
|
*/
|
|
65062
65836
|
|
|
65063
65837
|
/**
|
|
@@ -65233,7 +66007,7 @@ class UsageApi {
|
|
|
65233
66007
|
/**
|
|
65234
66008
|
* Usage service.
|
|
65235
66009
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
65236
|
-
* @version 160.
|
|
66010
|
+
* @version 160.1.0
|
|
65237
66011
|
*/
|
|
65238
66012
|
|
|
65239
66013
|
/**
|
|
@@ -65304,7 +66078,7 @@ class UserRecordingsApi {
|
|
|
65304
66078
|
/**
|
|
65305
66079
|
* UserRecordings service.
|
|
65306
66080
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
65307
|
-
* @version 160.
|
|
66081
|
+
* @version 160.1.0
|
|
65308
66082
|
*/
|
|
65309
66083
|
|
|
65310
66084
|
/**
|
|
@@ -65489,7 +66263,7 @@ class UsersApi {
|
|
|
65489
66263
|
/**
|
|
65490
66264
|
* Users service.
|
|
65491
66265
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
65492
|
-
* @version 160.
|
|
66266
|
+
* @version 160.1.0
|
|
65493
66267
|
*/
|
|
65494
66268
|
|
|
65495
66269
|
/**
|
|
@@ -67877,7 +68651,7 @@ class UtilitiesApi {
|
|
|
67877
68651
|
/**
|
|
67878
68652
|
* Utilities service.
|
|
67879
68653
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
67880
|
-
* @version 160.
|
|
68654
|
+
* @version 160.1.0
|
|
67881
68655
|
*/
|
|
67882
68656
|
|
|
67883
68657
|
/**
|
|
@@ -67988,7 +68762,7 @@ class VoicemailApi {
|
|
|
67988
68762
|
/**
|
|
67989
68763
|
* Voicemail service.
|
|
67990
68764
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
67991
|
-
* @version 160.
|
|
68765
|
+
* @version 160.1.0
|
|
67992
68766
|
*/
|
|
67993
68767
|
|
|
67994
68768
|
/**
|
|
@@ -68655,7 +69429,7 @@ class WebChatApi {
|
|
|
68655
69429
|
/**
|
|
68656
69430
|
* WebChat service.
|
|
68657
69431
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
68658
|
-
* @version 160.
|
|
69432
|
+
* @version 160.1.0
|
|
68659
69433
|
*/
|
|
68660
69434
|
|
|
68661
69435
|
/**
|
|
@@ -69199,7 +69973,7 @@ class WebDeploymentsApi {
|
|
|
69199
69973
|
/**
|
|
69200
69974
|
* WebDeployments service.
|
|
69201
69975
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
69202
|
-
* @version 160.
|
|
69976
|
+
* @version 160.1.0
|
|
69203
69977
|
*/
|
|
69204
69978
|
|
|
69205
69979
|
/**
|
|
@@ -69721,7 +70495,7 @@ class WebMessagingApi {
|
|
|
69721
70495
|
/**
|
|
69722
70496
|
* WebMessaging service.
|
|
69723
70497
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
69724
|
-
* @version 160.
|
|
70498
|
+
* @version 160.1.0
|
|
69725
70499
|
*/
|
|
69726
70500
|
|
|
69727
70501
|
/**
|
|
@@ -69767,7 +70541,7 @@ class WidgetsApi {
|
|
|
69767
70541
|
/**
|
|
69768
70542
|
* Widgets service.
|
|
69769
70543
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
69770
|
-
* @version 160.
|
|
70544
|
+
* @version 160.1.0
|
|
69771
70545
|
*/
|
|
69772
70546
|
|
|
69773
70547
|
/**
|
|
@@ -69913,7 +70687,7 @@ class WorkforceManagementApi {
|
|
|
69913
70687
|
/**
|
|
69914
70688
|
* WorkforceManagement service.
|
|
69915
70689
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
69916
|
-
* @version 160.
|
|
70690
|
+
* @version 160.1.0
|
|
69917
70691
|
*/
|
|
69918
70692
|
|
|
69919
70693
|
/**
|
|
@@ -74657,7 +75431,7 @@ class WorkforceManagementApi {
|
|
|
74657
75431
|
* </pre>
|
|
74658
75432
|
* </p>
|
|
74659
75433
|
* @module purecloud-platform-client-v2/index
|
|
74660
|
-
* @version 160.
|
|
75434
|
+
* @version 160.1.0
|
|
74661
75435
|
*/
|
|
74662
75436
|
class platformClient {
|
|
74663
75437
|
constructor() {
|