purecloud 0.18.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +2 -2
- data/README.md +1 -7
- data/config-ruby.json +1 -1
- data/extensions/auth.rb +2 -2
- data/lib/purecloud.rb +110 -75
- data/lib/purecloud/api/architect_api.rb +3127 -74
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +83 -83
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +594 -397
- data/lib/purecloud/api/content_management_api.rb +183 -183
- data/lib/purecloud/api/conversations_api.rb +289 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/external_contacts_api.rb +1693 -0
- data/lib/purecloud/api/fax_api.rb +24 -24
- data/lib/purecloud/api/geolocation_api.rb +14 -14
- data/lib/purecloud/api/greetings_api.rb +68 -68
- data/lib/purecloud/api/groups_api.rb +31 -20
- data/lib/purecloud/api/languages_api.rb +18 -11
- data/lib/purecloud/api/licensing_api.rb +5 -5
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +41 -41
- data/lib/purecloud/api/o_auth_api.rb +69 -69
- data/lib/purecloud/api/outbound_api.rb +505 -325
- data/lib/purecloud/api/presence_api.rb +65 -65
- data/lib/purecloud/api/quality_api.rb +66 -639
- data/lib/purecloud/api/recording_api.rb +1343 -0
- data/lib/purecloud/api/response_management_api.rb +687 -0
- data/lib/purecloud/api/routing_api.rb +224 -170
- data/lib/purecloud/api/scripts_api.rb +52 -52
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +8 -8
- data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
- data/lib/purecloud/api/user_recordings_api.rb +29 -29
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +71 -15
- data/lib/purecloud/api/voicemail_api.rb +42 -42
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
- data/lib/purecloud/models/available_additional_service.rb +40 -1
- data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
- data/lib/purecloud/models/call.rb +36 -5
- data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
- data/lib/purecloud/models/callback.rb +15 -4
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_progress.rb +186 -0
- data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
- data/lib/purecloud/models/charge.rb +14 -4
- data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
- data/lib/purecloud/models/contact.rb +1 -1
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_listing.rb +238 -0
- data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
- data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
- data/lib/purecloud/models/content_query_request.rb +16 -4
- data/lib/purecloud/models/control.rb +221 -0
- data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
- data/lib/purecloud/models/create_callback_command.rb +200 -0
- data/lib/purecloud/models/discount.rb +220 -0
- data/lib/purecloud/models/document.rb +13 -1
- data/lib/purecloud/models/document_attribute.rb +158 -0
- data/lib/purecloud/models/document_update.rb +28 -16
- data/lib/purecloud/models/document_upload.rb +4 -16
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_logs_job.rb +181 -0
- data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
- data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
- data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
- data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
- data/lib/purecloud/models/email.rb +15 -4
- data/lib/purecloud/models/endpoint.rb +1 -1
- data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
- data/lib/purecloud/models/external_contact.rb +320 -0
- data/lib/purecloud/models/external_organization.rb +306 -0
- data/lib/purecloud/models/external_organization_listing.rb +238 -0
- data/lib/purecloud/models/facet_filter_item.rb +1 -1
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_body_format.rb +10 -20
- data/lib/purecloud/models/flow_terminate_request.rb +3 -16
- data/lib/purecloud/models/form.rb +148 -0
- data/lib/purecloud/models/group.rb +11 -1
- data/lib/purecloud/models/health_check_info.rb +268 -0
- data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
- data/lib/purecloud/models/integration_type.rb +209 -0
- data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
- data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
- data/lib/purecloud/models/language.rb +41 -1
- data/lib/purecloud/models/line.rb +1 -1
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/media_policies.rb +169 -0
- data/lib/purecloud/models/media_policy.rb +171 -0
- data/lib/purecloud/models/note.rb +200 -0
- data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
- data/lib/purecloud/models/payment_method_listing.rb +238 -0
- data/lib/purecloud/models/payment_token_provider.rb +180 -0
- data/lib/purecloud/models/phone.rb +1 -1
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_number.rb +198 -0
- data/lib/purecloud/models/phones_reboot.rb +14 -4
- data/lib/purecloud/models/policy.rb +14 -1
- data/lib/purecloud/models/prediction_results.rb +167 -0
- data/lib/purecloud/models/query_request.rb +16 -4
- data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
- data/lib/purecloud/models/quote.rb +13 -1
- data/lib/purecloud/models/recording_settings.rb +146 -0
- data/lib/purecloud/models/relationship.rb +201 -0
- data/lib/purecloud/models/relationship_listing.rb +238 -0
- data/lib/purecloud/models/report_schedule.rb +3 -2
- data/lib/purecloud/models/service_type.rb +12 -1
- data/lib/purecloud/models/social_expression.rb +25 -4
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/template.rb +1 -1
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
- data/lib/purecloud/models/ticker.rb +158 -0
- data/lib/purecloud/models/time_slot.rb +1 -0
- data/lib/purecloud/models/trunk_base.rb +1 -1
- data/lib/purecloud/models/vendor_connection_request.rb +166 -0
- data/lib/purecloud/models/video.rb +15 -4
- data/lib/purecloud/models/work_item_definition.rb +8 -10
- data/lib/purecloud/version.rb +1 -1
- data/ossindex.json +17 -0
- data/purecloud.gemspec +4 -3
- data/rakefile +3 -15
- data/spec/test.rb +6 -3
- data/swagger.json +1 -1
- data/swagger_template/api_client.mustache +304 -0
- data/swagger_template/base_object.mustache +90 -0
- data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
- data/version.json +1 -1
- metadata +76 -25
- data/lib/purecloud/api/analytics_api.rb +0 -1554
- data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
- data/newVersion.md +0 -1
@@ -87,8 +87,8 @@ module PureCloud
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [EvaluationForm] :body
|
89
89
|
# @return [EvaluationForm]
|
90
|
-
def
|
91
|
-
data, status_code, headers =
|
90
|
+
def post_forms(opts = {})
|
91
|
+
data, status_code, headers = post_forms_with_http_info(opts)
|
92
92
|
return data
|
93
93
|
end
|
94
94
|
|
@@ -97,9 +97,9 @@ module PureCloud
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
98
98
|
# @option opts [EvaluationForm] :body
|
99
99
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
100
|
-
def
|
100
|
+
def post_forms_with_http_info(opts = {})
|
101
101
|
if @api_client.config.debugging
|
102
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
102
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#post_forms ..."
|
103
103
|
end
|
104
104
|
|
105
105
|
# resource path
|
@@ -135,7 +135,7 @@ module PureCloud
|
|
135
135
|
:auth_names => auth_names,
|
136
136
|
:return_type => 'EvaluationForm')
|
137
137
|
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
138
|
+
@api_client.config.logger.debug "API called: ScriptsApi#post_forms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
139
139
|
end
|
140
140
|
return data, status_code, headers
|
141
141
|
end
|
@@ -145,8 +145,8 @@ module PureCloud
|
|
145
145
|
# @param form_id Form ID
|
146
146
|
# @param [Hash] opts the optional parameters
|
147
147
|
# @return [EvaluationForm]
|
148
|
-
def
|
149
|
-
data, status_code, headers =
|
148
|
+
def get_forms_form_id(form_id, opts = {})
|
149
|
+
data, status_code, headers = get_forms_form_id_with_http_info(form_id, opts)
|
150
150
|
return data
|
151
151
|
end
|
152
152
|
|
@@ -155,13 +155,13 @@ module PureCloud
|
|
155
155
|
# @param form_id Form ID
|
156
156
|
# @param [Hash] opts the optional parameters
|
157
157
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
158
|
-
def
|
158
|
+
def get_forms_form_id_with_http_info(form_id, opts = {})
|
159
159
|
if @api_client.config.debugging
|
160
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
160
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_forms_form_id ..."
|
161
161
|
end
|
162
162
|
|
163
163
|
# verify the required parameter 'form_id' is set
|
164
|
-
fail "Missing the required parameter 'form_id' when calling
|
164
|
+
fail "Missing the required parameter 'form_id' when calling get_forms_form_id" if form_id.nil?
|
165
165
|
|
166
166
|
# resource path
|
167
167
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -196,7 +196,7 @@ module PureCloud
|
|
196
196
|
:auth_names => auth_names,
|
197
197
|
:return_type => 'EvaluationForm')
|
198
198
|
if @api_client.config.debugging
|
199
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
199
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_forms_form_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
200
200
|
end
|
201
201
|
return data, status_code, headers
|
202
202
|
end
|
@@ -207,8 +207,8 @@ module PureCloud
|
|
207
207
|
# @param [Hash] opts the optional parameters
|
208
208
|
# @option opts [EvaluationForm] :body
|
209
209
|
# @return [EvaluationForm]
|
210
|
-
def
|
211
|
-
data, status_code, headers =
|
210
|
+
def put_forms_form_id(form_id, opts = {})
|
211
|
+
data, status_code, headers = put_forms_form_id_with_http_info(form_id, opts)
|
212
212
|
return data
|
213
213
|
end
|
214
214
|
|
@@ -218,13 +218,13 @@ module PureCloud
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
219
219
|
# @option opts [EvaluationForm] :body
|
220
220
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
221
|
-
def
|
221
|
+
def put_forms_form_id_with_http_info(form_id, opts = {})
|
222
222
|
if @api_client.config.debugging
|
223
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
223
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#put_forms_form_id ..."
|
224
224
|
end
|
225
225
|
|
226
226
|
# verify the required parameter 'form_id' is set
|
227
|
-
fail "Missing the required parameter 'form_id' when calling
|
227
|
+
fail "Missing the required parameter 'form_id' when calling put_forms_form_id" if form_id.nil?
|
228
228
|
|
229
229
|
# resource path
|
230
230
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -259,7 +259,7 @@ module PureCloud
|
|
259
259
|
:auth_names => auth_names,
|
260
260
|
:return_type => 'EvaluationForm')
|
261
261
|
if @api_client.config.debugging
|
262
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
262
|
+
@api_client.config.logger.debug "API called: ScriptsApi#put_forms_form_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
263
263
|
end
|
264
264
|
return data, status_code, headers
|
265
265
|
end
|
@@ -269,8 +269,8 @@ module PureCloud
|
|
269
269
|
# @param form_id Form ID
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
271
|
# @return [String]
|
272
|
-
def
|
273
|
-
data, status_code, headers =
|
272
|
+
def delete_forms_form_id(form_id, opts = {})
|
273
|
+
data, status_code, headers = delete_forms_form_id_with_http_info(form_id, opts)
|
274
274
|
return data
|
275
275
|
end
|
276
276
|
|
@@ -279,13 +279,13 @@ module PureCloud
|
|
279
279
|
# @param form_id Form ID
|
280
280
|
# @param [Hash] opts the optional parameters
|
281
281
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
282
|
-
def
|
282
|
+
def delete_forms_form_id_with_http_info(form_id, opts = {})
|
283
283
|
if @api_client.config.debugging
|
284
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
284
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#delete_forms_form_id ..."
|
285
285
|
end
|
286
286
|
|
287
287
|
# verify the required parameter 'form_id' is set
|
288
|
-
fail "Missing the required parameter 'form_id' when calling
|
288
|
+
fail "Missing the required parameter 'form_id' when calling delete_forms_form_id" if form_id.nil?
|
289
289
|
|
290
290
|
# resource path
|
291
291
|
path = "/api/v1/quality/forms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -320,7 +320,7 @@ module PureCloud
|
|
320
320
|
:auth_names => auth_names,
|
321
321
|
:return_type => 'String')
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
323
|
+
@api_client.config.logger.debug "API called: ScriptsApi#delete_forms_form_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
324
324
|
end
|
325
325
|
return data, status_code, headers
|
326
326
|
end
|
@@ -332,8 +332,8 @@ module PureCloud
|
|
332
332
|
# @option opts [Integer] :page_size Page size
|
333
333
|
# @option opts [Integer] :page_number Page number
|
334
334
|
# @return [EvaluationFormEntityListing]
|
335
|
-
def
|
336
|
-
data, status_code, headers =
|
335
|
+
def get_forms_form_id_versions(form_id, opts = {})
|
336
|
+
data, status_code, headers = get_forms_form_id_versions_with_http_info(form_id, opts)
|
337
337
|
return data
|
338
338
|
end
|
339
339
|
|
@@ -344,13 +344,13 @@ module PureCloud
|
|
344
344
|
# @option opts [Integer] :page_size Page size
|
345
345
|
# @option opts [Integer] :page_number Page number
|
346
346
|
# @return [Array<(EvaluationFormEntityListing, Fixnum, Hash)>] EvaluationFormEntityListing data, response status code and response headers
|
347
|
-
def
|
347
|
+
def get_forms_form_id_versions_with_http_info(form_id, opts = {})
|
348
348
|
if @api_client.config.debugging
|
349
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
349
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_forms_form_id_versions ..."
|
350
350
|
end
|
351
351
|
|
352
352
|
# verify the required parameter 'form_id' is set
|
353
|
-
fail "Missing the required parameter 'form_id' when calling
|
353
|
+
fail "Missing the required parameter 'form_id' when calling get_forms_form_id_versions" if form_id.nil?
|
354
354
|
|
355
355
|
# resource path
|
356
356
|
path = "/api/v1/quality/forms/{formId}/versions".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -387,7 +387,7 @@ module PureCloud
|
|
387
387
|
:auth_names => auth_names,
|
388
388
|
:return_type => 'EvaluationFormEntityListing')
|
389
389
|
if @api_client.config.debugging
|
390
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
390
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_forms_form_id_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
391
391
|
end
|
392
392
|
return data, status_code, headers
|
393
393
|
end
|
@@ -462,8 +462,8 @@ module PureCloud
|
|
462
462
|
# @param [Hash] opts the optional parameters
|
463
463
|
# @option opts [EvaluationForm] :body
|
464
464
|
# @return [EvaluationForm]
|
465
|
-
def
|
466
|
-
data, status_code, headers =
|
465
|
+
def post_publishedforms(opts = {})
|
466
|
+
data, status_code, headers = post_publishedforms_with_http_info(opts)
|
467
467
|
return data
|
468
468
|
end
|
469
469
|
|
@@ -472,9 +472,9 @@ module PureCloud
|
|
472
472
|
# @param [Hash] opts the optional parameters
|
473
473
|
# @option opts [EvaluationForm] :body
|
474
474
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
475
|
-
def
|
475
|
+
def post_publishedforms_with_http_info(opts = {})
|
476
476
|
if @api_client.config.debugging
|
477
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
477
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#post_publishedforms ..."
|
478
478
|
end
|
479
479
|
|
480
480
|
# resource path
|
@@ -510,7 +510,7 @@ module PureCloud
|
|
510
510
|
:auth_names => auth_names,
|
511
511
|
:return_type => 'EvaluationForm')
|
512
512
|
if @api_client.config.debugging
|
513
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
513
|
+
@api_client.config.logger.debug "API called: ScriptsApi#post_publishedforms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
514
514
|
end
|
515
515
|
return data, status_code, headers
|
516
516
|
end
|
@@ -520,8 +520,8 @@ module PureCloud
|
|
520
520
|
# @param form_id Form ID
|
521
521
|
# @param [Hash] opts the optional parameters
|
522
522
|
# @return [EvaluationForm]
|
523
|
-
def
|
524
|
-
data, status_code, headers =
|
523
|
+
def get_publishedforms_form_id(form_id, opts = {})
|
524
|
+
data, status_code, headers = get_publishedforms_form_id_with_http_info(form_id, opts)
|
525
525
|
return data
|
526
526
|
end
|
527
527
|
|
@@ -530,13 +530,13 @@ module PureCloud
|
|
530
530
|
# @param form_id Form ID
|
531
531
|
# @param [Hash] opts the optional parameters
|
532
532
|
# @return [Array<(EvaluationForm, Fixnum, Hash)>] EvaluationForm data, response status code and response headers
|
533
|
-
def
|
533
|
+
def get_publishedforms_form_id_with_http_info(form_id, opts = {})
|
534
534
|
if @api_client.config.debugging
|
535
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
535
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_publishedforms_form_id ..."
|
536
536
|
end
|
537
537
|
|
538
538
|
# verify the required parameter 'form_id' is set
|
539
|
-
fail "Missing the required parameter 'form_id' when calling
|
539
|
+
fail "Missing the required parameter 'form_id' when calling get_publishedforms_form_id" if form_id.nil?
|
540
540
|
|
541
541
|
# resource path
|
542
542
|
path = "/api/v1/quality/publishedforms/{formId}".sub('{format}','json').sub('{' + 'formId' + '}', form_id.to_s)
|
@@ -571,7 +571,7 @@ module PureCloud
|
|
571
571
|
:auth_names => auth_names,
|
572
572
|
:return_type => 'EvaluationForm')
|
573
573
|
if @api_client.config.debugging
|
574
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
574
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_publishedforms_form_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
575
575
|
end
|
576
576
|
return data, status_code, headers
|
577
577
|
end
|
@@ -585,8 +585,8 @@ module PureCloud
|
|
585
585
|
# @option opts [String] :name Name
|
586
586
|
# @option opts [String] :feature Feature
|
587
587
|
# @return [ScriptEntityListing]
|
588
|
-
def
|
589
|
-
data, status_code, headers =
|
588
|
+
def get_scripts(opts = {})
|
589
|
+
data, status_code, headers = get_scripts_with_http_info(opts)
|
590
590
|
return data
|
591
591
|
end
|
592
592
|
|
@@ -599,9 +599,9 @@ module PureCloud
|
|
599
599
|
# @option opts [String] :name Name
|
600
600
|
# @option opts [String] :feature Feature
|
601
601
|
# @return [Array<(ScriptEntityListing, Fixnum, Hash)>] ScriptEntityListing data, response status code and response headers
|
602
|
-
def
|
602
|
+
def get_scripts_with_http_info(opts = {})
|
603
603
|
if @api_client.config.debugging
|
604
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
604
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#get_scripts ..."
|
605
605
|
end
|
606
606
|
|
607
607
|
# resource path
|
@@ -642,7 +642,7 @@ module PureCloud
|
|
642
642
|
:auth_names => auth_names,
|
643
643
|
:return_type => 'ScriptEntityListing')
|
644
644
|
if @api_client.config.debugging
|
645
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
645
|
+
@api_client.config.logger.debug "API called: ScriptsApi#get_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
646
646
|
end
|
647
647
|
return data, status_code, headers
|
648
648
|
end
|
@@ -650,21 +650,21 @@ module PureCloud
|
|
650
650
|
# Create a script.
|
651
651
|
#
|
652
652
|
# @param [Hash] opts the optional parameters
|
653
|
-
# @option opts [
|
653
|
+
# @option opts [Body1] :body
|
654
654
|
# @return [Script]
|
655
|
-
def
|
656
|
-
data, status_code, headers =
|
655
|
+
def post_scripts(opts = {})
|
656
|
+
data, status_code, headers = post_scripts_with_http_info(opts)
|
657
657
|
return data
|
658
658
|
end
|
659
659
|
|
660
660
|
# Create a script.
|
661
661
|
#
|
662
662
|
# @param [Hash] opts the optional parameters
|
663
|
-
# @option opts [
|
663
|
+
# @option opts [Body1] :body
|
664
664
|
# @return [Array<(Script, Fixnum, Hash)>] Script data, response status code and response headers
|
665
|
-
def
|
665
|
+
def post_scripts_with_http_info(opts = {})
|
666
666
|
if @api_client.config.debugging
|
667
|
-
@api_client.config.logger.debug "Calling API: ScriptsApi#
|
667
|
+
@api_client.config.logger.debug "Calling API: ScriptsApi#post_scripts ..."
|
668
668
|
end
|
669
669
|
|
670
670
|
# resource path
|
@@ -700,7 +700,7 @@ module PureCloud
|
|
700
700
|
:auth_names => auth_names,
|
701
701
|
:return_type => 'Script')
|
702
702
|
if @api_client.config.debugging
|
703
|
-
@api_client.config.logger.debug "API called: ScriptsApi#
|
703
|
+
@api_client.config.logger.debug "API called: ScriptsApi#post_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
704
704
|
end
|
705
705
|
return data, status_code, headers
|
706
706
|
end
|
@@ -13,8 +13,8 @@ module PureCloud
|
|
13
13
|
# @param [Hash] opts the optional parameters
|
14
14
|
# @option opts [ChatSearchRequest] :body Search request options
|
15
15
|
# @return [ChatSearchListing]
|
16
|
-
def
|
17
|
-
data, status_code, headers =
|
16
|
+
def post_chats(opts = {})
|
17
|
+
data, status_code, headers = post_chats_with_http_info(opts)
|
18
18
|
return data
|
19
19
|
end
|
20
20
|
|
@@ -23,9 +23,9 @@ module PureCloud
|
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @option opts [ChatSearchRequest] :body Search request options
|
25
25
|
# @return [Array<(ChatSearchListing, Fixnum, Hash)>] ChatSearchListing data, response status code and response headers
|
26
|
-
def
|
26
|
+
def post_chats_with_http_info(opts = {})
|
27
27
|
if @api_client.config.debugging
|
28
|
-
@api_client.config.logger.debug "Calling API: SearchApi#
|
28
|
+
@api_client.config.logger.debug "Calling API: SearchApi#post_chats ..."
|
29
29
|
end
|
30
30
|
|
31
31
|
# resource path
|
@@ -61,7 +61,7 @@ module PureCloud
|
|
61
61
|
:auth_names => auth_names,
|
62
62
|
:return_type => 'ChatSearchListing')
|
63
63
|
if @api_client.config.debugging
|
64
|
-
@api_client.config.logger.debug "API called: SearchApi#
|
64
|
+
@api_client.config.logger.debug "API called: SearchApi#post_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
65
65
|
end
|
66
66
|
return data, status_code, headers
|
67
67
|
end
|
@@ -16,8 +16,8 @@ module PureCloud
|
|
16
16
|
# @option opts [String] :sort_by Sort by
|
17
17
|
# @option opts [String] :name Name
|
18
18
|
# @return [StationEntityListing]
|
19
|
-
def
|
20
|
-
data, status_code, headers =
|
19
|
+
def get_stations(opts = {})
|
20
|
+
data, status_code, headers = get_stations_with_http_info(opts)
|
21
21
|
return data
|
22
22
|
end
|
23
23
|
|
@@ -29,9 +29,9 @@ module PureCloud
|
|
29
29
|
# @option opts [String] :sort_by Sort by
|
30
30
|
# @option opts [String] :name Name
|
31
31
|
# @return [Array<(StationEntityListing, Fixnum, Hash)>] StationEntityListing data, response status code and response headers
|
32
|
-
def
|
32
|
+
def get_stations_with_http_info(opts = {})
|
33
33
|
if @api_client.config.debugging
|
34
|
-
@api_client.config.logger.debug "Calling API: StationsApi#
|
34
|
+
@api_client.config.logger.debug "Calling API: StationsApi#get_stations ..."
|
35
35
|
end
|
36
36
|
|
37
37
|
# resource path
|
@@ -71,7 +71,7 @@ module PureCloud
|
|
71
71
|
:auth_names => auth_names,
|
72
72
|
:return_type => 'StationEntityListing')
|
73
73
|
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: StationsApi#
|
74
|
+
@api_client.config.logger.debug "API called: StationsApi#get_stations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
75
|
end
|
76
76
|
return data, status_code, headers
|
77
77
|
end
|
@@ -80,7 +80,7 @@ module PureCloud
|
|
80
80
|
#
|
81
81
|
# @param id Station ID
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [
|
83
|
+
# @return [Station]
|
84
84
|
def get_id(id, opts = {})
|
85
85
|
data, status_code, headers = get_id_with_http_info(id, opts)
|
86
86
|
return data
|
@@ -90,7 +90,7 @@ module PureCloud
|
|
90
90
|
#
|
91
91
|
# @param id Station ID
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [Array<(
|
93
|
+
# @return [Array<(Station, Fixnum, Hash)>] Station data, response status code and response headers
|
94
94
|
def get_id_with_http_info(id, opts = {})
|
95
95
|
if @api_client.config.debugging
|
96
96
|
@api_client.config.logger.debug "Calling API: StationsApi#get_id ..."
|
@@ -130,7 +130,7 @@ module PureCloud
|
|
130
130
|
:form_params => form_params,
|
131
131
|
:body => post_body,
|
132
132
|
:auth_names => auth_names,
|
133
|
-
:return_type => '
|
133
|
+
:return_type => 'Station')
|
134
134
|
if @api_client.config.debugging
|
135
135
|
@api_client.config.logger.debug "API called: StationsApi#get_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
136
136
|
end
|
@@ -81,8 +81,8 @@ module PureCloud
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
82
|
# @option opts [EdgeGroup] :body EdgeGroup
|
83
83
|
# @return [EdgeGroup]
|
84
|
-
def
|
85
|
-
data, status_code, headers =
|
84
|
+
def post_providers_edge_edgegroups(opts = {})
|
85
|
+
data, status_code, headers = post_providers_edge_edgegroups_with_http_info(opts)
|
86
86
|
return data
|
87
87
|
end
|
88
88
|
|
@@ -91,9 +91,9 @@ module PureCloud
|
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
92
|
# @option opts [EdgeGroup] :body EdgeGroup
|
93
93
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
94
|
-
def
|
94
|
+
def post_providers_edge_edgegroups_with_http_info(opts = {})
|
95
95
|
if @api_client.config.debugging
|
96
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
96
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_edgegroups ..."
|
97
97
|
end
|
98
98
|
|
99
99
|
# resource path
|
@@ -129,7 +129,7 @@ module PureCloud
|
|
129
129
|
:auth_names => auth_names,
|
130
130
|
:return_type => 'EdgeGroup')
|
131
131
|
if @api_client.config.debugging
|
132
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
132
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_edgegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
133
133
|
end
|
134
134
|
return data, status_code, headers
|
135
135
|
end
|
@@ -139,8 +139,8 @@ module PureCloud
|
|
139
139
|
# @param edge_group_id Edge group ID
|
140
140
|
# @param [Hash] opts the optional parameters
|
141
141
|
# @return [EdgeGroup]
|
142
|
-
def
|
143
|
-
data, status_code, headers =
|
142
|
+
def get_providers_edge_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
143
|
+
data, status_code, headers = get_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
144
144
|
return data
|
145
145
|
end
|
146
146
|
|
@@ -149,13 +149,13 @@ module PureCloud
|
|
149
149
|
# @param edge_group_id Edge group ID
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
152
|
-
def
|
152
|
+
def get_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
153
153
|
if @api_client.config.debugging
|
154
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
154
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_edgegroups_edgegroup_id ..."
|
155
155
|
end
|
156
156
|
|
157
157
|
# verify the required parameter 'edge_group_id' is set
|
158
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
158
|
+
fail "Missing the required parameter 'edge_group_id' when calling get_providers_edge_edgegroups_edgegroup_id" if edge_group_id.nil?
|
159
159
|
|
160
160
|
# resource path
|
161
161
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -190,7 +190,7 @@ module PureCloud
|
|
190
190
|
:auth_names => auth_names,
|
191
191
|
:return_type => 'EdgeGroup')
|
192
192
|
if @api_client.config.debugging
|
193
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
193
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_edgegroups_edgegroup_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
194
194
|
end
|
195
195
|
return data, status_code, headers
|
196
196
|
end
|
@@ -201,8 +201,8 @@ module PureCloud
|
|
201
201
|
# @param [Hash] opts the optional parameters
|
202
202
|
# @option opts [EdgeGroup] :body EdgeGroup
|
203
203
|
# @return [EdgeGroup]
|
204
|
-
def
|
205
|
-
data, status_code, headers =
|
204
|
+
def put_providers_edge_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
205
|
+
data, status_code, headers = put_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
206
206
|
return data
|
207
207
|
end
|
208
208
|
|
@@ -212,13 +212,13 @@ module PureCloud
|
|
212
212
|
# @param [Hash] opts the optional parameters
|
213
213
|
# @option opts [EdgeGroup] :body EdgeGroup
|
214
214
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
215
|
-
def
|
215
|
+
def put_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
216
216
|
if @api_client.config.debugging
|
217
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
217
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edge_edgegroups_edgegroup_id ..."
|
218
218
|
end
|
219
219
|
|
220
220
|
# verify the required parameter 'edge_group_id' is set
|
221
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
221
|
+
fail "Missing the required parameter 'edge_group_id' when calling put_providers_edge_edgegroups_edgegroup_id" if edge_group_id.nil?
|
222
222
|
|
223
223
|
# resource path
|
224
224
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -253,7 +253,7 @@ module PureCloud
|
|
253
253
|
:auth_names => auth_names,
|
254
254
|
:return_type => 'EdgeGroup')
|
255
255
|
if @api_client.config.debugging
|
256
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
256
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edge_edgegroups_edgegroup_id\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 edge_group_id Edge group ID
|
264
264
|
# @param [Hash] opts the optional parameters
|
265
265
|
# @return [String]
|
266
|
-
def
|
267
|
-
data, status_code, headers =
|
266
|
+
def delete_providers_edge_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
267
|
+
data, status_code, headers = delete_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
268
268
|
return data
|
269
269
|
end
|
270
270
|
|
@@ -273,13 +273,13 @@ module PureCloud
|
|
273
273
|
# @param edge_group_id Edge group ID
|
274
274
|
# @param [Hash] opts the optional parameters
|
275
275
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
276
|
-
def
|
276
|
+
def delete_providers_edge_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
277
277
|
if @api_client.config.debugging
|
278
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
278
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_edgegroups_edgegroup_id ..."
|
279
279
|
end
|
280
280
|
|
281
281
|
# verify the required parameter 'edge_group_id' is set
|
282
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
282
|
+
fail "Missing the required parameter 'edge_group_id' when calling delete_providers_edge_edgegroups_edgegroup_id" if edge_group_id.nil?
|
283
283
|
|
284
284
|
# resource path
|
285
285
|
path = "/api/v1/telephony/providers/edge/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
@@ -314,7 +314,7 @@ module PureCloud
|
|
314
314
|
:auth_names => auth_names,
|
315
315
|
:return_type => 'String')
|
316
316
|
if @api_client.config.debugging
|
317
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
317
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_edgegroups_edgegroup_id\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 line_base_id Line base ID
|
393
393
|
# @param [Hash] opts the optional parameters
|
394
394
|
# @return [LineBase]
|
395
|
-
def
|
396
|
-
data, status_code, headers =
|
395
|
+
def get_providers_edge_linebasesettings_linebase_id(line_base_id, opts = {})
|
396
|
+
data, status_code, headers = get_providers_edge_linebasesettings_linebase_id_with_http_info(line_base_id, opts)
|
397
397
|
return data
|
398
398
|
end
|
399
399
|
|
@@ -402,13 +402,13 @@ module PureCloud
|
|
402
402
|
# @param line_base_id Line base ID
|
403
403
|
# @param [Hash] opts the optional parameters
|
404
404
|
# @return [Array<(LineBase, Fixnum, Hash)>] LineBase data, response status code and response headers
|
405
|
-
def
|
405
|
+
def get_providers_edge_linebasesettings_linebase_id_with_http_info(line_base_id, opts = {})
|
406
406
|
if @api_client.config.debugging
|
407
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
407
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings_linebase_id ..."
|
408
408
|
end
|
409
409
|
|
410
410
|
# verify the required parameter 'line_base_id' is set
|
411
|
-
fail "Missing the required parameter 'line_base_id' when calling
|
411
|
+
fail "Missing the required parameter 'line_base_id' when calling get_providers_edge_linebasesettings_linebase_id" if line_base_id.nil?
|
412
412
|
|
413
413
|
# resource path
|
414
414
|
path = "/api/v1/telephony/providers/edge/linebasesettings/{lineBaseId}".sub('{format}','json').sub('{' + 'lineBaseId' + '}', line_base_id.to_s)
|
@@ -443,7 +443,7 @@ module PureCloud
|
|
443
443
|
:auth_names => auth_names,
|
444
444
|
:return_type => 'LineBase')
|
445
445
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
446
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_linebasesettings_linebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
447
|
end
|
448
448
|
return data, status_code, headers
|
449
449
|
end
|
@@ -586,8 +586,8 @@ module PureCloud
|
|
586
586
|
# @param line_id Line ID
|
587
587
|
# @param [Hash] opts the optional parameters
|
588
588
|
# @return [Line]
|
589
|
-
def
|
590
|
-
data, status_code, headers =
|
589
|
+
def get_providers_edge_lines_line_id(line_id, opts = {})
|
590
|
+
data, status_code, headers = get_providers_edge_lines_line_id_with_http_info(line_id, opts)
|
591
591
|
return data
|
592
592
|
end
|
593
593
|
|
@@ -596,13 +596,13 @@ module PureCloud
|
|
596
596
|
# @param line_id Line ID
|
597
597
|
# @param [Hash] opts the optional parameters
|
598
598
|
# @return [Array<(Line, Fixnum, Hash)>] Line data, response status code and response headers
|
599
|
-
def
|
599
|
+
def get_providers_edge_lines_line_id_with_http_info(line_id, opts = {})
|
600
600
|
if @api_client.config.debugging
|
601
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
601
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_lines_line_id ..."
|
602
602
|
end
|
603
603
|
|
604
604
|
# verify the required parameter 'line_id' is set
|
605
|
-
fail "Missing the required parameter 'line_id' when calling
|
605
|
+
fail "Missing the required parameter 'line_id' when calling get_providers_edge_lines_line_id" if line_id.nil?
|
606
606
|
|
607
607
|
# resource path
|
608
608
|
path = "/api/v1/telephony/providers/edge/lines/{lineId}".sub('{format}','json').sub('{' + 'lineId' + '}', line_id.to_s)
|
@@ -637,7 +637,7 @@ module PureCloud
|
|
637
637
|
:auth_names => auth_names,
|
638
638
|
:return_type => 'Line')
|
639
639
|
if @api_client.config.debugging
|
640
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
640
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
641
641
|
end
|
642
642
|
return data, status_code, headers
|
643
643
|
end
|
@@ -718,8 +718,8 @@ module PureCloud
|
|
718
718
|
# @param [Hash] opts the optional parameters
|
719
719
|
# @option opts [OutboundRoute] :body OutboundRoute
|
720
720
|
# @return [OutboundRoute]
|
721
|
-
def
|
722
|
-
data, status_code, headers =
|
721
|
+
def post_providers_edge_outboundroutes(opts = {})
|
722
|
+
data, status_code, headers = post_providers_edge_outboundroutes_with_http_info(opts)
|
723
723
|
return data
|
724
724
|
end
|
725
725
|
|
@@ -728,9 +728,9 @@ module PureCloud
|
|
728
728
|
# @param [Hash] opts the optional parameters
|
729
729
|
# @option opts [OutboundRoute] :body OutboundRoute
|
730
730
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
731
|
-
def
|
731
|
+
def post_providers_edge_outboundroutes_with_http_info(opts = {})
|
732
732
|
if @api_client.config.debugging
|
733
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
733
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_outboundroutes ..."
|
734
734
|
end
|
735
735
|
|
736
736
|
# resource path
|
@@ -766,7 +766,7 @@ module PureCloud
|
|
766
766
|
:auth_names => auth_names,
|
767
767
|
:return_type => 'OutboundRoute')
|
768
768
|
if @api_client.config.debugging
|
769
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
769
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_outboundroutes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
770
770
|
end
|
771
771
|
return data, status_code, headers
|
772
772
|
end
|
@@ -776,8 +776,8 @@ module PureCloud
|
|
776
776
|
# @param outbound_route_id Outbound route ID
|
777
777
|
# @param [Hash] opts the optional parameters
|
778
778
|
# @return [OutboundRoute]
|
779
|
-
def
|
780
|
-
data, status_code, headers =
|
779
|
+
def get_providers_edge_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
780
|
+
data, status_code, headers = get_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
781
781
|
return data
|
782
782
|
end
|
783
783
|
|
@@ -786,13 +786,13 @@ module PureCloud
|
|
786
786
|
# @param outbound_route_id Outbound route ID
|
787
787
|
# @param [Hash] opts the optional parameters
|
788
788
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
789
|
-
def
|
789
|
+
def get_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
790
790
|
if @api_client.config.debugging
|
791
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
791
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_outboundroutes_outboundroute_id ..."
|
792
792
|
end
|
793
793
|
|
794
794
|
# verify the required parameter 'outbound_route_id' is set
|
795
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
795
|
+
fail "Missing the required parameter 'outbound_route_id' when calling get_providers_edge_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
796
796
|
|
797
797
|
# resource path
|
798
798
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -827,7 +827,7 @@ module PureCloud
|
|
827
827
|
:auth_names => auth_names,
|
828
828
|
:return_type => 'OutboundRoute')
|
829
829
|
if @api_client.config.debugging
|
830
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
830
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
831
831
|
end
|
832
832
|
return data, status_code, headers
|
833
833
|
end
|
@@ -838,8 +838,8 @@ module PureCloud
|
|
838
838
|
# @param [Hash] opts the optional parameters
|
839
839
|
# @option opts [OutboundRoute] :body OutboundRoute
|
840
840
|
# @return [OutboundRoute]
|
841
|
-
def
|
842
|
-
data, status_code, headers =
|
841
|
+
def put_providers_edge_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
842
|
+
data, status_code, headers = put_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
843
843
|
return data
|
844
844
|
end
|
845
845
|
|
@@ -849,13 +849,13 @@ module PureCloud
|
|
849
849
|
# @param [Hash] opts the optional parameters
|
850
850
|
# @option opts [OutboundRoute] :body OutboundRoute
|
851
851
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
852
|
-
def
|
852
|
+
def put_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
853
853
|
if @api_client.config.debugging
|
854
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
854
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edge_outboundroutes_outboundroute_id ..."
|
855
855
|
end
|
856
856
|
|
857
857
|
# verify the required parameter 'outbound_route_id' is set
|
858
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
858
|
+
fail "Missing the required parameter 'outbound_route_id' when calling put_providers_edge_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
859
859
|
|
860
860
|
# resource path
|
861
861
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -890,7 +890,7 @@ module PureCloud
|
|
890
890
|
:auth_names => auth_names,
|
891
891
|
:return_type => 'OutboundRoute')
|
892
892
|
if @api_client.config.debugging
|
893
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
893
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edge_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
894
894
|
end
|
895
895
|
return data, status_code, headers
|
896
896
|
end
|
@@ -900,8 +900,8 @@ module PureCloud
|
|
900
900
|
# @param outbound_route_id Outbound route ID
|
901
901
|
# @param [Hash] opts the optional parameters
|
902
902
|
# @return [String]
|
903
|
-
def
|
904
|
-
data, status_code, headers =
|
903
|
+
def delete_providers_edge_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
904
|
+
data, status_code, headers = delete_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
905
905
|
return data
|
906
906
|
end
|
907
907
|
|
@@ -910,13 +910,13 @@ module PureCloud
|
|
910
910
|
# @param outbound_route_id Outbound route ID
|
911
911
|
# @param [Hash] opts the optional parameters
|
912
912
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
913
|
-
def
|
913
|
+
def delete_providers_edge_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
914
914
|
if @api_client.config.debugging
|
915
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
915
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_outboundroutes_outboundroute_id ..."
|
916
916
|
end
|
917
917
|
|
918
918
|
# verify the required parameter 'outbound_route_id' is set
|
919
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
919
|
+
fail "Missing the required parameter 'outbound_route_id' when calling delete_providers_edge_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
920
920
|
|
921
921
|
# resource path
|
922
922
|
path = "/api/v1/telephony/providers/edge/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
@@ -951,7 +951,7 @@ module PureCloud
|
|
951
951
|
:auth_names => auth_names,
|
952
952
|
:return_type => 'String')
|
953
953
|
if @api_client.config.debugging
|
954
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
954
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
955
955
|
end
|
956
956
|
return data, status_code, headers
|
957
957
|
end
|
@@ -1029,8 +1029,8 @@ module PureCloud
|
|
1029
1029
|
# @param [Hash] opts the optional parameters
|
1030
1030
|
# @option opts [PhoneBase] :body
|
1031
1031
|
# @return [PhoneBase]
|
1032
|
-
def
|
1033
|
-
data, status_code, headers =
|
1032
|
+
def post_providers_edge_phonebasesettings(opts = {})
|
1033
|
+
data, status_code, headers = post_providers_edge_phonebasesettings_with_http_info(opts)
|
1034
1034
|
return data
|
1035
1035
|
end
|
1036
1036
|
|
@@ -1039,9 +1039,9 @@ module PureCloud
|
|
1039
1039
|
# @param [Hash] opts the optional parameters
|
1040
1040
|
# @option opts [PhoneBase] :body
|
1041
1041
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1042
|
-
def
|
1042
|
+
def post_providers_edge_phonebasesettings_with_http_info(opts = {})
|
1043
1043
|
if @api_client.config.debugging
|
1044
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1044
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_phonebasesettings ..."
|
1045
1045
|
end
|
1046
1046
|
|
1047
1047
|
# resource path
|
@@ -1077,7 +1077,7 @@ module PureCloud
|
|
1077
1077
|
:auth_names => auth_names,
|
1078
1078
|
:return_type => 'PhoneBase')
|
1079
1079
|
if @api_client.config.debugging
|
1080
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1080
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_phonebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1081
1081
|
end
|
1082
1082
|
return data, status_code, headers
|
1083
1083
|
end
|
@@ -1211,8 +1211,8 @@ module PureCloud
|
|
1211
1211
|
# @param phone_base_id Phone base ID
|
1212
1212
|
# @param [Hash] opts the optional parameters
|
1213
1213
|
# @return [PhoneBase]
|
1214
|
-
def
|
1215
|
-
data, status_code, headers =
|
1214
|
+
def get_providers_edge_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
1215
|
+
data, status_code, headers = get_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
1216
1216
|
return data
|
1217
1217
|
end
|
1218
1218
|
|
@@ -1221,13 +1221,13 @@ module PureCloud
|
|
1221
1221
|
# @param phone_base_id Phone base ID
|
1222
1222
|
# @param [Hash] opts the optional parameters
|
1223
1223
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1224
|
-
def
|
1224
|
+
def get_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
1225
1225
|
if @api_client.config.debugging
|
1226
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1226
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_phonebase_id ..."
|
1227
1227
|
end
|
1228
1228
|
|
1229
1229
|
# verify the required parameter 'phone_base_id' is set
|
1230
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1230
|
+
fail "Missing the required parameter 'phone_base_id' when calling get_providers_edge_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
1231
1231
|
|
1232
1232
|
# resource path
|
1233
1233
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1262,7 +1262,7 @@ module PureCloud
|
|
1262
1262
|
:auth_names => auth_names,
|
1263
1263
|
:return_type => 'PhoneBase')
|
1264
1264
|
if @api_client.config.debugging
|
1265
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1265
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1266
1266
|
end
|
1267
1267
|
return data, status_code, headers
|
1268
1268
|
end
|
@@ -1273,8 +1273,8 @@ module PureCloud
|
|
1273
1273
|
# @param [Hash] opts the optional parameters
|
1274
1274
|
# @option opts [PhoneBase] :body
|
1275
1275
|
# @return [PhoneBase]
|
1276
|
-
def
|
1277
|
-
data, status_code, headers =
|
1276
|
+
def put_providers_edge_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
1277
|
+
data, status_code, headers = put_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
1278
1278
|
return data
|
1279
1279
|
end
|
1280
1280
|
|
@@ -1284,13 +1284,13 @@ module PureCloud
|
|
1284
1284
|
# @param [Hash] opts the optional parameters
|
1285
1285
|
# @option opts [PhoneBase] :body
|
1286
1286
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
1287
|
-
def
|
1287
|
+
def put_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
1288
1288
|
if @api_client.config.debugging
|
1289
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1289
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edge_phonebasesettings_phonebase_id ..."
|
1290
1290
|
end
|
1291
1291
|
|
1292
1292
|
# verify the required parameter 'phone_base_id' is set
|
1293
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1293
|
+
fail "Missing the required parameter 'phone_base_id' when calling put_providers_edge_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
1294
1294
|
|
1295
1295
|
# resource path
|
1296
1296
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1325,7 +1325,7 @@ module PureCloud
|
|
1325
1325
|
:auth_names => auth_names,
|
1326
1326
|
:return_type => 'PhoneBase')
|
1327
1327
|
if @api_client.config.debugging
|
1328
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1328
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edge_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1329
1329
|
end
|
1330
1330
|
return data, status_code, headers
|
1331
1331
|
end
|
@@ -1335,8 +1335,8 @@ module PureCloud
|
|
1335
1335
|
# @param phone_base_id Phone base ID
|
1336
1336
|
# @param [Hash] opts the optional parameters
|
1337
1337
|
# @return [String]
|
1338
|
-
def
|
1339
|
-
data, status_code, headers =
|
1338
|
+
def delete_providers_edge_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
1339
|
+
data, status_code, headers = delete_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
1340
1340
|
return data
|
1341
1341
|
end
|
1342
1342
|
|
@@ -1345,13 +1345,13 @@ module PureCloud
|
|
1345
1345
|
# @param phone_base_id Phone base ID
|
1346
1346
|
# @param [Hash] opts the optional parameters
|
1347
1347
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1348
|
-
def
|
1348
|
+
def delete_providers_edge_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
1349
1349
|
if @api_client.config.debugging
|
1350
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1350
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_phonebasesettings_phonebase_id ..."
|
1351
1351
|
end
|
1352
1352
|
|
1353
1353
|
# verify the required parameter 'phone_base_id' is set
|
1354
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
1354
|
+
fail "Missing the required parameter 'phone_base_id' when calling delete_providers_edge_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
1355
1355
|
|
1356
1356
|
# resource path
|
1357
1357
|
path = "/api/v1/telephony/providers/edge/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
@@ -1386,7 +1386,7 @@ module PureCloud
|
|
1386
1386
|
:auth_names => auth_names,
|
1387
1387
|
:return_type => 'String')
|
1388
1388
|
if @api_client.config.debugging
|
1389
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1389
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1390
1390
|
end
|
1391
1391
|
return data, status_code, headers
|
1392
1392
|
end
|
@@ -1479,8 +1479,8 @@ module PureCloud
|
|
1479
1479
|
# @param [Hash] opts the optional parameters
|
1480
1480
|
# @option opts [Phone] :body
|
1481
1481
|
# @return [Phone]
|
1482
|
-
def
|
1483
|
-
data, status_code, headers =
|
1482
|
+
def post_providers_edge_phones(opts = {})
|
1483
|
+
data, status_code, headers = post_providers_edge_phones_with_http_info(opts)
|
1484
1484
|
return data
|
1485
1485
|
end
|
1486
1486
|
|
@@ -1489,9 +1489,9 @@ module PureCloud
|
|
1489
1489
|
# @param [Hash] opts the optional parameters
|
1490
1490
|
# @option opts [Phone] :body
|
1491
1491
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1492
|
-
def
|
1492
|
+
def post_providers_edge_phones_with_http_info(opts = {})
|
1493
1493
|
if @api_client.config.debugging
|
1494
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1494
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_phones ..."
|
1495
1495
|
end
|
1496
1496
|
|
1497
1497
|
# resource path
|
@@ -1527,7 +1527,7 @@ module PureCloud
|
|
1527
1527
|
:auth_names => auth_names,
|
1528
1528
|
:return_type => 'Phone')
|
1529
1529
|
if @api_client.config.debugging
|
1530
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1530
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_phones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1531
1531
|
end
|
1532
1532
|
return data, status_code, headers
|
1533
1533
|
end
|
@@ -1537,8 +1537,8 @@ module PureCloud
|
|
1537
1537
|
# @param [Hash] opts the optional parameters
|
1538
1538
|
# @option opts [PhonesReboot] :body body
|
1539
1539
|
# @return [nil]
|
1540
|
-
def
|
1541
|
-
|
1540
|
+
def post_providers_edge_phones_reboot(opts = {})
|
1541
|
+
post_providers_edge_phones_reboot_with_http_info(opts)
|
1542
1542
|
return nil
|
1543
1543
|
end
|
1544
1544
|
|
@@ -1547,9 +1547,9 @@ module PureCloud
|
|
1547
1547
|
# @param [Hash] opts the optional parameters
|
1548
1548
|
# @option opts [PhonesReboot] :body body
|
1549
1549
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1550
|
-
def
|
1550
|
+
def post_providers_edge_phones_reboot_with_http_info(opts = {})
|
1551
1551
|
if @api_client.config.debugging
|
1552
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1552
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_phones_reboot ..."
|
1553
1553
|
end
|
1554
1554
|
|
1555
1555
|
# resource path
|
@@ -1584,7 +1584,7 @@ module PureCloud
|
|
1584
1584
|
:body => post_body,
|
1585
1585
|
:auth_names => auth_names)
|
1586
1586
|
if @api_client.config.debugging
|
1587
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1587
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_phones_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1588
1588
|
end
|
1589
1589
|
return data, status_code, headers
|
1590
1590
|
end
|
@@ -1656,8 +1656,8 @@ module PureCloud
|
|
1656
1656
|
# @param phone_id Phone ID
|
1657
1657
|
# @param [Hash] opts the optional parameters
|
1658
1658
|
# @return [Phone]
|
1659
|
-
def
|
1660
|
-
data, status_code, headers =
|
1659
|
+
def get_providers_edge_phones_phone_id(phone_id, opts = {})
|
1660
|
+
data, status_code, headers = get_providers_edge_phones_phone_id_with_http_info(phone_id, opts)
|
1661
1661
|
return data
|
1662
1662
|
end
|
1663
1663
|
|
@@ -1666,13 +1666,13 @@ module PureCloud
|
|
1666
1666
|
# @param phone_id Phone ID
|
1667
1667
|
# @param [Hash] opts the optional parameters
|
1668
1668
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1669
|
-
def
|
1669
|
+
def get_providers_edge_phones_phone_id_with_http_info(phone_id, opts = {})
|
1670
1670
|
if @api_client.config.debugging
|
1671
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1671
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_phones_phone_id ..."
|
1672
1672
|
end
|
1673
1673
|
|
1674
1674
|
# verify the required parameter 'phone_id' is set
|
1675
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1675
|
+
fail "Missing the required parameter 'phone_id' when calling get_providers_edge_phones_phone_id" if phone_id.nil?
|
1676
1676
|
|
1677
1677
|
# resource path
|
1678
1678
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1707,7 +1707,7 @@ module PureCloud
|
|
1707
1707
|
:auth_names => auth_names,
|
1708
1708
|
:return_type => 'Phone')
|
1709
1709
|
if @api_client.config.debugging
|
1710
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1710
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1711
1711
|
end
|
1712
1712
|
return data, status_code, headers
|
1713
1713
|
end
|
@@ -1718,8 +1718,8 @@ module PureCloud
|
|
1718
1718
|
# @param [Hash] opts the optional parameters
|
1719
1719
|
# @option opts [Phone] :body
|
1720
1720
|
# @return [Phone]
|
1721
|
-
def
|
1722
|
-
data, status_code, headers =
|
1721
|
+
def put_providers_edge_phones_phone_id(phone_id, opts = {})
|
1722
|
+
data, status_code, headers = put_providers_edge_phones_phone_id_with_http_info(phone_id, opts)
|
1723
1723
|
return data
|
1724
1724
|
end
|
1725
1725
|
|
@@ -1729,13 +1729,13 @@ module PureCloud
|
|
1729
1729
|
# @param [Hash] opts the optional parameters
|
1730
1730
|
# @option opts [Phone] :body
|
1731
1731
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
1732
|
-
def
|
1732
|
+
def put_providers_edge_phones_phone_id_with_http_info(phone_id, opts = {})
|
1733
1733
|
if @api_client.config.debugging
|
1734
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1734
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edge_phones_phone_id ..."
|
1735
1735
|
end
|
1736
1736
|
|
1737
1737
|
# verify the required parameter 'phone_id' is set
|
1738
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1738
|
+
fail "Missing the required parameter 'phone_id' when calling put_providers_edge_phones_phone_id" if phone_id.nil?
|
1739
1739
|
|
1740
1740
|
# resource path
|
1741
1741
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1770,7 +1770,7 @@ module PureCloud
|
|
1770
1770
|
:auth_names => auth_names,
|
1771
1771
|
:return_type => 'Phone')
|
1772
1772
|
if @api_client.config.debugging
|
1773
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1773
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edge_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1774
1774
|
end
|
1775
1775
|
return data, status_code, headers
|
1776
1776
|
end
|
@@ -1780,8 +1780,8 @@ module PureCloud
|
|
1780
1780
|
# @param phone_id Phone ID
|
1781
1781
|
# @param [Hash] opts the optional parameters
|
1782
1782
|
# @return [String]
|
1783
|
-
def
|
1784
|
-
data, status_code, headers =
|
1783
|
+
def delete_providers_edge_phones_phone_id(phone_id, opts = {})
|
1784
|
+
data, status_code, headers = delete_providers_edge_phones_phone_id_with_http_info(phone_id, opts)
|
1785
1785
|
return data
|
1786
1786
|
end
|
1787
1787
|
|
@@ -1790,13 +1790,13 @@ module PureCloud
|
|
1790
1790
|
# @param phone_id Phone ID
|
1791
1791
|
# @param [Hash] opts the optional parameters
|
1792
1792
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1793
|
-
def
|
1793
|
+
def delete_providers_edge_phones_phone_id_with_http_info(phone_id, opts = {})
|
1794
1794
|
if @api_client.config.debugging
|
1795
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1795
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_phones_phone_id ..."
|
1796
1796
|
end
|
1797
1797
|
|
1798
1798
|
# verify the required parameter 'phone_id' is set
|
1799
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1799
|
+
fail "Missing the required parameter 'phone_id' when calling delete_providers_edge_phones_phone_id" if phone_id.nil?
|
1800
1800
|
|
1801
1801
|
# resource path
|
1802
1802
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1831,7 +1831,7 @@ module PureCloud
|
|
1831
1831
|
:auth_names => auth_names,
|
1832
1832
|
:return_type => 'String')
|
1833
1833
|
if @api_client.config.debugging
|
1834
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1834
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1835
1835
|
end
|
1836
1836
|
return data, status_code, headers
|
1837
1837
|
end
|
@@ -1841,8 +1841,8 @@ module PureCloud
|
|
1841
1841
|
# @param phone_id Phone Id
|
1842
1842
|
# @param [Hash] opts the optional parameters
|
1843
1843
|
# @return [nil]
|
1844
|
-
def
|
1845
|
-
|
1844
|
+
def post_providers_edge_phones_phone_id_reboot(phone_id, opts = {})
|
1845
|
+
post_providers_edge_phones_phone_id_reboot_with_http_info(phone_id, opts)
|
1846
1846
|
return nil
|
1847
1847
|
end
|
1848
1848
|
|
@@ -1851,13 +1851,13 @@ module PureCloud
|
|
1851
1851
|
# @param phone_id Phone Id
|
1852
1852
|
# @param [Hash] opts the optional parameters
|
1853
1853
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1854
|
-
def
|
1854
|
+
def post_providers_edge_phones_phone_id_reboot_with_http_info(phone_id, opts = {})
|
1855
1855
|
if @api_client.config.debugging
|
1856
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
1856
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_phones_phone_id_reboot ..."
|
1857
1857
|
end
|
1858
1858
|
|
1859
1859
|
# verify the required parameter 'phone_id' is set
|
1860
|
-
fail "Missing the required parameter 'phone_id' when calling
|
1860
|
+
fail "Missing the required parameter 'phone_id' when calling post_providers_edge_phones_phone_id_reboot" if phone_id.nil?
|
1861
1861
|
|
1862
1862
|
# resource path
|
1863
1863
|
path = "/api/v1/telephony/providers/edge/phones/{phoneId}/reboot".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
@@ -1891,7 +1891,7 @@ module PureCloud
|
|
1891
1891
|
:body => post_body,
|
1892
1892
|
:auth_names => auth_names)
|
1893
1893
|
if @api_client.config.debugging
|
1894
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
1894
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_phones_phone_id_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1895
1895
|
end
|
1896
1896
|
return data, status_code, headers
|
1897
1897
|
end
|
@@ -2031,8 +2031,8 @@ module PureCloud
|
|
2031
2031
|
# @param [Hash] opts the optional parameters
|
2032
2032
|
# @option opts [TrunkBase] :body
|
2033
2033
|
# @return [TrunkBase]
|
2034
|
-
def
|
2035
|
-
data, status_code, headers =
|
2034
|
+
def post_providers_edge_trunkbasesettings(opts = {})
|
2035
|
+
data, status_code, headers = post_providers_edge_trunkbasesettings_with_http_info(opts)
|
2036
2036
|
return data
|
2037
2037
|
end
|
2038
2038
|
|
@@ -2041,9 +2041,9 @@ module PureCloud
|
|
2041
2041
|
# @param [Hash] opts the optional parameters
|
2042
2042
|
# @option opts [TrunkBase] :body
|
2043
2043
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2044
|
-
def
|
2044
|
+
def post_providers_edge_trunkbasesettings_with_http_info(opts = {})
|
2045
2045
|
if @api_client.config.debugging
|
2046
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2046
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edge_trunkbasesettings ..."
|
2047
2047
|
end
|
2048
2048
|
|
2049
2049
|
# resource path
|
@@ -2079,7 +2079,7 @@ module PureCloud
|
|
2079
2079
|
:auth_names => auth_names,
|
2080
2080
|
:return_type => 'TrunkBase')
|
2081
2081
|
if @api_client.config.debugging
|
2082
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2082
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edge_trunkbasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2083
2083
|
end
|
2084
2084
|
return data, status_code, headers
|
2085
2085
|
end
|
@@ -2220,8 +2220,8 @@ module PureCloud
|
|
2220
2220
|
# @param trunk_base_settings_id Trunk Base ID
|
2221
2221
|
# @param [Hash] opts the optional parameters
|
2222
2222
|
# @return [TrunkBase]
|
2223
|
-
def
|
2224
|
-
data, status_code, headers =
|
2223
|
+
def get_providers_edge_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
2224
|
+
data, status_code, headers = get_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
2225
2225
|
return data
|
2226
2226
|
end
|
2227
2227
|
|
@@ -2230,13 +2230,13 @@ module PureCloud
|
|
2230
2230
|
# @param trunk_base_settings_id Trunk Base ID
|
2231
2231
|
# @param [Hash] opts the optional parameters
|
2232
2232
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2233
|
-
def
|
2233
|
+
def get_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
2234
2234
|
if @api_client.config.debugging
|
2235
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2235
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_trunkbasesettings_id ..."
|
2236
2236
|
end
|
2237
2237
|
|
2238
2238
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2239
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2239
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling get_providers_edge_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
2240
2240
|
|
2241
2241
|
# resource path
|
2242
2242
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2271,7 +2271,7 @@ module PureCloud
|
|
2271
2271
|
:auth_names => auth_names,
|
2272
2272
|
:return_type => 'TrunkBase')
|
2273
2273
|
if @api_client.config.debugging
|
2274
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2274
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edge_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2275
2275
|
end
|
2276
2276
|
return data, status_code, headers
|
2277
2277
|
end
|
@@ -2282,8 +2282,8 @@ module PureCloud
|
|
2282
2282
|
# @param [Hash] opts the optional parameters
|
2283
2283
|
# @option opts [TrunkBase] :body
|
2284
2284
|
# @return [TrunkBase]
|
2285
|
-
def
|
2286
|
-
data, status_code, headers =
|
2285
|
+
def put_providers_edge_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
2286
|
+
data, status_code, headers = put_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
2287
2287
|
return data
|
2288
2288
|
end
|
2289
2289
|
|
@@ -2293,13 +2293,13 @@ module PureCloud
|
|
2293
2293
|
# @param [Hash] opts the optional parameters
|
2294
2294
|
# @option opts [TrunkBase] :body
|
2295
2295
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
2296
|
-
def
|
2296
|
+
def put_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
2297
2297
|
if @api_client.config.debugging
|
2298
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2298
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edge_trunkbasesettings_trunkbasesettings_id ..."
|
2299
2299
|
end
|
2300
2300
|
|
2301
2301
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2302
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2302
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling put_providers_edge_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
2303
2303
|
|
2304
2304
|
# resource path
|
2305
2305
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2334,7 +2334,7 @@ module PureCloud
|
|
2334
2334
|
:auth_names => auth_names,
|
2335
2335
|
:return_type => 'TrunkBase')
|
2336
2336
|
if @api_client.config.debugging
|
2337
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2337
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edge_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2338
2338
|
end
|
2339
2339
|
return data, status_code, headers
|
2340
2340
|
end
|
@@ -2344,8 +2344,8 @@ module PureCloud
|
|
2344
2344
|
# @param trunk_base_settings_id Trunk Base ID
|
2345
2345
|
# @param [Hash] opts the optional parameters
|
2346
2346
|
# @return [String]
|
2347
|
-
def
|
2348
|
-
data, status_code, headers =
|
2347
|
+
def delete_providers_edge_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
2348
|
+
data, status_code, headers = delete_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
2349
2349
|
return data
|
2350
2350
|
end
|
2351
2351
|
|
@@ -2354,13 +2354,13 @@ module PureCloud
|
|
2354
2354
|
# @param trunk_base_settings_id Trunk Base ID
|
2355
2355
|
# @param [Hash] opts the optional parameters
|
2356
2356
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
2357
|
-
def
|
2357
|
+
def delete_providers_edge_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
2358
2358
|
if @api_client.config.debugging
|
2359
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
2359
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edge_trunkbasesettings_trunkbasesettings_id ..."
|
2360
2360
|
end
|
2361
2361
|
|
2362
2362
|
# verify the required parameter 'trunk_base_settings_id' is set
|
2363
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
2363
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling delete_providers_edge_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
2364
2364
|
|
2365
2365
|
# resource path
|
2366
2366
|
path = "/api/v1/telephony/providers/edge/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
@@ -2395,7 +2395,7 @@ module PureCloud
|
|
2395
2395
|
:auth_names => auth_names,
|
2396
2396
|
:return_type => 'String')
|
2397
2397
|
if @api_client.config.debugging
|
2398
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
2398
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edge_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2399
2399
|
end
|
2400
2400
|
return data, status_code, headers
|
2401
2401
|
end
|