purecloud 0.0.0 → 0.17.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.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud/api/analytics_api.rb +57 -57
- data/lib/purecloud/api/architect_api.rb +16 -16
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +53 -53
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +303 -303
- data/lib/purecloud/api/content_management_api.rb +215 -215
- data/lib/purecloud/api/conversations_api.rb +159 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/geolocation_api.rb +24 -24
- data/lib/purecloud/api/greetings_api.rb +56 -56
- data/lib/purecloud/api/groups_api.rb +17 -17
- data/lib/purecloud/api/languages_api.rb +11 -11
- data/lib/purecloud/api/licensing_api.rb +17 -17
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +17 -17
- data/lib/purecloud/api/o_auth_api.rb +97 -97
- data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
- data/lib/purecloud/api/outbound_api.rb +259 -259
- data/lib/purecloud/api/presence_api.rb +53 -53
- data/lib/purecloud/api/quality_api.rb +101 -101
- data/lib/purecloud/api/routing_api.rb +125 -125
- data/lib/purecloud/api/scripts_api.rb +60 -60
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +17 -17
- data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
- data/lib/purecloud/api/user_recordings_api.rb +34 -34
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +15 -15
- data/lib/purecloud/api/voicemail_api.rb +29 -29
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -14,8 +14,8 @@ module PureCloud
|
|
14
14
|
# @option opts [Integer] :page_number Page number
|
15
15
|
# @option opts [Integer] :page_size Page size
|
16
16
|
# @return [OrganizationPresenceEntityListing]
|
17
|
-
def
|
18
|
-
data, status_code, headers =
|
17
|
+
def get(opts = {})
|
18
|
+
data, status_code, headers = get_with_http_info(opts)
|
19
19
|
return data
|
20
20
|
end
|
21
21
|
|
@@ -25,9 +25,9 @@ module PureCloud
|
|
25
25
|
# @option opts [Integer] :page_number Page number
|
26
26
|
# @option opts [Integer] :page_size Page size
|
27
27
|
# @return [Array<(OrganizationPresenceEntityListing, Fixnum, Hash)>] OrganizationPresenceEntityListing data, response status code and response headers
|
28
|
-
def
|
28
|
+
def get_with_http_info(opts = {})
|
29
29
|
if @api_client.config.debugging
|
30
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
30
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#get ..."
|
31
31
|
end
|
32
32
|
|
33
33
|
# resource path
|
@@ -65,7 +65,7 @@ module PureCloud
|
|
65
65
|
:auth_names => auth_names,
|
66
66
|
:return_type => 'OrganizationPresenceEntityListing')
|
67
67
|
if @api_client.config.debugging
|
68
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
68
|
+
@api_client.config.logger.debug "API called: PresenceApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
69
69
|
end
|
70
70
|
return data, status_code, headers
|
71
71
|
end
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
# @param body The OrganizationPresence to create
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
77
|
# @return [OrganizationPresence]
|
78
|
-
def
|
79
|
-
data, status_code, headers =
|
78
|
+
def create(body, opts = {})
|
79
|
+
data, status_code, headers = create_with_http_info(body, opts)
|
80
80
|
return data
|
81
81
|
end
|
82
82
|
|
@@ -85,13 +85,13 @@ module PureCloud
|
|
85
85
|
# @param body The OrganizationPresence to create
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
|
88
|
-
def
|
88
|
+
def create_with_http_info(body, opts = {})
|
89
89
|
if @api_client.config.debugging
|
90
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
90
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#create ..."
|
91
91
|
end
|
92
92
|
|
93
93
|
# verify the required parameter 'body' is set
|
94
|
-
fail "Missing the required parameter 'body' when calling
|
94
|
+
fail "Missing the required parameter 'body' when calling create" if body.nil?
|
95
95
|
|
96
96
|
# resource path
|
97
97
|
path = "/api/v1/presencedefinitions".sub('{format}','json')
|
@@ -126,7 +126,7 @@ module PureCloud
|
|
126
126
|
:auth_names => auth_names,
|
127
127
|
:return_type => 'OrganizationPresence')
|
128
128
|
if @api_client.config.debugging
|
129
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
129
|
+
@api_client.config.logger.debug "API called: PresenceApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
130
|
end
|
131
131
|
return data, status_code, headers
|
132
132
|
end
|
@@ -136,8 +136,8 @@ module PureCloud
|
|
136
136
|
# @param presence_id Organization Presence ID
|
137
137
|
# @param [Hash] opts the optional parameters
|
138
138
|
# @return [OrganizationPresence]
|
139
|
-
def
|
140
|
-
data, status_code, headers =
|
139
|
+
def get_presence(presence_id, opts = {})
|
140
|
+
data, status_code, headers = get_presence_with_http_info(presence_id, opts)
|
141
141
|
return data
|
142
142
|
end
|
143
143
|
|
@@ -146,13 +146,13 @@ module PureCloud
|
|
146
146
|
# @param presence_id Organization Presence ID
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
148
|
# @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
|
149
|
-
def
|
149
|
+
def get_presence_with_http_info(presence_id, opts = {})
|
150
150
|
if @api_client.config.debugging
|
151
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
151
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#get_presence ..."
|
152
152
|
end
|
153
153
|
|
154
154
|
# verify the required parameter 'presence_id' is set
|
155
|
-
fail "Missing the required parameter 'presence_id' when calling
|
155
|
+
fail "Missing the required parameter 'presence_id' when calling get_presence" if presence_id.nil?
|
156
156
|
|
157
157
|
# resource path
|
158
158
|
path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
@@ -187,7 +187,7 @@ module PureCloud
|
|
187
187
|
:auth_names => auth_names,
|
188
188
|
:return_type => 'OrganizationPresence')
|
189
189
|
if @api_client.config.debugging
|
190
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
190
|
+
@api_client.config.logger.debug "API called: PresenceApi#get_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
191
191
|
end
|
192
192
|
return data, status_code, headers
|
193
193
|
end
|
@@ -198,8 +198,8 @@ module PureCloud
|
|
198
198
|
# @param body The OrganizationPresence to update
|
199
199
|
# @param [Hash] opts the optional parameters
|
200
200
|
# @return [OrganizationPresence]
|
201
|
-
def
|
202
|
-
data, status_code, headers =
|
201
|
+
def update_presence(presence_id, body, opts = {})
|
202
|
+
data, status_code, headers = update_presence_with_http_info(presence_id, body, opts)
|
203
203
|
return data
|
204
204
|
end
|
205
205
|
|
@@ -209,16 +209,16 @@ module PureCloud
|
|
209
209
|
# @param body The OrganizationPresence to update
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
211
|
# @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
|
212
|
-
def
|
212
|
+
def update_presence_with_http_info(presence_id, body, opts = {})
|
213
213
|
if @api_client.config.debugging
|
214
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
214
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#update_presence ..."
|
215
215
|
end
|
216
216
|
|
217
217
|
# verify the required parameter 'presence_id' is set
|
218
|
-
fail "Missing the required parameter 'presence_id' when calling
|
218
|
+
fail "Missing the required parameter 'presence_id' when calling update_presence" if presence_id.nil?
|
219
219
|
|
220
220
|
# verify the required parameter 'body' is set
|
221
|
-
fail "Missing the required parameter 'body' when calling
|
221
|
+
fail "Missing the required parameter 'body' when calling update_presence" if body.nil?
|
222
222
|
|
223
223
|
# resource path
|
224
224
|
path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
@@ -253,7 +253,7 @@ module PureCloud
|
|
253
253
|
:auth_names => auth_names,
|
254
254
|
:return_type => 'OrganizationPresence')
|
255
255
|
if @api_client.config.debugging
|
256
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
256
|
+
@api_client.config.logger.debug "API called: PresenceApi#update_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
257
257
|
end
|
258
258
|
return data, status_code, headers
|
259
259
|
end
|
@@ -263,8 +263,8 @@ module PureCloud
|
|
263
263
|
# @param presence_id Organization Presence ID
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @return [OrganizationPresence]
|
266
|
-
def
|
267
|
-
data, status_code, headers =
|
266
|
+
def delete_presence(presence_id, opts = {})
|
267
|
+
data, status_code, headers = delete_presence_with_http_info(presence_id, opts)
|
268
268
|
return data
|
269
269
|
end
|
270
270
|
|
@@ -273,13 +273,13 @@ module PureCloud
|
|
273
273
|
# @param presence_id Organization Presence ID
|
274
274
|
# @param [Hash] opts the optional parameters
|
275
275
|
# @return [Array<(OrganizationPresence, Fixnum, Hash)>] OrganizationPresence data, response status code and response headers
|
276
|
-
def
|
276
|
+
def delete_presence_with_http_info(presence_id, opts = {})
|
277
277
|
if @api_client.config.debugging
|
278
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
278
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#delete_presence ..."
|
279
279
|
end
|
280
280
|
|
281
281
|
# verify the required parameter 'presence_id' is set
|
282
|
-
fail "Missing the required parameter 'presence_id' when calling
|
282
|
+
fail "Missing the required parameter 'presence_id' when calling delete_presence" if presence_id.nil?
|
283
283
|
|
284
284
|
# resource path
|
285
285
|
path = "/api/v1/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
@@ -314,7 +314,7 @@ module PureCloud
|
|
314
314
|
:auth_names => auth_names,
|
315
315
|
:return_type => 'OrganizationPresence')
|
316
316
|
if @api_client.config.debugging
|
317
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
317
|
+
@api_client.config.logger.debug "API called: PresenceApi#delete_presence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
318
318
|
end
|
319
319
|
return data, status_code, headers
|
320
320
|
end
|
@@ -392,8 +392,8 @@ module PureCloud
|
|
392
392
|
# @param source Source
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [UserPresence]
|
395
|
-
def
|
396
|
-
data, status_code, headers =
|
395
|
+
def get_user_presences_by_source(user_id, source, opts = {})
|
396
|
+
data, status_code, headers = get_user_presences_by_source_with_http_info(user_id, source, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
@@ -403,16 +403,16 @@ module PureCloud
|
|
403
403
|
# @param source Source
|
404
404
|
# @param [Hash] opts the optional parameters
|
405
405
|
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
406
|
-
def
|
406
|
+
def get_user_presences_by_source_with_http_info(user_id, source, opts = {})
|
407
407
|
if @api_client.config.debugging
|
408
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
408
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#get_user_presences_by_source ..."
|
409
409
|
end
|
410
410
|
|
411
411
|
# verify the required parameter 'user_id' is set
|
412
|
-
fail "Missing the required parameter 'user_id' when calling
|
412
|
+
fail "Missing the required parameter 'user_id' when calling get_user_presences_by_source" if user_id.nil?
|
413
413
|
|
414
414
|
# verify the required parameter 'source' is set
|
415
|
-
fail "Missing the required parameter 'source' when calling
|
415
|
+
fail "Missing the required parameter 'source' when calling get_user_presences_by_source" if source.nil?
|
416
416
|
|
417
417
|
# resource path
|
418
418
|
path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
@@ -447,7 +447,7 @@ module PureCloud
|
|
447
447
|
:auth_names => auth_names,
|
448
448
|
:return_type => 'UserPresence')
|
449
449
|
if @api_client.config.debugging
|
450
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
450
|
+
@api_client.config.logger.debug "API called: PresenceApi#get_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
451
451
|
end
|
452
452
|
return data, status_code, headers
|
453
453
|
end
|
@@ -459,8 +459,8 @@ module PureCloud
|
|
459
459
|
# @param body The updated UserPresence
|
460
460
|
# @param [Hash] opts the optional parameters
|
461
461
|
# @return [UserPresence]
|
462
|
-
def
|
463
|
-
data, status_code, headers =
|
462
|
+
def update_user_presences_by_source(user_id, source, body, opts = {})
|
463
|
+
data, status_code, headers = update_user_presences_by_source_with_http_info(user_id, source, body, opts)
|
464
464
|
return data
|
465
465
|
end
|
466
466
|
|
@@ -471,19 +471,19 @@ module PureCloud
|
|
471
471
|
# @param body The updated UserPresence
|
472
472
|
# @param [Hash] opts the optional parameters
|
473
473
|
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
474
|
-
def
|
474
|
+
def update_user_presences_by_source_with_http_info(user_id, source, body, opts = {})
|
475
475
|
if @api_client.config.debugging
|
476
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
476
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#update_user_presences_by_source ..."
|
477
477
|
end
|
478
478
|
|
479
479
|
# verify the required parameter 'user_id' is set
|
480
|
-
fail "Missing the required parameter 'user_id' when calling
|
480
|
+
fail "Missing the required parameter 'user_id' when calling update_user_presences_by_source" if user_id.nil?
|
481
481
|
|
482
482
|
# verify the required parameter 'source' is set
|
483
|
-
fail "Missing the required parameter 'source' when calling
|
483
|
+
fail "Missing the required parameter 'source' when calling update_user_presences_by_source" if source.nil?
|
484
484
|
|
485
485
|
# verify the required parameter 'body' is set
|
486
|
-
fail "Missing the required parameter 'body' when calling
|
486
|
+
fail "Missing the required parameter 'body' when calling update_user_presences_by_source" if body.nil?
|
487
487
|
|
488
488
|
# resource path
|
489
489
|
path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
@@ -518,7 +518,7 @@ module PureCloud
|
|
518
518
|
:auth_names => auth_names,
|
519
519
|
:return_type => 'UserPresence')
|
520
520
|
if @api_client.config.debugging
|
521
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
521
|
+
@api_client.config.logger.debug "API called: PresenceApi#update_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
522
522
|
end
|
523
523
|
return data, status_code, headers
|
524
524
|
end
|
@@ -530,8 +530,8 @@ module PureCloud
|
|
530
530
|
# @param body The patched UserPresence
|
531
531
|
# @param [Hash] opts the optional parameters
|
532
532
|
# @return [UserPresence]
|
533
|
-
def
|
534
|
-
data, status_code, headers =
|
533
|
+
def patch_user_presences_by_source(user_id, source, body, opts = {})
|
534
|
+
data, status_code, headers = patch_user_presences_by_source_with_http_info(user_id, source, body, opts)
|
535
535
|
return data
|
536
536
|
end
|
537
537
|
|
@@ -542,19 +542,19 @@ module PureCloud
|
|
542
542
|
# @param body The patched UserPresence
|
543
543
|
# @param [Hash] opts the optional parameters
|
544
544
|
# @return [Array<(UserPresence, Fixnum, Hash)>] UserPresence data, response status code and response headers
|
545
|
-
def
|
545
|
+
def patch_user_presences_by_source_with_http_info(user_id, source, body, opts = {})
|
546
546
|
if @api_client.config.debugging
|
547
|
-
@api_client.config.logger.debug "Calling API: PresenceApi#
|
547
|
+
@api_client.config.logger.debug "Calling API: PresenceApi#patch_user_presences_by_source ..."
|
548
548
|
end
|
549
549
|
|
550
550
|
# verify the required parameter 'user_id' is set
|
551
|
-
fail "Missing the required parameter 'user_id' when calling
|
551
|
+
fail "Missing the required parameter 'user_id' when calling patch_user_presences_by_source" if user_id.nil?
|
552
552
|
|
553
553
|
# verify the required parameter 'source' is set
|
554
|
-
fail "Missing the required parameter 'source' when calling
|
554
|
+
fail "Missing the required parameter 'source' when calling patch_user_presences_by_source" if source.nil?
|
555
555
|
|
556
556
|
# verify the required parameter 'body' is set
|
557
|
-
fail "Missing the required parameter 'body' when calling
|
557
|
+
fail "Missing the required parameter 'body' when calling patch_user_presences_by_source" if body.nil?
|
558
558
|
|
559
559
|
# resource path
|
560
560
|
path = "/api/v1/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
@@ -589,7 +589,7 @@ module PureCloud
|
|
589
589
|
:auth_names => auth_names,
|
590
590
|
:return_type => 'UserPresence')
|
591
591
|
if @api_client.config.debugging
|
592
|
-
@api_client.config.logger.debug "API called: PresenceApi#
|
592
|
+
@api_client.config.logger.debug "API called: PresenceApi#patch_user_presences_by_source\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
593
593
|
end
|
594
594
|
return data, status_code, headers
|
595
595
|
end
|
@@ -89,8 +89,8 @@ module PureCloud
|
|
89
89
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
90
90
|
# @option opts [String] :file_name the name of the downloaded fileName
|
91
91
|
# @return [nil]
|
92
|
-
def
|
93
|
-
|
92
|
+
def get_conversation_recordings_by_recording_id(conversation_id, recording_id, opts = {})
|
93
|
+
get_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, opts)
|
94
94
|
return nil
|
95
95
|
end
|
96
96
|
|
@@ -104,16 +104,16 @@ module PureCloud
|
|
104
104
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
105
105
|
# @option opts [String] :file_name the name of the downloaded fileName
|
106
106
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
107
|
-
def
|
107
|
+
def get_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
109
|
+
@api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id ..."
|
110
110
|
end
|
111
111
|
|
112
112
|
# verify the required parameter 'conversation_id' is set
|
113
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
113
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id" if conversation_id.nil?
|
114
114
|
|
115
115
|
# verify the required parameter 'recording_id' is set
|
116
|
-
fail "Missing the required parameter 'recording_id' when calling
|
116
|
+
fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id" if recording_id.nil?
|
117
117
|
|
118
118
|
if opts[:'format_id'] && !['WEBM', 'WAV'].include?(opts[:'format_id'])
|
119
119
|
fail 'invalid value for "format_id", must be one of WEBM, WAV'
|
@@ -155,7 +155,7 @@ module PureCloud
|
|
155
155
|
:body => post_body,
|
156
156
|
:auth_names => auth_names)
|
157
157
|
if @api_client.config.debugging
|
158
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
158
|
+
@api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
159
159
|
end
|
160
160
|
return data, status_code, headers
|
161
161
|
end
|
@@ -168,8 +168,8 @@ module PureCloud
|
|
168
168
|
# @param [Hash] opts the optional parameters
|
169
169
|
# @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
|
170
170
|
# @return [nil]
|
171
|
-
def
|
172
|
-
|
171
|
+
def update_conversation_recordings_by_recording_id(conversation_id, recording_id, body, opts = {})
|
172
|
+
update_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, body, opts)
|
173
173
|
return nil
|
174
174
|
end
|
175
175
|
|
@@ -181,19 +181,19 @@ module PureCloud
|
|
181
181
|
# @param [Hash] opts the optional parameters
|
182
182
|
# @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
|
183
183
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
184
|
-
def
|
184
|
+
def update_conversation_recordings_by_recording_id_with_http_info(conversation_id, recording_id, body, opts = {})
|
185
185
|
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
186
|
+
@api_client.config.logger.debug "Calling API: QualityApi#update_conversation_recordings_by_recording_id ..."
|
187
187
|
end
|
188
188
|
|
189
189
|
# verify the required parameter 'conversation_id' is set
|
190
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
190
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_recordings_by_recording_id" if conversation_id.nil?
|
191
191
|
|
192
192
|
# verify the required parameter 'recording_id' is set
|
193
|
-
fail "Missing the required parameter 'recording_id' when calling
|
193
|
+
fail "Missing the required parameter 'recording_id' when calling update_conversation_recordings_by_recording_id" if recording_id.nil?
|
194
194
|
|
195
195
|
# verify the required parameter 'body' is set
|
196
|
-
fail "Missing the required parameter 'body' when calling
|
196
|
+
fail "Missing the required parameter 'body' when calling update_conversation_recordings_by_recording_id" if body.nil?
|
197
197
|
|
198
198
|
# resource path
|
199
199
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
@@ -228,7 +228,7 @@ module PureCloud
|
|
228
228
|
:body => post_body,
|
229
229
|
:auth_names => auth_names)
|
230
230
|
if @api_client.config.debugging
|
231
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
231
|
+
@api_client.config.logger.debug "API called: QualityApi#update_conversation_recordings_by_recording_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
232
232
|
end
|
233
233
|
return data, status_code, headers
|
234
234
|
end
|
@@ -239,8 +239,8 @@ module PureCloud
|
|
239
239
|
# @param recording_id Recording ID
|
240
240
|
# @param [Hash] opts the optional parameters
|
241
241
|
# @return [Array<Annotation>]
|
242
|
-
def
|
243
|
-
data, status_code, headers =
|
242
|
+
def get_conversation_recordings_by_recording_id_annotations(conversation_id, recording_id, opts = {})
|
243
|
+
data, status_code, headers = get_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts)
|
244
244
|
return data
|
245
245
|
end
|
246
246
|
|
@@ -250,16 +250,16 @@ module PureCloud
|
|
250
250
|
# @param recording_id Recording ID
|
251
251
|
# @param [Hash] opts the optional parameters
|
252
252
|
# @return [Array<(Array<Annotation>, Fixnum, Hash)>] Array<Annotation> data, response status code and response headers
|
253
|
-
def
|
253
|
+
def get_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts = {})
|
254
254
|
if @api_client.config.debugging
|
255
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
255
|
+
@api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id_annotations ..."
|
256
256
|
end
|
257
257
|
|
258
258
|
# verify the required parameter 'conversation_id' is set
|
259
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
259
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id_annotations" if conversation_id.nil?
|
260
260
|
|
261
261
|
# verify the required parameter 'recording_id' is set
|
262
|
-
fail "Missing the required parameter 'recording_id' when calling
|
262
|
+
fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id_annotations" if recording_id.nil?
|
263
263
|
|
264
264
|
# resource path
|
265
265
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
@@ -294,7 +294,7 @@ module PureCloud
|
|
294
294
|
:auth_names => auth_names,
|
295
295
|
:return_type => 'Array<Annotation>')
|
296
296
|
if @api_client.config.debugging
|
297
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
297
|
+
@api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
298
298
|
end
|
299
299
|
return data, status_code, headers
|
300
300
|
end
|
@@ -306,8 +306,8 @@ module PureCloud
|
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
307
|
# @option opts [Annotation] :body annotation
|
308
308
|
# @return [Annotation]
|
309
|
-
def
|
310
|
-
data, status_code, headers =
|
309
|
+
def create_conversation_recordings_by_recording_id_annotations(conversation_id, recording_id, opts = {})
|
310
|
+
data, status_code, headers = create_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts)
|
311
311
|
return data
|
312
312
|
end
|
313
313
|
|
@@ -318,16 +318,16 @@ module PureCloud
|
|
318
318
|
# @param [Hash] opts the optional parameters
|
319
319
|
# @option opts [Annotation] :body annotation
|
320
320
|
# @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
|
321
|
-
def
|
321
|
+
def create_conversation_recordings_by_recording_id_annotations_with_http_info(conversation_id, recording_id, opts = {})
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
323
|
+
@api_client.config.logger.debug "Calling API: QualityApi#create_conversation_recordings_by_recording_id_annotations ..."
|
324
324
|
end
|
325
325
|
|
326
326
|
# verify the required parameter 'conversation_id' is set
|
327
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
327
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_recordings_by_recording_id_annotations" if conversation_id.nil?
|
328
328
|
|
329
329
|
# verify the required parameter 'recording_id' is set
|
330
|
-
fail "Missing the required parameter 'recording_id' when calling
|
330
|
+
fail "Missing the required parameter 'recording_id' when calling create_conversation_recordings_by_recording_id_annotations" if recording_id.nil?
|
331
331
|
|
332
332
|
# resource path
|
333
333
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
@@ -362,7 +362,7 @@ module PureCloud
|
|
362
362
|
:auth_names => auth_names,
|
363
363
|
:return_type => 'Annotation')
|
364
364
|
if @api_client.config.debugging
|
365
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
365
|
+
@api_client.config.logger.debug "API called: QualityApi#create_conversation_recordings_by_recording_id_annotations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
366
366
|
end
|
367
367
|
return data, status_code, headers
|
368
368
|
end
|
@@ -374,8 +374,8 @@ module PureCloud
|
|
374
374
|
# @param annotation_id Annotation ID
|
375
375
|
# @param [Hash] opts the optional parameters
|
376
376
|
# @return [Annotation]
|
377
|
-
def
|
378
|
-
data, status_code, headers =
|
377
|
+
def get_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
|
378
|
+
data, status_code, headers = get_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
|
379
379
|
return data
|
380
380
|
end
|
381
381
|
|
@@ -386,19 +386,19 @@ module PureCloud
|
|
386
386
|
# @param annotation_id Annotation ID
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
388
|
# @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
|
389
|
-
def
|
389
|
+
def get_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
|
390
390
|
if @api_client.config.debugging
|
391
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
391
|
+
@api_client.config.logger.debug "Calling API: QualityApi#get_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
|
392
392
|
end
|
393
393
|
|
394
394
|
# verify the required parameter 'conversation_id' is set
|
395
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
395
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
|
396
396
|
|
397
397
|
# verify the required parameter 'recording_id' is set
|
398
|
-
fail "Missing the required parameter 'recording_id' when calling
|
398
|
+
fail "Missing the required parameter 'recording_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
|
399
399
|
|
400
400
|
# verify the required parameter 'annotation_id' is set
|
401
|
-
fail "Missing the required parameter 'annotation_id' when calling
|
401
|
+
fail "Missing the required parameter 'annotation_id' when calling get_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
|
402
402
|
|
403
403
|
# resource path
|
404
404
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
@@ -433,7 +433,7 @@ module PureCloud
|
|
433
433
|
:auth_names => auth_names,
|
434
434
|
:return_type => 'Annotation')
|
435
435
|
if @api_client.config.debugging
|
436
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
436
|
+
@api_client.config.logger.debug "API called: QualityApi#get_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
437
437
|
end
|
438
438
|
return data, status_code, headers
|
439
439
|
end
|
@@ -446,8 +446,8 @@ module PureCloud
|
|
446
446
|
# @param [Hash] opts the optional parameters
|
447
447
|
# @option opts [Annotation] :body annotation
|
448
448
|
# @return [Annotation]
|
449
|
-
def
|
450
|
-
data, status_code, headers =
|
449
|
+
def update_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
|
450
|
+
data, status_code, headers = update_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
|
451
451
|
return data
|
452
452
|
end
|
453
453
|
|
@@ -459,19 +459,19 @@ module PureCloud
|
|
459
459
|
# @param [Hash] opts the optional parameters
|
460
460
|
# @option opts [Annotation] :body annotation
|
461
461
|
# @return [Array<(Annotation, Fixnum, Hash)>] Annotation data, response status code and response headers
|
462
|
-
def
|
462
|
+
def update_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
|
463
463
|
if @api_client.config.debugging
|
464
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
464
|
+
@api_client.config.logger.debug "Calling API: QualityApi#update_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
|
465
465
|
end
|
466
466
|
|
467
467
|
# verify the required parameter 'conversation_id' is set
|
468
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
468
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
|
469
469
|
|
470
470
|
# verify the required parameter 'recording_id' is set
|
471
|
-
fail "Missing the required parameter 'recording_id' when calling
|
471
|
+
fail "Missing the required parameter 'recording_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
|
472
472
|
|
473
473
|
# verify the required parameter 'annotation_id' is set
|
474
|
-
fail "Missing the required parameter 'annotation_id' when calling
|
474
|
+
fail "Missing the required parameter 'annotation_id' when calling update_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
|
475
475
|
|
476
476
|
# resource path
|
477
477
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
@@ -506,7 +506,7 @@ module PureCloud
|
|
506
506
|
:auth_names => auth_names,
|
507
507
|
:return_type => 'Annotation')
|
508
508
|
if @api_client.config.debugging
|
509
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
509
|
+
@api_client.config.logger.debug "API called: QualityApi#update_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
510
510
|
end
|
511
511
|
return data, status_code, headers
|
512
512
|
end
|
@@ -518,8 +518,8 @@ module PureCloud
|
|
518
518
|
# @param annotation_id Annotation ID
|
519
519
|
# @param [Hash] opts the optional parameters
|
520
520
|
# @return [nil]
|
521
|
-
def
|
522
|
-
|
521
|
+
def delete_conversation_recordings_by_recording_id_annotations_by_annotation_id(conversation_id, recording_id, annotation_id, opts = {})
|
522
|
+
delete_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts)
|
523
523
|
return nil
|
524
524
|
end
|
525
525
|
|
@@ -530,19 +530,19 @@ module PureCloud
|
|
530
530
|
# @param annotation_id Annotation ID
|
531
531
|
# @param [Hash] opts the optional parameters
|
532
532
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
533
|
-
def
|
533
|
+
def delete_conversation_recordings_by_recording_id_annotations_by_annotation_id_with_http_info(conversation_id, recording_id, annotation_id, opts = {})
|
534
534
|
if @api_client.config.debugging
|
535
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
535
|
+
@api_client.config.logger.debug "Calling API: QualityApi#delete_conversation_recordings_by_recording_id_annotations_by_annotation_id ..."
|
536
536
|
end
|
537
537
|
|
538
538
|
# verify the required parameter 'conversation_id' is set
|
539
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
539
|
+
fail "Missing the required parameter 'conversation_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if conversation_id.nil?
|
540
540
|
|
541
541
|
# verify the required parameter 'recording_id' is set
|
542
|
-
fail "Missing the required parameter 'recording_id' when calling
|
542
|
+
fail "Missing the required parameter 'recording_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if recording_id.nil?
|
543
543
|
|
544
544
|
# verify the required parameter 'annotation_id' is set
|
545
|
-
fail "Missing the required parameter 'annotation_id' when calling
|
545
|
+
fail "Missing the required parameter 'annotation_id' when calling delete_conversation_recordings_by_recording_id_annotations_by_annotation_id" if annotation_id.nil?
|
546
546
|
|
547
547
|
# resource path
|
548
548
|
path = "/api/v1/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
@@ -576,7 +576,7 @@ module PureCloud
|
|
576
576
|
:body => post_body,
|
577
577
|
:auth_names => auth_names)
|
578
578
|
if @api_client.config.debugging
|
579
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
579
|
+
@api_client.config.logger.debug "API called: QualityApi#delete_conversation_recordings_by_recording_id_annotations_by_annotation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
580
580
|
end
|
581
581
|
return data, status_code, headers
|
582
582
|
end
|
@@ -753,8 +753,8 @@ module PureCloud
|
|
753
753
|
# @option opts [Calibration] :body calibration
|
754
754
|
# @option opts [String] :expand calibratorId
|
755
755
|
# @return [Calibration]
|
756
|
-
def
|
757
|
-
data, status_code, headers =
|
756
|
+
def create_calibrations(opts = {})
|
757
|
+
data, status_code, headers = create_calibrations_with_http_info(opts)
|
758
758
|
return data
|
759
759
|
end
|
760
760
|
|
@@ -764,9 +764,9 @@ module PureCloud
|
|
764
764
|
# @option opts [Calibration] :body calibration
|
765
765
|
# @option opts [String] :expand calibratorId
|
766
766
|
# @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
|
767
|
-
def
|
767
|
+
def create_calibrations_with_http_info(opts = {})
|
768
768
|
if @api_client.config.debugging
|
769
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
769
|
+
@api_client.config.logger.debug "Calling API: QualityApi#create_calibrations ..."
|
770
770
|
end
|
771
771
|
|
772
772
|
# resource path
|
@@ -803,7 +803,7 @@ module PureCloud
|
|
803
803
|
:auth_names => auth_names,
|
804
804
|
:return_type => 'Calibration')
|
805
805
|
if @api_client.config.debugging
|
806
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
806
|
+
@api_client.config.logger.debug "API called: QualityApi#create_calibrations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
807
807
|
end
|
808
808
|
return data, status_code, headers
|
809
809
|
end
|
@@ -878,8 +878,8 @@ module PureCloud
|
|
878
878
|
# @param [Hash] opts the optional parameters
|
879
879
|
# @option opts [Calibration] :body Calibration
|
880
880
|
# @return [Calibration]
|
881
|
-
def
|
882
|
-
data, status_code, headers =
|
881
|
+
def update_calibration(calibration_id, opts = {})
|
882
|
+
data, status_code, headers = update_calibration_with_http_info(calibration_id, opts)
|
883
883
|
return data
|
884
884
|
end
|
885
885
|
|
@@ -889,13 +889,13 @@ module PureCloud
|
|
889
889
|
# @param [Hash] opts the optional parameters
|
890
890
|
# @option opts [Calibration] :body Calibration
|
891
891
|
# @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
|
892
|
-
def
|
892
|
+
def update_calibration_with_http_info(calibration_id, opts = {})
|
893
893
|
if @api_client.config.debugging
|
894
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
894
|
+
@api_client.config.logger.debug "Calling API: QualityApi#update_calibration ..."
|
895
895
|
end
|
896
896
|
|
897
897
|
# verify the required parameter 'calibration_id' is set
|
898
|
-
fail "Missing the required parameter 'calibration_id' when calling
|
898
|
+
fail "Missing the required parameter 'calibration_id' when calling update_calibration" if calibration_id.nil?
|
899
899
|
|
900
900
|
# resource path
|
901
901
|
path = "/api/v1/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
|
@@ -930,7 +930,7 @@ module PureCloud
|
|
930
930
|
:auth_names => auth_names,
|
931
931
|
:return_type => 'Calibration')
|
932
932
|
if @api_client.config.debugging
|
933
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
933
|
+
@api_client.config.logger.debug "API called: QualityApi#update_calibration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
934
934
|
end
|
935
935
|
return data, status_code, headers
|
936
936
|
end
|
@@ -1085,8 +1085,8 @@ module PureCloud
|
|
1085
1085
|
# @option opts [Evaluation] :body evaluation
|
1086
1086
|
# @option opts [String] :expand evaluatorId
|
1087
1087
|
# @return [Evaluation]
|
1088
|
-
def
|
1089
|
-
data, status_code, headers =
|
1088
|
+
def create_conversation_evaluations(conversation_id, opts = {})
|
1089
|
+
data, status_code, headers = create_conversation_evaluations_with_http_info(conversation_id, opts)
|
1090
1090
|
return data
|
1091
1091
|
end
|
1092
1092
|
|
@@ -1097,13 +1097,13 @@ module PureCloud
|
|
1097
1097
|
# @option opts [Evaluation] :body evaluation
|
1098
1098
|
# @option opts [String] :expand evaluatorId
|
1099
1099
|
# @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
|
1100
|
-
def
|
1100
|
+
def create_conversation_evaluations_with_http_info(conversation_id, opts = {})
|
1101
1101
|
if @api_client.config.debugging
|
1102
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1102
|
+
@api_client.config.logger.debug "Calling API: QualityApi#create_conversation_evaluations ..."
|
1103
1103
|
end
|
1104
1104
|
|
1105
1105
|
# verify the required parameter 'conversation_id' is set
|
1106
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1106
|
+
fail "Missing the required parameter 'conversation_id' when calling create_conversation_evaluations" if conversation_id.nil?
|
1107
1107
|
|
1108
1108
|
# resource path
|
1109
1109
|
path = "/api/v1/quality/conversations/{conversationId}/evaluations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
@@ -1139,7 +1139,7 @@ module PureCloud
|
|
1139
1139
|
:auth_names => auth_names,
|
1140
1140
|
:return_type => 'Evaluation')
|
1141
1141
|
if @api_client.config.debugging
|
1142
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1142
|
+
@api_client.config.logger.debug "API called: QualityApi#create_conversation_evaluations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1143
1143
|
end
|
1144
1144
|
return data, status_code, headers
|
1145
1145
|
end
|
@@ -1151,8 +1151,8 @@ module PureCloud
|
|
1151
1151
|
# @param [Hash] opts the optional parameters
|
1152
1152
|
# @option opts [String] :expand agent, evaluator, evaluationForm
|
1153
1153
|
# @return [Evaluation]
|
1154
|
-
def
|
1155
|
-
data, status_code, headers =
|
1154
|
+
def get_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
|
1155
|
+
data, status_code, headers = get_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
|
1156
1156
|
return data
|
1157
1157
|
end
|
1158
1158
|
|
@@ -1163,16 +1163,16 @@ module PureCloud
|
|
1163
1163
|
# @param [Hash] opts the optional parameters
|
1164
1164
|
# @option opts [String] :expand agent, evaluator, evaluationForm
|
1165
1165
|
# @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
|
1166
|
-
def
|
1166
|
+
def get_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
|
1167
1167
|
if @api_client.config.debugging
|
1168
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1168
|
+
@api_client.config.logger.debug "Calling API: QualityApi#get_conversation_evaluations_by_evaluation_id ..."
|
1169
1169
|
end
|
1170
1170
|
|
1171
1171
|
# verify the required parameter 'conversation_id' is set
|
1172
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1172
|
+
fail "Missing the required parameter 'conversation_id' when calling get_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
|
1173
1173
|
|
1174
1174
|
# verify the required parameter 'evaluation_id' is set
|
1175
|
-
fail "Missing the required parameter 'evaluation_id' when calling
|
1175
|
+
fail "Missing the required parameter 'evaluation_id' when calling get_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
|
1176
1176
|
|
1177
1177
|
# resource path
|
1178
1178
|
path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
@@ -1208,7 +1208,7 @@ module PureCloud
|
|
1208
1208
|
:auth_names => auth_names,
|
1209
1209
|
:return_type => 'Evaluation')
|
1210
1210
|
if @api_client.config.debugging
|
1211
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1211
|
+
@api_client.config.logger.debug "API called: QualityApi#get_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1212
1212
|
end
|
1213
1213
|
return data, status_code, headers
|
1214
1214
|
end
|
@@ -1221,8 +1221,8 @@ module PureCloud
|
|
1221
1221
|
# @option opts [Evaluation] :body evaluation
|
1222
1222
|
# @option opts [String] :expand evaluatorId
|
1223
1223
|
# @return [Evaluation]
|
1224
|
-
def
|
1225
|
-
data, status_code, headers =
|
1224
|
+
def update_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
|
1225
|
+
data, status_code, headers = update_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
|
1226
1226
|
return data
|
1227
1227
|
end
|
1228
1228
|
|
@@ -1234,16 +1234,16 @@ module PureCloud
|
|
1234
1234
|
# @option opts [Evaluation] :body evaluation
|
1235
1235
|
# @option opts [String] :expand evaluatorId
|
1236
1236
|
# @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
|
1237
|
-
def
|
1237
|
+
def update_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
|
1238
1238
|
if @api_client.config.debugging
|
1239
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1239
|
+
@api_client.config.logger.debug "Calling API: QualityApi#update_conversation_evaluations_by_evaluation_id ..."
|
1240
1240
|
end
|
1241
1241
|
|
1242
1242
|
# verify the required parameter 'conversation_id' is set
|
1243
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1243
|
+
fail "Missing the required parameter 'conversation_id' when calling update_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
|
1244
1244
|
|
1245
1245
|
# verify the required parameter 'evaluation_id' is set
|
1246
|
-
fail "Missing the required parameter 'evaluation_id' when calling
|
1246
|
+
fail "Missing the required parameter 'evaluation_id' when calling update_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
|
1247
1247
|
|
1248
1248
|
# resource path
|
1249
1249
|
path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
@@ -1279,7 +1279,7 @@ module PureCloud
|
|
1279
1279
|
:auth_names => auth_names,
|
1280
1280
|
:return_type => 'Evaluation')
|
1281
1281
|
if @api_client.config.debugging
|
1282
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1282
|
+
@api_client.config.logger.debug "API called: QualityApi#update_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1283
1283
|
end
|
1284
1284
|
return data, status_code, headers
|
1285
1285
|
end
|
@@ -1291,8 +1291,8 @@ module PureCloud
|
|
1291
1291
|
# @param [Hash] opts the optional parameters
|
1292
1292
|
# @option opts [String] :expand evaluatorId
|
1293
1293
|
# @return [Evaluation]
|
1294
|
-
def
|
1295
|
-
data, status_code, headers =
|
1294
|
+
def delete_conversation_evaluations_by_evaluation_id(conversation_id, evaluation_id, opts = {})
|
1295
|
+
data, status_code, headers = delete_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts)
|
1296
1296
|
return data
|
1297
1297
|
end
|
1298
1298
|
|
@@ -1303,16 +1303,16 @@ module PureCloud
|
|
1303
1303
|
# @param [Hash] opts the optional parameters
|
1304
1304
|
# @option opts [String] :expand evaluatorId
|
1305
1305
|
# @return [Array<(Evaluation, Fixnum, Hash)>] Evaluation data, response status code and response headers
|
1306
|
-
def
|
1306
|
+
def delete_conversation_evaluations_by_evaluation_id_with_http_info(conversation_id, evaluation_id, opts = {})
|
1307
1307
|
if @api_client.config.debugging
|
1308
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1308
|
+
@api_client.config.logger.debug "Calling API: QualityApi#delete_conversation_evaluations_by_evaluation_id ..."
|
1309
1309
|
end
|
1310
1310
|
|
1311
1311
|
# verify the required parameter 'conversation_id' is set
|
1312
|
-
fail "Missing the required parameter 'conversation_id' when calling
|
1312
|
+
fail "Missing the required parameter 'conversation_id' when calling delete_conversation_evaluations_by_evaluation_id" if conversation_id.nil?
|
1313
1313
|
|
1314
1314
|
# verify the required parameter 'evaluation_id' is set
|
1315
|
-
fail "Missing the required parameter 'evaluation_id' when calling
|
1315
|
+
fail "Missing the required parameter 'evaluation_id' when calling delete_conversation_evaluations_by_evaluation_id" if evaluation_id.nil?
|
1316
1316
|
|
1317
1317
|
# resource path
|
1318
1318
|
path = "/api/v1/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
@@ -1348,7 +1348,7 @@ module PureCloud
|
|
1348
1348
|
:auth_names => auth_names,
|
1349
1349
|
:return_type => 'Evaluation')
|
1350
1350
|
if @api_client.config.debugging
|
1351
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1351
|
+
@api_client.config.logger.debug "API called: QualityApi#delete_conversation_evaluations_by_evaluation_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1352
1352
|
end
|
1353
1353
|
return data, status_code, headers
|
1354
1354
|
end
|
@@ -1460,8 +1460,8 @@ module PureCloud
|
|
1460
1460
|
# @option opts [EvaluationQueryRequest] :body query
|
1461
1461
|
# @option opts [String] :expand evaluator,agent
|
1462
1462
|
# @return [EvaluationEntityListing]
|
1463
|
-
def
|
1464
|
-
data, status_code, headers =
|
1463
|
+
def create_evaluations_query(opts = {})
|
1464
|
+
data, status_code, headers = create_evaluations_query_with_http_info(opts)
|
1465
1465
|
return data
|
1466
1466
|
end
|
1467
1467
|
|
@@ -1471,9 +1471,9 @@ module PureCloud
|
|
1471
1471
|
# @option opts [EvaluationQueryRequest] :body query
|
1472
1472
|
# @option opts [String] :expand evaluator,agent
|
1473
1473
|
# @return [Array<(EvaluationEntityListing, Fixnum, Hash)>] EvaluationEntityListing data, response status code and response headers
|
1474
|
-
def
|
1474
|
+
def create_evaluations_query_with_http_info(opts = {})
|
1475
1475
|
if @api_client.config.debugging
|
1476
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1476
|
+
@api_client.config.logger.debug "Calling API: QualityApi#create_evaluations_query ..."
|
1477
1477
|
end
|
1478
1478
|
|
1479
1479
|
# resource path
|
@@ -1510,7 +1510,7 @@ module PureCloud
|
|
1510
1510
|
:auth_names => auth_names,
|
1511
1511
|
:return_type => 'EvaluationEntityListing')
|
1512
1512
|
if @api_client.config.debugging
|
1513
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1513
|
+
@api_client.config.logger.debug "API called: QualityApi#create_evaluations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1514
1514
|
end
|
1515
1515
|
return data, status_code, headers
|
1516
1516
|
end
|
@@ -1520,8 +1520,8 @@ module PureCloud
|
|
1520
1520
|
# @param [Hash] opts the optional parameters
|
1521
1521
|
# @option opts [EvaluationFormAndScoringSet] :body evaluationAndScoringSet
|
1522
1522
|
# @return [EvaluationScoringSet]
|
1523
|
-
def
|
1524
|
-
data, status_code, headers =
|
1523
|
+
def create_evaluations_scoring(opts = {})
|
1524
|
+
data, status_code, headers = create_evaluations_scoring_with_http_info(opts)
|
1525
1525
|
return data
|
1526
1526
|
end
|
1527
1527
|
|
@@ -1530,9 +1530,9 @@ module PureCloud
|
|
1530
1530
|
# @param [Hash] opts the optional parameters
|
1531
1531
|
# @option opts [EvaluationFormAndScoringSet] :body evaluationAndScoringSet
|
1532
1532
|
# @return [Array<(EvaluationScoringSet, Fixnum, Hash)>] EvaluationScoringSet data, response status code and response headers
|
1533
|
-
def
|
1533
|
+
def create_evaluations_scoring_with_http_info(opts = {})
|
1534
1534
|
if @api_client.config.debugging
|
1535
|
-
@api_client.config.logger.debug "Calling API: QualityApi#
|
1535
|
+
@api_client.config.logger.debug "Calling API: QualityApi#create_evaluations_scoring ..."
|
1536
1536
|
end
|
1537
1537
|
|
1538
1538
|
# resource path
|
@@ -1568,7 +1568,7 @@ module PureCloud
|
|
1568
1568
|
:auth_names => auth_names,
|
1569
1569
|
:return_type => 'EvaluationScoringSet')
|
1570
1570
|
if @api_client.config.debugging
|
1571
|
-
@api_client.config.logger.debug "API called: QualityApi#
|
1571
|
+
@api_client.config.logger.debug "API called: QualityApi#create_evaluations_scoring\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1572
1572
|
end
|
1573
1573
|
return data, status_code, headers
|
1574
1574
|
end
|