purecloud-platform-client-v2 202.1.0 → 204.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +885 -106
- package/dist/web-amd/purecloud-platform-client-v2.js +885 -106
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +452 -261
- package/dist/web-cjs/purecloud-platform-client-v2.js +452 -261
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +589 -224
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +381 -0
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +81 -0
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -12
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +46 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +139 -2
- 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 +3 -13
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +130 -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/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +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 +30 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +13 -1
|
@@ -405,7 +405,7 @@ class Configuration {
|
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* @module purecloud-platform-client-v2/ApiClient
|
|
408
|
-
* @version
|
|
408
|
+
* @version 204.0.0
|
|
409
409
|
*/
|
|
410
410
|
class ApiClient {
|
|
411
411
|
/**
|
|
@@ -1823,11 +1823,463 @@ class ApiClient {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
+
class AgentAssistantsApi {
|
|
1827
|
+
/**
|
|
1828
|
+
* AgentAssistants service.
|
|
1829
|
+
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1830
|
+
* @version 204.0.0
|
|
1831
|
+
*/
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Constructs a new AgentAssistantsApi.
|
|
1835
|
+
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
1836
|
+
* @class
|
|
1837
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
1838
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
1839
|
+
*/
|
|
1840
|
+
constructor(apiClient) {
|
|
1841
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Delete an assistant.
|
|
1847
|
+
*
|
|
1848
|
+
* @param {String} assistantId Assistant ID
|
|
1849
|
+
*/
|
|
1850
|
+
deleteAssistant(assistantId) {
|
|
1851
|
+
// verify the required parameter 'assistantId' is set
|
|
1852
|
+
if (assistantId === undefined || assistantId === null) {
|
|
1853
|
+
throw 'Missing the required parameter "assistantId" when calling deleteAssistant';
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
return this.apiClient.callApi(
|
|
1857
|
+
'/api/v2/assistants/{assistantId}',
|
|
1858
|
+
'DELETE',
|
|
1859
|
+
{ 'assistantId': assistantId },
|
|
1860
|
+
{ },
|
|
1861
|
+
{ },
|
|
1862
|
+
{ },
|
|
1863
|
+
null,
|
|
1864
|
+
['PureCloud OAuth'],
|
|
1865
|
+
['application/json'],
|
|
1866
|
+
['application/json']
|
|
1867
|
+
);
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* Disassociate a queue from an assistant.
|
|
1872
|
+
*
|
|
1873
|
+
* @param {String} assistantId Assistant ID
|
|
1874
|
+
* @param {String} queueId Queue ID
|
|
1875
|
+
*/
|
|
1876
|
+
deleteAssistantQueue(assistantId, queueId) {
|
|
1877
|
+
// verify the required parameter 'assistantId' is set
|
|
1878
|
+
if (assistantId === undefined || assistantId === null) {
|
|
1879
|
+
throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueue';
|
|
1880
|
+
}
|
|
1881
|
+
// verify the required parameter 'queueId' is set
|
|
1882
|
+
if (queueId === undefined || queueId === null) {
|
|
1883
|
+
throw 'Missing the required parameter "queueId" when calling deleteAssistantQueue';
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
return this.apiClient.callApi(
|
|
1887
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}',
|
|
1888
|
+
'DELETE',
|
|
1889
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
1890
|
+
{ },
|
|
1891
|
+
{ },
|
|
1892
|
+
{ },
|
|
1893
|
+
null,
|
|
1894
|
+
['PureCloud OAuth'],
|
|
1895
|
+
['application/json'],
|
|
1896
|
+
['application/json']
|
|
1897
|
+
);
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* Disassociate the queues from an assistant for the given assistant ID and queue IDs.
|
|
1902
|
+
*
|
|
1903
|
+
* @param {String} assistantId Assistant ID
|
|
1904
|
+
* @param {Object} opts Optional parameters
|
|
1905
|
+
* @param {String} opts.queueIds Comma-separated identifiers of the queues that need to be deleted.
|
|
1906
|
+
*/
|
|
1907
|
+
deleteAssistantQueues(assistantId, opts) {
|
|
1908
|
+
opts = opts || {};
|
|
1909
|
+
|
|
1910
|
+
// verify the required parameter 'assistantId' is set
|
|
1911
|
+
if (assistantId === undefined || assistantId === null) {
|
|
1912
|
+
throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueues';
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
return this.apiClient.callApi(
|
|
1916
|
+
'/api/v2/assistants/{assistantId}/queues',
|
|
1917
|
+
'DELETE',
|
|
1918
|
+
{ 'assistantId': assistantId },
|
|
1919
|
+
{ 'queueIds': opts['queueIds'] },
|
|
1920
|
+
{ },
|
|
1921
|
+
{ },
|
|
1922
|
+
null,
|
|
1923
|
+
['PureCloud OAuth'],
|
|
1924
|
+
['application/json'],
|
|
1925
|
+
['application/json']
|
|
1926
|
+
);
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* Get an assistant.
|
|
1931
|
+
*
|
|
1932
|
+
* @param {String} assistantId Assistant ID
|
|
1933
|
+
* @param {Object} opts Optional parameters
|
|
1934
|
+
* @param {Object} opts.expand Which fields, if any, to expand.
|
|
1935
|
+
*/
|
|
1936
|
+
getAssistant(assistantId, opts) {
|
|
1937
|
+
opts = opts || {};
|
|
1938
|
+
|
|
1939
|
+
// verify the required parameter 'assistantId' is set
|
|
1940
|
+
if (assistantId === undefined || assistantId === null) {
|
|
1941
|
+
throw 'Missing the required parameter "assistantId" when calling getAssistant';
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
return this.apiClient.callApi(
|
|
1945
|
+
'/api/v2/assistants/{assistantId}',
|
|
1946
|
+
'GET',
|
|
1947
|
+
{ 'assistantId': assistantId },
|
|
1948
|
+
{ 'expand': opts['expand'] },
|
|
1949
|
+
{ },
|
|
1950
|
+
{ },
|
|
1951
|
+
null,
|
|
1952
|
+
['PureCloud OAuth'],
|
|
1953
|
+
['application/json'],
|
|
1954
|
+
['application/json']
|
|
1955
|
+
);
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Get queue Information for an assistant.
|
|
1960
|
+
*
|
|
1961
|
+
* @param {String} assistantId Assistant ID
|
|
1962
|
+
* @param {String} queueId Queue ID
|
|
1963
|
+
* @param {Object} opts Optional parameters
|
|
1964
|
+
* @param {Object} opts.expand Which fields, if any, to expand.
|
|
1965
|
+
*/
|
|
1966
|
+
getAssistantQueue(assistantId, queueId, opts) {
|
|
1967
|
+
opts = opts || {};
|
|
1968
|
+
|
|
1969
|
+
// verify the required parameter 'assistantId' is set
|
|
1970
|
+
if (assistantId === undefined || assistantId === null) {
|
|
1971
|
+
throw 'Missing the required parameter "assistantId" when calling getAssistantQueue';
|
|
1972
|
+
}
|
|
1973
|
+
// verify the required parameter 'queueId' is set
|
|
1974
|
+
if (queueId === undefined || queueId === null) {
|
|
1975
|
+
throw 'Missing the required parameter "queueId" when calling getAssistantQueue';
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
return this.apiClient.callApi(
|
|
1979
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}',
|
|
1980
|
+
'GET',
|
|
1981
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
1982
|
+
{ 'expand': opts['expand'] },
|
|
1983
|
+
{ },
|
|
1984
|
+
{ },
|
|
1985
|
+
null,
|
|
1986
|
+
['PureCloud OAuth'],
|
|
1987
|
+
['application/json'],
|
|
1988
|
+
['application/json']
|
|
1989
|
+
);
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Get all the queues associated with an assistant.
|
|
1994
|
+
*
|
|
1995
|
+
* @param {String} assistantId Assistant ID
|
|
1996
|
+
* @param {Object} opts Optional parameters
|
|
1997
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
1998
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1999
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
2000
|
+
* @param {Object} opts.expand Which fields, if any, to expand.
|
|
2001
|
+
*/
|
|
2002
|
+
getAssistantQueues(assistantId, opts) {
|
|
2003
|
+
opts = opts || {};
|
|
2004
|
+
|
|
2005
|
+
// verify the required parameter 'assistantId' is set
|
|
2006
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2007
|
+
throw 'Missing the required parameter "assistantId" when calling getAssistantQueues';
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
return this.apiClient.callApi(
|
|
2011
|
+
'/api/v2/assistants/{assistantId}/queues',
|
|
2012
|
+
'GET',
|
|
2013
|
+
{ 'assistantId': assistantId },
|
|
2014
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'expand': opts['expand'] },
|
|
2015
|
+
{ },
|
|
2016
|
+
{ },
|
|
2017
|
+
null,
|
|
2018
|
+
['PureCloud OAuth'],
|
|
2019
|
+
['application/json'],
|
|
2020
|
+
['application/json']
|
|
2021
|
+
);
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* Get all assistants.
|
|
2026
|
+
*
|
|
2027
|
+
* @param {Object} opts Optional parameters
|
|
2028
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
2029
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
2030
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
2031
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
2032
|
+
* @param {String} opts.name Return the assistant by the given name.
|
|
2033
|
+
*/
|
|
2034
|
+
getAssistants(opts) {
|
|
2035
|
+
opts = opts || {};
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
return this.apiClient.callApi(
|
|
2039
|
+
'/api/v2/assistants',
|
|
2040
|
+
'GET',
|
|
2041
|
+
{ },
|
|
2042
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
2043
|
+
{ },
|
|
2044
|
+
{ },
|
|
2045
|
+
null,
|
|
2046
|
+
['PureCloud OAuth'],
|
|
2047
|
+
['application/json'],
|
|
2048
|
+
['application/json']
|
|
2049
|
+
);
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Get all queues assigned to any assistant.
|
|
2054
|
+
*
|
|
2055
|
+
* @param {Object} opts Optional parameters
|
|
2056
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
2057
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
2058
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
2059
|
+
* @param {String} opts.queueIds Comma-separated identifiers of the queues that need to be retrieved.
|
|
2060
|
+
* @param {Object} opts.expand Which fields, if any, to expand.
|
|
2061
|
+
*/
|
|
2062
|
+
getAssistantsQueues(opts) {
|
|
2063
|
+
opts = opts || {};
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
return this.apiClient.callApi(
|
|
2067
|
+
'/api/v2/assistants/queues',
|
|
2068
|
+
'GET',
|
|
2069
|
+
{ },
|
|
2070
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'queueIds': opts['queueIds'],'expand': opts['expand'] },
|
|
2071
|
+
{ },
|
|
2072
|
+
{ },
|
|
2073
|
+
null,
|
|
2074
|
+
['PureCloud OAuth'],
|
|
2075
|
+
['application/json'],
|
|
2076
|
+
['application/json']
|
|
2077
|
+
);
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Update an assistant.
|
|
2082
|
+
*
|
|
2083
|
+
* @param {String} assistantId Assistant ID
|
|
2084
|
+
* @param {Object} body
|
|
2085
|
+
*/
|
|
2086
|
+
patchAssistant(assistantId, body) {
|
|
2087
|
+
// verify the required parameter 'assistantId' is set
|
|
2088
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2089
|
+
throw 'Missing the required parameter "assistantId" when calling patchAssistant';
|
|
2090
|
+
}
|
|
2091
|
+
// verify the required parameter 'body' is set
|
|
2092
|
+
if (body === undefined || body === null) {
|
|
2093
|
+
throw 'Missing the required parameter "body" when calling patchAssistant';
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
return this.apiClient.callApi(
|
|
2097
|
+
'/api/v2/assistants/{assistantId}',
|
|
2098
|
+
'PATCH',
|
|
2099
|
+
{ 'assistantId': assistantId },
|
|
2100
|
+
{ },
|
|
2101
|
+
{ },
|
|
2102
|
+
{ },
|
|
2103
|
+
body,
|
|
2104
|
+
['PureCloud OAuth'],
|
|
2105
|
+
['application/json'],
|
|
2106
|
+
['application/json']
|
|
2107
|
+
);
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Update Queues for an Assistant.
|
|
2112
|
+
*
|
|
2113
|
+
* @param {String} assistantId Assistant ID
|
|
2114
|
+
* @param {Array.<Object>} body
|
|
2115
|
+
*/
|
|
2116
|
+
patchAssistantQueues(assistantId, body) {
|
|
2117
|
+
// verify the required parameter 'assistantId' is set
|
|
2118
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2119
|
+
throw 'Missing the required parameter "assistantId" when calling patchAssistantQueues';
|
|
2120
|
+
}
|
|
2121
|
+
// verify the required parameter 'body' is set
|
|
2122
|
+
if (body === undefined || body === null) {
|
|
2123
|
+
throw 'Missing the required parameter "body" when calling patchAssistantQueues';
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
return this.apiClient.callApi(
|
|
2127
|
+
'/api/v2/assistants/{assistantId}/queues',
|
|
2128
|
+
'PATCH',
|
|
2129
|
+
{ 'assistantId': assistantId },
|
|
2130
|
+
{ },
|
|
2131
|
+
{ },
|
|
2132
|
+
{ },
|
|
2133
|
+
body,
|
|
2134
|
+
['PureCloud OAuth'],
|
|
2135
|
+
['application/json'],
|
|
2136
|
+
['application/json']
|
|
2137
|
+
);
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Create an Assistant.
|
|
2142
|
+
*
|
|
2143
|
+
* @param {Object} body
|
|
2144
|
+
*/
|
|
2145
|
+
postAssistants(body) {
|
|
2146
|
+
// verify the required parameter 'body' is set
|
|
2147
|
+
if (body === undefined || body === null) {
|
|
2148
|
+
throw 'Missing the required parameter "body" when calling postAssistants';
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
return this.apiClient.callApi(
|
|
2152
|
+
'/api/v2/assistants',
|
|
2153
|
+
'POST',
|
|
2154
|
+
{ },
|
|
2155
|
+
{ },
|
|
2156
|
+
{ },
|
|
2157
|
+
{ },
|
|
2158
|
+
body,
|
|
2159
|
+
['PureCloud OAuth'],
|
|
2160
|
+
['application/json'],
|
|
2161
|
+
['application/json']
|
|
2162
|
+
);
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* Create a queue assistant association.
|
|
2167
|
+
*
|
|
2168
|
+
* @param {String} assistantId Assistant ID
|
|
2169
|
+
* @param {String} queueId Queue ID
|
|
2170
|
+
* @param {Object} body
|
|
2171
|
+
*/
|
|
2172
|
+
putAssistantQueue(assistantId, queueId, body) {
|
|
2173
|
+
// verify the required parameter 'assistantId' is set
|
|
2174
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2175
|
+
throw 'Missing the required parameter "assistantId" when calling putAssistantQueue';
|
|
2176
|
+
}
|
|
2177
|
+
// verify the required parameter 'queueId' is set
|
|
2178
|
+
if (queueId === undefined || queueId === null) {
|
|
2179
|
+
throw 'Missing the required parameter "queueId" when calling putAssistantQueue';
|
|
2180
|
+
}
|
|
2181
|
+
// verify the required parameter 'body' is set
|
|
2182
|
+
if (body === undefined || body === null) {
|
|
2183
|
+
throw 'Missing the required parameter "body" when calling putAssistantQueue';
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
return this.apiClient.callApi(
|
|
2187
|
+
'/api/v2/assistants/{assistantId}/queues/{queueId}',
|
|
2188
|
+
'PUT',
|
|
2189
|
+
{ 'assistantId': assistantId,'queueId': queueId },
|
|
2190
|
+
{ },
|
|
2191
|
+
{ },
|
|
2192
|
+
{ },
|
|
2193
|
+
body,
|
|
2194
|
+
['PureCloud OAuth'],
|
|
2195
|
+
['application/json'],
|
|
2196
|
+
['application/json']
|
|
2197
|
+
);
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2202
|
+
class AgentCopilotApi {
|
|
2203
|
+
/**
|
|
2204
|
+
* AgentCopilot service.
|
|
2205
|
+
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2206
|
+
* @version 204.0.0
|
|
2207
|
+
*/
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* Constructs a new AgentCopilotApi.
|
|
2211
|
+
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
2212
|
+
* @class
|
|
2213
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
2214
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
2215
|
+
*/
|
|
2216
|
+
constructor(apiClient) {
|
|
2217
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* Get copilot configuration of an assistant.
|
|
2223
|
+
*
|
|
2224
|
+
* @param {String} assistantId Assistant ID
|
|
2225
|
+
*/
|
|
2226
|
+
getAssistantCopilot(assistantId) {
|
|
2227
|
+
// verify the required parameter 'assistantId' is set
|
|
2228
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2229
|
+
throw 'Missing the required parameter "assistantId" when calling getAssistantCopilot';
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
return this.apiClient.callApi(
|
|
2233
|
+
'/api/v2/assistants/{assistantId}/copilot',
|
|
2234
|
+
'GET',
|
|
2235
|
+
{ 'assistantId': assistantId },
|
|
2236
|
+
{ },
|
|
2237
|
+
{ },
|
|
2238
|
+
{ },
|
|
2239
|
+
null,
|
|
2240
|
+
['PureCloud OAuth'],
|
|
2241
|
+
['application/json'],
|
|
2242
|
+
['application/json']
|
|
2243
|
+
);
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
/**
|
|
2247
|
+
* Update agent copilot configuration
|
|
2248
|
+
*
|
|
2249
|
+
* @param {String} assistantId Assistant ID
|
|
2250
|
+
* @param {Object} body
|
|
2251
|
+
*/
|
|
2252
|
+
putAssistantCopilot(assistantId, body) {
|
|
2253
|
+
// verify the required parameter 'assistantId' is set
|
|
2254
|
+
if (assistantId === undefined || assistantId === null) {
|
|
2255
|
+
throw 'Missing the required parameter "assistantId" when calling putAssistantCopilot';
|
|
2256
|
+
}
|
|
2257
|
+
// verify the required parameter 'body' is set
|
|
2258
|
+
if (body === undefined || body === null) {
|
|
2259
|
+
throw 'Missing the required parameter "body" when calling putAssistantCopilot';
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
return this.apiClient.callApi(
|
|
2263
|
+
'/api/v2/assistants/{assistantId}/copilot',
|
|
2264
|
+
'PUT',
|
|
2265
|
+
{ 'assistantId': assistantId },
|
|
2266
|
+
{ },
|
|
2267
|
+
{ },
|
|
2268
|
+
{ },
|
|
2269
|
+
body,
|
|
2270
|
+
['PureCloud OAuth'],
|
|
2271
|
+
['application/json'],
|
|
2272
|
+
['application/json']
|
|
2273
|
+
);
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
}
|
|
2277
|
+
|
|
1826
2278
|
class AgentUIApi {
|
|
1827
2279
|
/**
|
|
1828
2280
|
* AgentUI service.
|
|
1829
2281
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
1830
|
-
* @version
|
|
2282
|
+
* @version 204.0.0
|
|
1831
2283
|
*/
|
|
1832
2284
|
|
|
1833
2285
|
/**
|
|
@@ -1958,7 +2410,7 @@ class AlertingApi {
|
|
|
1958
2410
|
/**
|
|
1959
2411
|
* Alerting service.
|
|
1960
2412
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1961
|
-
* @version
|
|
2413
|
+
* @version 204.0.0
|
|
1962
2414
|
*/
|
|
1963
2415
|
|
|
1964
2416
|
/**
|
|
@@ -2619,7 +3071,7 @@ class AnalyticsApi {
|
|
|
2619
3071
|
/**
|
|
2620
3072
|
* Analytics service.
|
|
2621
3073
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
2622
|
-
* @version
|
|
3074
|
+
* @version 204.0.0
|
|
2623
3075
|
*/
|
|
2624
3076
|
|
|
2625
3077
|
/**
|
|
@@ -3560,6 +4012,7 @@ class AnalyticsApi {
|
|
|
3560
4012
|
* @param {Object} dashboardType List dashboard of given type
|
|
3561
4013
|
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
3562
4014
|
* @param {Object} opts Optional parameters
|
|
4015
|
+
* @param {String} opts.name name of the dashboard
|
|
3563
4016
|
* @param {String} opts.sortBy (default to desc)
|
|
3564
4017
|
* @param {Number} opts.pageNumber (default to 1)
|
|
3565
4018
|
* @param {Number} opts.pageSize (default to 9)
|
|
@@ -3580,7 +4033,7 @@ class AnalyticsApi {
|
|
|
3580
4033
|
'/api/v2/analytics/reporting/settings/dashboards/query',
|
|
3581
4034
|
'GET',
|
|
3582
4035
|
{ },
|
|
3583
|
-
{ 'dashboardType': dashboardType,'dashboardAccessFilter': dashboardAccessFilter,'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
4036
|
+
{ 'name': opts['name'],'dashboardType': dashboardType,'dashboardAccessFilter': dashboardAccessFilter,'sortBy': opts['sortBy'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
3584
4037
|
{ },
|
|
3585
4038
|
{ },
|
|
3586
4039
|
null,
|
|
@@ -4085,7 +4538,6 @@ class AnalyticsApi {
|
|
|
4085
4538
|
* Query for agent copilot aggregates
|
|
4086
4539
|
*
|
|
4087
4540
|
* @param {Object} body query
|
|
4088
|
-
* postAnalyticsAgentcopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4089
4541
|
*/
|
|
4090
4542
|
postAnalyticsAgentcopilotsAggregatesQuery(body) {
|
|
4091
4543
|
// verify the required parameter 'body' is set
|
|
@@ -5231,7 +5683,7 @@ class ArchitectApi {
|
|
|
5231
5683
|
/**
|
|
5232
5684
|
* Architect service.
|
|
5233
5685
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
5234
|
-
* @version
|
|
5686
|
+
* @version 204.0.0
|
|
5235
5687
|
*/
|
|
5236
5688
|
|
|
5237
5689
|
/**
|
|
@@ -5638,7 +6090,6 @@ class ArchitectApi {
|
|
|
5638
6090
|
* Deletes a log level for a flow by flow id.
|
|
5639
6091
|
* Deletes the associated log level for a flow by flow id
|
|
5640
6092
|
* @param {String} flowId The flow id to delete the loglevel for
|
|
5641
|
-
* deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5642
6093
|
*/
|
|
5643
6094
|
deleteFlowInstancesSettingsLoglevels(flowId) {
|
|
5644
6095
|
// verify the required parameter 'flowId' is set
|
|
@@ -5747,7 +6198,6 @@ class ArchitectApi {
|
|
|
5747
6198
|
/**
|
|
5748
6199
|
* Resets the org log level to default, base
|
|
5749
6200
|
* Resets the org log level to default, base
|
|
5750
|
-
* deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
5751
6201
|
*/
|
|
5752
6202
|
deleteFlowsInstancesSettingsLoglevelsDefault() {
|
|
5753
6203
|
|
|
@@ -6898,7 +7348,6 @@ class ArchitectApi {
|
|
|
6898
7348
|
* @param {String} flowId The flow id to get the loglevel for
|
|
6899
7349
|
* @param {Object} opts Optional parameters
|
|
6900
7350
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
6901
|
-
* getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6902
7351
|
*/
|
|
6903
7352
|
getFlowInstancesSettingsLoglevels(flowId, opts) {
|
|
6904
7353
|
opts = opts || {};
|
|
@@ -7626,7 +8075,6 @@ class ArchitectApi {
|
|
|
7626
8075
|
/**
|
|
7627
8076
|
* Get the execution history enabled setting.
|
|
7628
8077
|
* Get the execution history enabled setting.
|
|
7629
|
-
* getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7630
8078
|
*/
|
|
7631
8079
|
getFlowsInstancesSettingsExecutiondata() {
|
|
7632
8080
|
|
|
@@ -7651,7 +8099,6 @@ class ArchitectApi {
|
|
|
7651
8099
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7652
8100
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
7653
8101
|
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
|
|
7654
|
-
* getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7655
8102
|
*/
|
|
7656
8103
|
getFlowsInstancesSettingsLoglevels(opts) {
|
|
7657
8104
|
opts = opts || {};
|
|
@@ -7674,7 +8121,6 @@ class ArchitectApi {
|
|
|
7674
8121
|
/**
|
|
7675
8122
|
* Gets the available flow log level characteristics for this organization.
|
|
7676
8123
|
* Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
|
|
7677
|
-
* getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7678
8124
|
*/
|
|
7679
8125
|
getFlowsInstancesSettingsLoglevelsCharacteristics() {
|
|
7680
8126
|
|
|
@@ -7697,7 +8143,6 @@ class ArchitectApi {
|
|
|
7697
8143
|
* Returns the flow default log level which will be used if no specific flow id log level is found.
|
|
7698
8144
|
* @param {Object} opts Optional parameters
|
|
7699
8145
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
7700
|
-
* getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7701
8146
|
*/
|
|
7702
8147
|
getFlowsInstancesSettingsLoglevelsDefault(opts) {
|
|
7703
8148
|
opts = opts || {};
|
|
@@ -7989,7 +8434,6 @@ class ArchitectApi {
|
|
|
7989
8434
|
* Edit the execution history enabled setting.
|
|
7990
8435
|
* Edit the execution history enabled setting.
|
|
7991
8436
|
* @param {Object} body New Execution Data Setting
|
|
7992
|
-
* patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7993
8437
|
*/
|
|
7994
8438
|
patchFlowsInstancesSettingsExecutiondata(body) {
|
|
7995
8439
|
// verify the required parameter 'body' is set
|
|
@@ -8427,7 +8871,6 @@ class ArchitectApi {
|
|
|
8427
8871
|
* @param {Object} body New LogLevel settings
|
|
8428
8872
|
* @param {Object} opts Optional parameters
|
|
8429
8873
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
8430
|
-
* postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
8431
8874
|
*/
|
|
8432
8875
|
postFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
8433
8876
|
opts = opts || {};
|
|
@@ -9187,7 +9630,6 @@ class ArchitectApi {
|
|
|
9187
9630
|
* @param {Object} body New LogLevel settings
|
|
9188
9631
|
* @param {Object} opts Optional parameters
|
|
9189
9632
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
9190
|
-
* putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9191
9633
|
*/
|
|
9192
9634
|
putFlowInstancesSettingsLoglevels(flowId, body, opts) {
|
|
9193
9635
|
opts = opts || {};
|
|
@@ -9289,7 +9731,6 @@ class ArchitectApi {
|
|
|
9289
9731
|
* @param {Object} body New LogLevel settings
|
|
9290
9732
|
* @param {Object} opts Optional parameters
|
|
9291
9733
|
* @param {Array.<String>} opts.expand Expand instructions for the result
|
|
9292
|
-
* putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9293
9734
|
*/
|
|
9294
9735
|
putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
|
|
9295
9736
|
opts = opts || {};
|
|
@@ -9377,7 +9818,7 @@ class AuditApi {
|
|
|
9377
9818
|
/**
|
|
9378
9819
|
* Audit service.
|
|
9379
9820
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9380
|
-
* @version
|
|
9821
|
+
* @version 204.0.0
|
|
9381
9822
|
*/
|
|
9382
9823
|
|
|
9383
9824
|
/**
|
|
@@ -9578,7 +10019,7 @@ class AuthorizationApi {
|
|
|
9578
10019
|
/**
|
|
9579
10020
|
* Authorization service.
|
|
9580
10021
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9581
|
-
* @version
|
|
10022
|
+
* @version 204.0.0
|
|
9582
10023
|
*/
|
|
9583
10024
|
|
|
9584
10025
|
/**
|
|
@@ -10114,6 +10555,26 @@ class AuthorizationApi {
|
|
|
10114
10555
|
);
|
|
10115
10556
|
}
|
|
10116
10557
|
|
|
10558
|
+
/**
|
|
10559
|
+
* Get authorization role settings
|
|
10560
|
+
*
|
|
10561
|
+
*/
|
|
10562
|
+
getAuthorizationRolesSettings() {
|
|
10563
|
+
|
|
10564
|
+
return this.apiClient.callApi(
|
|
10565
|
+
'/api/v2/authorization/roles/settings',
|
|
10566
|
+
'GET',
|
|
10567
|
+
{ },
|
|
10568
|
+
{ },
|
|
10569
|
+
{ },
|
|
10570
|
+
{ },
|
|
10571
|
+
null,
|
|
10572
|
+
['PureCloud OAuth'],
|
|
10573
|
+
['application/json'],
|
|
10574
|
+
['application/json']
|
|
10575
|
+
);
|
|
10576
|
+
}
|
|
10577
|
+
|
|
10117
10578
|
/**
|
|
10118
10579
|
* Get authorization settings
|
|
10119
10580
|
*
|
|
@@ -10780,6 +11241,31 @@ class AuthorizationApi {
|
|
|
10780
11241
|
);
|
|
10781
11242
|
}
|
|
10782
11243
|
|
|
11244
|
+
/**
|
|
11245
|
+
* Change authorization role settings
|
|
11246
|
+
* Change role settings
|
|
11247
|
+
* @param {Object} body Authorization Role Settings
|
|
11248
|
+
*/
|
|
11249
|
+
putAuthorizationRolesSettings(body) {
|
|
11250
|
+
// verify the required parameter 'body' is set
|
|
11251
|
+
if (body === undefined || body === null) {
|
|
11252
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationRolesSettings';
|
|
11253
|
+
}
|
|
11254
|
+
|
|
11255
|
+
return this.apiClient.callApi(
|
|
11256
|
+
'/api/v2/authorization/roles/settings',
|
|
11257
|
+
'PUT',
|
|
11258
|
+
{ },
|
|
11259
|
+
{ },
|
|
11260
|
+
{ },
|
|
11261
|
+
{ },
|
|
11262
|
+
body,
|
|
11263
|
+
['PureCloud OAuth'],
|
|
11264
|
+
['application/json'],
|
|
11265
|
+
['application/json']
|
|
11266
|
+
);
|
|
11267
|
+
}
|
|
11268
|
+
|
|
10783
11269
|
/**
|
|
10784
11270
|
* Sets the user's roles
|
|
10785
11271
|
*
|
|
@@ -10816,7 +11302,7 @@ class BillingApi {
|
|
|
10816
11302
|
/**
|
|
10817
11303
|
* Billing service.
|
|
10818
11304
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
10819
|
-
* @version
|
|
11305
|
+
* @version 204.0.0
|
|
10820
11306
|
*/
|
|
10821
11307
|
|
|
10822
11308
|
/**
|
|
@@ -10896,7 +11382,7 @@ class CarrierServicesApi {
|
|
|
10896
11382
|
/**
|
|
10897
11383
|
* CarrierServices service.
|
|
10898
11384
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10899
|
-
* @version
|
|
11385
|
+
* @version 204.0.0
|
|
10900
11386
|
*/
|
|
10901
11387
|
|
|
10902
11388
|
/**
|
|
@@ -10966,7 +11452,7 @@ class ChatApi {
|
|
|
10966
11452
|
/**
|
|
10967
11453
|
* Chat service.
|
|
10968
11454
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10969
|
-
* @version
|
|
11455
|
+
* @version 204.0.0
|
|
10970
11456
|
*/
|
|
10971
11457
|
|
|
10972
11458
|
/**
|
|
@@ -11902,7 +12388,7 @@ class CoachingApi {
|
|
|
11902
12388
|
/**
|
|
11903
12389
|
* Coaching service.
|
|
11904
12390
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
11905
|
-
* @version
|
|
12391
|
+
* @version 204.0.0
|
|
11906
12392
|
*/
|
|
11907
12393
|
|
|
11908
12394
|
/**
|
|
@@ -12479,7 +12965,7 @@ class ContentManagementApi {
|
|
|
12479
12965
|
/**
|
|
12480
12966
|
* ContentManagement service.
|
|
12481
12967
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
12482
|
-
* @version
|
|
12968
|
+
* @version 204.0.0
|
|
12483
12969
|
*/
|
|
12484
12970
|
|
|
12485
12971
|
/**
|
|
@@ -13561,7 +14047,7 @@ class ConversationsApi {
|
|
|
13561
14047
|
/**
|
|
13562
14048
|
* Conversations service.
|
|
13563
14049
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
13564
|
-
* @version
|
|
14050
|
+
* @version 204.0.0
|
|
13565
14051
|
*/
|
|
13566
14052
|
|
|
13567
14053
|
/**
|
|
@@ -20674,7 +21160,7 @@ class DataExtensionsApi {
|
|
|
20674
21160
|
/**
|
|
20675
21161
|
* DataExtensions service.
|
|
20676
21162
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
20677
|
-
* @version
|
|
21163
|
+
* @version 204.0.0
|
|
20678
21164
|
*/
|
|
20679
21165
|
|
|
20680
21166
|
/**
|
|
@@ -20760,7 +21246,7 @@ class DownloadsApi {
|
|
|
20760
21246
|
/**
|
|
20761
21247
|
* Downloads service.
|
|
20762
21248
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
20763
|
-
* @version
|
|
21249
|
+
* @version 204.0.0
|
|
20764
21250
|
*/
|
|
20765
21251
|
|
|
20766
21252
|
/**
|
|
@@ -20812,7 +21298,7 @@ class EmailsApi {
|
|
|
20812
21298
|
/**
|
|
20813
21299
|
* Emails service.
|
|
20814
21300
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
20815
|
-
* @version
|
|
21301
|
+
* @version 204.0.0
|
|
20816
21302
|
*/
|
|
20817
21303
|
|
|
20818
21304
|
/**
|
|
@@ -20877,7 +21363,7 @@ class EmployeeEngagementApi {
|
|
|
20877
21363
|
/**
|
|
20878
21364
|
* EmployeeEngagement service.
|
|
20879
21365
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
20880
|
-
* @version
|
|
21366
|
+
* @version 204.0.0
|
|
20881
21367
|
*/
|
|
20882
21368
|
|
|
20883
21369
|
/**
|
|
@@ -21028,7 +21514,7 @@ class EventsApi {
|
|
|
21028
21514
|
/**
|
|
21029
21515
|
* Events service.
|
|
21030
21516
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
21031
|
-
* @version
|
|
21517
|
+
* @version 204.0.0
|
|
21032
21518
|
*/
|
|
21033
21519
|
|
|
21034
21520
|
/**
|
|
@@ -21124,7 +21610,7 @@ class ExternalContactsApi {
|
|
|
21124
21610
|
/**
|
|
21125
21611
|
* ExternalContacts service.
|
|
21126
21612
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
21127
|
-
* @version
|
|
21613
|
+
* @version 204.0.0
|
|
21128
21614
|
*/
|
|
21129
21615
|
|
|
21130
21616
|
/**
|
|
@@ -21219,6 +21705,32 @@ class ExternalContactsApi {
|
|
|
21219
21705
|
);
|
|
21220
21706
|
}
|
|
21221
21707
|
|
|
21708
|
+
/**
|
|
21709
|
+
* Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.
|
|
21710
|
+
*
|
|
21711
|
+
* @param {String} externalSourceId External Source ID
|
|
21712
|
+
* deleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21713
|
+
*/
|
|
21714
|
+
deleteExternalcontactsExternalsource(externalSourceId) {
|
|
21715
|
+
// verify the required parameter 'externalSourceId' is set
|
|
21716
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
21717
|
+
throw 'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';
|
|
21718
|
+
}
|
|
21719
|
+
|
|
21720
|
+
return this.apiClient.callApi(
|
|
21721
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
21722
|
+
'DELETE',
|
|
21723
|
+
{ 'externalSourceId': externalSourceId },
|
|
21724
|
+
{ },
|
|
21725
|
+
{ },
|
|
21726
|
+
{ },
|
|
21727
|
+
null,
|
|
21728
|
+
['PureCloud OAuth'],
|
|
21729
|
+
['application/json'],
|
|
21730
|
+
['application/json']
|
|
21731
|
+
);
|
|
21732
|
+
}
|
|
21733
|
+
|
|
21222
21734
|
/**
|
|
21223
21735
|
* Delete an external organization
|
|
21224
21736
|
*
|
|
@@ -21329,7 +21841,7 @@ class ExternalContactsApi {
|
|
|
21329
21841
|
*
|
|
21330
21842
|
* @param {String} contactId ExternalContact ID
|
|
21331
21843
|
* @param {Object} opts Optional parameters
|
|
21332
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
21844
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
21333
21845
|
*/
|
|
21334
21846
|
getExternalcontactsContact(contactId, opts) {
|
|
21335
21847
|
opts = opts || {};
|
|
@@ -21632,6 +22144,60 @@ class ExternalContactsApi {
|
|
|
21632
22144
|
);
|
|
21633
22145
|
}
|
|
21634
22146
|
|
|
22147
|
+
/**
|
|
22148
|
+
* Fetch an External Source
|
|
22149
|
+
*
|
|
22150
|
+
* @param {String} externalSourceId External Source ID
|
|
22151
|
+
* getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22152
|
+
*/
|
|
22153
|
+
getExternalcontactsExternalsource(externalSourceId) {
|
|
22154
|
+
// verify the required parameter 'externalSourceId' is set
|
|
22155
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
22156
|
+
throw 'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';
|
|
22157
|
+
}
|
|
22158
|
+
|
|
22159
|
+
return this.apiClient.callApi(
|
|
22160
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
22161
|
+
'GET',
|
|
22162
|
+
{ 'externalSourceId': externalSourceId },
|
|
22163
|
+
{ },
|
|
22164
|
+
{ },
|
|
22165
|
+
{ },
|
|
22166
|
+
null,
|
|
22167
|
+
['PureCloud OAuth'],
|
|
22168
|
+
['application/json'],
|
|
22169
|
+
['application/json']
|
|
22170
|
+
);
|
|
22171
|
+
}
|
|
22172
|
+
|
|
22173
|
+
/**
|
|
22174
|
+
* Fetch a list of External Sources
|
|
22175
|
+
*
|
|
22176
|
+
* @param {Object} opts Optional parameters
|
|
22177
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
22178
|
+
* @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
|
|
22179
|
+
* @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
|
|
22180
|
+
* @param {Boolean} opts.active Filter by active status of external source
|
|
22181
|
+
* getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
22182
|
+
*/
|
|
22183
|
+
getExternalcontactsExternalsources(opts) {
|
|
22184
|
+
opts = opts || {};
|
|
22185
|
+
|
|
22186
|
+
|
|
22187
|
+
return this.apiClient.callApi(
|
|
22188
|
+
'/api/v2/externalcontacts/externalsources',
|
|
22189
|
+
'GET',
|
|
22190
|
+
{ },
|
|
22191
|
+
{ 'cursor': opts['cursor'],'limit': opts['limit'],'name': opts['name'],'active': opts['active'] },
|
|
22192
|
+
{ },
|
|
22193
|
+
{ },
|
|
22194
|
+
null,
|
|
22195
|
+
['PureCloud OAuth'],
|
|
22196
|
+
['application/json'],
|
|
22197
|
+
['application/json']
|
|
22198
|
+
);
|
|
22199
|
+
}
|
|
22200
|
+
|
|
21635
22201
|
/**
|
|
21636
22202
|
* Fetch an external organization
|
|
21637
22203
|
*
|
|
@@ -22641,6 +23207,32 @@ class ExternalContactsApi {
|
|
|
22641
23207
|
);
|
|
22642
23208
|
}
|
|
22643
23209
|
|
|
23210
|
+
/**
|
|
23211
|
+
* Create an External Source
|
|
23212
|
+
*
|
|
23213
|
+
* @param {Object} body External Source
|
|
23214
|
+
* postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23215
|
+
*/
|
|
23216
|
+
postExternalcontactsExternalsources(body) {
|
|
23217
|
+
// verify the required parameter 'body' is set
|
|
23218
|
+
if (body === undefined || body === null) {
|
|
23219
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsExternalsources';
|
|
23220
|
+
}
|
|
23221
|
+
|
|
23222
|
+
return this.apiClient.callApi(
|
|
23223
|
+
'/api/v2/externalcontacts/externalsources',
|
|
23224
|
+
'POST',
|
|
23225
|
+
{ },
|
|
23226
|
+
{ },
|
|
23227
|
+
{ },
|
|
23228
|
+
{ },
|
|
23229
|
+
body,
|
|
23230
|
+
['PureCloud OAuth'],
|
|
23231
|
+
['application/json'],
|
|
23232
|
+
['application/json']
|
|
23233
|
+
);
|
|
23234
|
+
}
|
|
23235
|
+
|
|
22644
23236
|
/**
|
|
22645
23237
|
* Fetch a contact using an identifier type and value.
|
|
22646
23238
|
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
@@ -22925,6 +23517,37 @@ class ExternalContactsApi {
|
|
|
22925
23517
|
);
|
|
22926
23518
|
}
|
|
22927
23519
|
|
|
23520
|
+
/**
|
|
23521
|
+
* Update an External Source
|
|
23522
|
+
*
|
|
23523
|
+
* @param {String} externalSourceId External Source ID
|
|
23524
|
+
* @param {Object} body External Source
|
|
23525
|
+
* putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23526
|
+
*/
|
|
23527
|
+
putExternalcontactsExternalsource(externalSourceId, body) {
|
|
23528
|
+
// verify the required parameter 'externalSourceId' is set
|
|
23529
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
23530
|
+
throw 'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';
|
|
23531
|
+
}
|
|
23532
|
+
// verify the required parameter 'body' is set
|
|
23533
|
+
if (body === undefined || body === null) {
|
|
23534
|
+
throw 'Missing the required parameter "body" when calling putExternalcontactsExternalsource';
|
|
23535
|
+
}
|
|
23536
|
+
|
|
23537
|
+
return this.apiClient.callApi(
|
|
23538
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
23539
|
+
'PUT',
|
|
23540
|
+
{ 'externalSourceId': externalSourceId },
|
|
23541
|
+
{ },
|
|
23542
|
+
{ },
|
|
23543
|
+
{ },
|
|
23544
|
+
body,
|
|
23545
|
+
['PureCloud OAuth'],
|
|
23546
|
+
['application/json'],
|
|
23547
|
+
['application/json']
|
|
23548
|
+
);
|
|
23549
|
+
}
|
|
23550
|
+
|
|
22928
23551
|
/**
|
|
22929
23552
|
* Update an external organization
|
|
22930
23553
|
*
|
|
@@ -23086,7 +23709,7 @@ class FaxApi {
|
|
|
23086
23709
|
/**
|
|
23087
23710
|
* Fax service.
|
|
23088
23711
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
23089
|
-
* @version
|
|
23712
|
+
* @version 204.0.0
|
|
23090
23713
|
*/
|
|
23091
23714
|
|
|
23092
23715
|
/**
|
|
@@ -23301,7 +23924,7 @@ class FlowsApi {
|
|
|
23301
23924
|
/**
|
|
23302
23925
|
* Flows service.
|
|
23303
23926
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
23304
|
-
* @version
|
|
23927
|
+
* @version 204.0.0
|
|
23305
23928
|
*/
|
|
23306
23929
|
|
|
23307
23930
|
/**
|
|
@@ -23484,7 +24107,7 @@ class GamificationApi {
|
|
|
23484
24107
|
/**
|
|
23485
24108
|
* Gamification service.
|
|
23486
24109
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
23487
|
-
* @version
|
|
24110
|
+
* @version 204.0.0
|
|
23488
24111
|
*/
|
|
23489
24112
|
|
|
23490
24113
|
/**
|
|
@@ -25570,7 +26193,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
25570
26193
|
/**
|
|
25571
26194
|
* GeneralDataProtectionRegulation service.
|
|
25572
26195
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
25573
|
-
* @version
|
|
26196
|
+
* @version 204.0.0
|
|
25574
26197
|
*/
|
|
25575
26198
|
|
|
25576
26199
|
/**
|
|
@@ -25700,7 +26323,7 @@ class GeolocationApi {
|
|
|
25700
26323
|
/**
|
|
25701
26324
|
* Geolocation service.
|
|
25702
26325
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
25703
|
-
* @version
|
|
26326
|
+
* @version 204.0.0
|
|
25704
26327
|
*/
|
|
25705
26328
|
|
|
25706
26329
|
/**
|
|
@@ -25831,7 +26454,7 @@ class GreetingsApi {
|
|
|
25831
26454
|
/**
|
|
25832
26455
|
* Greetings service.
|
|
25833
26456
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
25834
|
-
* @version
|
|
26457
|
+
* @version 204.0.0
|
|
25835
26458
|
*/
|
|
25836
26459
|
|
|
25837
26460
|
/**
|
|
@@ -26286,7 +26909,7 @@ class GroupsApi {
|
|
|
26286
26909
|
/**
|
|
26287
26910
|
* Groups service.
|
|
26288
26911
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
26289
|
-
* @version
|
|
26912
|
+
* @version 204.0.0
|
|
26290
26913
|
*/
|
|
26291
26914
|
|
|
26292
26915
|
/**
|
|
@@ -26805,7 +27428,7 @@ class IdentityProviderApi {
|
|
|
26805
27428
|
/**
|
|
26806
27429
|
* IdentityProvider service.
|
|
26807
27430
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
26808
|
-
* @version
|
|
27431
|
+
* @version 204.0.0
|
|
26809
27432
|
*/
|
|
26810
27433
|
|
|
26811
27434
|
/**
|
|
@@ -27666,7 +28289,7 @@ class InfrastructureAsCodeApi {
|
|
|
27666
28289
|
/**
|
|
27667
28290
|
* InfrastructureAsCode service.
|
|
27668
28291
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
27669
|
-
* @version
|
|
28292
|
+
* @version 204.0.0
|
|
27670
28293
|
*/
|
|
27671
28294
|
|
|
27672
28295
|
/**
|
|
@@ -27833,7 +28456,7 @@ class IntegrationsApi {
|
|
|
27833
28456
|
/**
|
|
27834
28457
|
* Integrations service.
|
|
27835
28458
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
27836
|
-
* @version
|
|
28459
|
+
* @version 204.0.0
|
|
27837
28460
|
*/
|
|
27838
28461
|
|
|
27839
28462
|
/**
|
|
@@ -30205,7 +30828,7 @@ class JourneyApi {
|
|
|
30205
30828
|
/**
|
|
30206
30829
|
* Journey service.
|
|
30207
30830
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30208
|
-
* @version
|
|
30831
|
+
* @version 204.0.0
|
|
30209
30832
|
*/
|
|
30210
30833
|
|
|
30211
30834
|
/**
|
|
@@ -30353,7 +30976,6 @@ class JourneyApi {
|
|
|
30353
30976
|
* Delete a Journey View by ID
|
|
30354
30977
|
* deletes all versions
|
|
30355
30978
|
* @param {String} viewId viewId
|
|
30356
|
-
* deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
30357
30979
|
*/
|
|
30358
30980
|
deleteJourneyView(viewId) {
|
|
30359
30981
|
// verify the required parameter 'viewId' is set
|
|
@@ -31002,7 +31624,6 @@ class JourneyApi {
|
|
|
31002
31624
|
* Get a Journey View by ID
|
|
31003
31625
|
* returns the latest version
|
|
31004
31626
|
* @param {String} viewId viewId
|
|
31005
|
-
* getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31006
31627
|
*/
|
|
31007
31628
|
getJourneyView(viewId) {
|
|
31008
31629
|
// verify the required parameter 'viewId' is set
|
|
@@ -31029,7 +31650,6 @@ class JourneyApi {
|
|
|
31029
31650
|
*
|
|
31030
31651
|
* @param {String} viewId viewId
|
|
31031
31652
|
* @param {String} versionId versionId
|
|
31032
|
-
* getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31033
31653
|
*/
|
|
31034
31654
|
getJourneyViewVersion(viewId, versionId) {
|
|
31035
31655
|
// verify the required parameter 'viewId' is set
|
|
@@ -31061,7 +31681,6 @@ class JourneyApi {
|
|
|
31061
31681
|
* @param {String} viewId Journey View Id
|
|
31062
31682
|
* @param {String} journeyVersionId Journey View Version
|
|
31063
31683
|
* @param {String} jobId JobId
|
|
31064
|
-
* getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31065
31684
|
*/
|
|
31066
31685
|
getJourneyViewVersionJob(viewId, journeyVersionId, jobId) {
|
|
31067
31686
|
// verify the required parameter 'viewId' is set
|
|
@@ -31097,7 +31716,6 @@ class JourneyApi {
|
|
|
31097
31716
|
* @param {String} viewId JourneyViewResult id
|
|
31098
31717
|
* @param {String} journeyViewVersion Journey View Version
|
|
31099
31718
|
* @param {String} jobId Id of the executing job
|
|
31100
|
-
* getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31101
31719
|
*/
|
|
31102
31720
|
getJourneyViewVersionJobResults(viewId, journeyViewVersion, jobId) {
|
|
31103
31721
|
// verify the required parameter 'viewId' is set
|
|
@@ -31132,7 +31750,6 @@ class JourneyApi {
|
|
|
31132
31750
|
* used for long descriptions
|
|
31133
31751
|
* @param {String} viewId Journey View Id
|
|
31134
31752
|
* @param {String} journeyVersionId Journey View Version
|
|
31135
|
-
* getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31136
31753
|
*/
|
|
31137
31754
|
getJourneyViewVersionJobsLatest(viewId, journeyVersionId) {
|
|
31138
31755
|
// verify the required parameter 'viewId' is set
|
|
@@ -31166,7 +31783,7 @@ class JourneyApi {
|
|
|
31166
31783
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
31167
31784
|
* @param {String} opts.nameOrCreatedBy Journey View Name or Created By
|
|
31168
31785
|
* @param {Object} opts.expand Parameter to request additional data to return in Journey payload
|
|
31169
|
-
*
|
|
31786
|
+
* @param {String} opts.id Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items.
|
|
31170
31787
|
*/
|
|
31171
31788
|
getJourneyViews(opts) {
|
|
31172
31789
|
opts = opts || {};
|
|
@@ -31176,7 +31793,7 @@ class JourneyApi {
|
|
|
31176
31793
|
'/api/v2/journey/views',
|
|
31177
31794
|
'GET',
|
|
31178
31795
|
{ },
|
|
31179
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'nameOrCreatedBy': opts['nameOrCreatedBy'],'expand': opts['expand'] },
|
|
31796
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'nameOrCreatedBy': opts['nameOrCreatedBy'],'expand': opts['expand'],'id': opts['id'] },
|
|
31180
31797
|
{ },
|
|
31181
31798
|
{ },
|
|
31182
31799
|
null,
|
|
@@ -31241,7 +31858,6 @@ class JourneyApi {
|
|
|
31241
31858
|
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
31242
31859
|
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
31243
31860
|
* @param {String} opts.statuses Job statuses to filter for
|
|
31244
|
-
* getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31245
31861
|
*/
|
|
31246
31862
|
getJourneyViewsJobs(opts) {
|
|
31247
31863
|
opts = opts || {};
|
|
@@ -31744,7 +32360,6 @@ class JourneyApi {
|
|
|
31744
32360
|
* used for long descriptions
|
|
31745
32361
|
* @param {String} viewId Journey View Id
|
|
31746
32362
|
* @param {String} journeyVersionId Journey View Version
|
|
31747
|
-
* postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31748
32363
|
*/
|
|
31749
32364
|
postJourneyViewVersionJobs(viewId, journeyVersionId) {
|
|
31750
32365
|
// verify the required parameter 'viewId' is set
|
|
@@ -31775,7 +32390,6 @@ class JourneyApi {
|
|
|
31775
32390
|
* creates a new version
|
|
31776
32391
|
* @param {String} viewId viewId
|
|
31777
32392
|
* @param {Object} body JourneyView
|
|
31778
|
-
* postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31779
32393
|
*/
|
|
31780
32394
|
postJourneyViewVersions(viewId, body) {
|
|
31781
32395
|
// verify the required parameter 'viewId' is set
|
|
@@ -31805,7 +32419,6 @@ class JourneyApi {
|
|
|
31805
32419
|
* Create a new Journey View
|
|
31806
32420
|
*
|
|
31807
32421
|
* @param {Object} body JourneyView
|
|
31808
|
-
* postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
31809
32422
|
*/
|
|
31810
32423
|
postJourneyViews(body) {
|
|
31811
32424
|
// verify the required parameter 'body' is set
|
|
@@ -31858,7 +32471,7 @@ class KnowledgeApi {
|
|
|
31858
32471
|
/**
|
|
31859
32472
|
* Knowledge service.
|
|
31860
32473
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31861
|
-
* @version
|
|
32474
|
+
* @version 204.0.0
|
|
31862
32475
|
*/
|
|
31863
32476
|
|
|
31864
32477
|
/**
|
|
@@ -33604,6 +34217,45 @@ class KnowledgeApi {
|
|
|
33604
34217
|
);
|
|
33605
34218
|
}
|
|
33606
34219
|
|
|
34220
|
+
/**
|
|
34221
|
+
* Update feedback on a document
|
|
34222
|
+
*
|
|
34223
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
34224
|
+
* @param {String} documentId Document ID.
|
|
34225
|
+
* @param {String} feedbackId Feedback ID.
|
|
34226
|
+
* @param {Object} opts Optional parameters
|
|
34227
|
+
* @param {Object} opts.body
|
|
34228
|
+
*/
|
|
34229
|
+
patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId(knowledgeBaseId, documentId, feedbackId, opts) {
|
|
34230
|
+
opts = opts || {};
|
|
34231
|
+
|
|
34232
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
34233
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
34234
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';
|
|
34235
|
+
}
|
|
34236
|
+
// verify the required parameter 'documentId' is set
|
|
34237
|
+
if (documentId === undefined || documentId === null) {
|
|
34238
|
+
throw 'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';
|
|
34239
|
+
}
|
|
34240
|
+
// verify the required parameter 'feedbackId' is set
|
|
34241
|
+
if (feedbackId === undefined || feedbackId === null) {
|
|
34242
|
+
throw 'Missing the required parameter "feedbackId" when calling patchKnowledgeKnowledgebaseDocumentFeedbackFeedbackId';
|
|
34243
|
+
}
|
|
34244
|
+
|
|
34245
|
+
return this.apiClient.callApi(
|
|
34246
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/feedback/{feedbackId}',
|
|
34247
|
+
'PATCH',
|
|
34248
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId,'feedbackId': feedbackId },
|
|
34249
|
+
{ },
|
|
34250
|
+
{ },
|
|
34251
|
+
{ },
|
|
34252
|
+
opts['body'],
|
|
34253
|
+
['PureCloud OAuth'],
|
|
34254
|
+
['application/json'],
|
|
34255
|
+
['application/json']
|
|
34256
|
+
);
|
|
34257
|
+
}
|
|
34258
|
+
|
|
33607
34259
|
/**
|
|
33608
34260
|
* Update a variation for a document.
|
|
33609
34261
|
*
|
|
@@ -34110,6 +34762,36 @@ class KnowledgeApi {
|
|
|
34110
34762
|
);
|
|
34111
34763
|
}
|
|
34112
34764
|
|
|
34765
|
+
/**
|
|
34766
|
+
* Answer documents.
|
|
34767
|
+
*
|
|
34768
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
34769
|
+
* @param {Object} body
|
|
34770
|
+
*/
|
|
34771
|
+
postKnowledgeGuestSessionDocumentsAnswers(sessionId, body) {
|
|
34772
|
+
// verify the required parameter 'sessionId' is set
|
|
34773
|
+
if (sessionId === undefined || sessionId === null) {
|
|
34774
|
+
throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsAnswers';
|
|
34775
|
+
}
|
|
34776
|
+
// verify the required parameter 'body' is set
|
|
34777
|
+
if (body === undefined || body === null) {
|
|
34778
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeGuestSessionDocumentsAnswers';
|
|
34779
|
+
}
|
|
34780
|
+
|
|
34781
|
+
return this.apiClient.callApi(
|
|
34782
|
+
'/api/v2/knowledge/guest/sessions/{sessionId}/documents/answers',
|
|
34783
|
+
'POST',
|
|
34784
|
+
{ 'sessionId': sessionId },
|
|
34785
|
+
{ },
|
|
34786
|
+
{ },
|
|
34787
|
+
{ },
|
|
34788
|
+
body,
|
|
34789
|
+
['PureCloud OAuth'],
|
|
34790
|
+
['application/json'],
|
|
34791
|
+
['application/json']
|
|
34792
|
+
);
|
|
34793
|
+
}
|
|
34794
|
+
|
|
34113
34795
|
/**
|
|
34114
34796
|
* Indicate that documents were presented to the user.
|
|
34115
34797
|
*
|
|
@@ -34455,6 +35137,36 @@ class KnowledgeApi {
|
|
|
34455
35137
|
);
|
|
34456
35138
|
}
|
|
34457
35139
|
|
|
35140
|
+
/**
|
|
35141
|
+
* Answer documents.
|
|
35142
|
+
*
|
|
35143
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
35144
|
+
* @param {Object} body
|
|
35145
|
+
*/
|
|
35146
|
+
postKnowledgeKnowledgebaseDocumentsAnswers(knowledgeBaseId, body) {
|
|
35147
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
35148
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
35149
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsAnswers';
|
|
35150
|
+
}
|
|
35151
|
+
// verify the required parameter 'body' is set
|
|
35152
|
+
if (body === undefined || body === null) {
|
|
35153
|
+
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsAnswers';
|
|
35154
|
+
}
|
|
35155
|
+
|
|
35156
|
+
return this.apiClient.callApi(
|
|
35157
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/answers',
|
|
35158
|
+
'POST',
|
|
35159
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
35160
|
+
{ },
|
|
35161
|
+
{ },
|
|
35162
|
+
{ },
|
|
35163
|
+
body,
|
|
35164
|
+
['PureCloud OAuth'],
|
|
35165
|
+
['application/json'],
|
|
35166
|
+
['application/json']
|
|
35167
|
+
);
|
|
35168
|
+
}
|
|
35169
|
+
|
|
34458
35170
|
/**
|
|
34459
35171
|
* Bulk remove documents.
|
|
34460
35172
|
*
|
|
@@ -34546,6 +35258,36 @@ class KnowledgeApi {
|
|
|
34546
35258
|
);
|
|
34547
35259
|
}
|
|
34548
35260
|
|
|
35261
|
+
/**
|
|
35262
|
+
* Query for knowledge documents.
|
|
35263
|
+
*
|
|
35264
|
+
* @param {String} knowledgeBaseId Knowledge Base ID
|
|
35265
|
+
* @param {Object} opts Optional parameters
|
|
35266
|
+
* @param {Array.<String>} opts.expand Fields, if any, to expand for each document in the search result matching the query.
|
|
35267
|
+
* @param {Object} opts.body
|
|
35268
|
+
*/
|
|
35269
|
+
postKnowledgeKnowledgebaseDocumentsQuery(knowledgeBaseId, opts) {
|
|
35270
|
+
opts = opts || {};
|
|
35271
|
+
|
|
35272
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
35273
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
35274
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsQuery';
|
|
35275
|
+
}
|
|
35276
|
+
|
|
35277
|
+
return this.apiClient.callApi(
|
|
35278
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query',
|
|
35279
|
+
'POST',
|
|
35280
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
35281
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
35282
|
+
{ },
|
|
35283
|
+
{ },
|
|
35284
|
+
opts['body'],
|
|
35285
|
+
['PureCloud OAuth'],
|
|
35286
|
+
['application/json'],
|
|
35287
|
+
['application/json']
|
|
35288
|
+
);
|
|
35289
|
+
}
|
|
35290
|
+
|
|
34549
35291
|
/**
|
|
34550
35292
|
* Search the documents in a knowledge base.
|
|
34551
35293
|
*
|
|
@@ -35102,7 +35844,7 @@ class LanguageUnderstandingApi {
|
|
|
35102
35844
|
/**
|
|
35103
35845
|
* LanguageUnderstanding service.
|
|
35104
35846
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35105
|
-
* @version
|
|
35847
|
+
* @version 204.0.0
|
|
35106
35848
|
*/
|
|
35107
35849
|
|
|
35108
35850
|
/**
|
|
@@ -36136,7 +36878,7 @@ class LanguagesApi {
|
|
|
36136
36878
|
/**
|
|
36137
36879
|
* Languages service.
|
|
36138
36880
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36139
|
-
* @version
|
|
36881
|
+
* @version 204.0.0
|
|
36140
36882
|
*/
|
|
36141
36883
|
|
|
36142
36884
|
/**
|
|
@@ -36358,7 +37100,7 @@ class LearningApi {
|
|
|
36358
37100
|
/**
|
|
36359
37101
|
* Learning service.
|
|
36360
37102
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
36361
|
-
* @version
|
|
37103
|
+
* @version 204.0.0
|
|
36362
37104
|
*/
|
|
36363
37105
|
|
|
36364
37106
|
/**
|
|
@@ -37387,7 +38129,7 @@ class LicenseApi {
|
|
|
37387
38129
|
/**
|
|
37388
38130
|
* License service.
|
|
37389
38131
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
37390
|
-
* @version
|
|
38132
|
+
* @version 204.0.0
|
|
37391
38133
|
*/
|
|
37392
38134
|
|
|
37393
38135
|
/**
|
|
@@ -37625,7 +38367,7 @@ class LocationsApi {
|
|
|
37625
38367
|
/**
|
|
37626
38368
|
* Locations service.
|
|
37627
38369
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
37628
|
-
* @version
|
|
38370
|
+
* @version 204.0.0
|
|
37629
38371
|
*/
|
|
37630
38372
|
|
|
37631
38373
|
/**
|
|
@@ -37861,7 +38603,7 @@ class LogCaptureApi {
|
|
|
37861
38603
|
/**
|
|
37862
38604
|
* LogCapture service.
|
|
37863
38605
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
37864
|
-
* @version
|
|
38606
|
+
* @version 204.0.0
|
|
37865
38607
|
*/
|
|
37866
38608
|
|
|
37867
38609
|
/**
|
|
@@ -38061,7 +38803,7 @@ class MessagingApi {
|
|
|
38061
38803
|
/**
|
|
38062
38804
|
* Messaging service.
|
|
38063
38805
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
38064
|
-
* @version
|
|
38806
|
+
* @version 204.0.0
|
|
38065
38807
|
*/
|
|
38066
38808
|
|
|
38067
38809
|
/**
|
|
@@ -38420,7 +39162,7 @@ class MobileDevicesApi {
|
|
|
38420
39162
|
/**
|
|
38421
39163
|
* MobileDevices service.
|
|
38422
39164
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
38423
|
-
* @version
|
|
39165
|
+
* @version 204.0.0
|
|
38424
39166
|
*/
|
|
38425
39167
|
|
|
38426
39168
|
/**
|
|
@@ -38571,7 +39313,7 @@ class NotificationsApi {
|
|
|
38571
39313
|
/**
|
|
38572
39314
|
* Notifications service.
|
|
38573
39315
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
38574
|
-
* @version
|
|
39316
|
+
* @version 204.0.0
|
|
38575
39317
|
*/
|
|
38576
39318
|
|
|
38577
39319
|
/**
|
|
@@ -38804,7 +39546,7 @@ class OAuthApi {
|
|
|
38804
39546
|
/**
|
|
38805
39547
|
* OAuth service.
|
|
38806
39548
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
38807
|
-
* @version
|
|
39549
|
+
* @version 204.0.0
|
|
38808
39550
|
*/
|
|
38809
39551
|
|
|
38810
39552
|
/**
|
|
@@ -39170,7 +39912,7 @@ class ObjectsApi {
|
|
|
39170
39912
|
/**
|
|
39171
39913
|
* Objects service.
|
|
39172
39914
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
39173
|
-
* @version
|
|
39915
|
+
* @version 204.0.0
|
|
39174
39916
|
*/
|
|
39175
39917
|
|
|
39176
39918
|
/**
|
|
@@ -39440,7 +40182,7 @@ class OperationalEventsApi {
|
|
|
39440
40182
|
/**
|
|
39441
40183
|
* OperationalEvents service.
|
|
39442
40184
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
39443
|
-
* @version
|
|
40185
|
+
* @version 204.0.0
|
|
39444
40186
|
*/
|
|
39445
40187
|
|
|
39446
40188
|
/**
|
|
@@ -39506,7 +40248,7 @@ class OrganizationApi {
|
|
|
39506
40248
|
/**
|
|
39507
40249
|
* Organization service.
|
|
39508
40250
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
39509
|
-
* @version
|
|
40251
|
+
* @version 204.0.0
|
|
39510
40252
|
*/
|
|
39511
40253
|
|
|
39512
40254
|
/**
|
|
@@ -40048,7 +40790,7 @@ class OrganizationAuthorizationApi {
|
|
|
40048
40790
|
/**
|
|
40049
40791
|
* OrganizationAuthorization service.
|
|
40050
40792
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
40051
|
-
* @version
|
|
40793
|
+
* @version 204.0.0
|
|
40052
40794
|
*/
|
|
40053
40795
|
|
|
40054
40796
|
/**
|
|
@@ -41395,7 +42137,7 @@ class OutboundApi {
|
|
|
41395
42137
|
/**
|
|
41396
42138
|
* Outbound service.
|
|
41397
42139
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
41398
|
-
* @version
|
|
42140
|
+
* @version 204.0.0
|
|
41399
42141
|
*/
|
|
41400
42142
|
|
|
41401
42143
|
/**
|
|
@@ -45812,7 +46554,7 @@ class PresenceApi {
|
|
|
45812
46554
|
/**
|
|
45813
46555
|
* Presence service.
|
|
45814
46556
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
45815
|
-
* @version
|
|
46557
|
+
* @version 204.0.0
|
|
45816
46558
|
*/
|
|
45817
46559
|
|
|
45818
46560
|
/**
|
|
@@ -46556,7 +47298,7 @@ class ProcessAutomationApi {
|
|
|
46556
47298
|
/**
|
|
46557
47299
|
* ProcessAutomation service.
|
|
46558
47300
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
46559
|
-
* @version
|
|
47301
|
+
* @version 204.0.0
|
|
46560
47302
|
*/
|
|
46561
47303
|
|
|
46562
47304
|
/**
|
|
@@ -46795,7 +47537,7 @@ class QualityApi {
|
|
|
46795
47537
|
/**
|
|
46796
47538
|
* Quality service.
|
|
46797
47539
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
46798
|
-
* @version
|
|
47540
|
+
* @version 204.0.0
|
|
46799
47541
|
*/
|
|
46800
47542
|
|
|
46801
47543
|
/**
|
|
@@ -48581,7 +49323,7 @@ class RecordingApi {
|
|
|
48581
49323
|
/**
|
|
48582
49324
|
* Recording service.
|
|
48583
49325
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
48584
|
-
* @version
|
|
49326
|
+
* @version 204.0.0
|
|
48585
49327
|
*/
|
|
48586
49328
|
|
|
48587
49329
|
/**
|
|
@@ -50240,7 +50982,7 @@ class ResponseManagementApi {
|
|
|
50240
50982
|
/**
|
|
50241
50983
|
* ResponseManagement service.
|
|
50242
50984
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
50243
|
-
* @version
|
|
50985
|
+
* @version 204.0.0
|
|
50244
50986
|
*/
|
|
50245
50987
|
|
|
50246
50988
|
/**
|
|
@@ -50750,7 +51492,7 @@ class RoutingApi {
|
|
|
50750
51492
|
/**
|
|
50751
51493
|
* Routing service.
|
|
50752
51494
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
50753
|
-
* @version
|
|
51495
|
+
* @version 204.0.0
|
|
50754
51496
|
*/
|
|
50755
51497
|
|
|
50756
51498
|
/**
|
|
@@ -52031,6 +52773,35 @@ class RoutingApi {
|
|
|
52031
52773
|
);
|
|
52032
52774
|
}
|
|
52033
52775
|
|
|
52776
|
+
/**
|
|
52777
|
+
* Get an assistant associated with a queue.
|
|
52778
|
+
*
|
|
52779
|
+
* @param {String} queueId Queue ID
|
|
52780
|
+
* @param {Object} opts Optional parameters
|
|
52781
|
+
* @param {Object} opts.expand Which fields, if any, to expand.
|
|
52782
|
+
*/
|
|
52783
|
+
getRoutingQueueAssistant(queueId, opts) {
|
|
52784
|
+
opts = opts || {};
|
|
52785
|
+
|
|
52786
|
+
// verify the required parameter 'queueId' is set
|
|
52787
|
+
if (queueId === undefined || queueId === null) {
|
|
52788
|
+
throw 'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';
|
|
52789
|
+
}
|
|
52790
|
+
|
|
52791
|
+
return this.apiClient.callApi(
|
|
52792
|
+
'/api/v2/routing/queues/{queueId}/assistant',
|
|
52793
|
+
'GET',
|
|
52794
|
+
{ 'queueId': queueId },
|
|
52795
|
+
{ 'expand': opts['expand'] },
|
|
52796
|
+
{ },
|
|
52797
|
+
{ },
|
|
52798
|
+
null,
|
|
52799
|
+
['PureCloud OAuth'],
|
|
52800
|
+
['application/json'],
|
|
52801
|
+
['application/json']
|
|
52802
|
+
);
|
|
52803
|
+
}
|
|
52804
|
+
|
|
52034
52805
|
/**
|
|
52035
52806
|
* Get a Comparison Period.
|
|
52036
52807
|
*
|
|
@@ -54869,7 +55640,7 @@ class SCIMApi {
|
|
|
54869
55640
|
/**
|
|
54870
55641
|
* SCIM service.
|
|
54871
55642
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
54872
|
-
* @version
|
|
55643
|
+
* @version 204.0.0
|
|
54873
55644
|
*/
|
|
54874
55645
|
|
|
54875
55646
|
/**
|
|
@@ -55746,7 +56517,7 @@ class ScreenRecordingApi {
|
|
|
55746
56517
|
/**
|
|
55747
56518
|
* ScreenRecording service.
|
|
55748
56519
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
55749
|
-
* @version
|
|
56520
|
+
* @version 204.0.0
|
|
55750
56521
|
*/
|
|
55751
56522
|
|
|
55752
56523
|
/**
|
|
@@ -55791,7 +56562,7 @@ class ScriptsApi {
|
|
|
55791
56562
|
/**
|
|
55792
56563
|
* Scripts service.
|
|
55793
56564
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
55794
|
-
* @version
|
|
56565
|
+
* @version 204.0.0
|
|
55795
56566
|
*/
|
|
55796
56567
|
|
|
55797
56568
|
/**
|
|
@@ -56235,7 +57006,7 @@ class SearchApi {
|
|
|
56235
57006
|
/**
|
|
56236
57007
|
* Search service.
|
|
56237
57008
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
56238
|
-
* @version
|
|
57009
|
+
* @version 204.0.0
|
|
56239
57010
|
*/
|
|
56240
57011
|
|
|
56241
57012
|
/**
|
|
@@ -56924,7 +57695,7 @@ class SettingsApi {
|
|
|
56924
57695
|
/**
|
|
56925
57696
|
* Settings service.
|
|
56926
57697
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
56927
|
-
* @version
|
|
57698
|
+
* @version 204.0.0
|
|
56928
57699
|
*/
|
|
56929
57700
|
|
|
56930
57701
|
/**
|
|
@@ -56987,7 +57758,6 @@ class SettingsApi {
|
|
|
56987
57758
|
/**
|
|
56988
57759
|
* Get the execution history enabled setting.
|
|
56989
57760
|
* Get the execution history enabled setting.
|
|
56990
|
-
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
56991
57761
|
*/
|
|
56992
57762
|
getSettingsExecutiondata() {
|
|
56993
57763
|
|
|
@@ -57058,7 +57828,6 @@ class SettingsApi {
|
|
|
57058
57828
|
* Edit the execution history on off setting.
|
|
57059
57829
|
* Edit the execution history on off setting.
|
|
57060
57830
|
* @param {Object} body New Execution Data Setting
|
|
57061
|
-
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
57062
57831
|
*/
|
|
57063
57832
|
patchSettingsExecutiondata(body) {
|
|
57064
57833
|
// verify the required parameter 'body' is set
|
|
@@ -57146,7 +57915,7 @@ class SpeechTextAnalyticsApi {
|
|
|
57146
57915
|
/**
|
|
57147
57916
|
* SpeechTextAnalytics service.
|
|
57148
57917
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
57149
|
-
* @version
|
|
57918
|
+
* @version 204.0.0
|
|
57150
57919
|
*/
|
|
57151
57920
|
|
|
57152
57921
|
/**
|
|
@@ -58424,7 +59193,7 @@ class StationsApi {
|
|
|
58424
59193
|
/**
|
|
58425
59194
|
* Stations service.
|
|
58426
59195
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
58427
|
-
* @version
|
|
59196
|
+
* @version 204.0.0
|
|
58428
59197
|
*/
|
|
58429
59198
|
|
|
58430
59199
|
/**
|
|
@@ -58526,7 +59295,7 @@ class SuggestApi {
|
|
|
58526
59295
|
/**
|
|
58527
59296
|
* Suggest service.
|
|
58528
59297
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
58529
|
-
* @version
|
|
59298
|
+
* @version 204.0.0
|
|
58530
59299
|
*/
|
|
58531
59300
|
|
|
58532
59301
|
/**
|
|
@@ -58665,7 +59434,7 @@ class TaskManagementApi {
|
|
|
58665
59434
|
/**
|
|
58666
59435
|
* TaskManagement service.
|
|
58667
59436
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
58668
|
-
* @version
|
|
59437
|
+
* @version 204.0.0
|
|
58669
59438
|
*/
|
|
58670
59439
|
|
|
58671
59440
|
/**
|
|
@@ -60019,7 +60788,7 @@ class TeamsApi {
|
|
|
60019
60788
|
/**
|
|
60020
60789
|
* Teams service.
|
|
60021
60790
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
60022
|
-
* @version
|
|
60791
|
+
* @version 204.0.0
|
|
60023
60792
|
*/
|
|
60024
60793
|
|
|
60025
60794
|
/**
|
|
@@ -60320,7 +61089,7 @@ class TelephonyApi {
|
|
|
60320
61089
|
/**
|
|
60321
61090
|
* Telephony service.
|
|
60322
61091
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
60323
|
-
* @version
|
|
61092
|
+
* @version 204.0.0
|
|
60324
61093
|
*/
|
|
60325
61094
|
|
|
60326
61095
|
/**
|
|
@@ -60502,7 +61271,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
60502
61271
|
/**
|
|
60503
61272
|
* TelephonyProvidersEdge service.
|
|
60504
61273
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
60505
|
-
* @version
|
|
61274
|
+
* @version 204.0.0
|
|
60506
61275
|
*/
|
|
60507
61276
|
|
|
60508
61277
|
/**
|
|
@@ -63830,7 +64599,7 @@ class TextbotsApi {
|
|
|
63830
64599
|
/**
|
|
63831
64600
|
* Textbots service.
|
|
63832
64601
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
63833
|
-
* @version
|
|
64602
|
+
* @version 204.0.0
|
|
63834
64603
|
*/
|
|
63835
64604
|
|
|
63836
64605
|
/**
|
|
@@ -63958,7 +64727,7 @@ class TokensApi {
|
|
|
63958
64727
|
/**
|
|
63959
64728
|
* Tokens service.
|
|
63960
64729
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
63961
|
-
* @version
|
|
64730
|
+
* @version 204.0.0
|
|
63962
64731
|
*/
|
|
63963
64732
|
|
|
63964
64733
|
/**
|
|
@@ -64112,7 +64881,7 @@ class UploadsApi {
|
|
|
64112
64881
|
/**
|
|
64113
64882
|
* Uploads service.
|
|
64114
64883
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
64115
|
-
* @version
|
|
64884
|
+
* @version 204.0.0
|
|
64116
64885
|
*/
|
|
64117
64886
|
|
|
64118
64887
|
/**
|
|
@@ -64381,7 +65150,7 @@ class UsageApi {
|
|
|
64381
65150
|
/**
|
|
64382
65151
|
* Usage service.
|
|
64383
65152
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
64384
|
-
* @version
|
|
65153
|
+
* @version 204.0.0
|
|
64385
65154
|
*/
|
|
64386
65155
|
|
|
64387
65156
|
/**
|
|
@@ -64596,7 +65365,7 @@ class UserRecordingsApi {
|
|
|
64596
65365
|
/**
|
|
64597
65366
|
* UserRecordings service.
|
|
64598
65367
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
64599
|
-
* @version
|
|
65368
|
+
* @version 204.0.0
|
|
64600
65369
|
*/
|
|
64601
65370
|
|
|
64602
65371
|
/**
|
|
@@ -64811,7 +65580,7 @@ class UsersApi {
|
|
|
64811
65580
|
/**
|
|
64812
65581
|
* Users service.
|
|
64813
65582
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
64814
|
-
* @version
|
|
65583
|
+
* @version 204.0.0
|
|
64815
65584
|
*/
|
|
64816
65585
|
|
|
64817
65586
|
/**
|
|
@@ -67614,7 +68383,7 @@ class UtilitiesApi {
|
|
|
67614
68383
|
/**
|
|
67615
68384
|
* Utilities service.
|
|
67616
68385
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
67617
|
-
* @version
|
|
68386
|
+
* @version 204.0.0
|
|
67618
68387
|
*/
|
|
67619
68388
|
|
|
67620
68389
|
/**
|
|
@@ -67725,7 +68494,7 @@ class VoicemailApi {
|
|
|
67725
68494
|
/**
|
|
67726
68495
|
* Voicemail service.
|
|
67727
68496
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
67728
|
-
* @version
|
|
68497
|
+
* @version 204.0.0
|
|
67729
68498
|
*/
|
|
67730
68499
|
|
|
67731
68500
|
/**
|
|
@@ -68392,7 +69161,7 @@ class WebChatApi {
|
|
|
68392
69161
|
/**
|
|
68393
69162
|
* WebChat service.
|
|
68394
69163
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
68395
|
-
* @version
|
|
69164
|
+
* @version 204.0.0
|
|
68396
69165
|
*/
|
|
68397
69166
|
|
|
68398
69167
|
/**
|
|
@@ -68943,7 +69712,7 @@ class WebDeploymentsApi {
|
|
|
68943
69712
|
/**
|
|
68944
69713
|
* WebDeployments service.
|
|
68945
69714
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
68946
|
-
* @version
|
|
69715
|
+
* @version 204.0.0
|
|
68947
69716
|
*/
|
|
68948
69717
|
|
|
68949
69718
|
/**
|
|
@@ -69470,7 +70239,7 @@ class WebMessagingApi {
|
|
|
69470
70239
|
/**
|
|
69471
70240
|
* WebMessaging service.
|
|
69472
70241
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
69473
|
-
* @version
|
|
70242
|
+
* @version 204.0.0
|
|
69474
70243
|
*/
|
|
69475
70244
|
|
|
69476
70245
|
/**
|
|
@@ -69516,7 +70285,7 @@ class WidgetsApi {
|
|
|
69516
70285
|
/**
|
|
69517
70286
|
* Widgets service.
|
|
69518
70287
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
69519
|
-
* @version
|
|
70288
|
+
* @version 204.0.0
|
|
69520
70289
|
*/
|
|
69521
70290
|
|
|
69522
70291
|
/**
|
|
@@ -69662,7 +70431,7 @@ class WorkforceManagementApi {
|
|
|
69662
70431
|
/**
|
|
69663
70432
|
* WorkforceManagement service.
|
|
69664
70433
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
69665
|
-
* @version
|
|
70434
|
+
* @version 204.0.0
|
|
69666
70435
|
*/
|
|
69667
70436
|
|
|
69668
70437
|
/**
|
|
@@ -76817,7 +77586,7 @@ class WorkforceManagementApi {
|
|
|
76817
77586
|
* </pre>
|
|
76818
77587
|
* </p>
|
|
76819
77588
|
* @module purecloud-platform-client-v2/index
|
|
76820
|
-
* @version
|
|
77589
|
+
* @version 204.0.0
|
|
76821
77590
|
*/
|
|
76822
77591
|
class platformClient {
|
|
76823
77592
|
constructor() {
|
|
@@ -76831,6 +77600,16 @@ class platformClient {
|
|
|
76831
77600
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
76832
77601
|
*/
|
|
76833
77602
|
this.ApiClientClass = ApiClient;
|
|
77603
|
+
/**
|
|
77604
|
+
* The AgentAssistantsApi service constructor.
|
|
77605
|
+
* @property {module:purecloud-platform-client-v2/api/AgentAssistantsApi}
|
|
77606
|
+
*/
|
|
77607
|
+
this.AgentAssistantsApi = AgentAssistantsApi;
|
|
77608
|
+
/**
|
|
77609
|
+
* The AgentCopilotApi service constructor.
|
|
77610
|
+
* @property {module:purecloud-platform-client-v2/api/AgentCopilotApi}
|
|
77611
|
+
*/
|
|
77612
|
+
this.AgentCopilotApi = AgentCopilotApi;
|
|
76834
77613
|
/**
|
|
76835
77614
|
* The AgentUIApi service constructor.
|
|
76836
77615
|
* @property {module:purecloud-platform-client-v2/api/AgentUIApi}
|