purecloud-platform-client-v2 249.0.0 → 250.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 (97) hide show
  1. package/README.md +34 -3
  2. package/dist/node/purecloud-platform-client-v2.js +20042 -5569
  3. package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +11159 -5369
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +10600 -2242
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class TeamsApi {
24
24
  * Delete team
25
25
  *
26
26
  * @param {String} teamId Team ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteTeam(teamId) {
30
+ deleteTeam(teamId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'teamId' is set
30
34
  if (teamId === undefined || teamId === null || teamId === '') {
31
35
  throw 'Missing the required parameter "teamId" when calling deleteTeam';
@@ -41,7 +45,8 @@ class TeamsApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -50,8 +55,12 @@ class TeamsApi {
50
55
  *
51
56
  * @param {String} teamId Team ID
52
57
  * @param {String} id Comma separated list of member ids to remove
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
60
  */
54
- deleteTeamMembers(teamId, id) {
61
+ deleteTeamMembers(teamId, id, opts) {
62
+ opts = opts || {};
63
+
55
64
  // verify the required parameter 'teamId' is set
56
65
  if (teamId === undefined || teamId === null || teamId === '') {
57
66
  throw 'Missing the required parameter "teamId" when calling deleteTeamMembers';
@@ -71,7 +80,8 @@ class TeamsApi {
71
80
  null,
72
81
  ['PureCloud OAuth'],
73
82
  ['application/json'],
74
- ['application/json']
83
+ ['application/json'],
84
+ opts['customHeaders']
75
85
  );
76
86
  }
77
87
 
@@ -81,6 +91,7 @@ class TeamsApi {
81
91
  * @param {String} teamId Team ID
82
92
  * @param {Object} opts Optional parameters
83
93
  * @param {Object} opts.expand Expand the division name
94
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
84
95
  */
85
96
  getTeam(teamId, opts) {
86
97
  opts = opts || {};
@@ -100,7 +111,8 @@ class TeamsApi {
100
111
  null,
101
112
  ['PureCloud OAuth'],
102
113
  ['application/json'],
103
- ['application/json']
114
+ ['application/json'],
115
+ opts['customHeaders']
104
116
  );
105
117
  }
106
118
 
@@ -113,6 +125,7 @@ class TeamsApi {
113
125
  * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
114
126
  * @param {String} opts.after The cursor that points to the next item in the complete list of teams
115
127
  * @param {Object} opts.expand Expand the name on each user
128
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
116
129
  */
117
130
  getTeamMembers(teamId, opts) {
118
131
  opts = opts || {};
@@ -132,7 +145,8 @@ class TeamsApi {
132
145
  null,
133
146
  ['PureCloud OAuth'],
134
147
  ['application/json'],
135
- ['application/json']
148
+ ['application/json'],
149
+ opts['customHeaders']
136
150
  );
137
151
  }
138
152
 
@@ -145,6 +159,7 @@ class TeamsApi {
145
159
  * @param {String} opts.after The cursor that points to the next item in the complete list of teams
146
160
  * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
147
161
  * @param {Object} opts.expand Expand the division on each team
162
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
148
163
  */
149
164
  getTeams(opts) {
150
165
  opts = opts || {};
@@ -160,7 +175,8 @@ class TeamsApi {
160
175
  null,
161
176
  ['PureCloud OAuth'],
162
177
  ['application/json'],
163
- ['application/json']
178
+ ['application/json'],
179
+ opts['customHeaders']
164
180
  );
165
181
  }
166
182
 
@@ -169,8 +185,12 @@ class TeamsApi {
169
185
  *
170
186
  * @param {String} teamId Team ID
171
187
  * @param {Object} body Team
188
+ * @param {Object} opts Optional parameters
189
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
172
190
  */
173
- patchTeam(teamId, body) {
191
+ patchTeam(teamId, body, opts) {
192
+ opts = opts || {};
193
+
174
194
  // verify the required parameter 'teamId' is set
175
195
  if (teamId === undefined || teamId === null || teamId === '') {
176
196
  throw 'Missing the required parameter "teamId" when calling patchTeam';
@@ -190,7 +210,8 @@ class TeamsApi {
190
210
  body,
191
211
  ['PureCloud OAuth'],
192
212
  ['application/json'],
193
- ['application/json']
213
+ ['application/json'],
214
+ opts['customHeaders']
194
215
  );
195
216
  }
196
217
 
@@ -201,6 +222,7 @@ class TeamsApi {
201
222
  * @param {Object} opts Optional parameters
202
223
  * @param {Number} opts.pageSize The desired page size
203
224
  * @param {Number} opts.pageNumber The desired page number
225
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
204
226
  */
205
227
  postAnalyticsTeamsActivityQuery(body, opts) {
206
228
  opts = opts || {};
@@ -220,7 +242,8 @@ class TeamsApi {
220
242
  body,
221
243
  ['PureCloud OAuth'],
222
244
  ['application/json'],
223
- ['application/json']
245
+ ['application/json'],
246
+ opts['customHeaders']
224
247
  );
225
248
  }
226
249
 
@@ -229,8 +252,12 @@ class TeamsApi {
229
252
  *
230
253
  * @param {String} teamId Team ID
231
254
  * @param {Object} body TeamMembers
255
+ * @param {Object} opts Optional parameters
256
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
232
257
  */
233
- postTeamMembers(teamId, body) {
258
+ postTeamMembers(teamId, body, opts) {
259
+ opts = opts || {};
260
+
234
261
  // verify the required parameter 'teamId' is set
235
262
  if (teamId === undefined || teamId === null || teamId === '') {
236
263
  throw 'Missing the required parameter "teamId" when calling postTeamMembers';
@@ -250,7 +277,8 @@ class TeamsApi {
250
277
  body,
251
278
  ['PureCloud OAuth'],
252
279
  ['application/json'],
253
- ['application/json']
280
+ ['application/json'],
281
+ opts['customHeaders']
254
282
  );
255
283
  }
256
284
 
@@ -258,8 +286,12 @@ class TeamsApi {
258
286
  * Create a team
259
287
  *
260
288
  * @param {Object} body Team
289
+ * @param {Object} opts Optional parameters
290
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
261
291
  */
262
- postTeams(body) {
292
+ postTeams(body, opts) {
293
+ opts = opts || {};
294
+
263
295
  // verify the required parameter 'body' is set
264
296
  if (body === undefined || body === null) {
265
297
  throw 'Missing the required parameter "body" when calling postTeams';
@@ -275,7 +307,8 @@ class TeamsApi {
275
307
  body,
276
308
  ['PureCloud OAuth'],
277
309
  ['application/json'],
278
- ['application/json']
310
+ ['application/json'],
311
+ opts['customHeaders']
279
312
  );
280
313
  }
281
314
 
@@ -283,8 +316,12 @@ class TeamsApi {
283
316
  * Search resources.
284
317
  *
285
318
  * @param {Object} body Search request options
319
+ * @param {Object} opts Optional parameters
320
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
286
321
  */
287
- postTeamsSearch(body) {
322
+ postTeamsSearch(body, opts) {
323
+ opts = opts || {};
324
+
288
325
  // verify the required parameter 'body' is set
289
326
  if (body === undefined || body === null) {
290
327
  throw 'Missing the required parameter "body" when calling postTeamsSearch';
@@ -300,7 +337,8 @@ class TeamsApi {
300
337
  body,
301
338
  ['PureCloud OAuth'],
302
339
  ['application/json'],
303
- ['application/json']
340
+ ['application/json'],
341
+ opts['customHeaders']
304
342
  );
305
343
  }
306
344
 
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class TelephonyApi {
24
24
  * Get an agent's greetings.
25
25
  *
26
26
  * @param {String} agentId User ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- getTelephonyAgentGreetings(agentId) {
30
+ getTelephonyAgentGreetings(agentId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'agentId' is set
30
34
  if (agentId === undefined || agentId === null || agentId === '') {
31
35
  throw 'Missing the required parameter "agentId" when calling getTelephonyAgentGreetings';
@@ -41,15 +45,20 @@ class TelephonyApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
48
53
  /**
49
54
  * Get the agent's own greetings.
50
55
  *
56
+ * @param {Object} opts Optional parameters
57
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
51
58
  */
52
- getTelephonyAgentsGreetingsMe() {
59
+ getTelephonyAgentsGreetingsMe(opts) {
60
+ opts = opts || {};
61
+
53
62
 
54
63
  return this.apiClient.callApi(
55
64
  '/api/v2/telephony/agents/greetings/me',
@@ -61,7 +70,8 @@ class TelephonyApi {
61
70
  null,
62
71
  ['PureCloud OAuth'],
63
72
  ['application/json'],
64
- ['application/json']
73
+ ['application/json'],
74
+ opts['customHeaders']
65
75
  );
66
76
  }
67
77
 
@@ -70,6 +80,7 @@ class TelephonyApi {
70
80
  *
71
81
  * @param {Object} opts Optional parameters
72
82
  * @param {Object} opts.metricType Flag to indicate metric type to fetch. (default to cloud)
83
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
73
84
  */
74
85
  getTelephonyCallsMetrics(opts) {
75
86
  opts = opts || {};
@@ -85,15 +96,20 @@ class TelephonyApi {
85
96
  null,
86
97
  ['PureCloud OAuth'],
87
98
  ['application/json'],
88
- ['application/json']
99
+ ['application/json'],
100
+ opts['customHeaders']
89
101
  );
90
102
  }
91
103
 
92
104
  /**
93
105
  * Retrieve the list of AWS regions media can stream through.
94
106
  *
107
+ * @param {Object} opts Optional parameters
108
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
95
109
  */
96
- getTelephonyMediaregions() {
110
+ getTelephonyMediaregions(opts) {
111
+ opts = opts || {};
112
+
97
113
 
98
114
  return this.apiClient.callApi(
99
115
  '/api/v2/telephony/mediaregions',
@@ -105,15 +121,20 @@ class TelephonyApi {
105
121
  null,
106
122
  ['PureCloud OAuth'],
107
123
  ['application/json'],
108
- ['application/json']
124
+ ['application/json'],
125
+ opts['customHeaders']
109
126
  );
110
127
  }
111
128
 
112
129
  /**
113
130
  * Get the global telephony configuration.
114
131
  *
132
+ * @param {Object} opts Optional parameters
133
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
115
134
  */
116
- getTelephonySettings() {
135
+ getTelephonySettings(opts) {
136
+ opts = opts || {};
137
+
117
138
 
118
139
  return this.apiClient.callApi(
119
140
  '/api/v2/telephony/settings',
@@ -125,7 +146,8 @@ class TelephonyApi {
125
146
  null,
126
147
  ['PureCloud OAuth'],
127
148
  ['application/json'],
128
- ['application/json']
149
+ ['application/json'],
150
+ opts['customHeaders']
129
151
  );
130
152
  }
131
153
 
@@ -133,8 +155,12 @@ class TelephonyApi {
133
155
  * Get a SIP message.
134
156
  * Get the raw form of the SIP message
135
157
  * @param {String} conversationId Conversation id
158
+ * @param {Object} opts Optional parameters
159
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
136
160
  */
137
- getTelephonySipmessagesConversation(conversationId) {
161
+ getTelephonySipmessagesConversation(conversationId, opts) {
162
+ opts = opts || {};
163
+
138
164
  // verify the required parameter 'conversationId' is set
139
165
  if (conversationId === undefined || conversationId === null || conversationId === '') {
140
166
  throw 'Missing the required parameter "conversationId" when calling getTelephonySipmessagesConversation';
@@ -150,7 +176,8 @@ class TelephonyApi {
150
176
  null,
151
177
  ['PureCloud OAuth'],
152
178
  ['application/json'],
153
- ['application/json']
179
+ ['application/json'],
180
+ opts['customHeaders']
154
181
  );
155
182
  }
156
183
 
@@ -160,6 +187,7 @@ class TelephonyApi {
160
187
  * @param {String} conversationId Conversation id
161
188
  * @param {Object} opts Optional parameters
162
189
  * @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
190
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
163
191
  */
164
192
  getTelephonySipmessagesConversationHeaders(conversationId, opts) {
165
193
  opts = opts || {};
@@ -179,7 +207,8 @@ class TelephonyApi {
179
207
  null,
180
208
  ['PureCloud OAuth'],
181
209
  ['application/json'],
182
- ['application/json']
210
+ ['application/json'],
211
+ opts['customHeaders']
183
212
  );
184
213
  }
185
214
 
@@ -193,6 +222,7 @@ class TelephonyApi {
193
222
  * @param {String} opts.toUser User to who the call was placed
194
223
  * @param {String} opts.fromUser user who placed the call
195
224
  * @param {String} opts.conversationId Unique identification of the conversation
225
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
196
226
  */
197
227
  getTelephonySiptraces(dateStart, dateEnd, opts) {
198
228
  opts = opts || {};
@@ -216,7 +246,8 @@ class TelephonyApi {
216
246
  null,
217
247
  ['PureCloud OAuth'],
218
248
  ['application/json'],
219
- ['application/json']
249
+ ['application/json'],
250
+ opts['customHeaders']
220
251
  );
221
252
  }
222
253
 
@@ -224,8 +255,12 @@ class TelephonyApi {
224
255
  * Get signed S3 URL for a pcap download
225
256
  *
226
257
  * @param {String} downloadId unique id for the downloaded file in S3
258
+ * @param {Object} opts Optional parameters
259
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
227
260
  */
228
- getTelephonySiptracesDownloadDownloadId(downloadId) {
261
+ getTelephonySiptracesDownloadDownloadId(downloadId, opts) {
262
+ opts = opts || {};
263
+
229
264
  // verify the required parameter 'downloadId' is set
230
265
  if (downloadId === undefined || downloadId === null || downloadId === '') {
231
266
  throw 'Missing the required parameter "downloadId" when calling getTelephonySiptracesDownloadDownloadId';
@@ -241,7 +276,8 @@ class TelephonyApi {
241
276
  null,
242
277
  ['PureCloud OAuth'],
243
278
  ['application/json'],
244
- ['application/json']
279
+ ['application/json'],
280
+ opts['customHeaders']
245
281
  );
246
282
  }
247
283
 
@@ -249,8 +285,12 @@ class TelephonyApi {
249
285
  * Request a download of a pcap file to S3
250
286
  *
251
287
  * @param {Object} sIPSearchPublicRequest
288
+ * @param {Object} opts Optional parameters
289
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
252
290
  */
253
- postTelephonySiptracesDownload(sIPSearchPublicRequest) {
291
+ postTelephonySiptracesDownload(sIPSearchPublicRequest, opts) {
292
+ opts = opts || {};
293
+
254
294
  // verify the required parameter 'sIPSearchPublicRequest' is set
255
295
  if (sIPSearchPublicRequest === undefined || sIPSearchPublicRequest === null) {
256
296
  throw 'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';
@@ -266,7 +306,8 @@ class TelephonyApi {
266
306
  sIPSearchPublicRequest,
267
307
  ['PureCloud OAuth'],
268
308
  ['application/json'],
269
- ['application/json']
309
+ ['application/json'],
310
+ opts['customHeaders']
270
311
  );
271
312
  }
272
313
 
@@ -275,8 +316,12 @@ class TelephonyApi {
275
316
  *
276
317
  * @param {String} agentId User ID
277
318
  * @param {Object} body Agent Greeting
319
+ * @param {Object} opts Optional parameters
320
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
278
321
  */
279
- putTelephonyAgentGreetings(agentId, body) {
322
+ putTelephonyAgentGreetings(agentId, body, opts) {
323
+ opts = opts || {};
324
+
280
325
  // verify the required parameter 'agentId' is set
281
326
  if (agentId === undefined || agentId === null || agentId === '') {
282
327
  throw 'Missing the required parameter "agentId" when calling putTelephonyAgentGreetings';
@@ -296,7 +341,8 @@ class TelephonyApi {
296
341
  body,
297
342
  ['PureCloud OAuth'],
298
343
  ['application/json'],
299
- ['application/json']
344
+ ['application/json'],
345
+ opts['customHeaders']
300
346
  );
301
347
  }
302
348
 
@@ -304,8 +350,12 @@ class TelephonyApi {
304
350
  * Updates the agent's own greetings.
305
351
  *
306
352
  * @param {Object} body Agent Greeting
353
+ * @param {Object} opts Optional parameters
354
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
307
355
  */
308
- putTelephonyAgentsGreetingsMe(body) {
356
+ putTelephonyAgentsGreetingsMe(body, opts) {
357
+ opts = opts || {};
358
+
309
359
  // verify the required parameter 'body' is set
310
360
  if (body === undefined || body === null) {
311
361
  throw 'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';
@@ -321,7 +371,8 @@ class TelephonyApi {
321
371
  body,
322
372
  ['PureCloud OAuth'],
323
373
  ['application/json'],
324
- ['application/json']
374
+ ['application/json'],
375
+ opts['customHeaders']
325
376
  );
326
377
  }
327
378
 
@@ -329,8 +380,12 @@ class TelephonyApi {
329
380
  * Update the global telephony configuration.
330
381
  *
331
382
  * @param {Object} body Telephony
383
+ * @param {Object} opts Optional parameters
384
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
332
385
  */
333
- putTelephonySettings(body) {
386
+ putTelephonySettings(body, opts) {
387
+ opts = opts || {};
388
+
334
389
  // verify the required parameter 'body' is set
335
390
  if (body === undefined || body === null) {
336
391
  throw 'Missing the required parameter "body" when calling putTelephonySettings';
@@ -346,7 +401,8 @@ class TelephonyApi {
346
401
  body,
347
402
  ['PureCloud OAuth'],
348
403
  ['application/json'],
349
- ['application/json']
404
+ ['application/json'],
405
+ opts['customHeaders']
350
406
  );
351
407
  }
352
408