purecloud-platform-client-v2 128.0.0 → 131.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +2 -8
  2. package/dist/node/purecloud-platform-client-v2.js +681 -100
  3. package/dist/web-amd/purecloud-platform-client-v2.js +681 -100
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +681 -100
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +681 -100
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +524 -50
  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 +46 -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 +3 -3
  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 +51 -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 +22 -2
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -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 IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 128.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -662,6 +662,35 @@ class IntegrationsApi {
662
662
  );
663
663
  }
664
664
 
665
+ /**
666
+ * UC integration client application configuration.
667
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
668
+ * @param {Object} opts Optional parameters
669
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
670
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
671
+ * @param {String} opts.sortBy variable name requested to sort by
672
+ * @param {Array.<String>} opts.expand variable name requested by expand list
673
+ * @param {String} opts.nextPage next page token
674
+ * @param {String} opts.previousPage Previous page token
675
+ */
676
+ getIntegrationsClientappsUnifiedcommunications(opts) {
677
+ opts = opts || {};
678
+
679
+
680
+ return this.apiClient.callApi(
681
+ '/api/v2/integrations/clientapps/unifiedcommunications',
682
+ 'GET',
683
+ { },
684
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
685
+ { },
686
+ { },
687
+ null,
688
+ ['PureCloud OAuth'],
689
+ ['application/json'],
690
+ ['application/json']
691
+ );
692
+ }
693
+
665
694
  /**
666
695
  * Get a single credential with sensitive fields redacted
667
696
  *
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 128.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 128.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 128.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -463,7 +463,7 @@ class LanguageUnderstandingApi {
463
463
  * @param {String} minerId Miner ID
464
464
  * @param {String} intentId The ID of the intent to be retrieved.
465
465
  * @param {Object} opts Optional parameters
466
- * @param {String} opts.expand Option to fetch utterances
466
+ * @param {Object} opts.expand Option to fetch utterances
467
467
  */
468
468
  getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
469
469
  opts = opts || {};
@@ -496,7 +496,7 @@ class LanguageUnderstandingApi {
496
496
  *
497
497
  * @param {String} minerId Miner ID
498
498
  * @param {Object} opts Optional parameters
499
- * @param {String} opts.expand Option to fetch utterances.
499
+ * @param {Object} opts.expand Option to fetch utterances.
500
500
  */
501
501
  getLanguageunderstandingMinerIntents(minerId, opts) {
502
502
  opts = opts || {};
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -624,6 +624,31 @@ class QualityApi {
624
624
  );
625
625
  }
626
626
 
627
+ /**
628
+ * Retrieve a list of the latest published evaluation form versions by context ids
629
+ *
630
+ * @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
631
+ */
632
+ getQualityFormsEvaluationsBulkContexts(contextId) {
633
+ // verify the required parameter 'contextId' is set
634
+ if (contextId === undefined || contextId === null) {
635
+ throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
636
+ }
637
+
638
+ return this.apiClient.callApi(
639
+ '/api/v2/quality/forms/evaluations/bulk/contexts',
640
+ 'GET',
641
+ { },
642
+ { 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
643
+ { },
644
+ { },
645
+ null,
646
+ ['PureCloud OAuth'],
647
+ ['application/json'],
648
+ ['application/json']
649
+ );
650
+ }
651
+
627
652
  /**
628
653
  * Get a survey form
629
654
  *
@@ -1138,6 +1163,31 @@ class QualityApi {
1138
1163
  );
1139
1164
  }
1140
1165
 
1166
+ /**
1167
+ * Query for evaluation aggregates for the current user
1168
+ *
1169
+ * @param {Object} body query
1170
+ */
1171
+ postQualityEvaluationsAggregatesQueryMe(body) {
1172
+ // verify the required parameter 'body' is set
1173
+ if (body === undefined || body === null) {
1174
+ throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
1175
+ }
1176
+
1177
+ return this.apiClient.callApi(
1178
+ '/api/v2/quality/evaluations/aggregates/query/me',
1179
+ 'POST',
1180
+ { },
1181
+ { },
1182
+ { },
1183
+ { },
1184
+ body,
1185
+ ['PureCloud OAuth'],
1186
+ ['application/json'],
1187
+ ['application/json']
1188
+ );
1189
+ }
1190
+
1141
1191
  /**
1142
1192
  * Score evaluation
1143
1193
  *
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 128.0.0
8
+ * @version 131.1.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&#39;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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 &#39;0-9&#39; and the wild card character &#39;\\*&#39;. If just digits are present, a contains search is done on the address pattern. For example, &#39;317&#39; could be matched anywhere in the address. An &#39;\\*&#39; will match multiple digits. For example, to match a specific area code within the US a pattern like &#39;1317*&#39; 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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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 128.0.0
8
+ * @version 131.1.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
  *
@@ -1399,7 +1419,7 @@ class TelephonyProvidersEdgeApi {
1399
1419
  * @param {Object} opts Optional parameters
1400
1420
  * @param {Number} opts.pageSize Page size (default to 25)
1401
1421
  * @param {Number} opts.pageNumber Page number (default to 1)
1402
- * @param {String} opts.sortBy Sort by (default to startNumber)
1422
+ * @param {String} opts.sortBy Sort by
1403
1423
  * @param {String} opts._number Number
1404
1424
  */
1405
1425
  getTelephonyProvidersEdgesExtensionpools(opts) {