purecloud-platform-client-v2 184.0.0 → 186.0.1

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 (84) hide show
  1. package/README.md +68 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1103 -156
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1103 -156
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +349 -140
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +354 -142
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +711 -161
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +334 -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 +3 -3
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -4
  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 +58 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -62
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  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 +7 -7
  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 +26 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  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/LogCaptureApi.js +131 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -3
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +247 -2
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -3
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +5 -4
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +222 -1
  84. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -460,6 +460,36 @@ class RoutingApi {
460
460
  );
461
461
  }
462
462
 
463
+ /**
464
+ * Delete a utilization label
465
+ *
466
+ * @param {String} labelId Utilization Label ID
467
+ * @param {Object} opts Optional parameters
468
+ * @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
469
+ * deleteRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
470
+ */
471
+ deleteRoutingUtilizationLabel(labelId, opts) {
472
+ opts = opts || {};
473
+
474
+ // verify the required parameter 'labelId' is set
475
+ if (labelId === undefined || labelId === null) {
476
+ throw 'Missing the required parameter "labelId" when calling deleteRoutingUtilizationLabel';
477
+ }
478
+
479
+ return this.apiClient.callApi(
480
+ '/api/v2/routing/utilization/labels/{labelId}',
481
+ 'DELETE',
482
+ { 'labelId': labelId },
483
+ { 'forceDelete': opts['forceDelete'] },
484
+ { },
485
+ { },
486
+ null,
487
+ ['PureCloud OAuth'],
488
+ ['application/json'],
489
+ ['application/json']
490
+ );
491
+ }
492
+
463
493
  /**
464
494
  * Delete an utilization tag
465
495
  *
@@ -1950,6 +1980,86 @@ class RoutingApi {
1950
1980
  );
1951
1981
  }
1952
1982
 
1983
+ /**
1984
+ * Get details about this utilization label
1985
+ *
1986
+ * @param {String} labelId Utilization Label ID
1987
+ * getRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1988
+ */
1989
+ getRoutingUtilizationLabel(labelId) {
1990
+ // verify the required parameter 'labelId' is set
1991
+ if (labelId === undefined || labelId === null) {
1992
+ throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';
1993
+ }
1994
+
1995
+ return this.apiClient.callApi(
1996
+ '/api/v2/routing/utilization/labels/{labelId}',
1997
+ 'GET',
1998
+ { 'labelId': labelId },
1999
+ { },
2000
+ { },
2001
+ { },
2002
+ null,
2003
+ ['PureCloud OAuth'],
2004
+ ['application/json'],
2005
+ ['application/json']
2006
+ );
2007
+ }
2008
+
2009
+ /**
2010
+ * Get list of agent ids associated with a utilization label
2011
+ *
2012
+ * @param {String} labelId Utilization Label ID
2013
+ * getRoutingUtilizationLabelAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2014
+ */
2015
+ getRoutingUtilizationLabelAgents(labelId) {
2016
+ // verify the required parameter 'labelId' is set
2017
+ if (labelId === undefined || labelId === null) {
2018
+ throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';
2019
+ }
2020
+
2021
+ return this.apiClient.callApi(
2022
+ '/api/v2/routing/utilization/labels/{labelId}/agents',
2023
+ 'GET',
2024
+ { 'labelId': labelId },
2025
+ { },
2026
+ { },
2027
+ { },
2028
+ null,
2029
+ ['PureCloud OAuth'],
2030
+ ['application/json'],
2031
+ ['application/json']
2032
+ );
2033
+ }
2034
+
2035
+ /**
2036
+ * Get list of utilization labels
2037
+ *
2038
+ * @param {Object} opts Optional parameters
2039
+ * @param {Number} opts.pageSize Page size (default to 25)
2040
+ * @param {Number} opts.pageNumber Page number (default to 1)
2041
+ * @param {Object} opts.sortOrder Sort order by name (default to ascending)
2042
+ * @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
2043
+ * getRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2044
+ */
2045
+ getRoutingUtilizationLabels(opts) {
2046
+ opts = opts || {};
2047
+
2048
+
2049
+ return this.apiClient.callApi(
2050
+ '/api/v2/routing/utilization/labels',
2051
+ 'GET',
2052
+ { },
2053
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
2054
+ { },
2055
+ { },
2056
+ null,
2057
+ ['PureCloud OAuth'],
2058
+ ['application/json'],
2059
+ ['application/json']
2060
+ );
2061
+ }
2062
+
1953
2063
  /**
1954
2064
  * Get details about this utilization tag
1955
2065
  *
@@ -2085,6 +2195,60 @@ class RoutingApi {
2085
2195
  );
2086
2196
  }
2087
2197
 
2198
+ /**
2199
+ * Get a simplified wrap-up code.
2200
+ *
2201
+ * @param {String} codeId Wrapup Code ID
2202
+ */
2203
+ getRoutingWrapupcodesDivisionview(codeId) {
2204
+ // verify the required parameter 'codeId' is set
2205
+ if (codeId === undefined || codeId === null) {
2206
+ throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
2207
+ }
2208
+
2209
+ return this.apiClient.callApi(
2210
+ '/api/v2/routing/wrapupcodes/divisionviews/{codeId}',
2211
+ 'GET',
2212
+ { 'codeId': codeId },
2213
+ { },
2214
+ { },
2215
+ { },
2216
+ null,
2217
+ ['PureCloud OAuth'],
2218
+ ['application/json'],
2219
+ ['application/json']
2220
+ );
2221
+ }
2222
+
2223
+ /**
2224
+ * Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
2225
+ * Specifying both name and ID parameters is not supported.
2226
+ * @param {Object} opts Optional parameters
2227
+ * @param {Number} opts.pageSize Page size (default to 25)
2228
+ * @param {Number} opts.pageNumber Page number (default to 1)
2229
+ * @param {String} opts.name Name (trailing asterisks allowed)
2230
+ * @param {Array.<String>} opts.id Wrapup code ID(s)
2231
+ * @param {Array.<String>} opts.divisionId Division ID(s)
2232
+ * @param {Object} opts.includeState Wrapup code state(s) to include
2233
+ */
2234
+ getRoutingWrapupcodesDivisionviews(opts) {
2235
+ opts = opts || {};
2236
+
2237
+
2238
+ return this.apiClient.callApi(
2239
+ '/api/v2/routing/wrapupcodes/divisionviews',
2240
+ 'GET',
2241
+ { },
2242
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'includeState': opts['includeState'] },
2243
+ { },
2244
+ { },
2245
+ null,
2246
+ ['PureCloud OAuth'],
2247
+ ['application/json'],
2248
+ ['application/json']
2249
+ );
2250
+ }
2251
+
2088
2252
  /**
2089
2253
  * Get queues for user
2090
2254
  *
@@ -2486,6 +2650,31 @@ class RoutingApi {
2486
2650
  );
2487
2651
  }
2488
2652
 
2653
+ /**
2654
+ * Patch Transcription Settings
2655
+ *
2656
+ * @param {Object} body Organization Settings
2657
+ */
2658
+ patchRoutingSettingsTranscription(body) {
2659
+ // verify the required parameter 'body' is set
2660
+ if (body === undefined || body === null) {
2661
+ throw 'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';
2662
+ }
2663
+
2664
+ return this.apiClient.callApi(
2665
+ '/api/v2/routing/settings/transcription',
2666
+ 'PATCH',
2667
+ { },
2668
+ { },
2669
+ { },
2670
+ { },
2671
+ body,
2672
+ ['PureCloud OAuth'],
2673
+ ['application/json'],
2674
+ ['application/json']
2675
+ );
2676
+ }
2677
+
2489
2678
  /**
2490
2679
  * Update skill group definition
2491
2680
  *
@@ -3224,7 +3413,6 @@ class RoutingApi {
3224
3413
  * Imports a phone number for SMS
3225
3414
  *
3226
3415
  * @param {Object} body SmsPhoneNumber
3227
- * postRoutingSmsPhonenumbersImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3228
3416
  */
3229
3417
  postRoutingSmsPhonenumbersImport(body) {
3230
3418
  // verify the required parameter 'body' is set
@@ -3246,6 +3434,32 @@ class RoutingApi {
3246
3434
  );
3247
3435
  }
3248
3436
 
3437
+ /**
3438
+ * Create a utilization label
3439
+ *
3440
+ * @param {Object} body UtilizationLabel
3441
+ * postRoutingUtilizationLabels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3442
+ */
3443
+ postRoutingUtilizationLabels(body) {
3444
+ // verify the required parameter 'body' is set
3445
+ if (body === undefined || body === null) {
3446
+ throw 'Missing the required parameter "body" when calling postRoutingUtilizationLabels';
3447
+ }
3448
+
3449
+ return this.apiClient.callApi(
3450
+ '/api/v2/routing/utilization/labels',
3451
+ 'POST',
3452
+ { },
3453
+ { },
3454
+ { },
3455
+ { },
3456
+ body,
3457
+ ['PureCloud OAuth'],
3458
+ ['application/json'],
3459
+ ['application/json']
3460
+ );
3461
+ }
3462
+
3249
3463
  /**
3250
3464
  * Create an utilization tag
3251
3465
  *
@@ -3612,6 +3826,37 @@ class RoutingApi {
3612
3826
  );
3613
3827
  }
3614
3828
 
3829
+ /**
3830
+ * Update a utilization label
3831
+ *
3832
+ * @param {String} labelId Utilization Label ID
3833
+ * @param {Object} body UtilizationLabel
3834
+ * putRoutingUtilizationLabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3835
+ */
3836
+ putRoutingUtilizationLabel(labelId, body) {
3837
+ // verify the required parameter 'labelId' is set
3838
+ if (labelId === undefined || labelId === null) {
3839
+ throw 'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';
3840
+ }
3841
+ // verify the required parameter 'body' is set
3842
+ if (body === undefined || body === null) {
3843
+ throw 'Missing the required parameter "body" when calling putRoutingUtilizationLabel';
3844
+ }
3845
+
3846
+ return this.apiClient.callApi(
3847
+ '/api/v2/routing/utilization/labels/{labelId}',
3848
+ 'PUT',
3849
+ { 'labelId': labelId },
3850
+ { },
3851
+ { },
3852
+ { },
3853
+ body,
3854
+ ['PureCloud OAuth'],
3855
+ ['application/json'],
3856
+ ['application/json']
3857
+ );
3858
+ }
3859
+
3615
3860
  /**
3616
3861
  * Update wrap-up code
3617
3862
  *
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -44,7 +44,6 @@ class TelephonyApi {
44
44
  * Get a SIP message.
45
45
  * Get the raw form of the SIP message
46
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
47
  */
49
48
  getTelephonySipmessagesConversation(conversationId) {
50
49
  // verify the required parameter 'conversationId' is set
@@ -72,7 +71,6 @@ class TelephonyApi {
72
71
  * @param {String} conversationId Conversation id
73
72
  * @param {Object} opts Optional parameters
74
73
  * @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
74
  */
77
75
  getTelephonySipmessagesConversationHeaders(conversationId, opts) {
78
76
  opts = opts || {};
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -773,8 +773,9 @@ class TelephonyProvidersEdgeApi {
773
773
  }
774
774
 
775
775
  /**
776
- * Get the list of available languages.
776
+ * Get the list of available languages. For never released keyword spotting feature. Deprecated, do not use.
777
777
  *
778
+ * @deprecated
778
779
  */
779
780
  getTelephonyProvidersEdgesAvailablelanguages() {
780
781
 
@@ -1193,7 +1194,6 @@ class TelephonyProvidersEdgeApi {
1193
1194
  * @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
1194
1195
  * @param {String} opts.name Name of the Extension Pools to filter by.
1195
1196
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1196
- * getTelephonyProvidersEdgesExtensionpoolsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1197
1197
  */
1198
1198
  getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
1199
1199
  opts = opts || {};
@@ -1965,6 +1965,7 @@ class TelephonyProvidersEdgeApi {
1965
1965
  * @param {String} opts.name Name
1966
1966
  * @param {String} opts.locationId Location Id
1967
1967
  * @param {Boolean} opts.managed Filter by managed
1968
+ * @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
1968
1969
  */
1969
1970
  getTelephonyProvidersEdgesSites(opts) {
1970
1971
  opts = opts || {};
@@ -1974,7 +1975,7 @@ class TelephonyProvidersEdgeApi {
1974
1975
  '/api/v2/telephony/providers/edges/sites',
1975
1976
  'GET',
1976
1977
  { },
1977
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'] },
1978
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1978
1979
  { },
1979
1980
  { },
1980
1981
  null,
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
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 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 184.0.0
8
+ * @version 186.0.1
9
9
  */
10
10
 
11
11
  /**