purecloud-platform-client-v2 127.0.0 → 131.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 (73) hide show
  1. package/README.md +2 -8
  2. package/dist/node/purecloud-platform-client-v2.js +610 -97
  3. package/dist/web-amd/purecloud-platform-client-v2.js +610 -97
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +610 -97
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +610 -97
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +475 -219
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  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/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +5 -3
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +176 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +121 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +30 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +156 -0
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -21
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +21 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +28 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +2 -2
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -0,0 +1,156 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class MessagingApi {
5
+ /**
6
+ * Messaging service.
7
+ * @module purecloud-platform-client-v2/api/MessagingApi
8
+ * @version 131.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new MessagingApi.
13
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
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
+ * Delete a supported content profile
25
+ *
26
+ * @param {String} supportedContentId Supported Content ID
27
+ */
28
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
29
+ // verify the required parameter 'supportedContentId' is set
30
+ if (supportedContentId === undefined || supportedContentId === null) {
31
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
36
+ 'DELETE',
37
+ { 'supportedContentId': supportedContentId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
48
+ /**
49
+ * Get a list of Supported Content profiles
50
+ *
51
+ * @param {Object} opts Optional parameters
52
+ * @param {Number} opts.pageSize Page size (default to 25)
53
+ * @param {Number} opts.pageNumber Page number (default to 1)
54
+ */
55
+ getMessagingSupportedcontent(opts) {
56
+ opts = opts || {};
57
+
58
+
59
+ return this.apiClient.callApi(
60
+ '/api/v2/messaging/supportedcontent',
61
+ 'GET',
62
+ { },
63
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
64
+ { },
65
+ { },
66
+ null,
67
+ ['PureCloud OAuth'],
68
+ ['application/json'],
69
+ ['application/json']
70
+ );
71
+ }
72
+
73
+ /**
74
+ * Get a supported content profile
75
+ *
76
+ * @param {String} supportedContentId Supported Content ID
77
+ */
78
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
79
+ // verify the required parameter 'supportedContentId' is set
80
+ if (supportedContentId === undefined || supportedContentId === null) {
81
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
82
+ }
83
+
84
+ return this.apiClient.callApi(
85
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
86
+ 'GET',
87
+ { 'supportedContentId': supportedContentId },
88
+ { },
89
+ { },
90
+ { },
91
+ null,
92
+ ['PureCloud OAuth'],
93
+ ['application/json'],
94
+ ['application/json']
95
+ );
96
+ }
97
+
98
+ /**
99
+ * Update a supported content profile
100
+ *
101
+ * @param {String} supportedContentId Supported Content ID
102
+ * @param {Object} body SupportedContent
103
+ */
104
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
105
+ // verify the required parameter 'supportedContentId' is set
106
+ if (supportedContentId === undefined || supportedContentId === null) {
107
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
108
+ }
109
+ // verify the required parameter 'body' is set
110
+ if (body === undefined || body === null) {
111
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
112
+ }
113
+
114
+ return this.apiClient.callApi(
115
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
116
+ 'PATCH',
117
+ { 'supportedContentId': supportedContentId },
118
+ { },
119
+ { },
120
+ { },
121
+ body,
122
+ ['PureCloud OAuth'],
123
+ ['application/json'],
124
+ ['application/json']
125
+ );
126
+ }
127
+
128
+ /**
129
+ * Create a Supported Content profile
130
+ *
131
+ * @param {Object} body SupportedContent
132
+ */
133
+ postMessagingSupportedcontent(body) {
134
+ // verify the required parameter 'body' is set
135
+ if (body === undefined || body === null) {
136
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
137
+ }
138
+
139
+ return this.apiClient.callApi(
140
+ '/api/v2/messaging/supportedcontent',
141
+ 'POST',
142
+ { },
143
+ { },
144
+ { },
145
+ { },
146
+ body,
147
+ ['PureCloud OAuth'],
148
+ ['application/json'],
149
+ ['application/json']
150
+ );
151
+ }
152
+
153
+ }
154
+
155
+
156
+ export default MessagingApi;
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -211,11 +211,11 @@ class RecordingApi {
211
211
  * @param {String} conversationId Conversation ID
212
212
  * @param {String} recordingId Recording ID
213
213
  * @param {Object} opts Optional parameters
214
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
215
- * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
216
- * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
217
- * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
218
- * @param {Boolean} opts.download requesting a download format of the recording (default to false)
214
+ * @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
215
+ * @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
216
+ * @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
217
+ * @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
218
+ * @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
219
219
  * @param {String} opts.fileName the name of the downloaded fileName
220
220
  * @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
221
221
  */
@@ -311,7 +311,7 @@ class RecordingApi {
311
311
  }
312
312
 
313
313
  /**
314
- * Get recording metadata for a conversation. Does not return playable media.
314
+ * Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
315
315
  *
316
316
  * @param {String} conversationId Conversation ID
317
317
  */
@@ -371,7 +371,7 @@ class RecordingApi {
371
371
  * @param {String} conversationId Conversation ID
372
372
  * @param {Object} opts Optional parameters
373
373
  * @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
374
- * @param {Object} opts.formatId The desired media format (default to WEBM)
374
+ * @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
375
375
  */
376
376
  getConversationRecordings(conversationId, opts) {
377
377
  opts = opts || {};
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1443,10 +1443,14 @@ class RoutingApi {
1443
1443
  *
1444
1444
  * @param {Object} opts Optional parameters
1445
1445
  * @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
1446
- * @param {Object} opts.phoneNumberType Filter on phone number type
1447
- * @param {Object} opts.phoneNumberStatus Filter on phone number status
1446
+ * @param {Array.<String>} opts.phoneNumberType Filter on phone number type
1447
+ * @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
1448
+ * @param {Array.<String>} opts.countryCode Filter on country code
1448
1449
  * @param {Number} opts.pageSize Page size (default to 25)
1449
1450
  * @param {Number} opts.pageNumber Page number (default to 1)
1451
+ * @param {Object} opts.sortBy Optional field to sort results
1452
+ * @param {Object} opts.sortOrder Sort order
1453
+ * @param {String} opts.language A language tag (which is sometimes referred to as a \&quot;locale identifier\&quot;) to use to localize country field and sort operations (default to en-US)
1450
1454
  */
1451
1455
  getRoutingSmsPhonenumbers(opts) {
1452
1456
  opts = opts || {};
@@ -1456,7 +1460,7 @@ class RoutingApi {
1456
1460
  '/api/v2/routing/sms/phonenumbers',
1457
1461
  'GET',
1458
1462
  { },
1459
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1463
+ { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
1460
1464
  { },
1461
1465
  { },
1462
1466
  null,
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -174,26 +174,6 @@ class SpeechTextAnalyticsApi {
174
174
  );
175
175
  }
176
176
 
177
- /**
178
- * Get list of supported Speech &amp; Text Analytics dialects
179
- * This api has been deprecated. Use api/v2/topics/dialects instead
180
- */
181
- getSpeechandtextanalyticsDialects() {
182
-
183
- return this.apiClient.callApi(
184
- '/api/v2/speechandtextanalytics/dialects',
185
- 'GET',
186
- { },
187
- { },
188
- { },
189
- { },
190
- null,
191
- ['PureCloud OAuth'],
192
- ['application/json'],
193
- ['application/json']
194
- );
195
- }
196
-
197
177
  /**
198
178
  * Get a Speech &amp; Text Analytics program by id
199
179
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1343,6 +1343,26 @@ class TelephonyProvidersEdgeApi {
1343
1343
  );
1344
1344
  }
1345
1345
 
1346
+ /**
1347
+ * List of edges more than 4 edge versions behind the latest software.
1348
+ *
1349
+ */
1350
+ getTelephonyProvidersEdgesExpired() {
1351
+
1352
+ return this.apiClient.callApi(
1353
+ '/api/v2/telephony/providers/edges/expired',
1354
+ 'GET',
1355
+ { },
1356
+ { },
1357
+ { },
1358
+ { },
1359
+ null,
1360
+ ['PureCloud OAuth'],
1361
+ ['application/json'],
1362
+ ['application/json']
1363
+ );
1364
+ }
1365
+
1346
1366
  /**
1347
1367
  * Get an extension by ID.
1348
1368
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,33 @@ class TextbotsApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Find bots using the currently configured friendly name or ID.
25
+ * The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify the maximum results to return, up to a limit of 100
26
+ * @param {Object} opts Optional parameters
27
+ * @param {Array.<String>} opts.botType Bot types
28
+ * @param {String} opts.botName Bot name
29
+ * @param {Array.<String>} opts.botId Bot IDs
30
+ * @param {Number} opts.pageSize The maximum results to return (default to 25)
31
+ */
32
+ getTextbotsBotsSearch(opts) {
33
+ opts = opts || {};
34
+
35
+
36
+ return this.apiClient.callApi(
37
+ '/api/v2/textbots/bots/search',
38
+ 'GET',
39
+ { },
40
+ { 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
41
+ { },
42
+ { },
43
+ null,
44
+ ['PureCloud OAuth'],
45
+ ['application/json'],
46
+ ['application/json']
47
+ );
48
+ }
49
+
23
50
  /**
24
51
  * Issue a bot flow turn event
25
52
  * Send a turn event to an executing bot flow and produce the next action to take.
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.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 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -41,7 +41,7 @@ class UtilitiesApi {
41
41
  }
42
42
 
43
43
  /**
44
- * Get public ip address ranges for PureCloud
44
+ * Get public ip address ranges for Genesys Cloud
45
45
  *
46
46
  */
47
47
  getIpranges() {
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 127.0.0
8
+ * @version 131.0.0
9
9
  */
10
10
 
11
11
  /**