purecloudplatformclientv2 51.0.0 → 52.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -1
  4. data/docs/ArchitectApi.md +2 -2
  5. data/docs/ArrayNode.md +5 -5
  6. data/docs/Campaign.md +1 -0
  7. data/docs/CertificateDetails.md +1 -1
  8. data/docs/ContactList.md +1 -0
  9. data/docs/DncList.md +1 -0
  10. data/docs/DncListCreate.md +1 -0
  11. data/docs/Document.md +1 -1
  12. data/docs/FaxDocument.md +1 -1
  13. data/docs/GroupsApi.md +2 -0
  14. data/docs/JourneyCustomer.md +1 -1
  15. data/docs/JourneyCustomerSession.md +1 -1
  16. data/docs/OutboundApi.md +66 -0
  17. data/docs/TelephonyProvidersEdgeApi.md +0 -339
  18. data/docs/UsersApi.md +2 -1
  19. data/lib/purecloudplatformclientv2.rb +0 -1
  20. data/lib/purecloudplatformclientv2/api/architect_api.rb +4 -4
  21. data/lib/purecloudplatformclientv2/api/groups_api.rb +9 -0
  22. data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -0
  23. data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +0 -360
  24. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  25. data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
  26. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  27. data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
  28. data/lib/purecloudplatformclientv2/models/array_node.rb +65 -65
  29. data/lib/purecloudplatformclientv2/models/campaign.rb +27 -1
  30. data/lib/purecloudplatformclientv2/models/certificate_details.rb +13 -13
  31. data/lib/purecloudplatformclientv2/models/contact_list.rb +27 -1
  32. data/lib/purecloudplatformclientv2/models/dnc_list.rb +27 -1
  33. data/lib/purecloudplatformclientv2/models/dnc_list_create.rb +27 -1
  34. data/lib/purecloudplatformclientv2/models/document.rb +12 -12
  35. data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
  36. data/lib/purecloudplatformclientv2/models/journey_customer.rb +8 -8
  37. data/lib/purecloudplatformclientv2/models/journey_customer_session.rb +1 -1
  38. data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +2 -2
  39. data/lib/purecloudplatformclientv2/version.rb +1 -1
  40. metadata +2 -4
  41. data/docs/EndpointEntityListing.md +0 -22
  42. data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +0 -428
data/docs/UsersApi.md CHANGED
@@ -1563,6 +1563,7 @@ Wraps GET /api/v2/users/{userId}/queues
1563
1563
 
1564
1564
  Requires ANY permissions:
1565
1565
 
1566
+ * routing:queue:view
1566
1567
  * routing:queue:join
1567
1568
 
1568
1569
 
@@ -3292,7 +3293,7 @@ Wraps POST /api/v2/users/{userId}/password
3292
3293
  Requires ANY permissions:
3293
3294
 
3294
3295
  * user_administration
3295
- * directory:userPassword:edit
3296
+ * directory:user:setPassword
3296
3297
 
3297
3298
 
3298
3299
  ### Example
@@ -579,7 +579,6 @@ require 'purecloudplatformclientv2/models/empty'
579
579
  require 'purecloudplatformclientv2/models/encryption_key'
580
580
  require 'purecloudplatformclientv2/models/encryption_key_entity_listing'
581
581
  require 'purecloudplatformclientv2/models/endpoint'
582
- require 'purecloudplatformclientv2/models/endpoint_entity_listing'
583
582
  require 'purecloudplatformclientv2/models/entity'
584
583
  require 'purecloudplatformclientv2/models/entry'
585
584
  require 'purecloudplatformclientv2/models/error_body'
@@ -3855,7 +3855,7 @@ module PureCloud
3855
3855
  end
3856
3856
 
3857
3857
  # Get a pageable list of flows, filtered by query parameters
3858
- # Multiple IDs can be specified, in which case all matching flows will be returned, and no other parameters will be evaluated.
3858
+ # If one or more IDs are specified, the search will fetch flows that match the given ID(s) and not use any additional supplied query parameters in the search.
3859
3859
  # @param [Hash] opts the optional parameters
3860
3860
  # @option opts [Array<String>] :type Type
3861
3861
  # @option opts [Integer] :page_number Page number (default to 1)
@@ -3882,7 +3882,7 @@ module PureCloud
3882
3882
  end
3883
3883
 
3884
3884
  # Get a pageable list of flows, filtered by query parameters
3885
- # Multiple IDs can be specified, in which case all matching flows will be returned, and no other parameters will be evaluated.
3885
+ # If one or more IDs are specified, the search will fetch flows that match the given ID(s) and not use any additional supplied query parameters in the search.
3886
3886
  # @param [Hash] opts the optional parameters
3887
3887
  # @option opts [Array<String>] :type Type
3888
3888
  # @option opts [Integer] :page_number Page number
@@ -4438,7 +4438,7 @@ module PureCloud
4438
4438
  end
4439
4439
 
4440
4440
  # Get a pageable list of basic flow information objects filterable by query parameters.
4441
- # This returns a simplified version of /flow consisting of name and type.
4441
+ # This returns a simplified version of /flow consisting of name and type. If one or more IDs are specified, the search will fetch flows that match the given ID(s) and not use any additional supplied query parameters in the search.
4442
4442
  # @param [Hash] opts the optional parameters
4443
4443
  # @option opts [Array<String>] :type Type
4444
4444
  # @option opts [Integer] :page_number Page number (default to 1)
@@ -4458,7 +4458,7 @@ module PureCloud
4458
4458
  end
4459
4459
 
4460
4460
  # Get a pageable list of basic flow information objects filterable by query parameters.
4461
- # This returns a simplified version of /flow consisting of name and type.
4461
+ # This returns a simplified version of /flow consisting of name and type. If one or more IDs are specified, the search will fetch flows that match the given ID(s) and not use any additional supplied query parameters in the search.
4462
4462
  # @param [Hash] opts the optional parameters
4463
4463
  # @option opts [Array<String>] :type Type
4464
4464
  # @option opts [Integer] :page_number Page number
@@ -550,6 +550,7 @@ module PureCloud
550
550
  # @option opts [Integer] :page_size Page size (default to 25)
551
551
  # @option opts [Integer] :page_number Page number (default to 1)
552
552
  # @option opts [Array<String>] :id id
553
+ # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
553
554
  # @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
554
555
  # @return [GroupEntityListing]
555
556
  def get_groups(opts = {})
@@ -563,6 +564,7 @@ module PureCloud
563
564
  # @option opts [Integer] :page_size Page size
564
565
  # @option opts [Integer] :page_number Page number
565
566
  # @option opts [Array<String>] :id id
567
+ # @option opts [Array<String>] :jabber_id A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
566
568
  # @option opts [String] :sort_order Ascending or descending sort order
567
569
  # @return [Array<(GroupEntityListing, Fixnum, Hash)>] GroupEntityListing data, response status code and response headers
568
570
  def get_groups_with_http_info(opts = {})
@@ -584,6 +586,12 @@ module PureCloud
584
586
 
585
587
 
586
588
 
589
+
590
+
591
+
592
+
593
+
594
+
587
595
 
588
596
 
589
597
 
@@ -606,6 +614,7 @@ module PureCloud
606
614
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
607
615
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
608
616
  query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
617
+ query_params[:'jabberId'] = @api_client.build_collection_param(opts[:'jabber_id'], :multi) if opts[:'jabber_id']
609
618
  query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
610
619
 
611
620
  # header parameters
@@ -2304,6 +2304,71 @@ module PureCloud
2304
2304
  return data, status_code, headers
2305
2305
  end
2306
2306
 
2307
+ # Get a basic Campaign information object
2308
+ # This returns a simplified version of a Campaign, consisting of name and division.
2309
+ # @param campaign_id Campaign ID
2310
+ # @param [Hash] opts the optional parameters
2311
+ # @return [CampaignDivisionView]
2312
+ def get_outbound_campaigns_divisionview(campaign_id, opts = {})
2313
+ data, _status_code, _headers = get_outbound_campaigns_divisionview_with_http_info(campaign_id, opts)
2314
+ return data
2315
+ end
2316
+
2317
+ # Get a basic Campaign information object
2318
+ # This returns a simplified version of a Campaign, consisting of name and division.
2319
+ # @param campaign_id Campaign ID
2320
+ # @param [Hash] opts the optional parameters
2321
+ # @return [Array<(CampaignDivisionView, Fixnum, Hash)>] CampaignDivisionView data, response status code and response headers
2322
+ def get_outbound_campaigns_divisionview_with_http_info(campaign_id, opts = {})
2323
+ if @api_client.config.debugging
2324
+ @api_client.config.logger.debug "Calling API: OutboundApi.get_outbound_campaigns_divisionview ..."
2325
+ end
2326
+
2327
+
2328
+ # verify the required parameter 'campaign_id' is set
2329
+ fail ArgumentError, "Missing the required parameter 'campaign_id' when calling OutboundApi.get_outbound_campaigns_divisionview" if campaign_id.nil?
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+ # resource path
2336
+ local_var_path = "/api/v2/outbound/campaigns/divisionviews/{campaignId}".sub('{format}','json').sub('{' + 'campaignId' + '}', campaign_id.to_s)
2337
+
2338
+ # query parameters
2339
+ query_params = {}
2340
+
2341
+ # header parameters
2342
+ header_params = {}
2343
+
2344
+ # HTTP header 'Accept' (if needed)
2345
+ local_header_accept = ['application/json']
2346
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2347
+
2348
+ # HTTP header 'Content-Type'
2349
+ local_header_content_type = ['application/json']
2350
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2351
+
2352
+ # form parameters
2353
+ form_params = {}
2354
+
2355
+ # http body (model)
2356
+ post_body = nil
2357
+
2358
+ auth_names = ['PureCloud OAuth']
2359
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2360
+ :header_params => header_params,
2361
+ :query_params => query_params,
2362
+ :form_params => form_params,
2363
+ :body => post_body,
2364
+ :auth_names => auth_names,
2365
+ :return_type => 'CampaignDivisionView')
2366
+ if @api_client.config.debugging
2367
+ @api_client.config.logger.debug "API called: OutboundApi#get_outbound_campaigns_divisionview\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2368
+ end
2369
+ return data, status_code, headers
2370
+ end
2371
+
2307
2372
  # Query a list of basic Campaign information objects
2308
2373
  # This returns a simplified version of a Campaign, consisting of name and division.
2309
2374
  # @param [Hash] opts the optional parameters
@@ -418,70 +418,6 @@ module PureCloud
418
418
  return data, status_code, headers
419
419
  end
420
420
 
421
- # Delete endpoint
422
- #
423
- # @param endpoint_id Endpoint ID
424
- # @param [Hash] opts the optional parameters
425
- # @return [nil]
426
- def delete_telephony_providers_edges_endpoint(endpoint_id, opts = {})
427
- delete_telephony_providers_edges_endpoint_with_http_info(endpoint_id, opts)
428
- return nil
429
- end
430
-
431
- # Delete endpoint
432
- #
433
- # @param endpoint_id Endpoint ID
434
- # @param [Hash] opts the optional parameters
435
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
436
- def delete_telephony_providers_edges_endpoint_with_http_info(endpoint_id, opts = {})
437
- if @api_client.config.debugging
438
- @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.delete_telephony_providers_edges_endpoint ..."
439
- end
440
-
441
-
442
- # verify the required parameter 'endpoint_id' is set
443
- fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling TelephonyProvidersEdgeApi.delete_telephony_providers_edges_endpoint" if endpoint_id.nil?
444
-
445
-
446
-
447
-
448
-
449
- # resource path
450
- local_var_path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
451
-
452
- # query parameters
453
- query_params = {}
454
-
455
- # header parameters
456
- header_params = {}
457
-
458
- # HTTP header 'Accept' (if needed)
459
- local_header_accept = ['application/json']
460
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
461
-
462
- # HTTP header 'Content-Type'
463
- local_header_content_type = ['application/json']
464
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
465
-
466
- # form parameters
467
- form_params = {}
468
-
469
- # http body (model)
470
- post_body = nil
471
-
472
- auth_names = ['PureCloud OAuth']
473
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
474
- :header_params => header_params,
475
- :query_params => query_params,
476
- :form_params => form_params,
477
- :body => post_body,
478
- :auth_names => auth_names)
479
- if @api_client.config.debugging
480
- @api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_telephony_providers_edges_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
481
- end
482
- return data, status_code, headers
483
- end
484
-
485
421
  # Delete an extension pool by ID
486
422
  #
487
423
  # @param extension_pool_id Extension pool ID
@@ -3285,162 +3221,6 @@ module PureCloud
3285
3221
  return data, status_code, headers
3286
3222
  end
3287
3223
 
3288
- # Get endpoint
3289
- #
3290
- # @param endpoint_id Endpoint ID
3291
- # @param [Hash] opts the optional parameters
3292
- # @return [Endpoint]
3293
- def get_telephony_providers_edges_endpoint(endpoint_id, opts = {})
3294
- data, _status_code, _headers = get_telephony_providers_edges_endpoint_with_http_info(endpoint_id, opts)
3295
- return data
3296
- end
3297
-
3298
- # Get endpoint
3299
- #
3300
- # @param endpoint_id Endpoint ID
3301
- # @param [Hash] opts the optional parameters
3302
- # @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
3303
- def get_telephony_providers_edges_endpoint_with_http_info(endpoint_id, opts = {})
3304
- if @api_client.config.debugging
3305
- @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.get_telephony_providers_edges_endpoint ..."
3306
- end
3307
-
3308
-
3309
- # verify the required parameter 'endpoint_id' is set
3310
- fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling TelephonyProvidersEdgeApi.get_telephony_providers_edges_endpoint" if endpoint_id.nil?
3311
-
3312
-
3313
-
3314
-
3315
-
3316
- # resource path
3317
- local_var_path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
3318
-
3319
- # query parameters
3320
- query_params = {}
3321
-
3322
- # header parameters
3323
- header_params = {}
3324
-
3325
- # HTTP header 'Accept' (if needed)
3326
- local_header_accept = ['application/json']
3327
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3328
-
3329
- # HTTP header 'Content-Type'
3330
- local_header_content_type = ['application/json']
3331
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3332
-
3333
- # form parameters
3334
- form_params = {}
3335
-
3336
- # http body (model)
3337
- post_body = nil
3338
-
3339
- auth_names = ['PureCloud OAuth']
3340
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3341
- :header_params => header_params,
3342
- :query_params => query_params,
3343
- :form_params => form_params,
3344
- :body => post_body,
3345
- :auth_names => auth_names,
3346
- :return_type => 'Endpoint')
3347
- if @api_client.config.debugging
3348
- @api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_telephony_providers_edges_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3349
- end
3350
- return data, status_code, headers
3351
- end
3352
-
3353
- # Get endpoints
3354
- #
3355
- # @param [Hash] opts the optional parameters
3356
- # @option opts [Integer] :page_size Page size (default to 25)
3357
- # @option opts [Integer] :page_number Page number (default to 1)
3358
- # @option opts [String] :name Name
3359
- # @option opts [String] :sort_by Sort by (default to name)
3360
- # @return [EndpointEntityListing]
3361
- def get_telephony_providers_edges_endpoints(opts = {})
3362
- data, _status_code, _headers = get_telephony_providers_edges_endpoints_with_http_info(opts)
3363
- return data
3364
- end
3365
-
3366
- # Get endpoints
3367
- #
3368
- # @param [Hash] opts the optional parameters
3369
- # @option opts [Integer] :page_size Page size
3370
- # @option opts [Integer] :page_number Page number
3371
- # @option opts [String] :name Name
3372
- # @option opts [String] :sort_by Sort by
3373
- # @return [Array<(EndpointEntityListing, Fixnum, Hash)>] EndpointEntityListing data, response status code and response headers
3374
- def get_telephony_providers_edges_endpoints_with_http_info(opts = {})
3375
- if @api_client.config.debugging
3376
- @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.get_telephony_providers_edges_endpoints ..."
3377
- end
3378
-
3379
-
3380
-
3381
-
3382
-
3383
-
3384
-
3385
-
3386
-
3387
-
3388
-
3389
-
3390
-
3391
-
3392
-
3393
-
3394
-
3395
-
3396
-
3397
-
3398
-
3399
-
3400
-
3401
-
3402
-
3403
- # resource path
3404
- local_var_path = "/api/v2/telephony/providers/edges/endpoints".sub('{format}','json')
3405
-
3406
- # query parameters
3407
- query_params = {}
3408
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
3409
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
3410
- query_params[:'name'] = opts[:'name'] if opts[:'name']
3411
- query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
3412
-
3413
- # header parameters
3414
- header_params = {}
3415
-
3416
- # HTTP header 'Accept' (if needed)
3417
- local_header_accept = ['application/json']
3418
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3419
-
3420
- # HTTP header 'Content-Type'
3421
- local_header_content_type = ['application/json']
3422
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3423
-
3424
- # form parameters
3425
- form_params = {}
3426
-
3427
- # http body (model)
3428
- post_body = nil
3429
-
3430
- auth_names = ['PureCloud OAuth']
3431
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3432
- :header_params => header_params,
3433
- :query_params => query_params,
3434
- :form_params => form_params,
3435
- :body => post_body,
3436
- :auth_names => auth_names,
3437
- :return_type => 'EndpointEntityListing')
3438
- if @api_client.config.debugging
3439
- @api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_telephony_providers_edges_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3440
- end
3441
- return data, status_code, headers
3442
- end
3443
-
3444
3224
  # Get an extension by ID.
3445
3225
  #
3446
3226
  # @param extension_id Extension ID
@@ -7385,71 +7165,6 @@ module PureCloud
7385
7165
  return data, status_code, headers
7386
7166
  end
7387
7167
 
7388
- # Create endpoint
7389
- #
7390
- # @param body EndpointTemplate
7391
- # @param [Hash] opts the optional parameters
7392
- # @return [Endpoint]
7393
- def post_telephony_providers_edges_endpoints(body, opts = {})
7394
- data, _status_code, _headers = post_telephony_providers_edges_endpoints_with_http_info(body, opts)
7395
- return data
7396
- end
7397
-
7398
- # Create endpoint
7399
- #
7400
- # @param body EndpointTemplate
7401
- # @param [Hash] opts the optional parameters
7402
- # @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
7403
- def post_telephony_providers_edges_endpoints_with_http_info(body, opts = {})
7404
- if @api_client.config.debugging
7405
- @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.post_telephony_providers_edges_endpoints ..."
7406
- end
7407
-
7408
-
7409
- # verify the required parameter 'body' is set
7410
- fail ArgumentError, "Missing the required parameter 'body' when calling TelephonyProvidersEdgeApi.post_telephony_providers_edges_endpoints" if body.nil?
7411
-
7412
-
7413
-
7414
-
7415
-
7416
- # resource path
7417
- local_var_path = "/api/v2/telephony/providers/edges/endpoints".sub('{format}','json')
7418
-
7419
- # query parameters
7420
- query_params = {}
7421
-
7422
- # header parameters
7423
- header_params = {}
7424
-
7425
- # HTTP header 'Accept' (if needed)
7426
- local_header_accept = ['application/json']
7427
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
7428
-
7429
- # HTTP header 'Content-Type'
7430
- local_header_content_type = ['application/json']
7431
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
7432
-
7433
- # form parameters
7434
- form_params = {}
7435
-
7436
- # http body (model)
7437
- post_body = @api_client.object_to_http_body(body)
7438
-
7439
- auth_names = ['PureCloud OAuth']
7440
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7441
- :header_params => header_params,
7442
- :query_params => query_params,
7443
- :form_params => form_params,
7444
- :body => post_body,
7445
- :auth_names => auth_names,
7446
- :return_type => 'Endpoint')
7447
- if @api_client.config.debugging
7448
- @api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_telephony_providers_edges_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7449
- end
7450
- return data, status_code, headers
7451
- end
7452
-
7453
7168
  # Create a new extension pool
7454
7169
  #
7455
7170
  # @param body ExtensionPool
@@ -8737,81 +8452,6 @@ module PureCloud
8737
8452
  return data, status_code, headers
8738
8453
  end
8739
8454
 
8740
- # Update endpoint
8741
- #
8742
- # @param endpoint_id Endpoint ID
8743
- # @param body EndpointTemplate
8744
- # @param [Hash] opts the optional parameters
8745
- # @return [Endpoint]
8746
- def put_telephony_providers_edges_endpoint(endpoint_id, body, opts = {})
8747
- data, _status_code, _headers = put_telephony_providers_edges_endpoint_with_http_info(endpoint_id, body, opts)
8748
- return data
8749
- end
8750
-
8751
- # Update endpoint
8752
- #
8753
- # @param endpoint_id Endpoint ID
8754
- # @param body EndpointTemplate
8755
- # @param [Hash] opts the optional parameters
8756
- # @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
8757
- def put_telephony_providers_edges_endpoint_with_http_info(endpoint_id, body, opts = {})
8758
- if @api_client.config.debugging
8759
- @api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.put_telephony_providers_edges_endpoint ..."
8760
- end
8761
-
8762
-
8763
- # verify the required parameter 'endpoint_id' is set
8764
- fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling TelephonyProvidersEdgeApi.put_telephony_providers_edges_endpoint" if endpoint_id.nil?
8765
-
8766
-
8767
-
8768
-
8769
-
8770
-
8771
- # verify the required parameter 'body' is set
8772
- fail ArgumentError, "Missing the required parameter 'body' when calling TelephonyProvidersEdgeApi.put_telephony_providers_edges_endpoint" if body.nil?
8773
-
8774
-
8775
-
8776
-
8777
-
8778
- # resource path
8779
- local_var_path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
8780
-
8781
- # query parameters
8782
- query_params = {}
8783
-
8784
- # header parameters
8785
- header_params = {}
8786
-
8787
- # HTTP header 'Accept' (if needed)
8788
- local_header_accept = ['application/json']
8789
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
8790
-
8791
- # HTTP header 'Content-Type'
8792
- local_header_content_type = ['application/json']
8793
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
8794
-
8795
- # form parameters
8796
- form_params = {}
8797
-
8798
- # http body (model)
8799
- post_body = @api_client.object_to_http_body(body)
8800
-
8801
- auth_names = ['PureCloud OAuth']
8802
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8803
- :header_params => header_params,
8804
- :query_params => query_params,
8805
- :form_params => form_params,
8806
- :body => post_body,
8807
- :auth_names => auth_names,
8808
- :return_type => 'Endpoint')
8809
- if @api_client.config.debugging
8810
- @api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_telephony_providers_edges_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8811
- end
8812
- return data, status_code, headers
8813
- end
8814
-
8815
8455
  # Update an extension by ID.
8816
8456
  #
8817
8457
  # @param extension_id Extension ID