sdksio-verizon-apis-sdk 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +2 -4
- data/README.md +32 -109
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/api_helper.rb +2 -2
- data/lib/verizon_thing_space_quality_of_service_api_endpoints/client.rb +84 -0
- data/lib/verizon_thing_space_quality_of_service_api_endpoints/configuration.rb +116 -0
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/controllers/base_controller.rb +11 -11
- data/lib/verizon_thing_space_quality_of_service_api_endpoints/controllers/exclusions_controller.rb +33 -0
- data/lib/{verizon/controllers/oauth_authorization_controller.rb → verizon_thing_space_quality_of_service_api_endpoints/controllers/o_auth_authorization_controller.rb} +13 -14
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/controllers/thing_space_quality_of_service_api_actions_controller.rb +18 -20
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/exceptions/api_exception.rb +2 -2
- data/lib/{verizon/exceptions/ready_sim_rest_error_response_exception.rb → verizon_thing_space_quality_of_service_api_endpoints/exceptions/default_exception.rb} +19 -19
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/exceptions/device_location_result_exception.rb +17 -17
- data/lib/{verizon/exceptions/oauth_provider_exception.rb → verizon_thing_space_quality_of_service_api_endpoints/exceptions/o_auth_provider_exception.rb} +19 -19
- data/lib/verizon_thing_space_quality_of_service_api_endpoints/http/auth/thingspace_oauth.rb +134 -0
- data/lib/verizon_thing_space_quality_of_service_api_endpoints/http/auth/vz_m2m_session_token.rb +42 -0
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/http/http_call_back.rb +2 -2
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/http/http_method_enum.rb +2 -2
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/http/http_request.rb +2 -2
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/http/http_response.rb +2 -2
- data/lib/{verizon/models/v3_license_imei.rb → verizon_thing_space_quality_of_service_api_endpoints/models/account_consent_create.rb} +13 -11
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/models/base_model.rb +2 -2
- data/lib/{verizon/models/delete_service_profile_result.rb → verizon_thing_space_quality_of_service_api_endpoints/models/consent_transaction_id.rb} +14 -14
- data/lib/{verizon/models/id.rb → verizon_thing_space_quality_of_service_api_endpoints/models/device_id.rb} +11 -12
- data/lib/{verizon/models/qos_device_info.rb → verizon_thing_space_quality_of_service_api_endpoints/models/device_info.rb} +21 -20
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/models/flow_info.rb +10 -11
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/models/m201success.rb +2 -2
- data/lib/{verizon/models/oauth_provider_error_enum.rb → verizon_thing_space_quality_of_service_api_endpoints/models/o_auth_provider_error_enum.rb} +5 -5
- data/lib/{verizon/models/oauth_token.rb → verizon_thing_space_quality_of_service_api_endpoints/models/o_auth_token.rb} +6 -10
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/models/subscribe_request.rb +15 -13
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/utilities/date_time_helper.rb +2 -2
- data/lib/{verizon → verizon_thing_space_quality_of_service_api_endpoints}/utilities/file_wrapper.rb +11 -11
- data/lib/verizon_thing_space_quality_of_service_api_endpoints.rb +83 -0
- data/test/controllers/controller_test_base.rb +29 -0
- data/test/controllers/test_exclusions_controller.rb +34 -0
- data/test/controllers/test_thing_space_quality_of_service_api_actions_controller.rb +37 -0
- data/test/http_response_catcher.rb +19 -0
- metadata +71 -620
- data/lib/verizon/client.rb +0 -499
- data/lib/verizon/configuration.rb +0 -150
- data/lib/verizon/controllers/account_devices_controller.rb +0 -68
- data/lib/verizon/controllers/account_requests_controller.rb +0 -37
- data/lib/verizon/controllers/account_subscriptions_controller.rb +0 -56
- data/lib/verizon/controllers/accounts_controller.rb +0 -82
- data/lib/verizon/controllers/anomaly_settings_controller.rb +0 -80
- data/lib/verizon/controllers/anomaly_triggers_controller.rb +0 -195
- data/lib/verizon/controllers/anomaly_triggers_v2_controller.rb +0 -80
- data/lib/verizon/controllers/billing_controller.rb +0 -111
- data/lib/verizon/controllers/campaigns_v2_controller.rb +0 -218
- data/lib/verizon/controllers/campaigns_v3_controller.rb +0 -162
- data/lib/verizon/controllers/client_logging_controller.rb +0 -162
- data/lib/verizon/controllers/cloud_connector_devices_controller.rb +0 -144
- data/lib/verizon/controllers/cloud_connector_subscriptions_controller.rb +0 -73
- data/lib/verizon/controllers/configuration_files_controller.rb +0 -80
- data/lib/verizon/controllers/connectivity_callbacks_controller.rb +0 -89
- data/lib/verizon/controllers/device_actions_controller.rb +0 -84
- data/lib/verizon/controllers/device_diagnostics_controller.rb +0 -58
- data/lib/verizon/controllers/device_groups_controller.rb +0 -150
- data/lib/verizon/controllers/device_location_callbacks_controller.rb +0 -87
- data/lib/verizon/controllers/device_management_controller.rb +0 -743
- data/lib/verizon/controllers/device_monitoring_controller.rb +0 -56
- data/lib/verizon/controllers/device_profile_management_controller.rb +0 -104
- data/lib/verizon/controllers/device_reports_controller.rb +0 -131
- data/lib/verizon/controllers/device_service_management_controller.rb +0 -89
- data/lib/verizon/controllers/device_sms_messaging_controller.rb +0 -108
- data/lib/verizon/controllers/devices_location_subscriptions_controller.rb +0 -57
- data/lib/verizon/controllers/devices_locations_controller.rb +0 -200
- data/lib/verizon/controllers/diagnostics_callbacks_controller.rb +0 -83
- data/lib/verizon/controllers/diagnostics_factory_reset_controller.rb +0 -34
- data/lib/verizon/controllers/diagnostics_history_controller.rb +0 -34
- data/lib/verizon/controllers/diagnostics_observations_controller.rb +0 -59
- data/lib/verizon/controllers/diagnostics_settings_controller.rb +0 -35
- data/lib/verizon/controllers/diagnostics_subscriptions_controller.rb +0 -30
- data/lib/verizon/controllers/euicc_device_profile_management_controller.rb +0 -130
- data/lib/verizon/controllers/exclusions_controller.rb +0 -88
- data/lib/verizon/controllers/firmware_v1_controller.rb +0 -150
- data/lib/verizon/controllers/firmware_v3_controller.rb +0 -90
- data/lib/verizon/controllers/fixed_wireless_qualification_controller.rb +0 -34
- data/lib/verizon/controllers/global_reporting_controller.rb +0 -95
- data/lib/verizon/controllers/hyper_precise_location_callbacks_controller.rb +0 -133
- data/lib/verizon/controllers/m_5g_edge_platforms_controller.rb +0 -87
- data/lib/verizon/controllers/m_v2_triggers_controller.rb +0 -61
- data/lib/verizon/controllers/managing_esim_profiles_controller.rb +0 -154
- data/lib/verizon/controllers/mec_controller.rb +0 -150
- data/lib/verizon/controllers/performance_metrics_controller.rb +0 -49
- data/lib/verizon/controllers/promotion_period_information_controller.rb +0 -58
- data/lib/verizon/controllers/retrieve_the_triggers_controller.rb +0 -93
- data/lib/verizon/controllers/server_logging_controller.rb +0 -37
- data/lib/verizon/controllers/service_endpoints_controller.rb +0 -223
- data/lib/verizon/controllers/service_plans_controller.rb +0 -35
- data/lib/verizon/controllers/service_profiles_controller.rb +0 -164
- data/lib/verizon/controllers/session_management_controller.rb +0 -78
- data/lib/verizon/controllers/sim_actions_controller.rb +0 -92
- data/lib/verizon/controllers/sim_secure_for_io_t_licenses_controller.rb +0 -94
- data/lib/verizon/controllers/sms_controller.rb +0 -88
- data/lib/verizon/controllers/software_management_callbacks_v1_controller.rb +0 -93
- data/lib/verizon/controllers/software_management_callbacks_v2_controller.rb +0 -109
- data/lib/verizon/controllers/software_management_callbacks_v3_controller.rb +0 -109
- data/lib/verizon/controllers/software_management_licenses_v1_controller.rb +0 -162
- data/lib/verizon/controllers/software_management_licenses_v2_controller.rb +0 -177
- data/lib/verizon/controllers/software_management_licenses_v3_controller.rb +0 -89
- data/lib/verizon/controllers/software_management_reports_v1_controller.rb +0 -105
- data/lib/verizon/controllers/software_management_reports_v2_controller.rb +0 -159
- data/lib/verizon/controllers/software_management_reports_v3_controller.rb +0 -98
- data/lib/verizon/controllers/software_management_subscriptions_v1_controller.rb +0 -64
- data/lib/verizon/controllers/software_management_subscriptions_v2_controller.rb +0 -31
- data/lib/verizon/controllers/software_management_subscriptions_v3_controller.rb +0 -31
- data/lib/verizon/controllers/targets_controller.rb +0 -122
- data/lib/verizon/controllers/update_triggers_controller.rb +0 -32
- data/lib/verizon/controllers/usage_trigger_management_controller.rb +0 -89
- data/lib/verizon/controllers/wireless_network_performance_controller.rb +0 -132
- data/lib/verizon/exceptions/connectivity_management_result_exception.rb +0 -37
- data/lib/verizon/exceptions/default_response_exception.rb +0 -37
- data/lib/verizon/exceptions/device_diagnostics_result_exception.rb +0 -39
- data/lib/verizon/exceptions/edge_discovery_result_exception.rb +0 -43
- data/lib/verizon/exceptions/edge_performance_result_exception.rb +0 -37
- data/lib/verizon/exceptions/esim_rest_error_response_exception.rb +0 -37
- data/lib/verizon/exceptions/fota_v1_result_exception.rb +0 -37
- data/lib/verizon/exceptions/fota_v2_result_exception.rb +0 -37
- data/lib/verizon/exceptions/fota_v3_result_exception.rb +0 -37
- data/lib/verizon/exceptions/gio_rest_error_response_exception.rb +0 -37
- data/lib/verizon/exceptions/hyper_precise_location_result_exception.rb +0 -47
- data/lib/verizon/exceptions/intelligence_result_exception.rb +0 -37
- data/lib/verizon/exceptions/rest_error_response_exception.rb +0 -37
- data/lib/verizon/exceptions/rules_engine_rest_error_response_exception.rb +0 -42
- data/lib/verizon/exceptions/security_result_exception.rb +0 -42
- data/lib/verizon/exceptions/wnp_rest_error_response_exception.rb +0 -37
- data/lib/verizon/http/api_response.rb +0 -21
- data/lib/verizon/http/auth/thingspace_oauth.rb +0 -97
- data/lib/verizon/http/auth/vz_m2m_token.rb +0 -42
- data/lib/verizon/models/acceleration.rb +0 -70
- data/lib/verizon/models/account.rb +0 -142
- data/lib/verizon/models/account_device_list.rb +0 -69
- data/lib/verizon/models/account_device_list_filter.rb +0 -58
- data/lib/verizon/models/account_device_list_request.rb +0 -164
- data/lib/verizon/models/account_device_list_result.rb +0 -71
- data/lib/verizon/models/account_group_share.rb +0 -55
- data/lib/verizon/models/account_group_share_individual.rb +0 -71
- data/lib/verizon/models/account_identifier.rb +0 -52
- data/lib/verizon/models/account_labels.rb +0 -77
- data/lib/verizon/models/account_lead.rb +0 -72
- data/lib/verizon/models/account_leads_result.rb +0 -69
- data/lib/verizon/models/account_license_device_list_item.rb +0 -70
- data/lib/verizon/models/account_license_info.rb +0 -113
- data/lib/verizon/models/account_service.rb +0 -79
- data/lib/verizon/models/account_states_and_services.rb +0 -58
- data/lib/verizon/models/accuracy_mode_enum.rb +0 -20
- data/lib/verizon/models/action_account_group_share.rb +0 -50
- data/lib/verizon/models/activate.rb +0 -48
- data/lib/verizon/models/activate_device_profile_request.rb +0 -87
- data/lib/verizon/models/active_anomaly_indicator.rb +0 -51
- data/lib/verizon/models/active_trigger_indicator.rb +0 -51
- data/lib/verizon/models/add_devices_request.rb +0 -131
- data/lib/verizon/models/add_devices_result.rb +0 -70
- data/lib/verizon/models/address.rb +0 -137
- data/lib/verizon/models/address_item.rb +0 -110
- data/lib/verizon/models/addressquery.rb +0 -59
- data/lib/verizon/models/aggregate_session_report.rb +0 -92
- data/lib/verizon/models/aggregate_session_report_request.rb +0 -129
- data/lib/verizon/models/aggregate_usage_error.rb +0 -71
- data/lib/verizon/models/aggregate_usage_item.rb +0 -85
- data/lib/verizon/models/aggregated_report_callback_result.rb +0 -63
- data/lib/verizon/models/aggregated_report_callback_status_enum.rb +0 -24
- data/lib/verizon/models/anomaly_detection_request.rb +0 -73
- data/lib/verizon/models/anomaly_detection_settings.rb +0 -75
- data/lib/verizon/models/anomaly_detection_trigger.rb +0 -50
- data/lib/verizon/models/anomaly_trigger_request.rb +0 -108
- data/lib/verizon/models/anomaly_trigger_result.rb +0 -59
- data/lib/verizon/models/anomaly_trigger_value.rb +0 -123
- data/lib/verizon/models/api_response_code.rb +0 -57
- data/lib/verizon/models/assign_license_request.rb +0 -88
- data/lib/verizon/models/associate_label_request.rb +0 -58
- data/lib/verizon/models/asynchronous_location_request_result.rb +0 -71
- data/lib/verizon/models/asynchronous_request_result.rb +0 -60
- data/lib/verizon/models/attribute_identifier_enum.rb +0 -32
- data/lib/verizon/models/attribute_setting.rb +0 -110
- data/lib/verizon/models/bill_usage_request.rb +0 -78
- data/lib/verizon/models/billable_usage_report.rb +0 -124
- data/lib/verizon/models/billedusage_list_request.rb +0 -89
- data/lib/verizon/models/billing_cycle.rb +0 -60
- data/lib/verizon/models/bullseye_service_request.rb +0 -66
- data/lib/verizon/models/bullseye_service_result.rb +0 -80
- data/lib/verizon/models/cache_mode_enum.rb +0 -26
- data/lib/verizon/models/callback_action_result.rb +0 -60
- data/lib/verizon/models/callback_created.rb +0 -70
- data/lib/verizon/models/callback_registered.rb +0 -58
- data/lib/verizon/models/callback_registration_request.rb +0 -80
- data/lib/verizon/models/callback_registration_result.rb +0 -60
- data/lib/verizon/models/callback_service_enum.rb +0 -20
- data/lib/verizon/models/callback_service_name_enum.rb +0 -23
- data/lib/verizon/models/callback_summary.rb +0 -50
- data/lib/verizon/models/campaign.rb +0 -174
- data/lib/verizon/models/campaign_firmware_upgrade.rb +0 -135
- data/lib/verizon/models/campaign_meta_info_protocol_enum.rb +0 -23
- data/lib/verizon/models/campaign_software.rb +0 -215
- data/lib/verizon/models/campaign_software_upgrade.rb +0 -179
- data/lib/verizon/models/campaign_status_enum.rb +0 -41
- data/lib/verizon/models/carrier_actions_request.rb +0 -123
- data/lib/verizon/models/carrier_activate_request.rb +0 -207
- data/lib/verizon/models/carrier_deactivate_request.rb +0 -147
- data/lib/verizon/models/carrier_information.rb +0 -72
- data/lib/verizon/models/change_configuration_request.rb +0 -74
- data/lib/verizon/models/change_configuration_response.rb +0 -163
- data/lib/verizon/models/change_device_id_request.rb +0 -155
- data/lib/verizon/models/change_mec_device_ip_address_response.rb +0 -51
- data/lib/verizon/models/change_mec_device_profile_response.rb +0 -51
- data/lib/verizon/models/change_mec_device_state_response.rb +0 -51
- data/lib/verizon/models/change_plan.rb +0 -69
- data/lib/verizon/models/change_pmec_device_i_paddress_bulk_request.rb +0 -66
- data/lib/verizon/models/change_pmec_device_i_paddress_request.rb +0 -66
- data/lib/verizon/models/change_pmec_device_profile_bulk_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_profile_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_state_activate_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_state_bulk_activate_request.rb +0 -75
- data/lib/verizon/models/change_pmec_device_state_bulk_deactivate_request.rb +0 -66
- data/lib/verizon/models/change_pmec_device_state_deactivate_request.rb +0 -66
- data/lib/verizon/models/check_in_history_item.rb +0 -91
- data/lib/verizon/models/check_order_status_request.rb +0 -80
- data/lib/verizon/models/client_type_enum.rb +0 -44
- data/lib/verizon/models/compute_resources_type.rb +0 -70
- data/lib/verizon/models/condition.rb +0 -59
- data/lib/verizon/models/condition_account_group_share.rb +0 -50
- data/lib/verizon/models/configuration.rb +0 -50
- data/lib/verizon/models/connection_event.rb +0 -91
- data/lib/verizon/models/connection_history_result.rb +0 -74
- data/lib/verizon/models/connectivity_management_callback.rb +0 -95
- data/lib/verizon/models/connectivity_management_success_result.rb +0 -51
- data/lib/verizon/models/consent_delete_request.rb +0 -60
- data/lib/verizon/models/consent_request.rb +0 -79
- data/lib/verizon/models/contact_info_update_request.rb +0 -88
- data/lib/verizon/models/coordinates.rb +0 -60
- data/lib/verizon/models/create_device_group_request.rb +0 -91
- data/lib/verizon/models/create_io_t_application_request.rb +0 -135
- data/lib/verizon/models/create_io_t_application_response.rb +0 -74
- data/lib/verizon/models/create_service_profile_result.rb +0 -52
- data/lib/verizon/models/create_subscription_request.rb +0 -154
- data/lib/verizon/models/create_target_request.rb +0 -170
- data/lib/verizon/models/create_target_request_fields.rb +0 -60
- data/lib/verizon/models/create_trigger_request.rb +0 -135
- data/lib/verizon/models/create_trigger_request_options.rb +0 -105
- data/lib/verizon/models/create_trigger_v2_request.rb +0 -113
- data/lib/verizon/models/custom_fields.rb +0 -57
- data/lib/verizon/models/custom_fields_update_request.rb +0 -133
- data/lib/verizon/models/customer_name.rb +0 -88
- data/lib/verizon/models/customernamequery.rb +0 -59
- data/lib/verizon/models/cycle_type_enum.rb +0 -23
- data/lib/verizon/models/daily_usage_item.rb +0 -70
- data/lib/verizon/models/data_percentage100_trigger_attribute.rb +0 -61
- data/lib/verizon/models/data_percentage50_trigger_attribute.rb +0 -61
- data/lib/verizon/models/data_percentage75_trigger_attribute.rb +0 -61
- data/lib/verizon/models/data_percentage90_trigger_attribute.rb +0 -61
- data/lib/verizon/models/data_trigger_request.rb +0 -70
- data/lib/verizon/models/date_filter.rb +0 -57
- data/lib/verizon/models/deactivate_device_list.rb +0 -59
- data/lib/verizon/models/deactivate_device_profile_request.rb +0 -107
- data/lib/verizon/models/delete_devices_request.rb +0 -70
- data/lib/verizon/models/delete_devices_result.rb +0 -73
- data/lib/verizon/models/delete_subscription_request.rb +0 -64
- data/lib/verizon/models/delete_target_request.rb +0 -64
- data/lib/verizon/models/deregister_service_endpoint_result.rb +0 -61
- data/lib/verizon/models/device.rb +0 -57
- data/lib/verizon/models/device_activation_request.rb +0 -67
- data/lib/verizon/models/device_aggregate_usage_list_request.rb +0 -121
- data/lib/verizon/models/device_connection_list_request.rb +0 -67
- data/lib/verizon/models/device_cost_center_request.rb +0 -153
- data/lib/verizon/models/device_diagnostics_callback.rb +0 -95
- data/lib/verizon/models/device_extended_diagnostics_request.rb +0 -68
- data/lib/verizon/models/device_extended_diagnostics_result.rb +0 -61
- data/lib/verizon/models/device_filter.rb +0 -91
- data/lib/verizon/models/device_filter_without_account.rb +0 -80
- data/lib/verizon/models/device_firmware_list.rb +0 -71
- data/lib/verizon/models/device_firmware_upgrade.rb +0 -135
- data/lib/verizon/models/device_firmware_version.rb +0 -101
- data/lib/verizon/models/device_firmware_version_update_result.rb +0 -57
- data/lib/verizon/models/device_group.rb +0 -90
- data/lib/verizon/models/device_group_devices_data.rb +0 -90
- data/lib/verizon/models/device_group_update_request.rb +0 -105
- data/lib/verizon/models/device_id.rb +0 -59
- data/lib/verizon/models/device_id2.rb +0 -60
- data/lib/verizon/models/device_id_search.rb +0 -80
- data/lib/verizon/models/device_identifier.rb +0 -68
- data/lib/verizon/models/device_imei.rb +0 -48
- data/lib/verizon/models/device_info.rb +0 -67
- data/lib/verizon/models/device_labels.rb +0 -57
- data/lib/verizon/models/device_list.rb +0 -59
- data/lib/verizon/models/device_list1.rb +0 -75
- data/lib/verizon/models/device_list2.rb +0 -59
- data/lib/verizon/models/device_list7.rb +0 -66
- data/lib/verizon/models/device_list_query_item.rb +0 -123
- data/lib/verizon/models/device_list_query_result.rb +0 -91
- data/lib/verizon/models/device_list_result.rb +0 -75
- data/lib/verizon/models/device_location_callback.rb +0 -57
- data/lib/verizon/models/device_location_subscription.rb +0 -80
- data/lib/verizon/models/device_location_success_result.rb +0 -50
- data/lib/verizon/models/device_log.rb +0 -103
- data/lib/verizon/models/device_logging_request.rb +0 -48
- data/lib/verizon/models/device_logging_status.rb +0 -57
- data/lib/verizon/models/device_management_result.rb +0 -52
- data/lib/verizon/models/device_mismatch_list_request.rb +0 -92
- data/lib/verizon/models/device_mismatch_list_result.rb +0 -61
- data/lib/verizon/models/device_prl_list_request.rb +0 -119
- data/lib/verizon/models/device_profile_request.rb +0 -79
- data/lib/verizon/models/device_propertylocation.rb +0 -60
- data/lib/verizon/models/device_provisioning_history_list_request.rb +0 -67
- data/lib/verizon/models/device_provisioning_history_list_result.rb +0 -72
- data/lib/verizon/models/device_reset_request.rb +0 -80
- data/lib/verizon/models/device_service_information.rb +0 -70
- data/lib/verizon/models/device_service_request.rb +0 -58
- data/lib/verizon/models/device_software_upgrade.rb +0 -104
- data/lib/verizon/models/device_suspension_status_request.rb +0 -80
- data/lib/verizon/models/device_upgrade_history.rb +0 -131
- data/lib/verizon/models/device_upload_request.rb +0 -93
- data/lib/verizon/models/device_usage_list_request.rb +0 -79
- data/lib/verizon/models/device_usage_list_result.rb +0 -71
- data/lib/verizon/models/devices_consent_result.rb +0 -100
- data/lib/verizon/models/devices_protocol_enum.rb +0 -26
- data/lib/verizon/models/diagnostic_observation_setting.rb +0 -81
- data/lib/verizon/models/diagnostics_category.rb +0 -71
- data/lib/verizon/models/diagnostics_observation_result.rb +0 -73
- data/lib/verizon/models/diagnostics_subscription.rb +0 -107
- data/lib/verizon/models/download_time_window.rb +0 -60
- data/lib/verizon/models/edge_discovery_result_data.rb +0 -52
- data/lib/verizon/models/enable_promo_exp.rb +0 -51
- data/lib/verizon/models/enable_promo_exp1.rb +0 -60
- data/lib/verizon/models/engagement.rb +0 -79
- data/lib/verizon/models/error_response_code_enum.rb +0 -29
- data/lib/verizon/models/esi_msubrequest.rb +0 -70
- data/lib/verizon/models/esim_device_id.rb +0 -60
- data/lib/verizon/models/esim_device_list.rb +0 -59
- data/lib/verizon/models/esim_profile_request.rb +0 -99
- data/lib/verizon/models/esim_provhistory_request.rb +0 -106
- data/lib/verizon/models/esim_request_response.rb +0 -50
- data/lib/verizon/models/esim_status_response.rb +0 -79
- data/lib/verizon/models/extended_attributes.rb +0 -60
- data/lib/verizon/models/fields.rb +0 -50
- data/lib/verizon/models/fields1.rb +0 -50
- data/lib/verizon/models/fields2.rb +0 -50
- data/lib/verizon/models/fields_http_headers.rb +0 -50
- data/lib/verizon/models/filter_criteria_account_group_share.rb +0 -51
- data/lib/verizon/models/filtercriteria.rb +0 -59
- data/lib/verizon/models/filtercriteria2.rb +0 -51
- data/lib/verizon/models/find_device_by_property_response.rb +0 -182
- data/lib/verizon/models/find_device_by_property_response_list.rb +0 -60
- data/lib/verizon/models/firmware.rb +0 -130
- data/lib/verizon/models/firmware_campaign.rb +0 -172
- data/lib/verizon/models/firmware_imei.rb +0 -49
- data/lib/verizon/models/firmware_package.rb +0 -118
- data/lib/verizon/models/firmware_protocol_enum.rb +0 -26
- data/lib/verizon/models/firmware_type_list_enum.rb +0 -23
- data/lib/verizon/models/firmware_upgrade.rb +0 -122
- data/lib/verizon/models/firmware_upgrade_change_request.rb +0 -57
- data/lib/verizon/models/firmware_upgrade_change_result.rb +0 -81
- data/lib/verizon/models/firmware_upgrade_device_list_item.rb +0 -73
- data/lib/verizon/models/firmware_upgrade_request.rb +0 -93
- data/lib/verizon/models/fota_v1_callback_registration_request.rb +0 -80
- data/lib/verizon/models/fota_v1_callback_registration_result.rb +0 -62
- data/lib/verizon/models/fota_v1_success_result.rb +0 -50
- data/lib/verizon/models/fota_v2_callback_registration_request.rb +0 -50
- data/lib/verizon/models/fota_v2_callback_registration_result.rb +0 -50
- data/lib/verizon/models/fota_v2_subscription.rb +0 -91
- data/lib/verizon/models/fota_v2_success_result.rb +0 -48
- data/lib/verizon/models/fota_v3_callback_registration_request.rb +0 -50
- data/lib/verizon/models/fota_v3_callback_registration_result.rb +0 -50
- data/lib/verizon/models/fota_v3_callback_summary.rb +0 -50
- data/lib/verizon/models/fota_v3_subscription.rb +0 -91
- data/lib/verizon/models/fota_v3_success_result.rb +0 -48
- data/lib/verizon/models/generate_external_id_request.rb +0 -52
- data/lib/verizon/models/generate_external_id_result.rb +0 -50
- data/lib/verizon/models/get_device_experience_score_bulk_request.rb +0 -66
- data/lib/verizon/models/get_device_experience_score_history_request.rb +0 -57
- data/lib/verizon/models/get_device_list_with_profiles_request.rb +0 -104
- data/lib/verizon/models/get_mec_performance_consent_response.rb +0 -50
- data/lib/verizon/models/get_network_conditions_request.rb +0 -66
- data/lib/verizon/models/get_trigger_response.rb +0 -200
- data/lib/verizon/models/get_trigger_response_list.rb +0 -59
- data/lib/verizon/models/get_wireless_coverage_request.rb +0 -93
- data/lib/verizon/models/get_wireless_coverage_request_fwa.rb +0 -93
- data/lib/verizon/models/gio_deactivate_device_profile_request.rb +0 -99
- data/lib/verizon/models/gio_device_id.rb +0 -57
- data/lib/verizon/models/gio_device_list.rb +0 -59
- data/lib/verizon/models/gio_profile_request.rb +0 -87
- data/lib/verizon/models/gio_request_response.rb +0 -50
- data/lib/verizon/models/gio_sms_message.rb +0 -88
- data/lib/verizon/models/giosms_send_request.rb +0 -136
- data/lib/verizon/models/go_to_state_request.rb +0 -222
- data/lib/verizon/models/gpu.rb +0 -83
- data/lib/verizon/models/history.rb +0 -69
- data/lib/verizon/models/history_attribute_value.rb +0 -79
- data/lib/verizon/models/history_search_filter.rb +0 -69
- data/lib/verizon/models/history_search_filter_attributes.rb +0 -50
- data/lib/verizon/models/history_search_limit_time.rb +0 -70
- data/lib/verizon/models/history_search_request.rb +0 -84
- data/lib/verizon/models/http_status_code_enum.rb +0 -228
- data/lib/verizon/models/hyper_precise_location_callback.rb +0 -61
- data/lib/verizon/models/hyper_precise_location_fault.rb +0 -70
- data/lib/verizon/models/i_error_message.rb +0 -82
- data/lib/verizon/models/intelligence_success_result.rb +0 -50
- data/lib/verizon/models/ip_pool.rb +0 -71
- data/lib/verizon/models/key_data_percentage50.rb +0 -60
- data/lib/verizon/models/key_service_plan.rb +0 -50
- data/lib/verizon/models/keyschunk2.rb +0 -139
- data/lib/verizon/models/keysms_percentage50.rb +0 -60
- data/lib/verizon/models/kpi_info.rb +0 -121
- data/lib/verizon/models/kpi_info_list.rb +0 -59
- data/lib/verizon/models/kv_pair.rb +0 -60
- data/lib/verizon/models/label.rb +0 -60
- data/lib/verizon/models/labels_list.rb +0 -59
- data/lib/verizon/models/license_device_id.rb +0 -62
- data/lib/verizon/models/license_device_list.rb +0 -69
- data/lib/verizon/models/list_all_service_endpoints_result.rb +0 -60
- data/lib/verizon/models/list_mec_platforms_result.rb +0 -62
- data/lib/verizon/models/list_optimal_service_endpoints_result.rb +0 -59
- data/lib/verizon/models/list_regions_result.rb +0 -61
- data/lib/verizon/models/list_service_profiles_result.rb +0 -61
- data/lib/verizon/models/location.rb +0 -70
- data/lib/verizon/models/location_report.rb +0 -102
- data/lib/verizon/models/location_report_status.rb +0 -60
- data/lib/verizon/models/location_request.rb +0 -88
- data/lib/verizon/models/locations.rb +0 -59
- data/lib/verizon/models/locationscoord.rb +0 -57
- data/lib/verizon/models/log_in_request.rb +0 -58
- data/lib/verizon/models/log_in_result.rb +0 -52
- data/lib/verizon/models/log_out_request.rb +0 -50
- data/lib/verizon/models/managed_acc_added_list.rb +0 -60
- data/lib/verizon/models/managed_acc_provisioned_list.rb +0 -60
- data/lib/verizon/models/managed_account_cancel_request.rb +0 -84
- data/lib/verizon/models/managed_account_cancel_response.rb +0 -93
- data/lib/verizon/models/managed_accounts_add_request.rb +0 -76
- data/lib/verizon/models/managed_accounts_add_response.rb +0 -69
- data/lib/verizon/models/managed_accounts_get_all_response.rb +0 -91
- data/lib/verizon/models/managed_accounts_provision_request.rb +0 -84
- data/lib/verizon/models/managed_accounts_provision_response.rb +0 -100
- data/lib/verizon/models/mec_device_id.rb +0 -57
- data/lib/verizon/models/mec_device_list.rb +0 -57
- data/lib/verizon/models/mec_performance_metrics.rb +0 -90
- data/lib/verizon/models/mec_performance_query_result.rb +0 -60
- data/lib/verizon/models/mec_platform_resource.rb +0 -95
- data/lib/verizon/models/mec_platform_status_enum.rb +0 -26
- data/lib/verizon/models/mec_platforms_additional_support_info.rb +0 -60
- data/lib/verizon/models/mec_platforms_additional_support_info_data.rb +0 -51
- data/lib/verizon/models/mec_profile.rb +0 -60
- data/lib/verizon/models/mec_profile_list.rb +0 -59
- data/lib/verizon/models/mismatched_device.rb +0 -112
- data/lib/verizon/models/move_device_request.rb +0 -137
- data/lib/verizon/models/network_resources_type.rb +0 -98
- data/lib/verizon/models/network_type.rb +0 -50
- data/lib/verizon/models/no_of_days_b4_promo_exp.rb +0 -60
- data/lib/verizon/models/notification.rb +0 -176
- data/lib/verizon/models/notification_group_name_trigger_attribute.rb +0 -50
- data/lib/verizon/models/notification_report_request.rb +0 -85
- data/lib/verizon/models/notification_report_status_request.rb +0 -78
- data/lib/verizon/models/numerical_data.rb +0 -60
- data/lib/verizon/models/numerical_data_unit_enum.rb +0 -29
- data/lib/verizon/models/oauth_scope_thingspace_oauth_enum.rb +0 -63
- data/lib/verizon/models/observation_request.rb +0 -107
- data/lib/verizon/models/observation_request_attribute.rb +0 -50
- data/lib/verizon/models/place_of_use.rb +0 -63
- data/lib/verizon/models/position_data.rb +0 -100
- data/lib/verizon/models/position_error.rb +0 -80
- data/lib/verizon/models/price_plan_trigger.rb +0 -51
- data/lib/verizon/models/primary_place_of_use.rb +0 -78
- data/lib/verizon/models/profile_change_state_request.rb +0 -75
- data/lib/verizon/models/profile_request.rb +0 -137
- data/lib/verizon/models/profile_request2.rb +0 -109
- data/lib/verizon/models/promo_alert.rb +0 -89
- data/lib/verizon/models/promo_alert1.rb +0 -81
- data/lib/verizon/models/promo_alert_trigger_request.rb +0 -117
- data/lib/verizon/models/property_device_id.rb +0 -62
- data/lib/verizon/models/provhistory_request.rb +0 -106
- data/lib/verizon/models/provisioning_history.rb +0 -130
- data/lib/verizon/models/qos_device_id.rb +0 -60
- data/lib/verizon/models/query_mec_performance_metrics_request.rb +0 -57
- data/lib/verizon/models/query_subscription_request.rb +0 -78
- data/lib/verizon/models/query_target_request.rb +0 -78
- data/lib/verizon/models/ready_sim_device_id.rb +0 -60
- data/lib/verizon/models/ready_sim_service_plan.rb +0 -50
- data/lib/verizon/models/region.rb +0 -100
- data/lib/verizon/models/register_callback_request.rb +0 -80
- data/lib/verizon/models/register_service_endpoint_result.rb +0 -53
- data/lib/verizon/models/registered_callbacks.rb +0 -92
- data/lib/verizon/models/remove_device_request.rb +0 -61
- data/lib/verizon/models/report_status_enum.rb +0 -26
- data/lib/verizon/models/request_body_for_usage.rb +0 -106
- data/lib/verizon/models/request_body_for_usage1.rb +0 -96
- data/lib/verizon/models/request_response.rb +0 -50
- data/lib/verizon/models/request_status_enum.rb +0 -26
- data/lib/verizon/models/request_trigger.rb +0 -111
- data/lib/verizon/models/resource_identifier.rb +0 -61
- data/lib/verizon/models/resources_edge_hosted_service.rb +0 -96
- data/lib/verizon/models/resources_edge_hosted_service_with_profile_id.rb +0 -107
- data/lib/verizon/models/resources_service_endpoint.rb +0 -90
- data/lib/verizon/models/resources_service_profile.rb +0 -119
- data/lib/verizon/models/resources_service_profile_with_id.rb +0 -129
- data/lib/verizon/models/response_code_enum.rb +0 -29
- data/lib/verizon/models/response_to_usage_query.rb +0 -79
- data/lib/verizon/models/retrieve_monitors_request.rb +0 -78
- data/lib/verizon/models/retrieves_available_files_response.rb +0 -124
- data/lib/verizon/models/retrieves_available_files_response_list.rb +0 -59
- data/lib/verizon/models/schedules_software_upgrade_request.rb +0 -186
- data/lib/verizon/models/search_device_by_property_fields.rb +0 -122
- data/lib/verizon/models/search_device_by_property_response.rb +0 -192
- data/lib/verizon/models/search_device_by_property_response_list.rb +0 -59
- data/lib/verizon/models/search_device_event_history_request.rb +0 -96
- data/lib/verizon/models/search_device_event_history_response_list.rb +0 -62
- data/lib/verizon/models/search_device_response.rb +0 -173
- data/lib/verizon/models/search_sensor_history_request.rb +0 -82
- data/lib/verizon/models/search_sensor_history_response_list.rb +0 -59
- data/lib/verizon/models/security_subscription.rb +0 -114
- data/lib/verizon/models/security_subscription_request.rb +0 -67
- data/lib/verizon/models/security_subscription_result.rb +0 -70
- data/lib/verizon/models/security_success_result.rb +0 -54
- data/lib/verizon/models/sensitivity_parameters.rb +0 -86
- data/lib/verizon/models/service_name_enum.rb +0 -23
- data/lib/verizon/models/service_plan.rb +0 -103
- data/lib/verizon/models/service_plan_trigger_attribute.rb +0 -50
- data/lib/verizon/models/service_plan_update_request.rb +0 -154
- data/lib/verizon/models/service_usage.rb +0 -61
- data/lib/verizon/models/session_report.rb +0 -96
- data/lib/verizon/models/session_report_request.rb +0 -105
- data/lib/verizon/models/session_reset_password_request.rb +0 -48
- data/lib/verizon/models/session_reset_password_result.rb +0 -50
- data/lib/verizon/models/session_trigger_request.rb +0 -60
- data/lib/verizon/models/set_fallback_attribute_request.rb +0 -77
- data/lib/verizon/models/share_plan.rb +0 -73
- data/lib/verizon/models/sms_event_history_request.rb +0 -86
- data/lib/verizon/models/sms_message.rb +0 -80
- data/lib/verizon/models/sms_messages_query_result.rb +0 -72
- data/lib/verizon/models/sms_messages_response.rb +0 -69
- data/lib/verizon/models/sms_number.rb +0 -60
- data/lib/verizon/models/sms_numbers.rb +0 -60
- data/lib/verizon/models/sms_options_send_request.rb +0 -60
- data/lib/verizon/models/sms_send_request.rb +0 -132
- data/lib/verizon/models/sms_trigger_request.rb +0 -70
- data/lib/verizon/models/software_package.rb +0 -106
- data/lib/verizon/models/state.rb +0 -72
- data/lib/verizon/models/status.rb +0 -50
- data/lib/verizon/models/status1_enum.rb +0 -23
- data/lib/verizon/models/status_list.rb +0 -70
- data/lib/verizon/models/status_response.rb +0 -79
- data/lib/verizon/models/stop_monitor_request.rb +0 -57
- data/lib/verizon/models/subrequest.rb +0 -60
- data/lib/verizon/models/subscription.rb +0 -245
- data/lib/verizon/models/success.rb +0 -50
- data/lib/verizon/models/success_response.rb +0 -50
- data/lib/verizon/models/synchronous_location_request_result.rb +0 -57
- data/lib/verizon/models/target.rb +0 -171
- data/lib/verizon/models/target_authentication.rb +0 -60
- data/lib/verizon/models/target_authentication_body.rb +0 -90
- data/lib/verizon/models/target_authentication_body_headers.rb +0 -60
- data/lib/verizon/models/target_authentication_body_host.rb +0 -50
- data/lib/verizon/models/thingspace_device.rb +0 -213
- data/lib/verizon/models/transaction_id.rb +0 -51
- data/lib/verizon/models/trigger_attributes_options.rb +0 -61
- data/lib/verizon/models/trigger_notification.rb +0 -179
- data/lib/verizon/models/trigger_type1.rb +0 -94
- data/lib/verizon/models/trigger_type2.rb +0 -61
- data/lib/verizon/models/trigger_type3.rb +0 -104
- data/lib/verizon/models/trigger_v2_response.rb +0 -50
- data/lib/verizon/models/trigger_value_response.rb +0 -59
- data/lib/verizon/models/trigger_value_response2.rb +0 -59
- data/lib/verizon/models/triggers_list_options.rb +0 -144
- data/lib/verizon/models/triggervalues.rb +0 -148
- data/lib/verizon/models/triggervalues2.rb +0 -158
- data/lib/verizon/models/update_service_endpoint_result.rb +0 -60
- data/lib/verizon/models/update_service_profile_result.rb +0 -60
- data/lib/verizon/models/update_trigger_request.rb +0 -170
- data/lib/verizon/models/update_trigger_request_options.rb +0 -115
- data/lib/verizon/models/update_trigger_v2_request.rb +0 -123
- data/lib/verizon/models/upgrade_list_query_result.rb +0 -83
- data/lib/verizon/models/upgrade_status_enum.rb +0 -35
- data/lib/verizon/models/upload_and_schedule_file_request.rb +0 -176
- data/lib/verizon/models/upload_and_schedule_file_response.rb +0 -256
- data/lib/verizon/models/upload_configuration_files_response.rb +0 -133
- data/lib/verizon/models/uploads_activates_device_request.rb +0 -128
- data/lib/verizon/models/usage.rb +0 -111
- data/lib/verizon/models/usage_anomaly_attributes.rb +0 -119
- data/lib/verizon/models/usage_history.rb +0 -119
- data/lib/verizon/models/usage_request_response.rb +0 -50
- data/lib/verizon/models/usage_trigger_add_request.rb +0 -135
- data/lib/verizon/models/usage_trigger_response.rb +0 -152
- data/lib/verizon/models/usage_trigger_update_request.rb +0 -94
- data/lib/verizon/models/user_equipment_identity_type_enum.rb +0 -20
- data/lib/verizon/models/v1_account_subscription.rb +0 -91
- data/lib/verizon/models/v1_device_list_item.rb +0 -72
- data/lib/verizon/models/v1_licenses_assigned_removed_request.rb +0 -48
- data/lib/verizon/models/v1_licenses_assigned_removed_result.rb +0 -89
- data/lib/verizon/models/v1_list_of_licenses_to_remove.rb +0 -89
- data/lib/verizon/models/v1_list_of_licenses_to_remove_request.rb +0 -62
- data/lib/verizon/models/v1_list_of_licenses_to_remove_result.rb +0 -60
- data/lib/verizon/models/v2_account_device.rb +0 -173
- data/lib/verizon/models/v2_account_device_list.rb +0 -96
- data/lib/verizon/models/v2_add_or_remove_device_request.rb +0 -57
- data/lib/verizon/models/v2_add_or_remove_device_result.rb +0 -66
- data/lib/verizon/models/v2_campaign_device.rb +0 -97
- data/lib/verizon/models/v2_campaign_history.rb +0 -80
- data/lib/verizon/models/v2_campaign_meta_info.rb +0 -215
- data/lib/verizon/models/v2_change_campaign_dates_request.rb +0 -125
- data/lib/verizon/models/v2_device_status.rb +0 -68
- data/lib/verizon/models/v2_license_device.rb +0 -60
- data/lib/verizon/models/v2_license_imei.rb +0 -59
- data/lib/verizon/models/v2_license_summary.rb +0 -117
- data/lib/verizon/models/v2_licenses_assigned_removed_result.rb +0 -84
- data/lib/verizon/models/v2_list_of_licenses_to_remove.rb +0 -75
- data/lib/verizon/models/v2_list_of_licenses_to_remove_request.rb +0 -69
- data/lib/verizon/models/v2_list_of_licenses_to_remove_result.rb +0 -57
- data/lib/verizon/models/v2_software_info.rb +0 -66
- data/lib/verizon/models/v2_time_window.rb +0 -57
- data/lib/verizon/models/v3_account_device.rb +0 -200
- data/lib/verizon/models/v3_account_device_list.rb +0 -96
- data/lib/verizon/models/v3_add_or_remove_device_request.rb +0 -57
- data/lib/verizon/models/v3_add_or_remove_device_result.rb +0 -75
- data/lib/verizon/models/v3_campaign_device.rb +0 -97
- data/lib/verizon/models/v3_campaign_history.rb +0 -80
- data/lib/verizon/models/v3_campaign_meta_info.rb +0 -175
- data/lib/verizon/models/v3_change_campaign_dates_request.rb +0 -80
- data/lib/verizon/models/v3_device.rb +0 -248
- data/lib/verizon/models/v3_device_list_item.rb +0 -70
- data/lib/verizon/models/v3_device_status.rb +0 -123
- data/lib/verizon/models/v3_license_assigned_removed_result.rb +0 -84
- data/lib/verizon/models/v3_license_device.rb +0 -60
- data/lib/verizon/models/v3_license_summary.rb +0 -117
- data/lib/verizon/models/v3_software_info.rb +0 -66
- data/lib/verizon/models/v3_time_window.rb +0 -57
- data/lib/verizon/models/wnp_request_response.rb +0 -50
- data/lib/verizon.rb +0 -648
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 303a35540fc884f9766180d715337f8fb51e0f88da04fc400bdb3e74430d1d05
|
4
|
+
data.tar.gz: 719753729a95a1c0f6a99a0700413b98174e9ea94925651d1c0ff6b7e7a97739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65216c50bb05331957ca9c78d9d43458cf5983ace09055ffdcd289b84a18646d85a4a9d0d0e8e3091ecda70fba462eb7a6850ca4f897841a54635675daf2f92f
|
7
|
+
data.tar.gz: 1e009853157d53b1e9f93d91b69652345216e4e10c8058d494fb39c9ee87a62cee1753d2c429f7491b0d380b1ee678ef0491fb41a67e3e11a8ac2696102ff046
|
data/LICENSE
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
License:
|
1
|
+
License:
|
4
2
|
========
|
5
3
|
The MIT License (MIT)
|
6
4
|
http://opensource.org/licenses/MIT
|
7
5
|
|
8
|
-
Copyright (c) 2014 -
|
6
|
+
Copyright (c) 2014 - 2024 APIMATIC Limited
|
9
7
|
|
10
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
9
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,36 +1,43 @@
|
|
1
1
|
|
2
|
-
# Getting Started with Verizon
|
2
|
+
# Getting Started with Verizon ThingSpace Quality of Service API endpoints
|
3
3
|
|
4
4
|
## Introduction
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Verizon Terms of Service: [https://www.verizon.com/business/5g-edge-portal/legal.html](https://www.verizon.com/business/5g-edge-portal/legal.html)
|
6
|
+
These are the endpoints to subscribe to and end the subscription for Verizon's ThingSpace Quality of Service API. These endpoints use Service Capability Exposure Function or SCEF, and rely on callbacks for asynchronous requests. **Note:** This example is in YAML and will need to be converted to JSON to use as a spec file.
|
9
7
|
|
10
8
|
## Install the Package
|
11
9
|
|
12
10
|
Install the gem from the command line:
|
13
11
|
|
14
12
|
```ruby
|
15
|
-
gem install sdksio-verizon-apis-sdk -v 1.
|
13
|
+
gem install sdksio-verizon-apis-sdk -v 1.6.0
|
16
14
|
```
|
17
15
|
|
18
16
|
Or add the gem to your Gemfile and run `bundle`:
|
19
17
|
|
20
18
|
```ruby
|
21
|
-
gem 'sdksio-verizon-apis-sdk', '1.
|
19
|
+
gem 'sdksio-verizon-apis-sdk', '1.6.0'
|
22
20
|
```
|
23
21
|
|
24
|
-
For additional gem details, see the [RubyGems page for the sdksio-verizon-apis-sdk gem](https://rubygems.org/gems/sdksio-verizon-apis-sdk/versions/1.
|
22
|
+
For additional gem details, see the [RubyGems page for the sdksio-verizon-apis-sdk gem](https://rubygems.org/gems/sdksio-verizon-apis-sdk/versions/1.6.0).
|
23
|
+
|
24
|
+
## Test the SDK
|
25
|
+
|
26
|
+
To run the tests, navigate to the root directory of the SDK in your terminal and execute the following command:
|
27
|
+
|
28
|
+
```
|
29
|
+
rake
|
30
|
+
```
|
25
31
|
|
26
32
|
## Initialize the API Client
|
27
33
|
|
28
|
-
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
34
|
+
**_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/client.md)
|
29
35
|
|
30
36
|
The following parameters are configurable for the API Client:
|
31
37
|
|
32
38
|
| Parameter | Type | Description |
|
33
39
|
| --- | --- | --- |
|
40
|
+
| `vz_m_2_m_token` | `String` | The VZ-M2M session token from [Getting Started](/content/thingspace-portal/documentation/apis/connectivity-management/get-started.html) |
|
34
41
|
| `environment` | `Environment` | The API environment. <br> **Default: `Environment.PRODUCTION`** |
|
35
42
|
| `connection` | `Faraday::Connection` | The Faraday connection object passed by the SDK user for making requests |
|
36
43
|
| `adapter` | `Faraday::Adapter` | The Faraday adapter object passed by the SDK user for performing http requests |
|
@@ -41,38 +48,25 @@ The following parameters are configurable for the API Client:
|
|
41
48
|
| `retry_statuses` | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
|
42
49
|
| `retry_methods` | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
|
43
50
|
| `http_callback` | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
|
44
|
-
| `thingspace_oauth_credentials` | [`ThingspaceOauthCredentials`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
45
|
-
| `
|
51
|
+
| `thingspace_oauth_credentials` | [`ThingspaceOauthCredentials`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/auth/oauth-2-client-credentials-grant.md) | The credential object for OAuth 2 Client Credentials Grant |
|
52
|
+
| `vz_m_2_m_session_token_credentials` | [`VzM2mSessionTokenCredentials`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/auth/custom-header-signature.md) | The credential object for Custom Header Signature |
|
46
53
|
|
47
54
|
The API client can be initialized as follows:
|
48
55
|
|
49
56
|
```ruby
|
50
|
-
client =
|
57
|
+
client = VerizonThingSpaceQualityOfServiceApiEndpoints::Client.new(
|
58
|
+
vz_m2_m_token: 'VZ-M2M-Token',
|
51
59
|
thingspace_oauth_credentials: ThingspaceOauthCredentials.new(
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
]
|
60
|
+
o_auth_client_id: 'OAuthClientId',
|
61
|
+
o_auth_client_secret: 'OAuthClientSecret'
|
62
|
+
),
|
63
|
+
vz_m2m_session_token_credentials: VzM2mSessionTokenCredentials.new(
|
64
|
+
vz_m2_m_token: 'VZ-M2M-Token'
|
58
65
|
),
|
59
|
-
vz_m2m_token_credentials: VZM2mTokenCredentials.new(),
|
60
66
|
environment: Environment::PRODUCTION
|
61
67
|
)
|
62
68
|
```
|
63
69
|
|
64
|
-
API calls return an `ApiResponse` object that includes the following fields:
|
65
|
-
|
66
|
-
| Field | Description |
|
67
|
-
| --- | --- |
|
68
|
-
| `status_code` | Status code of the HTTP response |
|
69
|
-
| `reason_phrase` | Reason phrase of the HTTP response |
|
70
|
-
| `headers` | Headers of the HTTP response as a Hash |
|
71
|
-
| `raw_body` | The body of the HTTP response as a String |
|
72
|
-
| `request` | HTTP request info |
|
73
|
-
| `errors` | Errors, if they exist |
|
74
|
-
| `data` | The deserialized body of the HTTP response |
|
75
|
-
|
76
70
|
## Environments
|
77
71
|
|
78
72
|
The SDK can be configured to use a different environment for making API calls. Available environments are:
|
@@ -82,94 +76,23 @@ The SDK can be configured to use a different environment for making API calls. A
|
|
82
76
|
| Name | Description |
|
83
77
|
| --- | --- |
|
84
78
|
| Production | **Default** |
|
85
|
-
|
|
79
|
+
| Staging | - |
|
86
80
|
|
87
81
|
## Authorization
|
88
82
|
|
89
83
|
This API uses the following authentication schemes.
|
90
84
|
|
91
|
-
* [`thingspace_oauth (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
92
|
-
* [`
|
85
|
+
* [`thingspace_oauth (OAuth 2 Client Credentials Grant)`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/auth/oauth-2-client-credentials-grant.md)
|
86
|
+
* [`vz-m2m-session_token (Custom Header Signature)`](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/auth/custom-header-signature.md)
|
93
87
|
|
94
88
|
## List of APIs
|
95
89
|
|
96
|
-
* [
|
97
|
-
* [
|
98
|
-
* [Service Profiles](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/service-profiles.md)
|
99
|
-
* [Device Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-management.md)
|
100
|
-
* [Device Groups](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-groups.md)
|
101
|
-
* [Session Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/session-management.md)
|
102
|
-
* [Connectivity Callbacks](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/connectivity-callbacks.md)
|
103
|
-
* [Account Requests](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/account-requests.md)
|
104
|
-
* [Service Plans](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/service-plans.md)
|
105
|
-
* [Device Diagnostics](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-diagnostics.md)
|
106
|
-
* [Device Profile Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-profile-management.md)
|
107
|
-
* [Device Monitoring](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-monitoring.md)
|
108
|
-
* [E UICC Device Profile Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/e-uicc-device-profile-management.md)
|
109
|
-
* [Devices Locations](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/devices-locations.md)
|
110
|
-
* [Devices Location Subscriptions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/devices-location-subscriptions.md)
|
111
|
-
* [Device Location Callbacks](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-location-callbacks.md)
|
112
|
-
* [Usage Trigger Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/usage-trigger-management.md)
|
113
|
-
* [Software Management Subscriptions V1](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-subscriptions-v1.md)
|
114
|
-
* [Software Management Licenses V1](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-licenses-v1.md)
|
115
|
-
* [Firmware V1](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/firmware-v1.md)
|
116
|
-
* [Software Management Callbacks V1](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-callbacks-v1.md)
|
117
|
-
* [Software Management Reports V1](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-reports-v1.md)
|
118
|
-
* [Software Management Subscriptions V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-subscriptions-v2.md)
|
119
|
-
* [Software Management Licenses V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-licenses-v2.md)
|
120
|
-
* [Campaigns V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/campaigns-v2.md)
|
121
|
-
* [Software Management Callbacks V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-callbacks-v2.md)
|
122
|
-
* [Software Management Reports V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-reports-v2.md)
|
123
|
-
* [Client Logging](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/client-logging.md)
|
124
|
-
* [Server Logging](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/server-logging.md)
|
125
|
-
* [Configuration Files](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/configuration-files.md)
|
126
|
-
* [Software Management Subscriptions V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-subscriptions-v3.md)
|
127
|
-
* [Software Management Licenses V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-licenses-v3.md)
|
128
|
-
* [Campaigns V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/campaigns-v3.md)
|
129
|
-
* [Software Management Reports V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-reports-v3.md)
|
130
|
-
* [Firmware V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/firmware-v3.md)
|
131
|
-
* [Account Devices](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/account-devices.md)
|
132
|
-
* [Software Management Callbacks V3](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/software-management-callbacks-v3.md)
|
133
|
-
* [SIM Securefor Io T Licenses](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/sim-securefor-io-t-licenses.md)
|
134
|
-
* [Account Subscriptions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/account-subscriptions.md)
|
135
|
-
* [Performance Metrics](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/performance-metrics.md)
|
136
|
-
* [Diagnostics Subscriptions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-subscriptions.md)
|
137
|
-
* [Diagnostics Observations](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-observations.md)
|
138
|
-
* [Diagnostics History](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-history.md)
|
139
|
-
* [Diagnostics Settings](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-settings.md)
|
140
|
-
* [Diagnostics Callbacks](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-callbacks.md)
|
141
|
-
* [Diagnostics Factory Reset](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/diagnostics-factory-reset.md)
|
142
|
-
* [Cloud Connector Subscriptions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/cloud-connector-subscriptions.md)
|
143
|
-
* [Cloud Connector Devices](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/cloud-connector-devices.md)
|
144
|
-
* [Device Service Management](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-service-management.md)
|
145
|
-
* [Device Reports](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-reports.md)
|
146
|
-
* [Hyper Precise Location Callbacks](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/hyper-precise-location-callbacks.md)
|
147
|
-
* [Anomaly Settings](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/anomaly-settings.md)
|
148
|
-
* [Anomaly Triggers](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/anomaly-triggers.md)
|
149
|
-
* [Anomaly Triggers V2](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/anomaly-triggers-v2.md)
|
150
|
-
* [Wireless Network Performance](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/wireless-network-performance.md)
|
151
|
-
* [Fixed Wireless Qualification](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/fixed-wireless-qualification.md)
|
152
|
-
* [Managinge SIM Profiles](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/managinge-sim-profiles.md)
|
153
|
-
* [Device SMS Messaging](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-sms-messaging.md)
|
154
|
-
* [Device Actions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/device-actions.md)
|
155
|
-
* [Thing Space Qualityof Service API Actions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/thing-space-qualityof-service-api-actions.md)
|
156
|
-
* [Promotion Period Information](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/promotion-period-information.md)
|
157
|
-
* [Retrievethe Triggers](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/retrievethe-triggers.md)
|
158
|
-
* [Update Triggers](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/update-triggers.md)
|
159
|
-
* [SIM Actions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/sim-actions.md)
|
160
|
-
* [Global Reporting](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/global-reporting.md)
|
161
|
-
* [OAuth Authorization](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/oauth-authorization.md)
|
162
|
-
* [Accounts](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/accounts.md)
|
163
|
-
* [SMS](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/sms.md)
|
164
|
-
* [Exclusions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/exclusions.md)
|
165
|
-
* [Billing](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/billing.md)
|
166
|
-
* [Targets](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/targets.md)
|
167
|
-
* [MEC](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/mec.md)
|
168
|
-
* [V2 Triggers](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.5.0/doc/controllers/v2-triggers.md)
|
90
|
+
* [Thing Space Qualityof Service API Actions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/controllers/thing-space-qualityof-service-api-actions.md)
|
91
|
+
* [Exclusions](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/controllers/exclusions.md)
|
169
92
|
|
170
93
|
## Classes Documentation
|
171
94
|
|
172
|
-
* [Utility Classes](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
173
|
-
* [HttpResponse](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
174
|
-
* [HttpRequest](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.
|
95
|
+
* [Utility Classes](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/utility-classes.md)
|
96
|
+
* [HttpResponse](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/http-response.md)
|
97
|
+
* [HttpRequest](https://www.github.com/sdks-io/verizon-apis-ruby-sdk/tree/1.6.0/doc/http-request.md)
|
175
98
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
7
|
# API utility class
|
8
8
|
class APIHelper < CoreLibrary::ApiHelper
|
9
9
|
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
|
+
# verizon_thing_space_quality_of_service_api_endpoints client class.
|
8
|
+
class Client
|
9
|
+
include CoreLibrary
|
10
|
+
attr_reader :config, :auth_managers
|
11
|
+
|
12
|
+
# Returns the configured authentication thingspace_oauth instance.
|
13
|
+
def thingspace_oauth
|
14
|
+
@auth_managers['thingspace_oauth']
|
15
|
+
end
|
16
|
+
|
17
|
+
# Access to thing_space_quality_of_service_api_actions controller.
|
18
|
+
# @return [ThingSpaceQualityOfServiceAPIActionsController] Returns the controller instance.
|
19
|
+
def thing_space_quality_of_service_api_actions
|
20
|
+
@thing_space_quality_of_service_api_actions ||= ThingSpaceQualityOfServiceAPIActionsController.new @global_configuration
|
21
|
+
end
|
22
|
+
|
23
|
+
# Access to exclusions controller.
|
24
|
+
# @return [ExclusionsController] Returns the controller instance.
|
25
|
+
def exclusions
|
26
|
+
@exclusions ||= ExclusionsController.new @global_configuration
|
27
|
+
end
|
28
|
+
|
29
|
+
# Access to o_auth_authorization controller.
|
30
|
+
# @return [OAuthAuthorizationController] Returns the controller instance.
|
31
|
+
def o_auth_authorization
|
32
|
+
@o_auth_authorization ||= OAuthAuthorizationController.new @global_configuration
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(
|
36
|
+
connection: nil, adapter: :net_http_persistent, timeout: 60,
|
37
|
+
max_retries: 0, retry_interval: 1, backoff_factor: 2,
|
38
|
+
retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
|
39
|
+
retry_methods: %i[get put], http_callback: nil,
|
40
|
+
environment: Environment::PRODUCTION, thingspace_oauth_credentials: nil,
|
41
|
+
vz_m2m_session_token_credentials: nil, vz_m2_m_token: 'TODO: Replace',
|
42
|
+
config: nil
|
43
|
+
)
|
44
|
+
@config = if config.nil?
|
45
|
+
Configuration.new(
|
46
|
+
connection: connection, adapter: adapter, timeout: timeout,
|
47
|
+
max_retries: max_retries, retry_interval: retry_interval,
|
48
|
+
backoff_factor: backoff_factor,
|
49
|
+
retry_statuses: retry_statuses,
|
50
|
+
retry_methods: retry_methods, http_callback: http_callback,
|
51
|
+
environment: environment,
|
52
|
+
thingspace_oauth_credentials: thingspace_oauth_credentials,
|
53
|
+
vz_m2m_session_token_credentials: vz_m2m_session_token_credentials,
|
54
|
+
vz_m2_m_token: vz_m2_m_token
|
55
|
+
)
|
56
|
+
else
|
57
|
+
config
|
58
|
+
end
|
59
|
+
|
60
|
+
@global_configuration = GlobalConfiguration.new(client_configuration: @config)
|
61
|
+
.base_uri_executor(@config.method(:get_base_uri))
|
62
|
+
.global_errors(BaseController::GLOBAL_ERRORS)
|
63
|
+
.user_agent(BaseController.user_agent)
|
64
|
+
.global_header('VZ-M2M-Token', @config.vz_m2_m_token)
|
65
|
+
|
66
|
+
initialize_auth_managers(@global_configuration)
|
67
|
+
@global_configuration = @global_configuration.auth_managers(@auth_managers)
|
68
|
+
end
|
69
|
+
|
70
|
+
# Initializes the auth managers hash used for authenticating API calls.
|
71
|
+
# @param [GlobalConfiguration] global_config The global configuration of the SDK)
|
72
|
+
def initialize_auth_managers(global_config)
|
73
|
+
@auth_managers = {}
|
74
|
+
http_client_config = global_config.client_configuration
|
75
|
+
%w[thingspace_oauth vz-m2m-session_token].each { |auth| @auth_managers[auth] = nil }
|
76
|
+
@auth_managers['thingspace_oauth'] = ThingspaceOauth.new(
|
77
|
+
http_client_config.thingspace_oauth_credentials, global_config
|
78
|
+
)
|
79
|
+
@auth_managers['vz-m2m-session_token'] = VzM2mSessionToken.new(
|
80
|
+
http_client_config.vz_m2m_session_token_credentials
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
|
+
# An enum for SDK environments.
|
8
|
+
class Environment
|
9
|
+
ENVIRONMENT = [
|
10
|
+
PRODUCTION = 'Production'.freeze,
|
11
|
+
STAGING = 'Staging'.freeze
|
12
|
+
].freeze
|
13
|
+
end
|
14
|
+
|
15
|
+
# An enum for API servers.
|
16
|
+
class Server
|
17
|
+
SERVER = [
|
18
|
+
OAUTH_SERVER = 'OAuth Server'.freeze,
|
19
|
+
THINGSPACE = 'Thingspace'.freeze
|
20
|
+
].freeze
|
21
|
+
end
|
22
|
+
|
23
|
+
# All configuration including auth info and base URI for the API access
|
24
|
+
# are configured in this class.
|
25
|
+
class Configuration < CoreLibrary::HttpClientConfiguration
|
26
|
+
# The attribute readers for properties.
|
27
|
+
attr_reader :environment, :thingspace_oauth_credentials,
|
28
|
+
:vz_m2m_session_token_credentials, :vz_m2_m_token
|
29
|
+
|
30
|
+
class << self
|
31
|
+
attr_reader :environments
|
32
|
+
end
|
33
|
+
|
34
|
+
def initialize(
|
35
|
+
connection: nil, adapter: :net_http_persistent, timeout: 60,
|
36
|
+
max_retries: 0, retry_interval: 1, backoff_factor: 2,
|
37
|
+
retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
|
38
|
+
retry_methods: %i[get put], http_callback: nil,
|
39
|
+
environment: Environment::PRODUCTION, thingspace_oauth_credentials: nil,
|
40
|
+
vz_m2m_session_token_credentials: nil, vz_m2_m_token: 'TODO: Replace'
|
41
|
+
)
|
42
|
+
|
43
|
+
super connection: connection, adapter: adapter, timeout: timeout,
|
44
|
+
max_retries: max_retries, retry_interval: retry_interval,
|
45
|
+
backoff_factor: backoff_factor, retry_statuses: retry_statuses,
|
46
|
+
retry_methods: retry_methods, http_callback: http_callback
|
47
|
+
|
48
|
+
# Current API environment
|
49
|
+
@environment = String(environment)
|
50
|
+
|
51
|
+
# The object holding OAuth 2 Client Credentials Grant credentials
|
52
|
+
@thingspace_oauth_credentials = thingspace_oauth_credentials
|
53
|
+
|
54
|
+
# The object holding Custom Header Signature credentials
|
55
|
+
@vz_m2m_session_token_credentials = vz_m2m_session_token_credentials
|
56
|
+
|
57
|
+
# The VZ-M2M session token from [Getting Started](/content/thingspace-portal/documentation/apis/connectivity-management/get-started.html)
|
58
|
+
@vz_m2_m_token = vz_m2_m_token
|
59
|
+
|
60
|
+
# The Http Client to use for making requests.
|
61
|
+
set_http_client CoreLibrary::FaradayClient.new(self)
|
62
|
+
end
|
63
|
+
|
64
|
+
def clone_with(connection: nil, adapter: nil, timeout: nil,
|
65
|
+
max_retries: nil, retry_interval: nil, backoff_factor: nil,
|
66
|
+
retry_statuses: nil, retry_methods: nil, http_callback: nil,
|
67
|
+
environment: nil, thingspace_oauth_credentials: nil,
|
68
|
+
vz_m2m_session_token_credentials: nil, vz_m2_m_token: nil)
|
69
|
+
connection ||= self.connection
|
70
|
+
adapter ||= self.adapter
|
71
|
+
timeout ||= self.timeout
|
72
|
+
max_retries ||= self.max_retries
|
73
|
+
retry_interval ||= self.retry_interval
|
74
|
+
backoff_factor ||= self.backoff_factor
|
75
|
+
retry_statuses ||= self.retry_statuses
|
76
|
+
retry_methods ||= self.retry_methods
|
77
|
+
http_callback ||= self.http_callback
|
78
|
+
environment ||= self.environment
|
79
|
+
thingspace_oauth_credentials ||= self.thingspace_oauth_credentials
|
80
|
+
vz_m2m_session_token_credentials ||= self.vz_m2m_session_token_credentials
|
81
|
+
vz_m2_m_token ||= self.vz_m2_m_token
|
82
|
+
|
83
|
+
Configuration.new(
|
84
|
+
connection: connection, adapter: adapter, timeout: timeout,
|
85
|
+
max_retries: max_retries, retry_interval: retry_interval,
|
86
|
+
backoff_factor: backoff_factor, retry_statuses: retry_statuses,
|
87
|
+
retry_methods: retry_methods, http_callback: http_callback,
|
88
|
+
environment: environment,
|
89
|
+
thingspace_oauth_credentials: thingspace_oauth_credentials,
|
90
|
+
vz_m2m_session_token_credentials: vz_m2m_session_token_credentials,
|
91
|
+
vz_m2_m_token: vz_m2_m_token
|
92
|
+
)
|
93
|
+
end
|
94
|
+
|
95
|
+
|
96
|
+
# All the environments the SDK can run in.
|
97
|
+
ENVIRONMENTS = {
|
98
|
+
Environment::PRODUCTION => {
|
99
|
+
Server::OAUTH_SERVER => 'https://thingspace.verizon.com/api/ts/v1',
|
100
|
+
Server::THINGSPACE => 'https://thingspace.verizon.com/api'
|
101
|
+
},
|
102
|
+
Environment::STAGING => {
|
103
|
+
Server::OAUTH_SERVER => 'https://staging.thingspace.verizon.com/api/ts/v1',
|
104
|
+
Server::THINGSPACE => 'https://staging.thingspace.verizon.com/api'
|
105
|
+
}
|
106
|
+
}.freeze
|
107
|
+
|
108
|
+
# Generates the appropriate base URI for the environment and the server.
|
109
|
+
# @param [Configuration::Server] server The server enum for which the base URI is
|
110
|
+
# required.
|
111
|
+
# @return [String] The base URI.
|
112
|
+
def get_base_uri(server = Server::THINGSPACE)
|
113
|
+
ENVIRONMENTS[environment][server].clone
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
7
|
# BaseController.
|
8
8
|
class BaseController
|
9
9
|
include CoreLibrary
|
@@ -30,15 +30,15 @@ module Verizon
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Creates a new builder for the Api Call instance.
|
33
|
-
# @return [ApiCall] The instance of ApiCall.
|
34
|
-
def new_api_call_builder
|
35
|
-
@api_call.new_builder
|
36
|
-
end
|
37
|
-
|
38
|
-
# Creates a new instance of the request builder.
|
39
|
-
# @param [String] http_method The HTTP method to use in the request.
|
40
|
-
# @param [String] path The endpoint path to use in the request.
|
41
|
-
# @param [String] server The server to extract the base uri for the request.
|
33
|
+
# @return [ApiCall] The instance of ApiCall.
|
34
|
+
def new_api_call_builder
|
35
|
+
@api_call.new_builder
|
36
|
+
end
|
37
|
+
|
38
|
+
# Creates a new instance of the request builder.
|
39
|
+
# @param [String] http_method The HTTP method to use in the request.
|
40
|
+
# @param [String] path The endpoint path to use in the request.
|
41
|
+
# @param [String] server The server to extract the base uri for the request.
|
42
42
|
# @return [RequestBuilder] The instance of RequestBuilder.
|
43
43
|
def new_request_builder(http_method, path, server)
|
44
44
|
RequestBuilder.new
|
data/lib/verizon_thing_space_quality_of_service_api_endpoints/controllers/exclusions_controller.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
|
+
# ExclusionsController
|
8
|
+
class ExclusionsController < BaseController
|
9
|
+
# Create a consent record to use location services as an asynchronous
|
10
|
+
# request.
|
11
|
+
# @param [AccountConsentCreate] body Optional parameter: Account details to
|
12
|
+
# create a consent record.
|
13
|
+
# @return [ConsentTransactionID] response from the API call.
|
14
|
+
def devices_location_give_consent_async(body: nil)
|
15
|
+
new_api_call_builder
|
16
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
17
|
+
'/devicelocations/action/consents',
|
18
|
+
Server::THINGSPACE)
|
19
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
20
|
+
.body_param(new_parameter(body))
|
21
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
22
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
23
|
+
.auth(And.new('thingspace_oauth', 'vz-m2m-session_token')))
|
24
|
+
.response(new_response_handler
|
25
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
26
|
+
.deserialize_into(ConsentTransactionID.method(:from_hash))
|
27
|
+
.local_error('default',
|
28
|
+
'Unexpected error.',
|
29
|
+
DeviceLocationResultException))
|
30
|
+
.execute
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# verizon_thing_space_quality_of_service_api_endpoints
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
7
|
-
#
|
8
|
-
class
|
6
|
+
module VerizonThingSpaceQualityOfServiceApiEndpoints
|
7
|
+
# OAuthAuthorizationController
|
8
|
+
class OAuthAuthorizationController < BaseController
|
9
9
|
# Create a new OAuth 2 token.
|
10
10
|
# @param [String] authorization Required parameter: Authorization header in
|
11
11
|
# Basic auth format
|
@@ -13,7 +13,7 @@ module Verizon
|
|
13
13
|
# space-delimited list.
|
14
14
|
# @param [Hash] _field_parameters Additional optional form parameters are
|
15
15
|
# supported by this endpoint.
|
16
|
-
# @return [
|
16
|
+
# @return [OAuthToken] response from the API call.
|
17
17
|
def request_token_thingspace_oauth(authorization,
|
18
18
|
scope: nil,
|
19
19
|
_field_parameters: nil)
|
@@ -28,15 +28,14 @@ module Verizon
|
|
28
28
|
.header_param(new_parameter('application/json', key: 'accept'))
|
29
29
|
.additional_form_params(_field_parameters))
|
30
30
|
.response(new_response_handler
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
OauthProviderException))
|
31
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
32
|
+
.deserialize_into(OAuthToken.method(:from_hash))
|
33
|
+
.local_error('400',
|
34
|
+
'OAuth 2 provider returned an error.',
|
35
|
+
OAuthProviderException)
|
36
|
+
.local_error('401',
|
37
|
+
'OAuth 2 provider says client authentication failed.',
|
38
|
+
OAuthProviderException))
|
40
39
|
.execute
|
41
40
|
end
|
42
41
|
end
|