freeclimb 4.9.0 → 5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +34 -18
- data/README.md +43 -51
- data/docs/AddToConferenceNotificationWebhook.md +42 -0
- data/docs/AddToQueueNotificationWebhook.md +34 -0
- data/docs/BargeInReason.md +18 -0
- data/docs/CallControlWebhook.md +26 -0
- data/docs/CallEndedReason.md +38 -0
- data/docs/CallStatusWebhook.md +36 -0
- data/docs/CompletionResult.md +1 -1
- data/docs/CompletionResultStatus.md +17 -0
- data/docs/ConferenceRecordingStatusWebhook.md +42 -0
- data/docs/ConferenceResult.md +1 -1
- data/docs/ConferenceStatusWebhook.md +42 -0
- data/docs/CreateConference.md +1 -1
- data/docs/CreateConferenceRequest.md +1 -1
- data/docs/CreateConferenceWebhook.md +42 -0
- data/docs/DequeueWebhook.md +38 -0
- data/docs/GetDigitsReason.md +19 -0
- data/docs/GetDigitsWebhook.md +40 -0
- data/docs/GetSpeechWebhook.md +50 -0
- data/docs/InboundCallWebhook.md +36 -0
- data/docs/LeaveConferenceWebhook.md +34 -0
- data/docs/MachineDetectedWebhook.md +38 -0
- data/docs/MachineType.md +2 -2
- data/docs/MessageDeliveryWebhook.md +36 -0
- data/docs/MessageStatusWebhook.md +38 -0
- data/docs/OutDialApiConnectWebhook.md +36 -0
- data/docs/OutDialConnectWebhook.md +36 -0
- data/docs/OutDialStartWebhook.md +38 -0
- data/docs/QueueWaitWebhook.md +40 -0
- data/docs/RecordWebhook.md +50 -0
- data/docs/RedirectWebhook.md +36 -0
- data/docs/RemoveFromQueueNotificationWebhook.md +38 -0
- data/docs/SMSTenDLCBrand.md +6 -6
- data/docs/SMSTenDLCBrandAltBusinessIdType.md +19 -0
- data/docs/SMSTenDLCBrandEntityType.md +20 -0
- data/docs/SMSTenDLCBrandIdentityStatus.md +19 -0
- data/docs/SMSTenDLCBrandRelationship.md +20 -0
- data/docs/SMSTenDLCBrandStockExchange.md +42 -0
- data/docs/SMSTenDLCCampaign.md +1 -1
- data/docs/SMSTenDLCCampaignStatus.md +17 -0
- data/docs/SMSTenDLCPartnerCampaign.md +1 -1
- data/docs/SMSTenDLCPartnerCampaignStatus.md +17 -0
- data/docs/SMSTollFreeCampaign.md +1 -1
- data/docs/SMSTollFreeCampaignRegistrationStatus.md +20 -0
- data/docs/TranscribeReason.md +20 -0
- data/docs/TranscribeTermReason.md +17 -0
- data/docs/TranscribeUtterance.md +2 -2
- data/docs/TranscribeWebhook.md +62 -0
- data/docs/UpdateConferenceRequest.md +1 -1
- data/docs/Webhook.md +18 -0
- data/freeclimb.gemspec +1 -1
- data/lib/freeclimb/api/default_api.rb +18 -18
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/api_error.rb +1 -1
- data/lib/freeclimb/configuration.rb +1 -2
- data/lib/freeclimb/models/account_request.rb +1 -3
- data/lib/freeclimb/models/account_result.rb +23 -4
- data/lib/freeclimb/models/account_status.rb +1 -1
- data/lib/freeclimb/models/account_type.rb +1 -1
- data/lib/freeclimb/models/add_to_conference.rb +1 -4
- data/lib/freeclimb/models/add_to_conference_notification_webhook.rb +384 -0
- data/lib/freeclimb/models/{conference_participant_result_all_of.rb → add_to_queue_notification_webhook.rb} +112 -59
- data/lib/freeclimb/models/answered_by.rb +1 -1
- data/lib/freeclimb/models/application_list.rb +1 -4
- data/lib/freeclimb/models/application_request.rb +1 -3
- data/lib/freeclimb/models/application_result.rb +1 -4
- data/lib/freeclimb/models/available_number.rb +1 -3
- data/lib/freeclimb/models/available_number_list.rb +1 -4
- data/lib/freeclimb/models/barge_in_reason.rb +38 -0
- data/lib/freeclimb/models/buy_incoming_number_request.rb +1 -3
- data/lib/freeclimb/models/{recording_result_all_of.rb → call_control_webhook.rb} +57 -45
- data/lib/freeclimb/models/call_direction.rb +1 -1
- data/lib/freeclimb/models/call_ended_reason.rb +58 -0
- data/lib/freeclimb/models/call_list.rb +1 -4
- data/lib/freeclimb/models/call_result.rb +23 -4
- data/lib/freeclimb/models/call_status.rb +1 -1
- data/lib/freeclimb/models/call_status_webhook.rb +354 -0
- data/lib/freeclimb/models/capabilities.rb +1 -3
- data/lib/freeclimb/models/completion_request.rb +1 -3
- data/lib/freeclimb/models/completion_result.rb +2 -15
- data/lib/freeclimb/models/completion_result_status.rb +37 -0
- data/lib/freeclimb/models/conference_list.rb +1 -4
- data/lib/freeclimb/models/conference_participant_list.rb +1 -4
- data/lib/freeclimb/models/conference_participant_result.rb +1 -4
- data/lib/freeclimb/models/conference_recording_status_webhook.rb +384 -0
- data/lib/freeclimb/models/conference_result.rb +23 -6
- data/lib/freeclimb/models/conference_status.rb +1 -1
- data/lib/freeclimb/models/conference_status_webhook.rb +387 -0
- data/lib/freeclimb/models/create_conference.rb +23 -6
- data/lib/freeclimb/models/create_conference_request.rb +23 -5
- data/lib/freeclimb/models/create_conference_webhook.rb +387 -0
- data/lib/freeclimb/models/create_web_rtc_token.rb +1 -3
- data/lib/freeclimb/models/dequeue.rb +1 -3
- data/lib/freeclimb/models/dequeue_webhook.rb +365 -0
- data/lib/freeclimb/models/enqueue.rb +1 -4
- data/lib/freeclimb/models/filter_logs_request.rb +1 -3
- data/lib/freeclimb/models/get_digits.rb +1 -4
- data/lib/freeclimb/models/get_digits_reason.rb +39 -0
- data/lib/freeclimb/models/get_digits_webhook.rb +373 -0
- data/lib/freeclimb/models/get_speech.rb +23 -4
- data/lib/freeclimb/models/get_speech_reason.rb +1 -1
- data/lib/freeclimb/models/get_speech_webhook.rb +423 -0
- data/lib/freeclimb/models/grammar_file_built_in.rb +1 -1
- data/lib/freeclimb/models/grammar_type.rb +1 -1
- data/lib/freeclimb/models/hangup.rb +1 -4
- data/lib/freeclimb/models/if_machine.rb +1 -1
- data/lib/freeclimb/models/inbound_call_webhook.rb +355 -0
- data/lib/freeclimb/models/incoming_number_list.rb +1 -4
- data/lib/freeclimb/models/incoming_number_request.rb +1 -3
- data/lib/freeclimb/models/incoming_number_result.rb +1 -4
- data/lib/freeclimb/models/language.rb +1 -1
- data/lib/freeclimb/models/{conference_result_all_of.rb → leave_conference_webhook.rb} +110 -89
- data/lib/freeclimb/models/log_level.rb +1 -1
- data/lib/freeclimb/models/log_list.rb +1 -4
- data/lib/freeclimb/models/log_result.rb +23 -3
- data/lib/freeclimb/models/{call_result_all_of.rb → machine_detected_webhook.rb} +96 -119
- data/lib/freeclimb/models/machine_type.rb +3 -3
- data/lib/freeclimb/models/make_call_request.rb +1 -3
- data/lib/freeclimb/models/{message_result_all_of.rb → message_delivery_webhook.rb} +71 -87
- data/lib/freeclimb/models/message_direction.rb +1 -1
- data/lib/freeclimb/models/message_request.rb +1 -4
- data/lib/freeclimb/models/message_result.rb +23 -4
- data/lib/freeclimb/models/message_status.rb +1 -1
- data/lib/freeclimb/models/{incoming_number_result_all_of.rb → message_status_webhook.rb} +117 -107
- data/lib/freeclimb/models/messages_list.rb +1 -4
- data/lib/freeclimb/models/mutable_resource_model.rb +1 -3
- data/lib/freeclimb/models/out_dial.rb +23 -4
- data/lib/freeclimb/models/out_dial_api_connect_webhook.rb +355 -0
- data/lib/freeclimb/models/out_dial_connect_webhook.rb +355 -0
- data/lib/freeclimb/models/out_dial_start_webhook.rb +366 -0
- data/lib/freeclimb/models/pagination_model.rb +1 -3
- data/lib/freeclimb/models/park.rb +1 -4
- data/lib/freeclimb/models/pause.rb +1 -4
- data/lib/freeclimb/models/percl_command.rb +3 -5
- data/lib/freeclimb/models/percl_script.rb +2 -4
- data/lib/freeclimb/models/play.rb +2 -5
- data/lib/freeclimb/models/play_beep.rb +1 -1
- data/lib/freeclimb/models/play_early_media.rb +2 -5
- data/lib/freeclimb/models/queue_list.rb +2 -5
- data/lib/freeclimb/models/queue_member.rb +1 -3
- data/lib/freeclimb/models/queue_member_list.rb +2 -5
- data/lib/freeclimb/models/queue_request.rb +1 -3
- data/lib/freeclimb/models/queue_result.rb +2 -5
- data/lib/freeclimb/models/queue_result_status.rb +1 -1
- data/lib/freeclimb/models/queue_wait_webhook.rb +375 -0
- data/lib/freeclimb/models/record_utterance.rb +2 -5
- data/lib/freeclimb/models/record_utterance_term_reason.rb +1 -1
- data/lib/freeclimb/models/record_webhook.rb +424 -0
- data/lib/freeclimb/models/recording_list.rb +2 -5
- data/lib/freeclimb/models/recording_result.rb +2 -5
- data/lib/freeclimb/models/redirect.rb +2 -5
- data/lib/freeclimb/models/redirect_webhook.rb +355 -0
- data/lib/freeclimb/models/reject.rb +2 -5
- data/lib/freeclimb/models/remove_from_conference.rb +1 -3
- data/lib/freeclimb/models/remove_from_queue_notification_webhook.rb +364 -0
- data/lib/freeclimb/models/request_type.rb +1 -1
- data/lib/freeclimb/models/say.rb +2 -5
- data/lib/freeclimb/models/send_digits.rb +2 -5
- data/lib/freeclimb/models/set_dtmf_pass_through.rb +2 -5
- data/lib/freeclimb/models/set_listen.rb +2 -5
- data/lib/freeclimb/models/set_talk.rb +2 -5
- data/lib/freeclimb/models/sms.rb +2 -5
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +6 -67
- data/lib/freeclimb/models/sms_ten_dlc_brand_alt_business_id_type.rb +39 -0
- data/lib/freeclimb/models/sms_ten_dlc_brand_entity_type.rb +40 -0
- data/lib/freeclimb/models/sms_ten_dlc_brand_identity_status.rb +39 -0
- data/lib/freeclimb/models/sms_ten_dlc_brand_relationship.rb +40 -0
- data/lib/freeclimb/models/sms_ten_dlc_brand_stock_exchange.rb +62 -0
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +2 -5
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +2 -15
- data/lib/freeclimb/models/sms_ten_dlc_campaign_status.rb +37 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +2 -5
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +2 -15
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +1 -3
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_status.rb +37 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +2 -5
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +2 -15
- data/lib/freeclimb/models/sms_toll_free_campaign_registration_status.rb +40 -0
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +2 -5
- data/lib/freeclimb/models/start_record_call.rb +1 -3
- data/lib/freeclimb/models/terminate_conference.rb +1 -3
- data/lib/freeclimb/models/tfn.rb +1 -3
- data/lib/freeclimb/models/transcribe_reason.rb +40 -0
- data/lib/freeclimb/models/transcribe_term_reason.rb +37 -0
- data/lib/freeclimb/models/transcribe_utterance.rb +4 -7
- data/lib/freeclimb/models/{transcribe_utterance_all_of_record.rb → transcribe_utterance_record.rb} +8 -10
- data/lib/freeclimb/models/transcribe_webhook.rb +481 -0
- data/lib/freeclimb/models/unpark.rb +1 -3
- data/lib/freeclimb/models/update_call_request.rb +23 -3
- data/lib/freeclimb/models/update_call_request_status.rb +1 -1
- data/lib/freeclimb/models/update_conference_participant_request.rb +1 -3
- data/lib/freeclimb/models/update_conference_request.rb +23 -5
- data/lib/freeclimb/models/update_conference_request_status.rb +1 -1
- data/lib/freeclimb/models/{call_list_all_of.rb → webhook.rb} +18 -17
- data/lib/freeclimb/utils/request_verifier.rb +51 -51
- data/lib/freeclimb/utils/signature_information.rb +34 -34
- data/lib/freeclimb/version.rb +2 -2
- data/lib/freeclimb.rb +41 -49
- data/openapi.json +1734 -681
- data/package.json +3 -1
- data/spec/api/default_api_spec.rb +61 -35
- data/spec/factories.rb +78 -78
- data/spec/models/account_request_spec.rb +55 -17
- data/spec/models/account_result_spec.rb +304 -80
- data/spec/models/account_status_spec.rb +1 -1
- data/spec/models/account_type_spec.rb +1 -1
- data/spec/models/add_to_conference_notification_webhook_spec.rb +866 -0
- data/spec/models/add_to_conference_spec.rb +251 -38
- data/spec/models/add_to_queue_notification_webhook_spec.rb +643 -0
- data/spec/models/answered_by_spec.rb +1 -1
- data/spec/models/application_list_spec.rb +181 -39
- data/spec/models/application_request_spec.rb +160 -32
- data/spec/models/application_result_spec.rb +286 -50
- data/spec/models/available_number_list_spec.rb +181 -39
- data/spec/models/available_number_spec.rb +160 -32
- data/spec/models/barge_in_reason_spec.rb +77 -0
- data/spec/models/buy_incoming_number_request_spec.rb +76 -20
- data/spec/models/call_control_webhook_spec.rb +385 -0
- data/spec/models/call_direction_spec.rb +1 -1
- data/spec/models/call_ended_reason_spec.rb +397 -0
- data/spec/models/call_list_spec.rb +181 -39
- data/spec/models/call_result_spec.rb +551 -122
- data/spec/models/call_status_spec.rb +1 -1
- data/spec/models/call_status_webhook_spec.rb +793 -0
- data/spec/models/capabilities_spec.rb +118 -26
- data/spec/models/completion_request_spec.rb +35 -15
- data/spec/models/completion_result_spec.rb +91 -45
- data/spec/models/completion_result_status_spec.rb +61 -0
- data/spec/models/conference_list_spec.rb +181 -39
- data/spec/models/conference_participant_list_spec.rb +181 -39
- data/spec/models/conference_participant_result_spec.rb +272 -41
- data/spec/models/conference_recording_status_webhook_spec.rb +866 -0
- data/spec/models/conference_result_spec.rb +367 -89
- data/spec/models/conference_status_spec.rb +1 -1
- data/spec/models/conference_status_webhook_spec.rb +866 -0
- data/spec/models/create_conference_request_spec.rb +148 -44
- data/spec/models/create_conference_spec.rb +169 -47
- data/spec/models/create_conference_webhook_spec.rb +866 -0
- data/spec/models/create_web_rtc_token_spec.rb +76 -20
- data/spec/models/dequeue_spec.rb +1 -1
- data/spec/models/dequeue_webhook_spec.rb +743 -0
- data/spec/models/enqueue_spec.rb +97 -23
- data/spec/models/filter_logs_request_spec.rb +34 -14
- data/spec/models/get_digits_reason_spec.rb +93 -0
- data/spec/models/get_digits_spec.rb +202 -42
- data/spec/models/get_digits_webhook_spec.rb +815 -0
- data/spec/models/get_speech_reason_spec.rb +1 -1
- data/spec/models/get_speech_spec.rb +308 -66
- data/spec/models/get_speech_webhook_spec.rb +1072 -0
- data/spec/models/grammar_file_built_in_spec.rb +1 -1
- data/spec/models/grammar_type_spec.rb +1 -1
- data/spec/models/hangup_spec.rb +34 -14
- data/spec/models/if_machine_spec.rb +1 -1
- data/spec/models/inbound_call_webhook_spec.rb +692 -0
- data/spec/models/incoming_number_list_spec.rb +181 -39
- data/spec/models/incoming_number_request_spec.rb +76 -20
- data/spec/models/incoming_number_result_spec.rb +370 -62
- data/spec/models/language_spec.rb +1 -1
- data/spec/models/leave_conference_webhook_spec.rb +643 -0
- data/spec/models/log_level_spec.rb +1 -1
- data/spec/models/log_list_spec.rb +181 -39
- data/spec/models/log_result_spec.rb +190 -50
- data/spec/models/machine_detected_webhook_spec.rb +758 -0
- data/spec/models/machine_type_spec.rb +10 -10
- data/spec/models/make_call_request_spec.rb +223 -41
- data/spec/models/message_delivery_webhook_spec.rb +630 -0
- data/spec/models/message_direction_spec.rb +1 -1
- data/spec/models/message_request_spec.rb +202 -38
- data/spec/models/message_result_spec.rb +375 -74
- data/spec/models/message_status_spec.rb +1 -1
- data/spec/models/message_status_webhook_spec.rb +732 -0
- data/spec/models/messages_list_spec.rb +181 -39
- data/spec/models/mutable_resource_model_spec.rb +97 -23
- data/spec/models/out_dial_api_connect_webhook_spec.rb +692 -0
- data/spec/models/out_dial_connect_webhook_spec.rb +692 -0
- data/spec/models/out_dial_spec.rb +253 -59
- data/spec/models/out_dial_start_webhook_spec.rb +741 -0
- data/spec/models/pagination_model_spec.rb +160 -32
- data/spec/models/park_spec.rb +76 -20
- data/spec/models/pause_spec.rb +34 -14
- data/spec/models/percl_command_spec.rb +34 -14
- data/spec/models/percl_script_spec.rb +34 -18
- data/spec/models/play_beep_spec.rb +1 -1
- data/spec/models/play_early_media_spec.rb +34 -14
- data/spec/models/play_spec.rb +76 -20
- data/spec/models/queue_list_spec.rb +181 -39
- data/spec/models/queue_member_list_spec.rb +181 -39
- data/spec/models/queue_member_spec.rb +118 -26
- data/spec/models/queue_request_spec.rb +55 -17
- data/spec/models/queue_result_spec.rb +244 -44
- data/spec/models/queue_result_status_spec.rb +1 -1
- data/spec/models/queue_wait_webhook_spec.rb +794 -0
- data/spec/models/record_utterance_spec.rb +160 -32
- data/spec/models/record_utterance_term_reason_spec.rb +1 -1
- data/spec/models/record_webhook_spec.rb +1062 -0
- data/spec/models/recording_list_spec.rb +181 -39
- data/spec/models/recording_result_spec.rb +202 -38
- data/spec/models/redirect_spec.rb +34 -14
- data/spec/models/redirect_webhook_spec.rb +692 -0
- data/spec/models/reject_spec.rb +34 -14
- data/spec/models/remove_from_conference_spec.rb +1 -1
- data/spec/models/remove_from_queue_notification_webhook_spec.rb +768 -0
- data/spec/models/request_type_spec.rb +1 -1
- data/spec/models/say_spec.rb +97 -23
- data/spec/models/send_digits_spec.rb +76 -20
- data/spec/models/set_dtmf_pass_through_spec.rb +34 -14
- data/spec/models/set_listen_spec.rb +34 -14
- data/spec/models/set_talk_spec.rb +34 -14
- data/spec/models/sms_spec.rb +97 -23
- data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +93 -0
- data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +109 -0
- data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +93 -0
- data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +109 -0
- data/spec/models/sms_ten_dlc_brand_spec.rb +933 -378
- data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +461 -0
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +181 -39
- data/spec/models/sms_ten_dlc_campaign_spec.rb +820 -164
- data/spec/models/sms_ten_dlc_campaign_status_spec.rb +61 -0
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +181 -39
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +251 -51
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +713 -183
- data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +61 -0
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +181 -39
- data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +109 -0
- data/spec/models/sms_toll_free_campaign_spec.rb +200 -69
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +181 -39
- data/spec/models/start_record_call_spec.rb +1 -1
- data/spec/models/terminate_conference_spec.rb +1 -1
- data/spec/models/tfn_spec.rb +34 -14
- data/spec/models/transcribe_reason_spec.rb +109 -0
- data/spec/models/transcribe_term_reason_spec.rb +61 -0
- data/spec/models/{transcribe_utterance_all_of_record_spec.rb → transcribe_utterance_record_spec.rb} +99 -43
- data/spec/models/transcribe_utterance_spec.rb +155 -45
- data/spec/models/transcribe_webhook_spec.rb +1373 -0
- data/spec/models/unpark_spec.rb +1 -1
- data/spec/models/update_call_request_spec.rb +64 -32
- data/spec/models/update_call_request_status_spec.rb +1 -1
- data/spec/models/update_conference_participant_request_spec.rb +104 -17
- data/spec/models/update_conference_request_spec.rb +136 -56
- data/spec/models/update_conference_request_status_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +176 -0
- data/spec/quickstart_spec.rb +7 -7
- data/spec/spec_helper.rb +1 -1
- data/spec/utils/request_verifier_spec.rb +123 -123
- data/spec/utils/signature_information_spec.rb +36 -36
- data/yarn.lock +91 -91
- metadata +157 -100
- data/docs/AccountResultAllOf.md +0 -30
- data/docs/AddToConferenceAllOf.md +0 -36
- data/docs/ApplicationListAllOf.md +0 -18
- data/docs/ApplicationResultAllOf.md +0 -34
- data/docs/AvailableNumberListAllOf.md +0 -18
- data/docs/CallListAllOf.md +0 -18
- data/docs/CallResultAllOf.md +0 -48
- data/docs/ConferenceListAllOf.md +0 -18
- data/docs/ConferenceParticipantListAllOf.md +0 -18
- data/docs/ConferenceParticipantResultAllOf.md +0 -30
- data/docs/ConferenceResultAllOf.md +0 -36
- data/docs/CreateConferenceAllOf.md +0 -28
- data/docs/EnqueueAllOf.md +0 -24
- data/docs/GetDigitsAllOf.md +0 -34
- data/docs/GetSpeechAllOf.md +0 -42
- data/docs/HangupAllOf.md +0 -18
- data/docs/IncomingNumberListAllOf.md +0 -18
- data/docs/IncomingNumberResultAllOf.md +0 -42
- data/docs/LogListAllOf.md +0 -18
- data/docs/MessageRequestAllOf.md +0 -26
- data/docs/MessageResultAllOf.md +0 -40
- data/docs/MessagesListAllOf.md +0 -18
- data/docs/OutDialAllOf.md +0 -36
- data/docs/ParkAllOf.md +0 -22
- data/docs/PauseAllOf.md +0 -18
- data/docs/PlayAllOf.md +0 -22
- data/docs/PlayEarlyMediaAllOf.md +0 -18
- data/docs/QueueListAllOf.md +0 -18
- data/docs/QueueMemberListAllOf.md +0 -18
- data/docs/QueueResultAllOf.md +0 -30
- data/docs/RecordUtteranceAllOf.md +0 -30
- data/docs/RecordingListAllOf.md +0 -18
- data/docs/RecordingResultAllOf.md +0 -26
- data/docs/RedirectAllOf.md +0 -18
- data/docs/RejectAllOf.md +0 -18
- data/docs/RemoveFromConferenceAllOf.md +0 -18
- data/docs/SMSTenDLCBrandsListResultAllOf.md +0 -18
- data/docs/SMSTenDLCCampaignsListResultAllOf.md +0 -18
- data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +0 -18
- data/docs/SMSTollFreeCampaignsListResultAllOf.md +0 -18
- data/docs/SayAllOf.md +0 -24
- data/docs/SendDigitsAllOf.md +0 -22
- data/docs/SetDTMFPassThroughAllOf.md +0 -18
- data/docs/SetListenAllOf.md +0 -18
- data/docs/SetTalkAllOf.md +0 -18
- data/docs/SmsAllOf.md +0 -24
- data/docs/TerminateConferenceAllOf.md +0 -18
- data/docs/TranscribeUtteranceAllOf.md +0 -28
- data/docs/TranscribeUtteranceAllOfRecord.md +0 -22
- data/lib/freeclimb/models/account_result_all_of.rb +0 -289
- data/lib/freeclimb/models/add_to_conference_all_of.rb +0 -318
- data/lib/freeclimb/models/application_list_all_of.rb +0 -226
- data/lib/freeclimb/models/application_result_all_of.rb +0 -313
- data/lib/freeclimb/models/available_number_list_all_of.rb +0 -226
- data/lib/freeclimb/models/conference_list_all_of.rb +0 -226
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +0 -226
- data/lib/freeclimb/models/create_conference_all_of.rb +0 -280
- data/lib/freeclimb/models/enqueue_all_of.rb +0 -266
- data/lib/freeclimb/models/get_digits_all_of.rb +0 -310
- data/lib/freeclimb/models/get_speech_all_of.rb +0 -354
- data/lib/freeclimb/models/hangup_all_of.rb +0 -224
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +0 -226
- data/lib/freeclimb/models/log_list_all_of.rb +0 -226
- data/lib/freeclimb/models/message_request_all_of.rb +0 -279
- data/lib/freeclimb/models/messages_list_all_of.rb +0 -227
- data/lib/freeclimb/models/out_dial_all_of.rb +0 -329
- data/lib/freeclimb/models/park_all_of.rb +0 -252
- data/lib/freeclimb/models/pause_all_of.rb +0 -228
- data/lib/freeclimb/models/play_all_of.rb +0 -248
- data/lib/freeclimb/models/play_early_media_all_of.rb +0 -228
- data/lib/freeclimb/models/queue_list_all_of.rb +0 -226
- data/lib/freeclimb/models/queue_member_list_all_of.rb +0 -226
- data/lib/freeclimb/models/queue_result_all_of.rb +0 -291
- data/lib/freeclimb/models/record_utterance_all_of.rb +0 -288
- data/lib/freeclimb/models/recording_list_all_of.rb +0 -226
- data/lib/freeclimb/models/redirect_all_of.rb +0 -228
- data/lib/freeclimb/models/reject_all_of.rb +0 -224
- data/lib/freeclimb/models/say_all_of.rb +0 -260
- data/lib/freeclimb/models/send_digits_all_of.rb +0 -248
- data/lib/freeclimb/models/set_dtmf_pass_through_all_of.rb +0 -224
- data/lib/freeclimb/models/set_listen_all_of.rb +0 -224
- data/lib/freeclimb/models/set_talk_all_of.rb +0 -224
- data/lib/freeclimb/models/sms_all_of.rb +0 -266
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +0 -226
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +0 -226
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +0 -226
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result_all_of.rb +0 -226
- data/lib/freeclimb/models/transcribe_utterance_all_of.rb +0 -281
@@ -0,0 +1,354 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: support@freeclimb.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Freeclimb
|
17
|
+
# A Call has ended and the statusCallbackUrl is being invoked. This is a notification only; All PerCL commands will be ignored.
|
18
|
+
class CallStatusWebhook < Webhook
|
19
|
+
def self.deserialize(payload)
|
20
|
+
return nil if payload.nil? || payload.empty?
|
21
|
+
data = JSON.parse("[#{payload}]")[0]
|
22
|
+
inverted_attributes = self.attribute_map.invert
|
23
|
+
hash = self.acceptable_attributes.uniq.map { |k| [inverted_attributes[k], data[k.to_s]] }.to_h
|
24
|
+
CallStatusWebhook.new(hash)
|
25
|
+
end
|
26
|
+
# Context or reason why this request is being made. Will be callStatus - A Call has ended and the statusCallbackUrl is being invoked.
|
27
|
+
attr_accessor :request_type
|
28
|
+
|
29
|
+
# Unique ID for this Call, generated by FreeClimb.
|
30
|
+
attr_accessor :call_id
|
31
|
+
|
32
|
+
# Account ID associated with your account.
|
33
|
+
attr_accessor :account_id
|
34
|
+
|
35
|
+
# Phone number of the party that initiated the Call (in E.164 format).
|
36
|
+
attr_accessor :from
|
37
|
+
|
38
|
+
# Phone number provisioned to you and to which this Call is directed (in E.164 format).
|
39
|
+
attr_accessor :to
|
40
|
+
|
41
|
+
attr_accessor :call_status
|
42
|
+
|
43
|
+
attr_accessor :call_ended_reason
|
44
|
+
|
45
|
+
attr_accessor :direction
|
46
|
+
|
47
|
+
# Unique ID of the Conference.
|
48
|
+
attr_accessor :conference_id
|
49
|
+
|
50
|
+
# This is only populated if the request pertains to a Queue. Otherwise, it is set to null.
|
51
|
+
attr_accessor :queue_id
|
52
|
+
|
53
|
+
class EnumAttributeValidator
|
54
|
+
attr_reader :datatype
|
55
|
+
attr_reader :allowable_values
|
56
|
+
|
57
|
+
def initialize(datatype, allowable_values)
|
58
|
+
@allowable_values = allowable_values.map do |value|
|
59
|
+
case datatype.to_s
|
60
|
+
when /Integer/i
|
61
|
+
value.to_i
|
62
|
+
when /Float/i
|
63
|
+
value.to_f
|
64
|
+
else
|
65
|
+
value
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def valid?(value)
|
71
|
+
!value || allowable_values.include?(value)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
76
|
+
def self.attribute_map
|
77
|
+
{
|
78
|
+
:'request_type' => :'requestType',
|
79
|
+
:'call_id' => :'callId',
|
80
|
+
:'account_id' => :'accountId',
|
81
|
+
:'from' => :'from',
|
82
|
+
:'to' => :'to',
|
83
|
+
:'call_status' => :'callStatus',
|
84
|
+
:'call_ended_reason' => :'callEndedReason',
|
85
|
+
:'direction' => :'direction',
|
86
|
+
:'conference_id' => :'conferenceId',
|
87
|
+
:'queue_id' => :'queueId'
|
88
|
+
}
|
89
|
+
end
|
90
|
+
|
91
|
+
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
92
|
+
def self.acceptable_attributes
|
93
|
+
attribute_map.values.concat(superclass.acceptable_attributes)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Attribute type mapping.
|
97
|
+
def self.openapi_types
|
98
|
+
{
|
99
|
+
:'request_type' => :'String',
|
100
|
+
:'call_id' => :'String',
|
101
|
+
:'account_id' => :'String',
|
102
|
+
:'from' => :'String',
|
103
|
+
:'to' => :'String',
|
104
|
+
:'call_status' => :'CallStatus',
|
105
|
+
:'call_ended_reason' => :'CallEndedReason',
|
106
|
+
:'direction' => :'CallDirection',
|
107
|
+
:'conference_id' => :'String',
|
108
|
+
:'queue_id' => :'String'
|
109
|
+
}
|
110
|
+
end
|
111
|
+
|
112
|
+
# List of attributes with nullable: true
|
113
|
+
def self.openapi_nullable
|
114
|
+
Set.new([
|
115
|
+
:'call_status',
|
116
|
+
:'call_ended_reason',
|
117
|
+
:'direction',
|
118
|
+
:'queue_id'
|
119
|
+
])
|
120
|
+
end
|
121
|
+
|
122
|
+
# List of class defined in allOf (OpenAPI v3)
|
123
|
+
def self.openapi_all_of
|
124
|
+
[
|
125
|
+
:'Webhook'
|
126
|
+
]
|
127
|
+
end
|
128
|
+
|
129
|
+
# Initializes the object
|
130
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
131
|
+
def initialize(attributes = {})
|
132
|
+
if (!attributes.is_a?(Hash))
|
133
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Freeclimb::CallStatusWebhook` initialize method"
|
134
|
+
end
|
135
|
+
|
136
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
137
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
138
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
139
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Freeclimb::CallStatusWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
140
|
+
end
|
141
|
+
h[k.to_sym] = v
|
142
|
+
}
|
143
|
+
|
144
|
+
# call parent's initialize
|
145
|
+
super(attributes)
|
146
|
+
|
147
|
+
if attributes.key?(:'request_type')
|
148
|
+
self.request_type = attributes[:'request_type']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'call_id')
|
152
|
+
self.call_id = attributes[:'call_id']
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.key?(:'account_id')
|
156
|
+
self.account_id = attributes[:'account_id']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.key?(:'from')
|
160
|
+
self.from = attributes[:'from']
|
161
|
+
end
|
162
|
+
|
163
|
+
if attributes.key?(:'to')
|
164
|
+
self.to = attributes[:'to']
|
165
|
+
end
|
166
|
+
|
167
|
+
if attributes.key?(:'call_status')
|
168
|
+
self.call_status = attributes[:'call_status']
|
169
|
+
end
|
170
|
+
|
171
|
+
if attributes.key?(:'call_ended_reason')
|
172
|
+
self.call_ended_reason = attributes[:'call_ended_reason']
|
173
|
+
end
|
174
|
+
|
175
|
+
if attributes.key?(:'direction')
|
176
|
+
self.direction = attributes[:'direction']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.key?(:'conference_id')
|
180
|
+
self.conference_id = attributes[:'conference_id']
|
181
|
+
end
|
182
|
+
|
183
|
+
if attributes.key?(:'queue_id')
|
184
|
+
self.queue_id = attributes[:'queue_id']
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
189
|
+
# @return Array for valid properties with the reasons
|
190
|
+
def list_invalid_properties
|
191
|
+
invalid_properties = super
|
192
|
+
invalid_properties
|
193
|
+
end
|
194
|
+
|
195
|
+
# Check to see if the all the properties in the model are valid
|
196
|
+
# @return true if the model is valid
|
197
|
+
def valid?
|
198
|
+
|
199
|
+
if @request_type.nil?
|
200
|
+
false
|
201
|
+
else
|
202
|
+
list_invalid_properties.length() == 0
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# Checks equality by comparing each attribute.
|
207
|
+
# @param [Object] Object to be compared
|
208
|
+
def ==(o)
|
209
|
+
return true if self.equal?(o)
|
210
|
+
self.class == o.class &&
|
211
|
+
request_type == o.request_type &&
|
212
|
+
call_id == o.call_id &&
|
213
|
+
account_id == o.account_id &&
|
214
|
+
from == o.from &&
|
215
|
+
to == o.to &&
|
216
|
+
call_status == o.call_status &&
|
217
|
+
call_ended_reason == o.call_ended_reason &&
|
218
|
+
direction == o.direction &&
|
219
|
+
conference_id == o.conference_id &&
|
220
|
+
queue_id == o.queue_id && super(o)
|
221
|
+
end
|
222
|
+
|
223
|
+
# @see the `==` method
|
224
|
+
# @param [Object] Object to be compared
|
225
|
+
def eql?(o)
|
226
|
+
self == o
|
227
|
+
end
|
228
|
+
|
229
|
+
# Calculates hash code according to all attributes.
|
230
|
+
# @return [Integer] Hash code
|
231
|
+
def hash
|
232
|
+
[request_type, call_id, account_id, from, to, call_status, call_ended_reason, direction, conference_id, queue_id].hash
|
233
|
+
end
|
234
|
+
|
235
|
+
# Builds the object from hash
|
236
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
237
|
+
# @return [Object] Returns the model itself
|
238
|
+
def self.build_from_hash(attributes)
|
239
|
+
new.build_from_hash(attributes)
|
240
|
+
end
|
241
|
+
|
242
|
+
# Builds the object from hash
|
243
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
244
|
+
# @return [Object] Returns the model itself
|
245
|
+
def build_from_hash(attributes)
|
246
|
+
return nil unless attributes.is_a?(Hash)
|
247
|
+
super(attributes)
|
248
|
+
self.class.openapi_types.each_pair do |key, type|
|
249
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
250
|
+
self.send("#{key}=", nil)
|
251
|
+
elsif type =~ /\AArray<(.*)>/i
|
252
|
+
# check to ensure the input is an array given that the attribute
|
253
|
+
# is documented as an array but the input is not
|
254
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
255
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
256
|
+
end
|
257
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
258
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
self
|
263
|
+
end
|
264
|
+
|
265
|
+
# Deserializes the data based on type
|
266
|
+
# @param string type Data type
|
267
|
+
# @param string value Value to be deserialized
|
268
|
+
# @return [Object] Deserialized data
|
269
|
+
def _deserialize(type, value)
|
270
|
+
case type.to_sym
|
271
|
+
when :Time
|
272
|
+
Time.parse(value)
|
273
|
+
when :Date
|
274
|
+
Date.parse(value)
|
275
|
+
when :String
|
276
|
+
value.to_s
|
277
|
+
when :Integer
|
278
|
+
value.to_i
|
279
|
+
when :Float
|
280
|
+
value.to_f
|
281
|
+
when :Boolean
|
282
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
283
|
+
true
|
284
|
+
else
|
285
|
+
false
|
286
|
+
end
|
287
|
+
when :Object
|
288
|
+
# generic object (usually a Hash), return directly
|
289
|
+
value
|
290
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
291
|
+
inner_type = Regexp.last_match[:inner_type]
|
292
|
+
value.map { |v| _deserialize(inner_type, v) }
|
293
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
294
|
+
k_type = Regexp.last_match[:k_type]
|
295
|
+
v_type = Regexp.last_match[:v_type]
|
296
|
+
{}.tap do |hash|
|
297
|
+
value.each do |k, v|
|
298
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
299
|
+
end
|
300
|
+
end
|
301
|
+
else # model
|
302
|
+
# models (e.g. Pet) or oneOf
|
303
|
+
klass = Freeclimb.const_get(type)
|
304
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
# Returns the string representation of the object
|
309
|
+
# @return [String] String presentation of the object
|
310
|
+
def to_s
|
311
|
+
to_hash.to_s
|
312
|
+
end
|
313
|
+
|
314
|
+
# to_body is an alias to to_hash (backward compatibility)
|
315
|
+
# @return [Hash] Returns the object in the form of hash
|
316
|
+
def to_body
|
317
|
+
to_hash
|
318
|
+
end
|
319
|
+
|
320
|
+
# Returns the object in the form of hash
|
321
|
+
# @return [Hash] Returns the object in the form of hash
|
322
|
+
def to_hash
|
323
|
+
hash = super
|
324
|
+
self.class.attribute_map.each_pair do |attr, param|
|
325
|
+
value = self.send(attr)
|
326
|
+
if value.nil?
|
327
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
328
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
329
|
+
end
|
330
|
+
|
331
|
+
hash[param] = _to_hash(value)
|
332
|
+
end
|
333
|
+
hash
|
334
|
+
end
|
335
|
+
|
336
|
+
# Outputs non-array value in the form of hash
|
337
|
+
# For object, use to_hash. Otherwise, just return the value
|
338
|
+
# @param [Object] value Any valid value
|
339
|
+
# @return [Hash] Returns the value in the form of hash
|
340
|
+
def _to_hash(value)
|
341
|
+
if value.is_a?(Array)
|
342
|
+
value.compact.map { |v| _to_hash(v) }
|
343
|
+
elsif value.is_a?(Hash)
|
344
|
+
{}.tap do |hash|
|
345
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
346
|
+
end
|
347
|
+
elsif value.respond_to? :to_hash
|
348
|
+
value.to_hash
|
349
|
+
else
|
350
|
+
value
|
351
|
+
end
|
352
|
+
end
|
353
|
+
end
|
354
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -264,7 +264,5 @@ module Freeclimb
|
|
264
264
|
value
|
265
265
|
end
|
266
266
|
end
|
267
|
-
|
268
267
|
end
|
269
|
-
|
270
268
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -240,7 +240,5 @@ module Freeclimb
|
|
240
240
|
value
|
241
241
|
end
|
242
242
|
end
|
243
|
-
|
244
243
|
end
|
245
|
-
|
246
244
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -18,7 +18,6 @@ module Freeclimb
|
|
18
18
|
# The generative response from the KnowledgeBase
|
19
19
|
attr_accessor :response
|
20
20
|
|
21
|
-
# Completion result status. Possible values: success, no_context
|
22
21
|
attr_accessor :status
|
23
22
|
|
24
23
|
class EnumAttributeValidator
|
@@ -60,7 +59,7 @@ module Freeclimb
|
|
60
59
|
def self.openapi_types
|
61
60
|
{
|
62
61
|
:'response' => :'String',
|
63
|
-
:'status' => :'
|
62
|
+
:'status' => :'CompletionResultStatus'
|
64
63
|
}
|
65
64
|
end
|
66
65
|
|
@@ -120,16 +119,6 @@ module Freeclimb
|
|
120
119
|
end
|
121
120
|
end
|
122
121
|
|
123
|
-
# Custom attribute writer method checking allowed values (enum).
|
124
|
-
# @param [Object] status Object to be assigned
|
125
|
-
def status=(status)
|
126
|
-
validator = EnumAttributeValidator.new('String', ["success", "no_context"])
|
127
|
-
unless validator.valid?(status)
|
128
|
-
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
129
|
-
end
|
130
|
-
@status = status
|
131
|
-
end
|
132
|
-
|
133
122
|
# Checks equality by comparing each attribute.
|
134
123
|
# @param [Object] Object to be compared
|
135
124
|
def ==(o)
|
@@ -268,7 +257,5 @@ module Freeclimb
|
|
268
257
|
value
|
269
258
|
end
|
270
259
|
end
|
271
|
-
|
272
260
|
end
|
273
|
-
|
274
261
|
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: support@freeclimb.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Freeclimb
|
17
|
+
class CompletionResultStatus
|
18
|
+
SUCCESS = "success".freeze
|
19
|
+
NO_CONTEXT = "no_context".freeze
|
20
|
+
|
21
|
+
# Builds the enum from string
|
22
|
+
# @param [String] The enum value in the form of the string
|
23
|
+
# @return [String] The enum value
|
24
|
+
def self.build_from_hash(value)
|
25
|
+
new.build_from_hash(value)
|
26
|
+
end
|
27
|
+
|
28
|
+
# Builds the enum from string
|
29
|
+
# @param [String] The enum value in the form of the string
|
30
|
+
# @return [String] The enum value
|
31
|
+
def build_from_hash(value)
|
32
|
+
constantValues = CompletionResultStatus.constants.select { |c| CompletionResultStatus::const_get(c) == value }
|
33
|
+
raise "Invalid ENUM value #{value} for class #CompletionResultStatus" if constantValues.empty?
|
34
|
+
value
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,6 @@ module Freeclimb
|
|
88
88
|
# List of class defined in allOf (OpenAPI v3)
|
89
89
|
def self.openapi_all_of
|
90
90
|
[
|
91
|
-
:'ConferenceListAllOf',
|
92
91
|
:'PaginationModel'
|
93
92
|
]
|
94
93
|
end
|
@@ -305,7 +304,5 @@ module Freeclimb
|
|
305
304
|
value
|
306
305
|
end
|
307
306
|
end
|
308
|
-
|
309
307
|
end
|
310
|
-
|
311
308
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -88,7 +88,6 @@ module Freeclimb
|
|
88
88
|
# List of class defined in allOf (OpenAPI v3)
|
89
89
|
def self.openapi_all_of
|
90
90
|
[
|
91
|
-
:'ConferenceParticipantListAllOf',
|
92
91
|
:'PaginationModel'
|
93
92
|
]
|
94
93
|
end
|
@@ -305,7 +304,5 @@ module Freeclimb
|
|
305
304
|
value
|
306
305
|
end
|
307
306
|
end
|
308
|
-
|
309
307
|
end
|
310
|
-
|
311
308
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -103,7 +103,6 @@ module Freeclimb
|
|
103
103
|
# List of class defined in allOf (OpenAPI v3)
|
104
104
|
def self.openapi_all_of
|
105
105
|
[
|
106
|
-
:'ConferenceParticipantResultAllOf',
|
107
106
|
:'MutableResourceModel'
|
108
107
|
]
|
109
108
|
end
|
@@ -333,7 +332,5 @@ module Freeclimb
|
|
333
332
|
value
|
334
333
|
end
|
335
334
|
end
|
336
|
-
|
337
335
|
end
|
338
|
-
|
339
336
|
end
|