purecloud-platform-client-v2 179.3.0 → 181.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +538 -166
  3. package/dist/web-amd/purecloud-platform-client-v2.js +538 -166
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +538 -166
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +790 -213
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +459 -250
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +8 -80
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +59 -3
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +73 -2
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +71 -0
  50. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/PresenceApi.js +9 -4
  54. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  56. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +57 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +86 -1
  70. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsersApi.js +92 -2
  76. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +17 -7
  83. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -0,0 +1,71 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class OperationalEventsApi {
5
+ /**
6
+ * OperationalEvents service.
7
+ * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
+ * @version 181.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new OperationalEventsApi.
13
+ * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
14
+ * @class
15
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
17
+ */
18
+ constructor(apiClient) {
19
+ this.apiClient = apiClient || ApiClient.instance;
20
+ }
21
+
22
+
23
+ /**
24
+ * Get an operational event definition by its id
25
+ *
26
+ * @param {String} eventDefinitionId EventDefinition id
27
+ */
28
+ getUsageEventsDefinition(eventDefinitionId) {
29
+ // verify the required parameter 'eventDefinitionId' is set
30
+ if (eventDefinitionId === undefined || eventDefinitionId === null) {
31
+ throw 'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/usage/events/definitions/{eventDefinitionId}',
36
+ 'GET',
37
+ { 'eventDefinitionId': eventDefinitionId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
48
+ /**
49
+ * Get all operational event definitions
50
+ *
51
+ */
52
+ getUsageEventsDefinitions() {
53
+
54
+ return this.apiClient.callApi(
55
+ '/api/v2/usage/events/definitions',
56
+ 'GET',
57
+ { },
58
+ { },
59
+ { },
60
+ { },
61
+ null,
62
+ ['PureCloud OAuth'],
63
+ ['application/json'],
64
+ ['application/json']
65
+ );
66
+ }
67
+
68
+ }
69
+
70
+
71
+ export default OperationalEventsApi;
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -100,9 +100,13 @@ class PresenceApi {
100
100
  * Get a Presence Definition
101
101
  *
102
102
  * @param {String} definitionId Presence Definition ID
103
+ * @param {Object} opts Optional parameters
104
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
103
105
  * getPresenceDefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
104
106
  */
105
- getPresenceDefinition0(definitionId) {
107
+ getPresenceDefinition0(definitionId, opts) {
108
+ opts = opts || {};
109
+
106
110
  // verify the required parameter 'definitionId' is set
107
111
  if (definitionId === undefined || definitionId === null) {
108
112
  throw 'Missing the required parameter "definitionId" when calling getPresenceDefinition0';
@@ -112,7 +116,7 @@ class PresenceApi {
112
116
  '/api/v2/presence/definitions/{definitionId}',
113
117
  'GET',
114
118
  { 'definitionId': definitionId },
115
- { },
119
+ { 'localeCode': opts['localeCode'] },
116
120
  { },
117
121
  { },
118
122
  null,
@@ -128,6 +132,7 @@ class PresenceApi {
128
132
  * @param {Object} opts Optional parameters
129
133
  * @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
130
134
  * @param {Array.<String>} opts.divisionId One or more division IDs. If nothing is provided, the definitions associated withthe list of divisions that the user has access to will be returned.
135
+ * @param {Object} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
131
136
  * getPresenceDefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
132
137
  */
133
138
  getPresenceDefinitions0(opts) {
@@ -138,7 +143,7 @@ class PresenceApi {
138
143
  '/api/v2/presence/definitions',
139
144
  'GET',
140
145
  { },
141
- { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
146
+ { 'deactivated': opts['deactivated'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'localeCode': opts['localeCode'] },
142
147
  { },
143
148
  { },
144
149
  null,
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -714,7 +714,7 @@ class QualityApi {
714
714
 
715
715
  /**
716
716
  * Get the list of evaluation forms
717
- *
717
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
718
718
  * @param {Object} opts Optional parameters
719
719
  * @param {Number} opts.pageSize The total page size requested (default to 25)
720
720
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -40,6 +40,62 @@ class TelephonyApi {
40
40
  );
41
41
  }
42
42
 
43
+ /**
44
+ * Get a SIP message.
45
+ * Get the raw form of the SIP message
46
+ * @param {String} conversationId Conversation id
47
+ * getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
48
+ */
49
+ getTelephonySipmessagesConversation(conversationId) {
50
+ // verify the required parameter 'conversationId' is set
51
+ if (conversationId === undefined || conversationId === null) {
52
+ throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';
53
+ }
54
+
55
+ return this.apiClient.callApi(
56
+ '/api/v2/telephony/sipmessages/conversations/{conversationId}',
57
+ 'GET',
58
+ { 'conversationId': conversationId },
59
+ { },
60
+ { },
61
+ { },
62
+ null,
63
+ ['PureCloud OAuth'],
64
+ ['application/json'],
65
+ ['application/json']
66
+ );
67
+ }
68
+
69
+ /**
70
+ * Get SIP headers.
71
+ * Get parsed SIP headers. Returns specific headers if key query parameters are added.
72
+ * @param {String} conversationId Conversation id
73
+ * @param {Object} opts Optional parameters
74
+ * @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
75
+ * getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
76
+ */
77
+ getTelephonySipmessagesConversationHeaders(conversationId, opts) {
78
+ opts = opts || {};
79
+
80
+ // verify the required parameter 'conversationId' is set
81
+ if (conversationId === undefined || conversationId === null) {
82
+ throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversationHeaders';
83
+ }
84
+
85
+ return this.apiClient.callApi(
86
+ '/api/v2/telephony/sipmessages/conversations/{conversationId}/headers',
87
+ 'GET',
88
+ { 'conversationId': conversationId },
89
+ { 'keys': this.apiClient.buildCollectionParam(opts['keys'], 'multi') },
90
+ { },
91
+ { },
92
+ null,
93
+ ['PureCloud OAuth'],
94
+ ['application/json'],
95
+ ['application/json']
96
+ );
97
+ }
98
+
43
99
  /**
44
100
  * Fetch SIP metadata
45
101
  * Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1929,6 +1929,31 @@ class TelephonyProvidersEdgeApi {
1929
1929
  );
1930
1930
  }
1931
1931
 
1932
+ /**
1933
+ * Get site connections for a site.
1934
+ *
1935
+ * @param {String} siteId Site ID
1936
+ */
1937
+ getTelephonyProvidersEdgesSiteSiteconnections(siteId) {
1938
+ // verify the required parameter 'siteId' is set
1939
+ if (siteId === undefined || siteId === null) {
1940
+ throw 'Missing the required parameter "siteId" when calling getTelephonyProvidersEdgesSiteSiteconnections';
1941
+ }
1942
+
1943
+ return this.apiClient.callApi(
1944
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
1945
+ 'GET',
1946
+ { 'siteId': siteId },
1947
+ { },
1948
+ { },
1949
+ { },
1950
+ null,
1951
+ ['PureCloud OAuth'],
1952
+ ['application/json'],
1953
+ ['application/json']
1954
+ );
1955
+ }
1956
+
1932
1957
  /**
1933
1958
  * Get the list of Sites.
1934
1959
  *
@@ -2225,6 +2250,36 @@ class TelephonyProvidersEdgeApi {
2225
2250
  );
2226
2251
  }
2227
2252
 
2253
+ /**
2254
+ * Disable site connections for a site.
2255
+ *
2256
+ * @param {String} siteId Site ID
2257
+ * @param {Object} body Site
2258
+ */
2259
+ patchTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
2260
+ // verify the required parameter 'siteId' is set
2261
+ if (siteId === undefined || siteId === null) {
2262
+ throw 'Missing the required parameter "siteId" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
2263
+ }
2264
+ // verify the required parameter 'body' is set
2265
+ if (body === undefined || body === null) {
2266
+ throw 'Missing the required parameter "body" when calling patchTelephonyProvidersEdgesSiteSiteconnections';
2267
+ }
2268
+
2269
+ return this.apiClient.callApi(
2270
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
2271
+ 'PATCH',
2272
+ { 'siteId': siteId },
2273
+ { },
2274
+ { },
2275
+ { },
2276
+ body,
2277
+ ['PureCloud OAuth'],
2278
+ ['application/json'],
2279
+ ['application/json']
2280
+ );
2281
+ }
2282
+
2228
2283
  /**
2229
2284
  * Nslookup request command to collect networking-related information from an Edge for a target IP or host.
2230
2285
  *
@@ -3258,6 +3313,36 @@ class TelephonyProvidersEdgeApi {
3258
3313
  );
3259
3314
  }
3260
3315
 
3316
+ /**
3317
+ * Update site connections for a site.
3318
+ *
3319
+ * @param {String} siteId Site ID
3320
+ * @param {Object} body Site
3321
+ */
3322
+ putTelephonyProvidersEdgesSiteSiteconnections(siteId, body) {
3323
+ // verify the required parameter 'siteId' is set
3324
+ if (siteId === undefined || siteId === null) {
3325
+ throw 'Missing the required parameter "siteId" when calling putTelephonyProvidersEdgesSiteSiteconnections';
3326
+ }
3327
+ // verify the required parameter 'body' is set
3328
+ if (body === undefined || body === null) {
3329
+ throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesSiteSiteconnections';
3330
+ }
3331
+
3332
+ return this.apiClient.callApi(
3333
+ '/api/v2/telephony/providers/edges/sites/{siteId}/siteconnections',
3334
+ 'PUT',
3335
+ { 'siteId': siteId },
3336
+ { },
3337
+ { },
3338
+ { },
3339
+ body,
3340
+ ['PureCloud OAuth'],
3341
+ ['application/json'],
3342
+ ['application/json']
3343
+ );
3344
+ }
3345
+
3261
3346
  /**
3262
3347
  * Update a Trunk Base Settings object by ID
3263
3348
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 179.3.0
8
+ * @version 181.0.0
9
9
  */
10
10
 
11
11
  /**