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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea9084b1a954ee18132c835db24914487f058ba6
|
4
|
+
data.tar.gz: 897d433710df25bfa2a901705ca76dac82634965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 395ac6161150c80ed454a5e79c149378aba1518bbbf1c8fcf225f627baf70a6f74aa6c15a5f4c5a888479c996a0a52484c110995870b107dd51cf9c39a5f0fb1
|
7
|
+
data.tar.gz: 4263905dcacae3e6e48cac9aa3c9fbb1ddac72837a7925e55155a4cdaeef714e301b0f1afde8a9f512b5e351776bc7deb0ce058d88c43f4df32b86b63e61944d
|
data/config-ruby.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"gemVersion":"0.
|
1
|
+
{"gemVersion":"0.17.0","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"http://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com"}
|
@@ -199,8 +199,8 @@ module PureCloud
|
|
199
199
|
# @param [Hash] opts the optional parameters
|
200
200
|
# @option opts [Alert] :body Alert
|
201
201
|
# @return [Alert]
|
202
|
-
def
|
203
|
-
data, status_code, headers =
|
202
|
+
def update_alerting_alert(alert_id, opts = {})
|
203
|
+
data, status_code, headers = update_alerting_alert_with_http_info(alert_id, opts)
|
204
204
|
return data
|
205
205
|
end
|
206
206
|
|
@@ -210,13 +210,13 @@ module PureCloud
|
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
211
|
# @option opts [Alert] :body Alert
|
212
212
|
# @return [Array<(Alert, Fixnum, Hash)>] Alert data, response status code and response headers
|
213
|
-
def
|
213
|
+
def update_alerting_alert_with_http_info(alert_id, opts = {})
|
214
214
|
if @api_client.config.debugging
|
215
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
215
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#update_alerting_alert ..."
|
216
216
|
end
|
217
217
|
|
218
218
|
# verify the required parameter 'alert_id' is set
|
219
|
-
fail "Missing the required parameter 'alert_id' when calling
|
219
|
+
fail "Missing the required parameter 'alert_id' when calling update_alerting_alert" if alert_id.nil?
|
220
220
|
|
221
221
|
# resource path
|
222
222
|
path = "/api/v1/analytics/alerting/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
@@ -251,7 +251,7 @@ module PureCloud
|
|
251
251
|
:auth_names => auth_names,
|
252
252
|
:return_type => 'Alert')
|
253
253
|
if @api_client.config.debugging
|
254
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
254
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#update_alerting_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
255
255
|
end
|
256
256
|
return data, status_code, headers
|
257
257
|
end
|
@@ -389,8 +389,8 @@ module PureCloud
|
|
389
389
|
# @param [Hash] opts the optional parameters
|
390
390
|
# @option opts [Rule] :body Rule
|
391
391
|
# @return [Rule]
|
392
|
-
def
|
393
|
-
data, status_code, headers =
|
392
|
+
def create_alerting_rules(opts = {})
|
393
|
+
data, status_code, headers = create_alerting_rules_with_http_info(opts)
|
394
394
|
return data
|
395
395
|
end
|
396
396
|
|
@@ -399,9 +399,9 @@ module PureCloud
|
|
399
399
|
# @param [Hash] opts the optional parameters
|
400
400
|
# @option opts [Rule] :body Rule
|
401
401
|
# @return [Array<(Rule, Fixnum, Hash)>] Rule data, response status code and response headers
|
402
|
-
def
|
402
|
+
def create_alerting_rules_with_http_info(opts = {})
|
403
403
|
if @api_client.config.debugging
|
404
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
404
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#create_alerting_rules ..."
|
405
405
|
end
|
406
406
|
|
407
407
|
# resource path
|
@@ -437,7 +437,7 @@ module PureCloud
|
|
437
437
|
:auth_names => auth_names,
|
438
438
|
:return_type => 'Rule')
|
439
439
|
if @api_client.config.debugging
|
440
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
440
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#create_alerting_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
441
441
|
end
|
442
442
|
return data, status_code, headers
|
443
443
|
end
|
@@ -509,8 +509,8 @@ module PureCloud
|
|
509
509
|
# @param [Hash] opts the optional parameters
|
510
510
|
# @option opts [Rule] :body Rule
|
511
511
|
# @return [Rule]
|
512
|
-
def
|
513
|
-
data, status_code, headers =
|
512
|
+
def update_alerting_rule(rule_id, opts = {})
|
513
|
+
data, status_code, headers = update_alerting_rule_with_http_info(rule_id, opts)
|
514
514
|
return data
|
515
515
|
end
|
516
516
|
|
@@ -520,13 +520,13 @@ module PureCloud
|
|
520
520
|
# @param [Hash] opts the optional parameters
|
521
521
|
# @option opts [Rule] :body Rule
|
522
522
|
# @return [Array<(Rule, Fixnum, Hash)>] Rule data, response status code and response headers
|
523
|
-
def
|
523
|
+
def update_alerting_rule_with_http_info(rule_id, opts = {})
|
524
524
|
if @api_client.config.debugging
|
525
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
525
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#update_alerting_rule ..."
|
526
526
|
end
|
527
527
|
|
528
528
|
# verify the required parameter 'rule_id' is set
|
529
|
-
fail "Missing the required parameter 'rule_id' when calling
|
529
|
+
fail "Missing the required parameter 'rule_id' when calling update_alerting_rule" if rule_id.nil?
|
530
530
|
|
531
531
|
# resource path
|
532
532
|
path = "/api/v1/analytics/alerting/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
@@ -561,7 +561,7 @@ module PureCloud
|
|
561
561
|
:auth_names => auth_names,
|
562
562
|
:return_type => 'Rule')
|
563
563
|
if @api_client.config.debugging
|
564
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
564
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#update_alerting_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
565
565
|
end
|
566
566
|
return data, status_code, headers
|
567
567
|
end
|
@@ -631,8 +631,8 @@ module PureCloud
|
|
631
631
|
# @param [Hash] opts the optional parameters
|
632
632
|
# @option opts [Body] :body queryObject
|
633
633
|
# @return [nil]
|
634
|
-
def
|
635
|
-
|
634
|
+
def create_metrics_query(opts = {})
|
635
|
+
create_metrics_query_with_http_info(opts)
|
636
636
|
return nil
|
637
637
|
end
|
638
638
|
|
@@ -641,9 +641,9 @@ module PureCloud
|
|
641
641
|
# @param [Hash] opts the optional parameters
|
642
642
|
# @option opts [Body] :body queryObject
|
643
643
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
644
|
-
def
|
644
|
+
def create_metrics_query_with_http_info(opts = {})
|
645
645
|
if @api_client.config.debugging
|
646
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
646
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#create_metrics_query ..."
|
647
647
|
end
|
648
648
|
|
649
649
|
# resource path
|
@@ -678,7 +678,7 @@ module PureCloud
|
|
678
678
|
:body => post_body,
|
679
679
|
:auth_names => auth_names)
|
680
680
|
if @api_client.config.debugging
|
681
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
681
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#create_metrics_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
682
682
|
end
|
683
683
|
return data, status_code, headers
|
684
684
|
end
|
@@ -874,8 +874,8 @@ module PureCloud
|
|
874
874
|
# @param [Hash] opts the optional parameters
|
875
875
|
# @option opts [ReportSchedule] :body ReportSchedule
|
876
876
|
# @return [ReportSchedule]
|
877
|
-
def
|
878
|
-
data, status_code, headers =
|
877
|
+
def create_reporting_schedules(opts = {})
|
878
|
+
data, status_code, headers = create_reporting_schedules_with_http_info(opts)
|
879
879
|
return data
|
880
880
|
end
|
881
881
|
|
@@ -884,9 +884,9 @@ module PureCloud
|
|
884
884
|
# @param [Hash] opts the optional parameters
|
885
885
|
# @option opts [ReportSchedule] :body ReportSchedule
|
886
886
|
# @return [Array<(ReportSchedule, Fixnum, Hash)>] ReportSchedule data, response status code and response headers
|
887
|
-
def
|
887
|
+
def create_reporting_schedules_with_http_info(opts = {})
|
888
888
|
if @api_client.config.debugging
|
889
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
889
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#create_reporting_schedules ..."
|
890
890
|
end
|
891
891
|
|
892
892
|
# resource path
|
@@ -922,7 +922,7 @@ module PureCloud
|
|
922
922
|
:auth_names => auth_names,
|
923
923
|
:return_type => 'ReportSchedule')
|
924
924
|
if @api_client.config.debugging
|
925
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
925
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#create_reporting_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
926
926
|
end
|
927
927
|
return data, status_code, headers
|
928
928
|
end
|
@@ -994,8 +994,8 @@ module PureCloud
|
|
994
994
|
# @param [Hash] opts the optional parameters
|
995
995
|
# @option opts [ReportSchedule] :body ReportSchedule
|
996
996
|
# @return [ReportSchedule]
|
997
|
-
def
|
998
|
-
data, status_code, headers =
|
997
|
+
def update_reporting_schedule(schedule_id, opts = {})
|
998
|
+
data, status_code, headers = update_reporting_schedule_with_http_info(schedule_id, opts)
|
999
999
|
return data
|
1000
1000
|
end
|
1001
1001
|
|
@@ -1005,13 +1005,13 @@ module PureCloud
|
|
1005
1005
|
# @param [Hash] opts the optional parameters
|
1006
1006
|
# @option opts [ReportSchedule] :body ReportSchedule
|
1007
1007
|
# @return [Array<(ReportSchedule, Fixnum, Hash)>] ReportSchedule data, response status code and response headers
|
1008
|
-
def
|
1008
|
+
def update_reporting_schedule_with_http_info(schedule_id, opts = {})
|
1009
1009
|
if @api_client.config.debugging
|
1010
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
1010
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#update_reporting_schedule ..."
|
1011
1011
|
end
|
1012
1012
|
|
1013
1013
|
# verify the required parameter 'schedule_id' is set
|
1014
|
-
fail "Missing the required parameter 'schedule_id' when calling
|
1014
|
+
fail "Missing the required parameter 'schedule_id' when calling update_reporting_schedule" if schedule_id.nil?
|
1015
1015
|
|
1016
1016
|
# resource path
|
1017
1017
|
path = "/api/v1/analytics/reporting/schedules/{scheduleId}".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
|
@@ -1046,7 +1046,7 @@ module PureCloud
|
|
1046
1046
|
:auth_names => auth_names,
|
1047
1047
|
:return_type => 'ReportSchedule')
|
1048
1048
|
if @api_client.config.debugging
|
1049
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
1049
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#update_reporting_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1050
1050
|
end
|
1051
1051
|
return data, status_code, headers
|
1052
1052
|
end
|
@@ -1246,8 +1246,8 @@ module PureCloud
|
|
1246
1246
|
# @param schedule_id Schedule ID
|
1247
1247
|
# @param [Hash] opts the optional parameters
|
1248
1248
|
# @return [ReportRunEntry]
|
1249
|
-
def
|
1250
|
-
data, status_code, headers =
|
1249
|
+
def get_reporting_schedule_history_by_run_id(run_id, schedule_id, opts = {})
|
1250
|
+
data, status_code, headers = get_reporting_schedule_history_by_run_id_with_http_info(run_id, schedule_id, opts)
|
1251
1251
|
return data
|
1252
1252
|
end
|
1253
1253
|
|
@@ -1257,16 +1257,16 @@ module PureCloud
|
|
1257
1257
|
# @param schedule_id Schedule ID
|
1258
1258
|
# @param [Hash] opts the optional parameters
|
1259
1259
|
# @return [Array<(ReportRunEntry, Fixnum, Hash)>] ReportRunEntry data, response status code and response headers
|
1260
|
-
def
|
1260
|
+
def get_reporting_schedule_history_by_run_id_with_http_info(run_id, schedule_id, opts = {})
|
1261
1261
|
if @api_client.config.debugging
|
1262
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
1262
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#get_reporting_schedule_history_by_run_id ..."
|
1263
1263
|
end
|
1264
1264
|
|
1265
1265
|
# verify the required parameter 'run_id' is set
|
1266
|
-
fail "Missing the required parameter 'run_id' when calling
|
1266
|
+
fail "Missing the required parameter 'run_id' when calling get_reporting_schedule_history_by_run_id" if run_id.nil?
|
1267
1267
|
|
1268
1268
|
# verify the required parameter 'schedule_id' is set
|
1269
|
-
fail "Missing the required parameter 'schedule_id' when calling
|
1269
|
+
fail "Missing the required parameter 'schedule_id' when calling get_reporting_schedule_history_by_run_id" if schedule_id.nil?
|
1270
1270
|
|
1271
1271
|
# resource path
|
1272
1272
|
path = "/api/v1/analytics/reporting/schedules/{scheduleId}/history/{runId}".sub('{format}','json').sub('{' + 'runId' + '}', run_id.to_s).sub('{' + 'scheduleId' + '}', schedule_id.to_s)
|
@@ -1301,7 +1301,7 @@ module PureCloud
|
|
1301
1301
|
:auth_names => auth_names,
|
1302
1302
|
:return_type => 'ReportRunEntry')
|
1303
1303
|
if @api_client.config.debugging
|
1304
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
1304
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#get_reporting_schedule_history_by_run_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1305
1305
|
end
|
1306
1306
|
return data, status_code, headers
|
1307
1307
|
end
|
@@ -1311,8 +1311,8 @@ module PureCloud
|
|
1311
1311
|
# @param schedule_id Schedule ID
|
1312
1312
|
# @param [Hash] opts the optional parameters
|
1313
1313
|
# @return [RunNowResponse]
|
1314
|
-
def
|
1315
|
-
data, status_code, headers =
|
1314
|
+
def create_reporting_schedule_runreport(schedule_id, opts = {})
|
1315
|
+
data, status_code, headers = create_reporting_schedule_runreport_with_http_info(schedule_id, opts)
|
1316
1316
|
return data
|
1317
1317
|
end
|
1318
1318
|
|
@@ -1321,13 +1321,13 @@ module PureCloud
|
|
1321
1321
|
# @param schedule_id Schedule ID
|
1322
1322
|
# @param [Hash] opts the optional parameters
|
1323
1323
|
# @return [Array<(RunNowResponse, Fixnum, Hash)>] RunNowResponse data, response status code and response headers
|
1324
|
-
def
|
1324
|
+
def create_reporting_schedule_runreport_with_http_info(schedule_id, opts = {})
|
1325
1325
|
if @api_client.config.debugging
|
1326
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
1326
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#create_reporting_schedule_runreport ..."
|
1327
1327
|
end
|
1328
1328
|
|
1329
1329
|
# verify the required parameter 'schedule_id' is set
|
1330
|
-
fail "Missing the required parameter 'schedule_id' when calling
|
1330
|
+
fail "Missing the required parameter 'schedule_id' when calling create_reporting_schedule_runreport" if schedule_id.nil?
|
1331
1331
|
|
1332
1332
|
# resource path
|
1333
1333
|
path = "/api/v1/analytics/reporting/schedules/{scheduleId}/runreport".sub('{format}','json').sub('{' + 'scheduleId' + '}', schedule_id.to_s)
|
@@ -1362,7 +1362,7 @@ module PureCloud
|
|
1362
1362
|
:auth_names => auth_names,
|
1363
1363
|
:return_type => 'RunNowResponse')
|
1364
1364
|
if @api_client.config.debugging
|
1365
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
1365
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#create_reporting_schedule_runreport\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1366
1366
|
end
|
1367
1367
|
return data, status_code, headers
|
1368
1368
|
end
|
@@ -1430,8 +1430,8 @@ module PureCloud
|
|
1430
1430
|
# @option opts [String] :accept_language Accepted language
|
1431
1431
|
# @option opts [String] :locale Locale
|
1432
1432
|
# @return [ReportMetaData]
|
1433
|
-
def
|
1434
|
-
data, status_code, headers =
|
1433
|
+
def get_reporting_report_metadata(report_id, opts = {})
|
1434
|
+
data, status_code, headers = get_reporting_report_metadata_with_http_info(report_id, opts)
|
1435
1435
|
return data
|
1436
1436
|
end
|
1437
1437
|
|
@@ -1442,13 +1442,13 @@ module PureCloud
|
|
1442
1442
|
# @option opts [String] :accept_language Accepted language
|
1443
1443
|
# @option opts [String] :locale Locale
|
1444
1444
|
# @return [Array<(ReportMetaData, Fixnum, Hash)>] ReportMetaData data, response status code and response headers
|
1445
|
-
def
|
1445
|
+
def get_reporting_report_metadata_with_http_info(report_id, opts = {})
|
1446
1446
|
if @api_client.config.debugging
|
1447
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
1447
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#get_reporting_report_metadata ..."
|
1448
1448
|
end
|
1449
1449
|
|
1450
1450
|
# verify the required parameter 'report_id' is set
|
1451
|
-
fail "Missing the required parameter 'report_id' when calling
|
1451
|
+
fail "Missing the required parameter 'report_id' when calling get_reporting_report_metadata" if report_id.nil?
|
1452
1452
|
|
1453
1453
|
# resource path
|
1454
1454
|
path = "/api/v1/analytics/reporting/{reportId}/metadata".sub('{format}','json').sub('{' + 'reportId' + '}', report_id.to_s)
|
@@ -1485,7 +1485,7 @@ module PureCloud
|
|
1485
1485
|
:auth_names => auth_names,
|
1486
1486
|
:return_type => 'ReportMetaData')
|
1487
1487
|
if @api_client.config.debugging
|
1488
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
1488
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#get_reporting_report_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1489
1489
|
end
|
1490
1490
|
return data, status_code, headers
|
1491
1491
|
end
|
@@ -1495,8 +1495,8 @@ module PureCloud
|
|
1495
1495
|
# @param [Hash] opts the optional parameters
|
1496
1496
|
# @option opts [Body1] :body queryObject
|
1497
1497
|
# @return [nil]
|
1498
|
-
def
|
1499
|
-
|
1498
|
+
def create_segments_query(opts = {})
|
1499
|
+
create_segments_query_with_http_info(opts)
|
1500
1500
|
return nil
|
1501
1501
|
end
|
1502
1502
|
|
@@ -1505,9 +1505,9 @@ module PureCloud
|
|
1505
1505
|
# @param [Hash] opts the optional parameters
|
1506
1506
|
# @option opts [Body1] :body queryObject
|
1507
1507
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1508
|
-
def
|
1508
|
+
def create_segments_query_with_http_info(opts = {})
|
1509
1509
|
if @api_client.config.debugging
|
1510
|
-
@api_client.config.logger.debug "Calling API: AnalyticsApi#
|
1510
|
+
@api_client.config.logger.debug "Calling API: AnalyticsApi#create_segments_query ..."
|
1511
1511
|
end
|
1512
1512
|
|
1513
1513
|
# resource path
|
@@ -1542,7 +1542,7 @@ module PureCloud
|
|
1542
1542
|
:body => post_body,
|
1543
1543
|
:auth_names => auth_names)
|
1544
1544
|
if @api_client.config.debugging
|
1545
|
-
@api_client.config.logger.debug "API called: AnalyticsApi#
|
1545
|
+
@api_client.config.logger.debug "API called: AnalyticsApi#create_segments_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1546
1546
|
end
|
1547
1547
|
return data, status_code, headers
|
1548
1548
|
end
|
@@ -25,8 +25,8 @@ module PureCloud
|
|
25
25
|
# @option opts [String] :locked_by Locked by
|
26
26
|
# @option opts [BOOLEAN] :deleted Include deleted
|
27
27
|
# @return [FlowEntityListing]
|
28
|
-
def
|
29
|
-
data, status_code, headers =
|
28
|
+
def get(opts = {})
|
29
|
+
data, status_code, headers = get_with_http_info(opts)
|
30
30
|
return data
|
31
31
|
end
|
32
32
|
|
@@ -47,9 +47,9 @@ module PureCloud
|
|
47
47
|
# @option opts [String] :locked_by Locked by
|
48
48
|
# @option opts [BOOLEAN] :deleted Include deleted
|
49
49
|
# @return [Array<(FlowEntityListing, Fixnum, Hash)>] FlowEntityListing data, response status code and response headers
|
50
|
-
def
|
50
|
+
def get_with_http_info(opts = {})
|
51
51
|
if @api_client.config.debugging
|
52
|
-
@api_client.config.logger.debug "Calling API: ArchitectApi#
|
52
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi#get ..."
|
53
53
|
end
|
54
54
|
|
55
55
|
# resource path
|
@@ -98,7 +98,7 @@ module PureCloud
|
|
98
98
|
:auth_names => auth_names,
|
99
99
|
:return_type => 'FlowEntityListing')
|
100
100
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "API called: ArchitectApi#
|
101
|
+
@api_client.config.logger.debug "API called: ArchitectApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
102
|
end
|
103
103
|
return data, status_code, headers
|
104
104
|
end
|
@@ -108,8 +108,8 @@ module PureCloud
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @option opts [Flow] :body
|
110
110
|
# @return [Flow]
|
111
|
-
def
|
112
|
-
data, status_code, headers =
|
111
|
+
def create(opts = {})
|
112
|
+
data, status_code, headers = create_with_http_info(opts)
|
113
113
|
return data
|
114
114
|
end
|
115
115
|
|
@@ -118,9 +118,9 @@ module PureCloud
|
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @option opts [Flow] :body
|
120
120
|
# @return [Array<(Flow, Fixnum, Hash)>] Flow data, response status code and response headers
|
121
|
-
def
|
121
|
+
def create_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug "Calling API: ArchitectApi#
|
123
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi#create ..."
|
124
124
|
end
|
125
125
|
|
126
126
|
# resource path
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
:auth_names => auth_names,
|
157
157
|
:return_type => 'Flow')
|
158
158
|
if @api_client.config.debugging
|
159
|
-
@api_client.config.logger.debug "API called: ArchitectApi#
|
159
|
+
@api_client.config.logger.debug "API called: ArchitectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
160
160
|
end
|
161
161
|
return data, status_code, headers
|
162
162
|
end
|
@@ -167,8 +167,8 @@ module PureCloud
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
168
|
# @option opts [BOOLEAN] :ignore_dependencies Ignore Dependencies
|
169
169
|
# @return [nil]
|
170
|
-
def
|
171
|
-
|
170
|
+
def delete(id, opts = {})
|
171
|
+
delete_with_http_info(id, opts)
|
172
172
|
return nil
|
173
173
|
end
|
174
174
|
|
@@ -178,13 +178,13 @@ module PureCloud
|
|
178
178
|
# @param [Hash] opts the optional parameters
|
179
179
|
# @option opts [BOOLEAN] :ignore_dependencies Ignore Dependencies
|
180
180
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
181
|
-
def
|
181
|
+
def delete_with_http_info(id, opts = {})
|
182
182
|
if @api_client.config.debugging
|
183
|
-
@api_client.config.logger.debug "Calling API: ArchitectApi#
|
183
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi#delete ..."
|
184
184
|
end
|
185
185
|
|
186
186
|
# verify the required parameter 'id' is set
|
187
|
-
fail "Missing the required parameter 'id' when calling
|
187
|
+
fail "Missing the required parameter 'id' when calling delete" if id.nil?
|
188
188
|
|
189
189
|
# resource path
|
190
190
|
path = "/api/v1/flows".sub('{format}','json')
|
@@ -220,7 +220,7 @@ module PureCloud
|
|
220
220
|
:body => post_body,
|
221
221
|
:auth_names => auth_names)
|
222
222
|
if @api_client.config.debugging
|
223
|
-
@api_client.config.logger.debug "API called: ArchitectApi#
|
223
|
+
@api_client.config.logger.debug "API called: ArchitectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
224
224
|
end
|
225
225
|
return data, status_code, headers
|
226
226
|
end
|