spatio-sdk 0.0.2
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 +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +31 -0
- data/Rakefile +10 -0
- data/docs/AcceptOrganizationInvitationRequest.md +18 -0
- data/docs/AccountApi.md +793 -0
- data/docs/AccountChoice.md +22 -0
- data/docs/AccountError.md +20 -0
- data/docs/AccountListResponse.md +22 -0
- data/docs/AccountPlan.md +24 -0
- data/docs/AccountStatus.md +28 -0
- data/docs/AccountTierDetails.md +46 -0
- data/docs/AccountUsage.md +32 -0
- data/docs/ActionDescriptor.md +32 -0
- data/docs/ActionsApi.md +409 -0
- data/docs/AddOrganizationMemberRequest.md +22 -0
- data/docs/AddWorkspaceMemberRequest.md +20 -0
- data/docs/Agent.md +40 -0
- data/docs/AgentConversation.md +28 -0
- data/docs/AgentConversationListResponse.md +20 -0
- data/docs/AgentListResponse.md +24 -0
- data/docs/AgentMessage.md +28 -0
- data/docs/AgentMessageListResponse.md +20 -0
- data/docs/AgentSessionContext.md +24 -0
- data/docs/AgentTaskUsage.md +26 -0
- data/docs/AgentsApi.md +884 -0
- data/docs/AmbiguousAccountError.md +22 -0
- data/docs/ApiError.md +20 -0
- data/docs/App.md +32 -0
- data/docs/AppFileContentResponse.md +20 -0
- data/docs/AppFileListResponse.md +18 -0
- data/docs/AppListResponse.md +20 -0
- data/docs/AppsApi.md +984 -0
- data/docs/AssignContactCategoryRequest.md +18 -0
- data/docs/Attachment.md +26 -0
- data/docs/AttachmentInput.md +24 -0
- data/docs/AttachmentMeta.md +24 -0
- data/docs/Attendee.md +30 -0
- data/docs/AttendeeRole.md +15 -0
- data/docs/AttendeeStatus.md +15 -0
- data/docs/Block.md +36 -0
- data/docs/BlockContent.md +38 -0
- data/docs/BlockListResponse.md +20 -0
- data/docs/BlockType.md +15 -0
- data/docs/BulkArchiveRequest.md +20 -0
- data/docs/BulkArchiveResponse.md +22 -0
- data/docs/BulkArchiveResponseFailedInner.md +20 -0
- data/docs/BulkDeleteEmailsRequest.md +22 -0
- data/docs/BulkDeleteEmailsResponse.md +22 -0
- data/docs/BulkDeleteFilesRequest.md +24 -0
- data/docs/BulkDeleteTasksRequest.md +24 -0
- data/docs/BulkDeleteTasksResponse.md +24 -0
- data/docs/BulkDeleteTasksResponseFailedInner.md +20 -0
- data/docs/BulkFilesResponse.md +24 -0
- data/docs/BulkFilesResponseFailedInner.md +20 -0
- data/docs/BulkMarkReadRequest.md +22 -0
- data/docs/BulkMarkReadResponse.md +20 -0
- data/docs/BulkMarkReadResponseFailedInner.md +20 -0
- data/docs/BulkMoveFilesRequest.md +26 -0
- data/docs/BulkUpdateTasksRequest.md +24 -0
- data/docs/BulkUpdateTasksResponse.md +24 -0
- data/docs/CalendarAccountError.md +24 -0
- data/docs/CalendarApi.md +1031 -0
- data/docs/CalendarCapabilitiesResponse.md +22 -0
- data/docs/CalendarOperationResult.md +24 -0
- data/docs/CalendarProviderInfo.md +26 -0
- data/docs/CalendarProvidersInfo.md +18 -0
- data/docs/CalendarSyncResponse.md +26 -0
- data/docs/CallListResponse.md +20 -0
- data/docs/CallRecording.md +30 -0
- data/docs/CallRecordingListResponse.md +18 -0
- data/docs/CallsApi.md +2096 -0
- data/docs/Cell.md +22 -0
- data/docs/ChangePasswordRequest.md +20 -0
- data/docs/Channel.md +38 -0
- data/docs/ChannelMembershipRequest.md +18 -0
- data/docs/ChannelsApi.md +1170 -0
- data/docs/ChatActionDefinition.md +34 -0
- data/docs/ChatActionsList.md +18 -0
- data/docs/ChatMessage.md +36 -0
- data/docs/ChatUser.md +34 -0
- data/docs/ChunkedFileManifest.md +34 -0
- data/docs/ClientRegistrationRequest.md +36 -0
- data/docs/ClientRegistrationResponse.md +38 -0
- data/docs/Comment.md +32 -0
- data/docs/CommentAuthor.md +24 -0
- data/docs/CommentListResponse.md +20 -0
- data/docs/CommentMutationResponse.md +20 -0
- data/docs/CommentResponse.md +18 -0
- data/docs/CommitChunkedUploadRequest.md +18 -0
- data/docs/CommitChunkedUploadResponse.md +36 -0
- data/docs/ConferenceData.md +28 -0
- data/docs/ConnectedAppItem.md +34 -0
- data/docs/ConnectedAppsListResponse.md +18 -0
- data/docs/ConnectionAccountListResponse.md +22 -0
- data/docs/ConnectionListResponse.md +20 -0
- data/docs/ConnectionsApi.md +748 -0
- data/docs/ConsumeAgentTaskResponse.md +26 -0
- data/docs/Contact.md +46 -0
- data/docs/ContactCategory.md +26 -0
- data/docs/ContactCategoryListResponse.md +18 -0
- data/docs/ContactListResponse.md +22 -0
- data/docs/ContactProvider.md +26 -0
- data/docs/ContactProviderListResponse.md +18 -0
- data/docs/ContactsApi.md +830 -0
- data/docs/Conversation.md +42 -0
- data/docs/ConversationMessage.md +28 -0
- data/docs/ConversationsApi.md +636 -0
- data/docs/CoreAction.md +30 -0
- data/docs/CoreActionListResponse.md +20 -0
- data/docs/CreateAgentConversationRequest.md +22 -0
- data/docs/CreateAgentMessageRequest.md +22 -0
- data/docs/CreateAgentRequest.md +30 -0
- data/docs/CreateAppRequest.md +26 -0
- data/docs/CreateBlockRequest.md +26 -0
- data/docs/CreateCalendarEvent201Response.md +24 -0
- data/docs/CreateCallRequest.md +24 -0
- data/docs/CreateChannelRequest.md +24 -0
- data/docs/CreateChannelResponse.md +20 -0
- data/docs/CreateCommentRequest.md +24 -0
- data/docs/CreateContactCategoryRequest.md +22 -0
- data/docs/CreateContactRequest.md +32 -0
- data/docs/CreateConversationRequest.md +26 -0
- data/docs/CreateDraftRequest.md +38 -0
- data/docs/CreateEmailFolderRequest.md +20 -0
- data/docs/CreateEventRequest.md +26 -0
- data/docs/CreateFolderRequest.md +26 -0
- data/docs/CreateLabelRequest.md +26 -0
- data/docs/CreateLabelResponse.md +20 -0
- data/docs/CreateMeetingRoomRequest.md +20 -0
- data/docs/CreateNote400Response.md +49 -0
- data/docs/CreateNoteRequest.md +32 -0
- data/docs/CreateOrganizationInvitationRequest.md +22 -0
- data/docs/CreateOrganizationRequest.md +28 -0
- data/docs/CreatePATRequest.md +26 -0
- data/docs/CreatePATResponse.md +20 -0
- data/docs/CreatePresentationRequest.md +26 -0
- data/docs/CreateRecordRequest.md +26 -0
- data/docs/CreateRecordTypeRequest.md +28 -0
- data/docs/CreateRoutineRequest.md +26 -0
- data/docs/CreateRowRequest.md +20 -0
- data/docs/CreateSheetRequest.md +30 -0
- data/docs/CreateSlideElementRequest.md +32 -0
- data/docs/CreateSlideRequest.md +34 -0
- data/docs/CreateTaskRequest.md +44 -0
- data/docs/CreateWorkspaceInvitationRequest.md +20 -0
- data/docs/CreateWorkspaceRequest.md +24 -0
- data/docs/DMAttachRequest.md +34 -0
- data/docs/DMForwardRequest.md +22 -0
- data/docs/DMMarkReadRequest.md +20 -0
- data/docs/DMMessageEnvelope.md +18 -0
- data/docs/DMMuteRequest.md +22 -0
- data/docs/DMMuteResponse.md +18 -0
- data/docs/DMPinnedList.md +18 -0
- data/docs/DMReactionRequest.md +20 -0
- data/docs/DMReactionResponse.md +18 -0
- data/docs/DMSearchResults.md +18 -0
- data/docs/DMSetDraftRequest.md +20 -0
- data/docs/DMThreadReplyRequest.md +20 -0
- data/docs/DirectMessagesApi.md +2246 -0
- data/docs/DisconnectConnectionRequest.md +20 -0
- data/docs/DiscoveryDocument.md +52 -0
- data/docs/DownloadFileResponse.md +20 -0
- data/docs/Draft.md +40 -0
- data/docs/DraftResponse.md +20 -0
- data/docs/Email.md +56 -0
- data/docs/EmailFolder.md +26 -0
- data/docs/EmailFolderListResponse.md +18 -0
- data/docs/EnableShareRequest.md +20 -0
- data/docs/ExecuteActionRequest.md +22 -0
- data/docs/ExecuteActionResponse.md +22 -0
- data/docs/ExecuteChatActionRequest.md +20 -0
- data/docs/ExecuteChatActionResponse.md +20 -0
- data/docs/ExportPDFR2Response.md +24 -0
- data/docs/ExportPDFRequest.md +20 -0
- data/docs/ExportPDFRequestRasterizedSlidesInner.md +20 -0
- data/docs/ExtractTextResult.md +24 -0
- data/docs/FederatedSearch200Response.md +28 -0
- data/docs/FederatedSearch200ResponseItemsInner.md +38 -0
- data/docs/FederatedSearch200ResponsePerPlatformValue.md +20 -0
- data/docs/FederatedSearchRequest.md +32 -0
- data/docs/FileListEnvelope.md +20 -0
- data/docs/FilesAndFoldersResponse.md +28 -0
- data/docs/FilesApi.md +2471 -0
- data/docs/Folder.md +32 -0
- data/docs/FolderListEnvelope.md +20 -0
- data/docs/FoldersApi.md +415 -0
- data/docs/GetChatUserResponse.md +20 -0
- data/docs/GetDomainLogo200Response.md +20 -0
- data/docs/GetEmailResponse.md +20 -0
- data/docs/GetThreadResponse.md +20 -0
- data/docs/InboxApi.md +424 -0
- data/docs/InboxCounts.md +22 -0
- data/docs/InboxItem.md +38 -0
- data/docs/InboxListResponse.md +22 -0
- data/docs/InitChunkedUploadRequest.md +30 -0
- data/docs/InitChunkedUploadResponse.md +26 -0
- data/docs/InstallConnectionRequest.md +22 -0
- data/docs/IntrospectionResponse.md +30 -0
- data/docs/IssueCollaborationToken200Response.md +26 -0
- data/docs/IssueCollaborationTokenRequest.md +18 -0
- data/docs/JWK.md +28 -0
- data/docs/JWKS.md +18 -0
- data/docs/KeyBinding.md +38 -0
- data/docs/KeyBindingListResponse.md +18 -0
- data/docs/KeybindingsApi.md +406 -0
- data/docs/Label.md +28 -0
- data/docs/LabelColor.md +20 -0
- data/docs/LinkRepoTaskRequest.md +18 -0
- data/docs/ListCalendarEvents200Response.md +24 -0
- data/docs/ListChannelsResponse.md +24 -0
- data/docs/ListChatUsersResponse.md +24 -0
- data/docs/ListDraftsResponse.md +24 -0
- data/docs/ListEmailsResponse.md +24 -0
- data/docs/ListEventsData.md +24 -0
- data/docs/ListLabelsResponse.md +20 -0
- data/docs/ListMessagesResponse.md +24 -0
- data/docs/LogosApi.md +211 -0
- data/docs/MailApi.md +3803 -0
- data/docs/MeetingRoom.md +24 -0
- data/docs/MiscApi.md +1213 -0
- data/docs/ModelsApi.md +483 -0
- data/docs/MoveBlockRequest.md +20 -0
- data/docs/MoveEmailsRequest.md +18 -0
- data/docs/MoveFileRequest.md +18 -0
- data/docs/MoveFileResponse.md +18 -0
- data/docs/NativeDMApi.md +1448 -0
- data/docs/NavigationApi.md +72 -0
- data/docs/Note.md +44 -0
- data/docs/NoteListEnvelope.md +20 -0
- data/docs/NotesApi.md +2413 -0
- data/docs/NotificationsApi.md +140 -0
- data/docs/OAuthApi.md +676 -0
- data/docs/OAuthError.md +20 -0
- data/docs/Organization.md +38 -0
- data/docs/OrganizationDetailLegacy.md +38 -0
- data/docs/OrganizationInvitation.md +38 -0
- data/docs/OrganizationInvitationListResponse.md +18 -0
- data/docs/OrganizationListResponse.md +18 -0
- data/docs/OrganizationMember.md +28 -0
- data/docs/OrganizationMemberInvitedBy.md +49 -0
- data/docs/OrganizationMemberListResponse.md +20 -0
- data/docs/OrganizationWorkspacesInner.md +22 -0
- data/docs/OrganizationsApi.md +1956 -0
- data/docs/PATListResponse.md +20 -0
- data/docs/PATScopesResponse.md +18 -0
- data/docs/PasswordRequiredError.md +24 -0
- data/docs/PersonalAccessToken.md +34 -0
- data/docs/PersonalAccessTokensApi.md +629 -0
- data/docs/PlatformsApi.md +1032 -0
- data/docs/PreconfiguredAgent.md +30 -0
- data/docs/Presentation.md +38 -0
- data/docs/PresentationListEnvelope.md +20 -0
- data/docs/ProposeRecommendationRequest.md +28 -0
- data/docs/PublicInvitationPayload.md +40 -0
- data/docs/QuotaExceededError.md +20 -0
- data/docs/RealtimeApi.md +79 -0
- data/docs/Recommendation.md +38 -0
- data/docs/RecommendationListResponse.md +18 -0
- data/docs/RecommendationsApi.md +354 -0
- data/docs/Record.md +32 -0
- data/docs/RecordListResponse.md +22 -0
- data/docs/RecordType.md +34 -0
- data/docs/RecordTypeListResponse.md +18 -0
- data/docs/RecordsApi.md +560 -0
- data/docs/RefreshConnectionRequest.md +20 -0
- data/docs/Reminder.md +20 -0
- data/docs/ReminderMethod.md +15 -0
- data/docs/ReplyEmailRequest.md +30 -0
- data/docs/RepoApi.md +2071 -0
- data/docs/ResourcesApi.md +220 -0
- data/docs/RevokeOtherSessionsResponse.md +18 -0
- data/docs/RichTextObject.md +24 -0
- data/docs/Routine.md +34 -0
- data/docs/RoutineListResponse.md +18 -0
- data/docs/RoutineRun.md +30 -0
- data/docs/RoutineRunCompleteRequest.md +20 -0
- data/docs/RoutineRunListResponse.md +18 -0
- data/docs/RoutineRunProgressRequest.md +20 -0
- data/docs/RoutinesApi.md +696 -0
- data/docs/Row.md +20 -0
- data/docs/RowList.md +20 -0
- data/docs/SaveMessageRequest.md +22 -0
- data/docs/SearchApi.md +77 -0
- data/docs/SearchEmailsResponse.md +24 -0
- data/docs/SearchFilesResponse.md +24 -0
- data/docs/SendChatMessageRequest.md +26 -0
- data/docs/SendChatMessageResponse.md +28 -0
- data/docs/SendEmailRequest.md +36 -0
- data/docs/SendEmailResponse.md +26 -0
- data/docs/Session.md +38 -0
- data/docs/SessionListResponse.md +18 -0
- data/docs/SettingsApi.md +745 -0
- data/docs/ShareSettings.md +26 -0
- data/docs/Sheet.md +48 -0
- data/docs/SheetListEnvelope.md +20 -0
- data/docs/SheetsApi.md +785 -0
- data/docs/SignInMethods.md +22 -0
- data/docs/SignInMethodsProvidersInner.md +24 -0
- data/docs/Slide.md +44 -0
- data/docs/SlideElement.md +40 -0
- data/docs/SlideElementList.md +20 -0
- data/docs/SlideList.md +20 -0
- data/docs/SlidesApi.md +1697 -0
- data/docs/SpatioCall.md +38 -0
- data/docs/SpatioConnection.md +38 -0
- data/docs/SpatioEvent.md +86 -0
- data/docs/SpatioFile.md +40 -0
- data/docs/SpatioThread.md +24 -0
- data/docs/SuccessFlag.md +18 -0
- data/docs/Task.md +58 -0
- data/docs/TaskComment.md +28 -0
- data/docs/TaskCommentAuthor.md +24 -0
- data/docs/TaskCommentList.md +20 -0
- data/docs/TaskCommentMutationResponse.md +20 -0
- data/docs/TaskCommentRequest.md +18 -0
- data/docs/TaskListEnvelope.md +20 -0
- data/docs/TaskProvidersInfo.md +20 -0
- data/docs/TaskProvidersInfoPlatform.md +20 -0
- data/docs/TasksApi.md +1783 -0
- data/docs/TerminalApi.md +345 -0
- data/docs/TextAnnotations.md +28 -0
- data/docs/TokenResponse.md +28 -0
- data/docs/UpdateAccountRequest.md +20 -0
- data/docs/UpdateAgentRequest.md +30 -0
- data/docs/UpdateAppRequest.md +24 -0
- data/docs/UpdateBlockRequest.md +22 -0
- data/docs/UpdateCellRequest.md +18 -0
- data/docs/UpdateCommentRequest.md +20 -0
- data/docs/UpdateContactCategoryRequest.md +22 -0
- data/docs/UpdateContactRequest.md +32 -0
- data/docs/UpdateConversationRequest.md +26 -0
- data/docs/UpdateDraftRequest.md +32 -0
- data/docs/UpdateEmailFolderRequest.md +18 -0
- data/docs/UpdateEmailRequest.md +26 -0
- data/docs/UpdateEmailResponse.md +20 -0
- data/docs/UpdateEventRequest.md +22 -0
- data/docs/UpdateFileRequest.md +22 -0
- data/docs/UpdateKeyBindingRequest.md +20 -0
- data/docs/UpdateMessageMetadataRequest.md +20 -0
- data/docs/UpdateNoteRequest.md +30 -0
- data/docs/UpdateOrganizationMemberRequest.md +18 -0
- data/docs/UpdateOrganizationRequest.md +22 -0
- data/docs/UpdatePATRequest.md +20 -0
- data/docs/UpdateParticipantStateRequest.md +22 -0
- data/docs/UpdatePresentationRequest.md +22 -0
- data/docs/UpdateRecommendationStatusRequest.md +18 -0
- data/docs/UpdateRecordRequest.md +22 -0
- data/docs/UpdateRecordTypeRequest.md +26 -0
- data/docs/UpdateRoutineRequest.md +26 -0
- data/docs/UpdateRowRequest.md +18 -0
- data/docs/UpdateSheetRequest.md +30 -0
- data/docs/UpdateSlideElementRequest.md +32 -0
- data/docs/UpdateSlideRequest.md +32 -0
- data/docs/UpdateTaskRequest.md +34 -0
- data/docs/UpdateWorkspaceMemberRequest.md +18 -0
- data/docs/UpdateWorkspaceRequest.md +24 -0
- data/docs/UploadChunkedBlockResponse.md +24 -0
- data/docs/UploadFileBase64Request.md +32 -0
- data/docs/UserInfoResponse.md +34 -0
- data/docs/ValidateKeyBindingRequest.md +22 -0
- data/docs/ValidateKeyBindingResponse.md +20 -0
- data/docs/Workspace.md +44 -0
- data/docs/WorkspaceEnvelope.md +18 -0
- data/docs/WorkspaceInvitation.md +34 -0
- data/docs/WorkspaceInvitationListResponse.md +18 -0
- data/docs/WorkspaceListResponse.md +20 -0
- data/docs/WorkspaceMember.md +30 -0
- data/docs/WorkspaceMemberListResponse.md +20 -0
- data/docs/WorkspaceOrganization.md +22 -0
- data/docs/WorkspacesApi.md +900 -0
- data/docs/WriteAppFileRequest.md +20 -0
- data/git_push.sh +57 -0
- data/lib/spatio-sdk/api/account_api.rb +703 -0
- data/lib/spatio-sdk/api/actions_api.rb +381 -0
- data/lib/spatio-sdk/api/agents_api.rb +824 -0
- data/lib/spatio-sdk/api/apps_api.rb +974 -0
- data/lib/spatio-sdk/api/calendar_api.rb +1015 -0
- data/lib/spatio-sdk/api/calls_api.rb +2016 -0
- data/lib/spatio-sdk/api/channels_api.rb +1165 -0
- data/lib/spatio-sdk/api/connections_api.rb +695 -0
- data/lib/spatio-sdk/api/contacts_api.rb +801 -0
- data/lib/spatio-sdk/api/conversations_api.rb +612 -0
- data/lib/spatio-sdk/api/direct_messages_api.rb +2167 -0
- data/lib/spatio-sdk/api/files_api.rb +2518 -0
- data/lib/spatio-sdk/api/folders_api.rb +409 -0
- data/lib/spatio-sdk/api/inbox_api.rb +403 -0
- data/lib/spatio-sdk/api/keybindings_api.rb +386 -0
- data/lib/spatio-sdk/api/logos_api.rb +210 -0
- data/lib/spatio-sdk/api/mail_api.rb +3780 -0
- data/lib/spatio-sdk/api/misc_api.rb +1100 -0
- data/lib/spatio-sdk/api/models_api.rb +456 -0
- data/lib/spatio-sdk/api/native_dm_api.rb +1396 -0
- data/lib/spatio-sdk/api/navigation_api.rb +77 -0
- data/lib/spatio-sdk/api/notes_api.rb +2418 -0
- data/lib/spatio-sdk/api/notifications_api.rb +143 -0
- data/lib/spatio-sdk/api/o_auth_api.rb +714 -0
- data/lib/spatio-sdk/api/organizations_api.rb +1913 -0
- data/lib/spatio-sdk/api/personal_access_tokens_api.rb +625 -0
- data/lib/spatio-sdk/api/platforms_api.rb +981 -0
- data/lib/spatio-sdk/api/realtime_api.rb +86 -0
- data/lib/spatio-sdk/api/recommendations_api.rb +346 -0
- data/lib/spatio-sdk/api/records_api.rb +550 -0
- data/lib/spatio-sdk/api/repo_api.rb +2167 -0
- data/lib/spatio-sdk/api/resources_api.rb +240 -0
- data/lib/spatio-sdk/api/routines_api.rb +670 -0
- data/lib/spatio-sdk/api/search_api.rb +90 -0
- data/lib/spatio-sdk/api/settings_api.rb +706 -0
- data/lib/spatio-sdk/api/sheets_api.rb +817 -0
- data/lib/spatio-sdk/api/slides_api.rb +1692 -0
- data/lib/spatio-sdk/api/tasks_api.rb +1787 -0
- data/lib/spatio-sdk/api/terminal_api.rb +337 -0
- data/lib/spatio-sdk/api/workspaces_api.rb +876 -0
- data/lib/spatio-sdk/api_client.rb +441 -0
- data/lib/spatio-sdk/api_error.rb +58 -0
- data/lib/spatio-sdk/api_model_base.rb +88 -0
- data/lib/spatio-sdk/configuration.rb +393 -0
- data/lib/spatio-sdk/models/accept_organization_invitation_request.rb +164 -0
- data/lib/spatio-sdk/models/account_choice.rb +200 -0
- data/lib/spatio-sdk/models/account_error.rb +191 -0
- data/lib/spatio-sdk/models/account_list_response.rb +171 -0
- data/lib/spatio-sdk/models/account_plan.rb +228 -0
- data/lib/spatio-sdk/models/account_status.rb +273 -0
- data/lib/spatio-sdk/models/account_tier_details.rb +291 -0
- data/lib/spatio-sdk/models/account_usage.rb +229 -0
- data/lib/spatio-sdk/models/action_descriptor.rb +230 -0
- data/lib/spatio-sdk/models/add_organization_member_request.rb +216 -0
- data/lib/spatio-sdk/models/add_workspace_member_request.rb +214 -0
- data/lib/spatio-sdk/models/agent.rb +268 -0
- data/lib/spatio-sdk/models/agent_conversation.rb +212 -0
- data/lib/spatio-sdk/models/agent_conversation_list_response.rb +175 -0
- data/lib/spatio-sdk/models/agent_list_response.rb +179 -0
- data/lib/spatio-sdk/models/agent_message.rb +228 -0
- data/lib/spatio-sdk/models/agent_message_list_response.rb +175 -0
- data/lib/spatio-sdk/models/agent_session_context.rb +185 -0
- data/lib/spatio-sdk/models/agent_task_usage.rb +204 -0
- data/lib/spatio-sdk/models/ambiguous_account_error.rb +194 -0
- data/lib/spatio-sdk/models/api_error.rb +176 -0
- data/lib/spatio-sdk/models/app.rb +228 -0
- data/lib/spatio-sdk/models/app_file_content_response.rb +173 -0
- data/lib/spatio-sdk/models/app_file_list_response.rb +152 -0
- data/lib/spatio-sdk/models/app_list_response.rb +161 -0
- data/lib/spatio-sdk/models/assign_contact_category_request.rb +164 -0
- data/lib/spatio-sdk/models/attachment.rb +217 -0
- data/lib/spatio-sdk/models/attachment_input.rb +227 -0
- data/lib/spatio-sdk/models/attachment_meta.rb +243 -0
- data/lib/spatio-sdk/models/attendee.rb +292 -0
- data/lib/spatio-sdk/models/attendee_role.rb +41 -0
- data/lib/spatio-sdk/models/attendee_status.rb +42 -0
- data/lib/spatio-sdk/models/block.rb +390 -0
- data/lib/spatio-sdk/models/block_content.rb +252 -0
- data/lib/spatio-sdk/models/block_list_response.rb +193 -0
- data/lib/spatio-sdk/models/block_type.rb +61 -0
- data/lib/spatio-sdk/models/bulk_archive_request.rb +175 -0
- data/lib/spatio-sdk/models/bulk_archive_response.rb +222 -0
- data/lib/spatio-sdk/models/bulk_archive_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_delete_emails_request.rb +185 -0
- data/lib/spatio-sdk/models/bulk_delete_emails_response.rb +221 -0
- data/lib/spatio-sdk/models/bulk_delete_files_request.rb +180 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_request.rb +181 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_response.rb +247 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_files_response.rb +247 -0
- data/lib/spatio-sdk/models/bulk_files_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_mark_read_request.rb +187 -0
- data/lib/spatio-sdk/models/bulk_mark_read_response.rb +194 -0
- data/lib/spatio-sdk/models/bulk_mark_read_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_move_files_request.rb +191 -0
- data/lib/spatio-sdk/models/bulk_update_tasks_request.rb +213 -0
- data/lib/spatio-sdk/models/bulk_update_tasks_response.rb +246 -0
- data/lib/spatio-sdk/models/calendar_account_error.rb +242 -0
- data/lib/spatio-sdk/models/calendar_capabilities_response.rb +219 -0
- data/lib/spatio-sdk/models/calendar_operation_result.rb +198 -0
- data/lib/spatio-sdk/models/calendar_provider_info.rb +220 -0
- data/lib/spatio-sdk/models/calendar_providers_info.rb +167 -0
- data/lib/spatio-sdk/models/calendar_sync_response.rb +222 -0
- data/lib/spatio-sdk/models/call_list_response.rb +161 -0
- data/lib/spatio-sdk/models/call_recording.rb +222 -0
- data/lib/spatio-sdk/models/call_recording_list_response.rb +152 -0
- data/lib/spatio-sdk/models/cell.rb +204 -0
- data/lib/spatio-sdk/models/change_password_request.rb +174 -0
- data/lib/spatio-sdk/models/channel.rb +325 -0
- data/lib/spatio-sdk/models/channel_membership_request.rb +148 -0
- data/lib/spatio-sdk/models/chat_action_definition.rb +278 -0
- data/lib/spatio-sdk/models/chat_actions_list.rb +166 -0
- data/lib/spatio-sdk/models/chat_message.rb +317 -0
- data/lib/spatio-sdk/models/chat_user.rb +287 -0
- data/lib/spatio-sdk/models/chunked_file_manifest.rb +324 -0
- data/lib/spatio-sdk/models/client_registration_request.rb +314 -0
- data/lib/spatio-sdk/models/client_registration_response.rb +329 -0
- data/lib/spatio-sdk/models/comment.rb +315 -0
- data/lib/spatio-sdk/models/comment_author.rb +226 -0
- data/lib/spatio-sdk/models/comment_list_response.rb +192 -0
- data/lib/spatio-sdk/models/comment_mutation_response.rb +191 -0
- data/lib/spatio-sdk/models/comment_response.rb +165 -0
- data/lib/spatio-sdk/models/commit_chunked_upload_request.rb +164 -0
- data/lib/spatio-sdk/models/commit_chunked_upload_response.rb +313 -0
- data/lib/spatio-sdk/models/conference_data.rb +229 -0
- data/lib/spatio-sdk/models/connected_app_item.rb +308 -0
- data/lib/spatio-sdk/models/connected_apps_list_response.rb +166 -0
- data/lib/spatio-sdk/models/connection_account_list_response.rb +172 -0
- data/lib/spatio-sdk/models/connection_list_response.rb +177 -0
- data/lib/spatio-sdk/models/consume_agent_task_response.rb +204 -0
- data/lib/spatio-sdk/models/contact.rb +294 -0
- data/lib/spatio-sdk/models/contact_category.rb +217 -0
- data/lib/spatio-sdk/models/contact_category_list_response.rb +152 -0
- data/lib/spatio-sdk/models/contact_list_response.rb +184 -0
- data/lib/spatio-sdk/models/contact_provider.rb +217 -0
- data/lib/spatio-sdk/models/contact_provider_list_response.rb +166 -0
- data/lib/spatio-sdk/models/conversation.rb +314 -0
- data/lib/spatio-sdk/models/conversation_message.rb +246 -0
- data/lib/spatio-sdk/models/core_action.rb +221 -0
- data/lib/spatio-sdk/models/core_action_list_response.rb +161 -0
- data/lib/spatio-sdk/models/create_agent_conversation_request.rb +167 -0
- data/lib/spatio-sdk/models/create_agent_message_request.rb +201 -0
- data/lib/spatio-sdk/models/create_agent_request.rb +222 -0
- data/lib/spatio-sdk/models/create_app_request.rb +200 -0
- data/lib/spatio-sdk/models/create_block_request.rb +260 -0
- data/lib/spatio-sdk/models/create_calendar_event201_response.rb +202 -0
- data/lib/spatio-sdk/models/create_call_request.rb +176 -0
- data/lib/spatio-sdk/models/create_channel_request.rb +191 -0
- data/lib/spatio-sdk/models/create_channel_response.rb +190 -0
- data/lib/spatio-sdk/models/create_comment_request.rb +177 -0
- data/lib/spatio-sdk/models/create_contact_category_request.rb +182 -0
- data/lib/spatio-sdk/models/create_contact_request.rb +212 -0
- data/lib/spatio-sdk/models/create_conversation_request.rb +185 -0
- data/lib/spatio-sdk/models/create_draft_request.rb +248 -0
- data/lib/spatio-sdk/models/create_email_folder_request.rb +173 -0
- data/lib/spatio-sdk/models/create_event_request.rb +254 -0
- data/lib/spatio-sdk/models/create_folder_request.rb +201 -0
- data/lib/spatio-sdk/models/create_label_request.rb +200 -0
- data/lib/spatio-sdk/models/create_label_response.rb +190 -0
- data/lib/spatio-sdk/models/create_meeting_room_request.rb +173 -0
- data/lib/spatio-sdk/models/create_note400_response.rb +104 -0
- data/lib/spatio-sdk/models/create_note_request.rb +232 -0
- data/lib/spatio-sdk/models/create_organization_invitation_request.rb +224 -0
- data/lib/spatio-sdk/models/create_organization_request.rb +211 -0
- data/lib/spatio-sdk/models/create_pat_request.rb +202 -0
- data/lib/spatio-sdk/models/create_pat_response.rb +174 -0
- data/lib/spatio-sdk/models/create_presentation_request.rb +200 -0
- data/lib/spatio-sdk/models/create_record_request.rb +204 -0
- data/lib/spatio-sdk/models/create_record_type_request.rb +211 -0
- data/lib/spatio-sdk/models/create_routine_request.rb +204 -0
- data/lib/spatio-sdk/models/create_row_request.rb +176 -0
- data/lib/spatio-sdk/models/create_sheet_request.rb +222 -0
- data/lib/spatio-sdk/models/create_slide_element_request.rb +229 -0
- data/lib/spatio-sdk/models/create_slide_request.rb +220 -0
- data/lib/spatio-sdk/models/create_task_request.rb +322 -0
- data/lib/spatio-sdk/models/create_workspace_invitation_request.rb +214 -0
- data/lib/spatio-sdk/models/create_workspace_request.rb +191 -0
- data/lib/spatio-sdk/models/disconnect_connection_request.rb +173 -0
- data/lib/spatio-sdk/models/discovery_document.rb +404 -0
- data/lib/spatio-sdk/models/dm_attach_request.rb +254 -0
- data/lib/spatio-sdk/models/dm_forward_request.rb +166 -0
- data/lib/spatio-sdk/models/dm_mark_read_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_message_envelope.rb +165 -0
- data/lib/spatio-sdk/models/dm_mute_request.rb +166 -0
- data/lib/spatio-sdk/models/dm_mute_response.rb +148 -0
- data/lib/spatio-sdk/models/dm_pinned_list.rb +149 -0
- data/lib/spatio-sdk/models/dm_reaction_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_reaction_response.rb +150 -0
- data/lib/spatio-sdk/models/dm_search_results.rb +149 -0
- data/lib/spatio-sdk/models/dm_set_draft_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_thread_reply_request.rb +173 -0
- data/lib/spatio-sdk/models/download_file_response.rb +191 -0
- data/lib/spatio-sdk/models/draft.rb +339 -0
- data/lib/spatio-sdk/models/draft_response.rb +190 -0
- data/lib/spatio-sdk/models/email.rb +488 -0
- data/lib/spatio-sdk/models/email_folder.rb +202 -0
- data/lib/spatio-sdk/models/email_folder_list_response.rb +152 -0
- data/lib/spatio-sdk/models/enable_share_request.rb +157 -0
- data/lib/spatio-sdk/models/execute_action_request.rb +185 -0
- data/lib/spatio-sdk/models/execute_action_response.rb +168 -0
- data/lib/spatio-sdk/models/execute_chat_action_request.rb +175 -0
- data/lib/spatio-sdk/models/execute_chat_action_response.rb +175 -0
- data/lib/spatio-sdk/models/export_pdf_request.rb +162 -0
- data/lib/spatio-sdk/models/export_pdf_request_rasterized_slides_inner.rb +191 -0
- data/lib/spatio-sdk/models/export_pdfr2_response.rb +269 -0
- data/lib/spatio-sdk/models/extract_text_result.rb +212 -0
- data/lib/spatio-sdk/models/federated_search200_response.rb +270 -0
- data/lib/spatio-sdk/models/federated_search200_response_items_inner.rb +237 -0
- data/lib/spatio-sdk/models/federated_search200_response_per_platform_value.rb +156 -0
- data/lib/spatio-sdk/models/federated_search_request.rb +276 -0
- data/lib/spatio-sdk/models/file_list_envelope.rb +181 -0
- data/lib/spatio-sdk/models/files_and_folders_response.rb +235 -0
- data/lib/spatio-sdk/models/folder.rb +297 -0
- data/lib/spatio-sdk/models/folder_list_envelope.rb +181 -0
- data/lib/spatio-sdk/models/get_chat_user_response.rb +190 -0
- data/lib/spatio-sdk/models/get_domain_logo200_response.rb +190 -0
- data/lib/spatio-sdk/models/get_email_response.rb +190 -0
- data/lib/spatio-sdk/models/get_thread_response.rb +190 -0
- data/lib/spatio-sdk/models/inbox_counts.rb +216 -0
- data/lib/spatio-sdk/models/inbox_item.rb +275 -0
- data/lib/spatio-sdk/models/inbox_list_response.rb +218 -0
- data/lib/spatio-sdk/models/init_chunked_upload_request.rb +273 -0
- data/lib/spatio-sdk/models/init_chunked_upload_response.rb +273 -0
- data/lib/spatio-sdk/models/install_connection_request.rb +184 -0
- data/lib/spatio-sdk/models/introspection_response.rb +219 -0
- data/lib/spatio-sdk/models/issue_collaboration_token200_response.rb +254 -0
- data/lib/spatio-sdk/models/issue_collaboration_token_request.rb +148 -0
- data/lib/spatio-sdk/models/jwk.rb +297 -0
- data/lib/spatio-sdk/models/jwks.rb +166 -0
- data/lib/spatio-sdk/models/key_binding.rb +276 -0
- data/lib/spatio-sdk/models/key_binding_list_response.rb +166 -0
- data/lib/spatio-sdk/models/label.rb +244 -0
- data/lib/spatio-sdk/models/label_color.rb +190 -0
- data/lib/spatio-sdk/models/link_repo_task_request.rb +164 -0
- data/lib/spatio-sdk/models/list_calendar_events200_response.rb +202 -0
- data/lib/spatio-sdk/models/list_channels_response.rb +212 -0
- data/lib/spatio-sdk/models/list_chat_users_response.rb +211 -0
- data/lib/spatio-sdk/models/list_drafts_response.rb +227 -0
- data/lib/spatio-sdk/models/list_emails_response.rb +213 -0
- data/lib/spatio-sdk/models/list_events_data.rb +196 -0
- data/lib/spatio-sdk/models/list_labels_response.rb +192 -0
- data/lib/spatio-sdk/models/list_messages_response.rb +211 -0
- data/lib/spatio-sdk/models/meeting_room.rb +191 -0
- data/lib/spatio-sdk/models/move_block_request.rb +175 -0
- data/lib/spatio-sdk/models/move_emails_request.rb +166 -0
- data/lib/spatio-sdk/models/move_file_request.rb +149 -0
- data/lib/spatio-sdk/models/move_file_response.rb +164 -0
- data/lib/spatio-sdk/models/note.rb +380 -0
- data/lib/spatio-sdk/models/note_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/o_auth_error.rb +197 -0
- data/lib/spatio-sdk/models/organization.rb +346 -0
- data/lib/spatio-sdk/models/organization_detail_legacy.rb +377 -0
- data/lib/spatio-sdk/models/organization_invitation.rb +343 -0
- data/lib/spatio-sdk/models/organization_invitation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/organization_list_response.rb +166 -0
- data/lib/spatio-sdk/models/organization_member.rb +288 -0
- data/lib/spatio-sdk/models/organization_member_invited_by.rb +105 -0
- data/lib/spatio-sdk/models/organization_member_list_response.rb +192 -0
- data/lib/spatio-sdk/models/organization_workspaces_inner.rb +216 -0
- data/lib/spatio-sdk/models/password_required_error.rb +218 -0
- data/lib/spatio-sdk/models/pat_list_response.rb +177 -0
- data/lib/spatio-sdk/models/pat_scopes_response.rb +166 -0
- data/lib/spatio-sdk/models/personal_access_token.rb +241 -0
- data/lib/spatio-sdk/models/preconfigured_agent.rb +236 -0
- data/lib/spatio-sdk/models/presentation.rb +308 -0
- data/lib/spatio-sdk/models/presentation_list_envelope.rb +194 -0
- data/lib/spatio-sdk/models/propose_recommendation_request.rb +211 -0
- data/lib/spatio-sdk/models/public_invitation_payload.rb +365 -0
- data/lib/spatio-sdk/models/quota_exceeded_error.rb +183 -0
- data/lib/spatio-sdk/models/recommendation.rb +300 -0
- data/lib/spatio-sdk/models/recommendation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/record.rb +231 -0
- data/lib/spatio-sdk/models/record_list_response.rb +184 -0
- data/lib/spatio-sdk/models/record_type.rb +256 -0
- data/lib/spatio-sdk/models/record_type_list_response.rb +166 -0
- data/lib/spatio-sdk/models/refresh_connection_request.rb +173 -0
- data/lib/spatio-sdk/models/reminder.rb +213 -0
- data/lib/spatio-sdk/models/reminder_method.rb +42 -0
- data/lib/spatio-sdk/models/reply_email_request.rb +227 -0
- data/lib/spatio-sdk/models/revoke_other_sessions_response.rb +148 -0
- data/lib/spatio-sdk/models/rich_text_object.rb +216 -0
- data/lib/spatio-sdk/models/routine.rb +240 -0
- data/lib/spatio-sdk/models/routine_list_response.rb +166 -0
- data/lib/spatio-sdk/models/routine_run.rb +221 -0
- data/lib/spatio-sdk/models/routine_run_complete_request.rb +158 -0
- data/lib/spatio-sdk/models/routine_run_list_response.rb +166 -0
- data/lib/spatio-sdk/models/routine_run_progress_request.rb +158 -0
- data/lib/spatio-sdk/models/row.rb +194 -0
- data/lib/spatio-sdk/models/row_list.rb +192 -0
- data/lib/spatio-sdk/models/save_message_request.rb +201 -0
- data/lib/spatio-sdk/models/search_emails_response.rb +212 -0
- data/lib/spatio-sdk/models/search_files_response.rb +229 -0
- data/lib/spatio-sdk/models/send_chat_message_request.rb +221 -0
- data/lib/spatio-sdk/models/send_chat_message_response.rb +243 -0
- data/lib/spatio-sdk/models/send_email_request.rb +289 -0
- data/lib/spatio-sdk/models/send_email_response.rb +234 -0
- data/lib/spatio-sdk/models/session.rb +254 -0
- data/lib/spatio-sdk/models/session_list_response.rb +166 -0
- data/lib/spatio-sdk/models/share_settings.rb +221 -0
- data/lib/spatio-sdk/models/sheet.rb +446 -0
- data/lib/spatio-sdk/models/sheet_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/sign_in_methods.rb +201 -0
- data/lib/spatio-sdk/models/sign_in_methods_providers_inner.rb +193 -0
- data/lib/spatio-sdk/models/slide.rb +370 -0
- data/lib/spatio-sdk/models/slide_element.rb +455 -0
- data/lib/spatio-sdk/models/slide_element_list.rb +192 -0
- data/lib/spatio-sdk/models/slide_list.rb +192 -0
- data/lib/spatio-sdk/models/spatio_call.rb +259 -0
- data/lib/spatio-sdk/models/spatio_connection.rb +260 -0
- data/lib/spatio-sdk/models/spatio_event.rb +686 -0
- data/lib/spatio-sdk/models/spatio_file.rb +372 -0
- data/lib/spatio-sdk/models/spatio_thread.rb +212 -0
- data/lib/spatio-sdk/models/success_flag.rb +165 -0
- data/lib/spatio-sdk/models/task.rb +471 -0
- data/lib/spatio-sdk/models/task_comment.rb +294 -0
- data/lib/spatio-sdk/models/task_comment_author.rb +226 -0
- data/lib/spatio-sdk/models/task_comment_list.rb +192 -0
- data/lib/spatio-sdk/models/task_comment_mutation_response.rb +190 -0
- data/lib/spatio-sdk/models/task_comment_request.rb +164 -0
- data/lib/spatio-sdk/models/task_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/task_providers_info.rb +194 -0
- data/lib/spatio-sdk/models/task_providers_info_platform.rb +190 -0
- data/lib/spatio-sdk/models/text_annotations.rb +278 -0
- data/lib/spatio-sdk/models/token_response.rb +246 -0
- data/lib/spatio-sdk/models/update_account_request.rb +158 -0
- data/lib/spatio-sdk/models/update_agent_request.rb +205 -0
- data/lib/spatio-sdk/models/update_app_request.rb +174 -0
- data/lib/spatio-sdk/models/update_block_request.rb +168 -0
- data/lib/spatio-sdk/models/update_cell_request.rb +151 -0
- data/lib/spatio-sdk/models/update_comment_request.rb +157 -0
- data/lib/spatio-sdk/models/update_contact_category_request.rb +165 -0
- data/lib/spatio-sdk/models/update_contact_request.rb +212 -0
- data/lib/spatio-sdk/models/update_conversation_request.rb +183 -0
- data/lib/spatio-sdk/models/update_draft_request.rb +219 -0
- data/lib/spatio-sdk/models/update_email_folder_request.rb +147 -0
- data/lib/spatio-sdk/models/update_email_request.rb +188 -0
- data/lib/spatio-sdk/models/update_email_response.rb +190 -0
- data/lib/spatio-sdk/models/update_event_request.rb +236 -0
- data/lib/spatio-sdk/models/update_file_request.rb +169 -0
- data/lib/spatio-sdk/models/update_key_binding_request.rb +175 -0
- data/lib/spatio-sdk/models/update_message_metadata_request.rb +175 -0
- data/lib/spatio-sdk/models/update_note_request.rb +205 -0
- data/lib/spatio-sdk/models/update_organization_member_request.rb +188 -0
- data/lib/spatio-sdk/models/update_organization_request.rb +166 -0
- data/lib/spatio-sdk/models/update_participant_state_request.rb +166 -0
- data/lib/spatio-sdk/models/update_pat_request.rb +156 -0
- data/lib/spatio-sdk/models/update_presentation_request.rb +166 -0
- data/lib/spatio-sdk/models/update_recommendation_status_request.rb +188 -0
- data/lib/spatio-sdk/models/update_record_request.rb +169 -0
- data/lib/spatio-sdk/models/update_record_type_request.rb +185 -0
- data/lib/spatio-sdk/models/update_routine_request.rb +187 -0
- data/lib/spatio-sdk/models/update_row_request.rb +167 -0
- data/lib/spatio-sdk/models/update_sheet_request.rb +205 -0
- data/lib/spatio-sdk/models/update_slide_element_request.rb +213 -0
- data/lib/spatio-sdk/models/update_slide_request.rb +211 -0
- data/lib/spatio-sdk/models/update_task_request.rb +260 -0
- data/lib/spatio-sdk/models/update_workspace_member_request.rb +188 -0
- data/lib/spatio-sdk/models/update_workspace_request.rb +176 -0
- data/lib/spatio-sdk/models/upload_chunked_block_response.rb +243 -0
- data/lib/spatio-sdk/models/upload_file_base64_request.rb +265 -0
- data/lib/spatio-sdk/models/user_info_response.rb +237 -0
- data/lib/spatio-sdk/models/validate_key_binding_request.rb +201 -0
- data/lib/spatio-sdk/models/validate_key_binding_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace.rb +321 -0
- data/lib/spatio-sdk/models/workspace_envelope.rb +164 -0
- data/lib/spatio-sdk/models/workspace_invitation.rb +324 -0
- data/lib/spatio-sdk/models/workspace_invitation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/workspace_list_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace_member.rb +278 -0
- data/lib/spatio-sdk/models/workspace_member_list_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace_organization.rb +166 -0
- data/lib/spatio-sdk/models/write_app_file_request.rb +190 -0
- data/lib/spatio-sdk/version.rb +15 -0
- data/lib/spatio-sdk.rb +408 -0
- data/spatio-sdk.gemspec +41 -0
- data/spec/api/account_api_spec.rb +158 -0
- data/spec/api/actions_api_spec.rb +99 -0
- data/spec/api/agents_api_spec.rb +176 -0
- data/spec/api/apps_api_spec.rb +198 -0
- data/spec/api/calendar_api_spec.rb +217 -0
- data/spec/api/calls_api_spec.rb +378 -0
- data/spec/api/channels_api_spec.rb +236 -0
- data/spec/api/connections_api_spec.rb +154 -0
- data/spec/api/contacts_api_spec.rb +172 -0
- data/spec/api/conversations_api_spec.rb +140 -0
- data/spec/api/direct_messages_api_spec.rb +420 -0
- data/spec/api/files_api_spec.rb +494 -0
- data/spec/api/folders_api_spec.rb +102 -0
- data/spec/api/inbox_api_spec.rb +103 -0
- data/spec/api/keybindings_api_spec.rb +99 -0
- data/spec/api/logos_api_spec.rb +68 -0
- data/spec/api/mail_api_spec.rb +701 -0
- data/spec/api/misc_api_spec.rb +228 -0
- data/spec/api/models_api_spec.rb +112 -0
- data/spec/api/native_dm_api_spec.rb +276 -0
- data/spec/api/navigation_api_spec.rb +45 -0
- data/spec/api/notes_api_spec.rb +474 -0
- data/spec/api/notifications_api_spec.rb +56 -0
- data/spec/api/o_auth_api_spec.rb +161 -0
- data/spec/api/organizations_api_spec.rb +367 -0
- data/spec/api/personal_access_tokens_api_spec.rb +137 -0
- data/spec/api/platforms_api_spec.rb +204 -0
- data/spec/api/realtime_api_spec.rb +47 -0
- data/spec/api/recommendations_api_spec.rb +93 -0
- data/spec/api/records_api_spec.rb +127 -0
- data/spec/api/repo_api_spec.rb +402 -0
- data/spec/api/resources_api_spec.rb +73 -0
- data/spec/api/routines_api_spec.rb +149 -0
- data/spec/api/search_api_spec.rb +47 -0
- data/spec/api/settings_api_spec.rb +154 -0
- data/spec/api/sheets_api_spec.rb +184 -0
- data/spec/api/slides_api_spec.rb +355 -0
- data/spec/api/tasks_api_spec.rb +355 -0
- data/spec/api/terminal_api_spec.rb +90 -0
- data/spec/api/workspaces_api_spec.rb +184 -0
- data/spec/models/accept_organization_invitation_request_spec.rb +36 -0
- data/spec/models/account_choice_spec.rb +48 -0
- data/spec/models/account_error_spec.rb +42 -0
- data/spec/models/account_list_response_spec.rb +48 -0
- data/spec/models/account_plan_spec.rb +54 -0
- data/spec/models/account_status_spec.rb +70 -0
- data/spec/models/account_tier_details_spec.rb +120 -0
- data/spec/models/account_usage_spec.rb +78 -0
- data/spec/models/action_descriptor_spec.rb +78 -0
- data/spec/models/add_organization_member_request_spec.rb +52 -0
- data/spec/models/add_workspace_member_request_spec.rb +46 -0
- data/spec/models/agent_conversation_list_response_spec.rb +42 -0
- data/spec/models/agent_conversation_spec.rb +66 -0
- data/spec/models/agent_list_response_spec.rb +54 -0
- data/spec/models/agent_message_list_response_spec.rb +42 -0
- data/spec/models/agent_message_spec.rb +66 -0
- data/spec/models/agent_session_context_spec.rb +54 -0
- data/spec/models/agent_spec.rb +102 -0
- data/spec/models/agent_task_usage_spec.rb +60 -0
- data/spec/models/ambiguous_account_error_spec.rb +48 -0
- data/spec/models/api_error_spec.rb +42 -0
- data/spec/models/app_file_content_response_spec.rb +42 -0
- data/spec/models/app_file_list_response_spec.rb +36 -0
- data/spec/models/app_list_response_spec.rb +42 -0
- data/spec/models/app_spec.rb +78 -0
- data/spec/models/assign_contact_category_request_spec.rb +36 -0
- data/spec/models/attachment_input_spec.rb +54 -0
- data/spec/models/attachment_meta_spec.rb +54 -0
- data/spec/models/attachment_spec.rb +60 -0
- data/spec/models/attendee_role_spec.rb +30 -0
- data/spec/models/attendee_spec.rb +72 -0
- data/spec/models/attendee_status_spec.rb +30 -0
- data/spec/models/block_content_spec.rb +96 -0
- data/spec/models/block_list_response_spec.rb +42 -0
- data/spec/models/block_spec.rb +90 -0
- data/spec/models/block_type_spec.rb +30 -0
- data/spec/models/bulk_archive_request_spec.rb +42 -0
- data/spec/models/bulk_archive_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_archive_response_spec.rb +48 -0
- data/spec/models/bulk_delete_emails_request_spec.rb +48 -0
- data/spec/models/bulk_delete_emails_response_spec.rb +48 -0
- data/spec/models/bulk_delete_files_request_spec.rb +54 -0
- data/spec/models/bulk_delete_tasks_request_spec.rb +54 -0
- data/spec/models/bulk_delete_tasks_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_delete_tasks_response_spec.rb +54 -0
- data/spec/models/bulk_files_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_files_response_spec.rb +54 -0
- data/spec/models/bulk_mark_read_request_spec.rb +48 -0
- data/spec/models/bulk_mark_read_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_mark_read_response_spec.rb +42 -0
- data/spec/models/bulk_move_files_request_spec.rb +60 -0
- data/spec/models/bulk_update_tasks_request_spec.rb +54 -0
- data/spec/models/bulk_update_tasks_response_spec.rb +54 -0
- data/spec/models/calendar_account_error_spec.rb +54 -0
- data/spec/models/calendar_capabilities_response_spec.rb +48 -0
- data/spec/models/calendar_operation_result_spec.rb +54 -0
- data/spec/models/calendar_provider_info_spec.rb +60 -0
- data/spec/models/calendar_providers_info_spec.rb +36 -0
- data/spec/models/calendar_sync_response_spec.rb +60 -0
- data/spec/models/call_list_response_spec.rb +42 -0
- data/spec/models/call_recording_list_response_spec.rb +36 -0
- data/spec/models/call_recording_spec.rb +72 -0
- data/spec/models/cell_spec.rb +48 -0
- data/spec/models/change_password_request_spec.rb +42 -0
- data/spec/models/channel_membership_request_spec.rb +36 -0
- data/spec/models/channel_spec.rb +96 -0
- data/spec/models/chat_action_definition_spec.rb +84 -0
- data/spec/models/chat_actions_list_spec.rb +36 -0
- data/spec/models/chat_message_spec.rb +90 -0
- data/spec/models/chat_user_spec.rb +84 -0
- data/spec/models/chunked_file_manifest_spec.rb +84 -0
- data/spec/models/client_registration_request_spec.rb +94 -0
- data/spec/models/client_registration_response_spec.rb +96 -0
- data/spec/models/comment_author_spec.rb +54 -0
- data/spec/models/comment_list_response_spec.rb +42 -0
- data/spec/models/comment_mutation_response_spec.rb +42 -0
- data/spec/models/comment_response_spec.rb +36 -0
- data/spec/models/comment_spec.rb +78 -0
- data/spec/models/commit_chunked_upload_request_spec.rb +36 -0
- data/spec/models/commit_chunked_upload_response_spec.rb +90 -0
- data/spec/models/conference_data_spec.rb +66 -0
- data/spec/models/connected_app_item_spec.rb +84 -0
- data/spec/models/connected_apps_list_response_spec.rb +36 -0
- data/spec/models/connection_account_list_response_spec.rb +48 -0
- data/spec/models/connection_list_response_spec.rb +42 -0
- data/spec/models/consume_agent_task_response_spec.rb +60 -0
- data/spec/models/contact_category_list_response_spec.rb +36 -0
- data/spec/models/contact_category_spec.rb +60 -0
- data/spec/models/contact_list_response_spec.rb +48 -0
- data/spec/models/contact_provider_list_response_spec.rb +36 -0
- data/spec/models/contact_provider_spec.rb +60 -0
- data/spec/models/contact_spec.rb +120 -0
- data/spec/models/conversation_message_spec.rb +66 -0
- data/spec/models/conversation_spec.rb +108 -0
- data/spec/models/core_action_list_response_spec.rb +42 -0
- data/spec/models/core_action_spec.rb +72 -0
- data/spec/models/create_agent_conversation_request_spec.rb +48 -0
- data/spec/models/create_agent_message_request_spec.rb +48 -0
- data/spec/models/create_agent_request_spec.rb +72 -0
- data/spec/models/create_app_request_spec.rb +60 -0
- data/spec/models/create_block_request_spec.rb +60 -0
- data/spec/models/create_calendar_event201_response_spec.rb +54 -0
- data/spec/models/create_call_request_spec.rb +54 -0
- data/spec/models/create_channel_request_spec.rb +54 -0
- data/spec/models/create_channel_response_spec.rb +42 -0
- data/spec/models/create_comment_request_spec.rb +54 -0
- data/spec/models/create_contact_category_request_spec.rb +48 -0
- data/spec/models/create_contact_request_spec.rb +78 -0
- data/spec/models/create_conversation_request_spec.rb +60 -0
- data/spec/models/create_draft_request_spec.rb +96 -0
- data/spec/models/create_email_folder_request_spec.rb +42 -0
- data/spec/models/create_event_request_spec.rb +64 -0
- data/spec/models/create_folder_request_spec.rb +60 -0
- data/spec/models/create_label_request_spec.rb +60 -0
- data/spec/models/create_label_response_spec.rb +42 -0
- data/spec/models/create_meeting_room_request_spec.rb +42 -0
- data/spec/models/create_note400_response_spec.rb +32 -0
- data/spec/models/create_note_request_spec.rb +78 -0
- data/spec/models/create_organization_invitation_request_spec.rb +52 -0
- data/spec/models/create_organization_request_spec.rb +66 -0
- data/spec/models/create_pat_request_spec.rb +60 -0
- data/spec/models/create_pat_response_spec.rb +42 -0
- data/spec/models/create_presentation_request_spec.rb +60 -0
- data/spec/models/create_record_request_spec.rb +60 -0
- data/spec/models/create_record_type_request_spec.rb +66 -0
- data/spec/models/create_routine_request_spec.rb +60 -0
- data/spec/models/create_row_request_spec.rb +42 -0
- data/spec/models/create_sheet_request_spec.rb +72 -0
- data/spec/models/create_slide_element_request_spec.rb +78 -0
- data/spec/models/create_slide_request_spec.rb +84 -0
- data/spec/models/create_task_request_spec.rb +118 -0
- data/spec/models/create_workspace_invitation_request_spec.rb +46 -0
- data/spec/models/create_workspace_request_spec.rb +54 -0
- data/spec/models/disconnect_connection_request_spec.rb +42 -0
- data/spec/models/discovery_document_spec.rb +138 -0
- data/spec/models/dm_attach_request_spec.rb +84 -0
- data/spec/models/dm_forward_request_spec.rb +48 -0
- data/spec/models/dm_mark_read_request_spec.rb +42 -0
- data/spec/models/dm_message_envelope_spec.rb +36 -0
- data/spec/models/dm_mute_request_spec.rb +48 -0
- data/spec/models/dm_mute_response_spec.rb +36 -0
- data/spec/models/dm_pinned_list_spec.rb +36 -0
- data/spec/models/dm_reaction_request_spec.rb +42 -0
- data/spec/models/dm_reaction_response_spec.rb +36 -0
- data/spec/models/dm_search_results_spec.rb +36 -0
- data/spec/models/dm_set_draft_request_spec.rb +42 -0
- data/spec/models/dm_thread_reply_request_spec.rb +42 -0
- data/spec/models/download_file_response_spec.rb +42 -0
- data/spec/models/draft_response_spec.rb +42 -0
- data/spec/models/draft_spec.rb +102 -0
- data/spec/models/email_folder_list_response_spec.rb +36 -0
- data/spec/models/email_folder_spec.rb +60 -0
- data/spec/models/email_spec.rb +150 -0
- data/spec/models/enable_share_request_spec.rb +42 -0
- data/spec/models/execute_action_request_spec.rb +48 -0
- data/spec/models/execute_action_response_spec.rb +48 -0
- data/spec/models/execute_chat_action_request_spec.rb +42 -0
- data/spec/models/execute_chat_action_response_spec.rb +42 -0
- data/spec/models/export_pdf_request_rasterized_slides_inner_spec.rb +42 -0
- data/spec/models/export_pdf_request_spec.rb +42 -0
- data/spec/models/export_pdfr2_response_spec.rb +58 -0
- data/spec/models/extract_text_result_spec.rb +54 -0
- data/spec/models/federated_search200_response_items_inner_spec.rb +96 -0
- data/spec/models/federated_search200_response_per_platform_value_spec.rb +42 -0
- data/spec/models/federated_search200_response_spec.rb +66 -0
- data/spec/models/federated_search_request_spec.rb +82 -0
- data/spec/models/file_list_envelope_spec.rb +42 -0
- data/spec/models/files_and_folders_response_spec.rb +66 -0
- data/spec/models/folder_list_envelope_spec.rb +42 -0
- data/spec/models/folder_spec.rb +78 -0
- data/spec/models/get_chat_user_response_spec.rb +42 -0
- data/spec/models/get_domain_logo200_response_spec.rb +42 -0
- data/spec/models/get_email_response_spec.rb +42 -0
- data/spec/models/get_thread_response_spec.rb +42 -0
- data/spec/models/inbox_counts_spec.rb +48 -0
- data/spec/models/inbox_item_spec.rb +96 -0
- data/spec/models/inbox_list_response_spec.rb +48 -0
- data/spec/models/init_chunked_upload_request_spec.rb +72 -0
- data/spec/models/init_chunked_upload_response_spec.rb +60 -0
- data/spec/models/install_connection_request_spec.rb +48 -0
- data/spec/models/introspection_response_spec.rb +72 -0
- data/spec/models/issue_collaboration_token200_response_spec.rb +60 -0
- data/spec/models/issue_collaboration_token_request_spec.rb +36 -0
- data/spec/models/jwk_spec.rb +66 -0
- data/spec/models/jwks_spec.rb +36 -0
- data/spec/models/key_binding_list_response_spec.rb +36 -0
- data/spec/models/key_binding_spec.rb +96 -0
- data/spec/models/label_color_spec.rb +42 -0
- data/spec/models/label_spec.rb +66 -0
- data/spec/models/link_repo_task_request_spec.rb +36 -0
- data/spec/models/list_calendar_events200_response_spec.rb +54 -0
- data/spec/models/list_channels_response_spec.rb +54 -0
- data/spec/models/list_chat_users_response_spec.rb +54 -0
- data/spec/models/list_drafts_response_spec.rb +54 -0
- data/spec/models/list_emails_response_spec.rb +54 -0
- data/spec/models/list_events_data_spec.rb +54 -0
- data/spec/models/list_labels_response_spec.rb +42 -0
- data/spec/models/list_messages_response_spec.rb +54 -0
- data/spec/models/meeting_room_spec.rb +54 -0
- data/spec/models/move_block_request_spec.rb +42 -0
- data/spec/models/move_emails_request_spec.rb +36 -0
- data/spec/models/move_file_request_spec.rb +36 -0
- data/spec/models/move_file_response_spec.rb +36 -0
- data/spec/models/note_list_envelope_spec.rb +42 -0
- data/spec/models/note_spec.rb +114 -0
- data/spec/models/o_auth_error_spec.rb +46 -0
- data/spec/models/organization_detail_legacy_spec.rb +96 -0
- data/spec/models/organization_invitation_list_response_spec.rb +36 -0
- data/spec/models/organization_invitation_spec.rb +100 -0
- data/spec/models/organization_list_response_spec.rb +36 -0
- data/spec/models/organization_member_invited_by_spec.rb +32 -0
- data/spec/models/organization_member_list_response_spec.rb +42 -0
- data/spec/models/organization_member_spec.rb +70 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/organization_workspaces_inner_spec.rb +48 -0
- data/spec/models/password_required_error_spec.rb +54 -0
- data/spec/models/pat_list_response_spec.rb +42 -0
- data/spec/models/pat_scopes_response_spec.rb +36 -0
- data/spec/models/personal_access_token_spec.rb +84 -0
- data/spec/models/preconfigured_agent_spec.rb +72 -0
- data/spec/models/presentation_list_envelope_spec.rb +42 -0
- data/spec/models/presentation_spec.rb +96 -0
- data/spec/models/propose_recommendation_request_spec.rb +66 -0
- data/spec/models/public_invitation_payload_spec.rb +110 -0
- data/spec/models/quota_exceeded_error_spec.rb +42 -0
- data/spec/models/recommendation_list_response_spec.rb +36 -0
- data/spec/models/recommendation_spec.rb +100 -0
- data/spec/models/record_list_response_spec.rb +48 -0
- data/spec/models/record_spec.rb +78 -0
- data/spec/models/record_type_list_response_spec.rb +36 -0
- data/spec/models/record_type_spec.rb +84 -0
- data/spec/models/refresh_connection_request_spec.rb +42 -0
- data/spec/models/reminder_method_spec.rb +30 -0
- data/spec/models/reminder_spec.rb +42 -0
- data/spec/models/reply_email_request_spec.rb +72 -0
- data/spec/models/revoke_other_sessions_response_spec.rb +36 -0
- data/spec/models/rich_text_object_spec.rb +58 -0
- data/spec/models/routine_list_response_spec.rb +36 -0
- data/spec/models/routine_run_complete_request_spec.rb +42 -0
- data/spec/models/routine_run_list_response_spec.rb +36 -0
- data/spec/models/routine_run_progress_request_spec.rb +42 -0
- data/spec/models/routine_run_spec.rb +72 -0
- data/spec/models/routine_spec.rb +84 -0
- data/spec/models/row_list_spec.rb +42 -0
- data/spec/models/row_spec.rb +42 -0
- data/spec/models/save_message_request_spec.rb +48 -0
- data/spec/models/search_emails_response_spec.rb +54 -0
- data/spec/models/search_files_response_spec.rb +54 -0
- data/spec/models/send_chat_message_request_spec.rb +60 -0
- data/spec/models/send_chat_message_response_spec.rb +66 -0
- data/spec/models/send_email_request_spec.rb +90 -0
- data/spec/models/send_email_response_spec.rb +60 -0
- data/spec/models/session_list_response_spec.rb +36 -0
- data/spec/models/session_spec.rb +96 -0
- data/spec/models/share_settings_spec.rb +60 -0
- data/spec/models/sheet_list_envelope_spec.rb +42 -0
- data/spec/models/sheet_spec.rb +126 -0
- data/spec/models/sign_in_methods_providers_inner_spec.rb +54 -0
- data/spec/models/sign_in_methods_spec.rb +48 -0
- data/spec/models/slide_element_list_spec.rb +42 -0
- data/spec/models/slide_element_spec.rb +102 -0
- data/spec/models/slide_list_spec.rb +42 -0
- data/spec/models/slide_spec.rb +114 -0
- data/spec/models/spatio_call_spec.rb +96 -0
- data/spec/models/spatio_connection_spec.rb +96 -0
- data/spec/models/spatio_event_spec.rb +240 -0
- data/spec/models/spatio_file_spec.rb +102 -0
- data/spec/models/spatio_thread_spec.rb +54 -0
- data/spec/models/success_flag_spec.rb +36 -0
- data/spec/models/task_comment_author_spec.rb +54 -0
- data/spec/models/task_comment_list_spec.rb +42 -0
- data/spec/models/task_comment_mutation_response_spec.rb +42 -0
- data/spec/models/task_comment_request_spec.rb +36 -0
- data/spec/models/task_comment_spec.rb +66 -0
- data/spec/models/task_list_envelope_spec.rb +42 -0
- data/spec/models/task_providers_info_platform_spec.rb +42 -0
- data/spec/models/task_providers_info_spec.rb +42 -0
- data/spec/models/task_spec.rb +160 -0
- data/spec/models/text_annotations_spec.rb +66 -0
- data/spec/models/token_response_spec.rb +66 -0
- data/spec/models/update_account_request_spec.rb +42 -0
- data/spec/models/update_agent_request_spec.rb +72 -0
- data/spec/models/update_app_request_spec.rb +54 -0
- data/spec/models/update_block_request_spec.rb +48 -0
- data/spec/models/update_cell_request_spec.rb +36 -0
- data/spec/models/update_comment_request_spec.rb +42 -0
- data/spec/models/update_contact_category_request_spec.rb +48 -0
- data/spec/models/update_contact_request_spec.rb +78 -0
- data/spec/models/update_conversation_request_spec.rb +60 -0
- data/spec/models/update_draft_request_spec.rb +78 -0
- data/spec/models/update_email_folder_request_spec.rb +36 -0
- data/spec/models/update_email_request_spec.rb +60 -0
- data/spec/models/update_email_response_spec.rb +42 -0
- data/spec/models/update_event_request_spec.rb +52 -0
- data/spec/models/update_file_request_spec.rb +48 -0
- data/spec/models/update_key_binding_request_spec.rb +42 -0
- data/spec/models/update_message_metadata_request_spec.rb +42 -0
- data/spec/models/update_note_request_spec.rb +72 -0
- data/spec/models/update_organization_member_request_spec.rb +40 -0
- data/spec/models/update_organization_request_spec.rb +48 -0
- data/spec/models/update_participant_state_request_spec.rb +48 -0
- data/spec/models/update_pat_request_spec.rb +42 -0
- data/spec/models/update_presentation_request_spec.rb +48 -0
- data/spec/models/update_recommendation_status_request_spec.rb +40 -0
- data/spec/models/update_record_request_spec.rb +48 -0
- data/spec/models/update_record_type_request_spec.rb +60 -0
- data/spec/models/update_routine_request_spec.rb +60 -0
- data/spec/models/update_row_request_spec.rb +36 -0
- data/spec/models/update_sheet_request_spec.rb +72 -0
- data/spec/models/update_slide_element_request_spec.rb +78 -0
- data/spec/models/update_slide_request_spec.rb +78 -0
- data/spec/models/update_task_request_spec.rb +88 -0
- data/spec/models/update_workspace_member_request_spec.rb +40 -0
- data/spec/models/update_workspace_request_spec.rb +54 -0
- data/spec/models/upload_chunked_block_response_spec.rb +54 -0
- data/spec/models/upload_file_base64_request_spec.rb +78 -0
- data/spec/models/user_info_response_spec.rb +84 -0
- data/spec/models/validate_key_binding_request_spec.rb +48 -0
- data/spec/models/validate_key_binding_response_spec.rb +42 -0
- data/spec/models/workspace_envelope_spec.rb +36 -0
- data/spec/models/workspace_invitation_list_response_spec.rb +36 -0
- data/spec/models/workspace_invitation_spec.rb +88 -0
- data/spec/models/workspace_list_response_spec.rb +42 -0
- data/spec/models/workspace_member_list_response_spec.rb +42 -0
- data/spec/models/workspace_member_spec.rb +76 -0
- data/spec/models/workspace_organization_spec.rb +48 -0
- data/spec/models/workspace_spec.rb +114 -0
- data/spec/models/write_app_file_request_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1597 -0
|
@@ -0,0 +1,2016 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#SpatioAPI
|
|
3
|
+
|
|
4
|
+
#The REST API that owns every resource in your Spatio workspace: notes, sheets, slides, tasks, calendar events, mail, chat, files, and contacts. SpatioMCP wraps this API; Spatio Desktop reads from it. You can call it directly from your own code. All requests must be authenticated with a Personal Access Token (`Authorization: Bearer pat_...`) or an OAuth 2.1 access token, and use HTTPS. Official SDKs (MIT, generated from this spec on every release): - TypeScript: https://github.com/spatio-labs/spatio-ts (`npm install @spatio-labs/spatio-ts`) - Python: https://github.com/spatio-labs/spatio-py (`pip install spatio-sdk`) - Go: https://github.com/spatio-labs/spatio-go (`go get github.com/spatio-labs/spatio-go`) This specification is generated from the platform-service Go source on every push to `main`. The spec, not hand-written documentation, is the source of truth: server stubs and SDKs are generated from it, and any drift between the spec and the running service fails CI.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
Contact: hello@spatio.app
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.22.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module Spatio
|
|
16
|
+
class CallsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Start a new call.
|
|
23
|
+
# @param [Hash] opts the optional parameters
|
|
24
|
+
# @option opts [CreateCallRequest] :create_call_request
|
|
25
|
+
# @return [SpatioCall]
|
|
26
|
+
def create_call(opts = {})
|
|
27
|
+
data, _status_code, _headers = create_call_with_http_info(opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Start a new call.
|
|
32
|
+
# @param [Hash] opts the optional parameters
|
|
33
|
+
# @option opts [CreateCallRequest] :create_call_request
|
|
34
|
+
# @return [Array<(SpatioCall, Integer, Hash)>] SpatioCall data, response status code and response headers
|
|
35
|
+
def create_call_with_http_info(opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.create_call ...'
|
|
38
|
+
end
|
|
39
|
+
# resource path
|
|
40
|
+
local_var_path = '/v1/calls'
|
|
41
|
+
|
|
42
|
+
# query parameters
|
|
43
|
+
query_params = opts[:query_params] || {}
|
|
44
|
+
|
|
45
|
+
# header parameters
|
|
46
|
+
header_params = opts[:header_params] || {}
|
|
47
|
+
# HTTP header 'Accept' (if needed)
|
|
48
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
49
|
+
# HTTP header 'Content-Type'
|
|
50
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
51
|
+
if !content_type.nil?
|
|
52
|
+
header_params['Content-Type'] = content_type
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# form parameters
|
|
56
|
+
form_params = opts[:form_params] || {}
|
|
57
|
+
|
|
58
|
+
# http body (model)
|
|
59
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_call_request'])
|
|
60
|
+
|
|
61
|
+
# return_type
|
|
62
|
+
return_type = opts[:debug_return_type] || 'SpatioCall'
|
|
63
|
+
|
|
64
|
+
# auth_names
|
|
65
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
66
|
+
|
|
67
|
+
new_options = opts.merge(
|
|
68
|
+
:operation => :"CallsApi.create_call",
|
|
69
|
+
:header_params => header_params,
|
|
70
|
+
:query_params => query_params,
|
|
71
|
+
:form_params => form_params,
|
|
72
|
+
:body => post_body,
|
|
73
|
+
:auth_names => auth_names,
|
|
74
|
+
:return_type => return_type
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
78
|
+
if @api_client.config.debugging
|
|
79
|
+
@api_client.config.logger.debug "API called: CallsApi#create_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
|
+
end
|
|
81
|
+
return data, status_code, headers
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Create a persistent meeting room.
|
|
85
|
+
# @param create_meeting_room_request [CreateMeetingRoomRequest]
|
|
86
|
+
# @param [Hash] opts the optional parameters
|
|
87
|
+
# @return [MeetingRoom]
|
|
88
|
+
def create_meeting_room(create_meeting_room_request, opts = {})
|
|
89
|
+
data, _status_code, _headers = create_meeting_room_with_http_info(create_meeting_room_request, opts)
|
|
90
|
+
data
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Create a persistent meeting room.
|
|
94
|
+
# @param create_meeting_room_request [CreateMeetingRoomRequest]
|
|
95
|
+
# @param [Hash] opts the optional parameters
|
|
96
|
+
# @return [Array<(MeetingRoom, Integer, Hash)>] MeetingRoom data, response status code and response headers
|
|
97
|
+
def create_meeting_room_with_http_info(create_meeting_room_request, opts = {})
|
|
98
|
+
if @api_client.config.debugging
|
|
99
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.create_meeting_room ...'
|
|
100
|
+
end
|
|
101
|
+
# verify the required parameter 'create_meeting_room_request' is set
|
|
102
|
+
if @api_client.config.client_side_validation && create_meeting_room_request.nil?
|
|
103
|
+
fail ArgumentError, "Missing the required parameter 'create_meeting_room_request' when calling CallsApi.create_meeting_room"
|
|
104
|
+
end
|
|
105
|
+
# resource path
|
|
106
|
+
local_var_path = '/v1/calls/rooms'
|
|
107
|
+
|
|
108
|
+
# query parameters
|
|
109
|
+
query_params = opts[:query_params] || {}
|
|
110
|
+
|
|
111
|
+
# header parameters
|
|
112
|
+
header_params = opts[:header_params] || {}
|
|
113
|
+
# HTTP header 'Accept' (if needed)
|
|
114
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
115
|
+
# HTTP header 'Content-Type'
|
|
116
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
117
|
+
if !content_type.nil?
|
|
118
|
+
header_params['Content-Type'] = content_type
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# form parameters
|
|
122
|
+
form_params = opts[:form_params] || {}
|
|
123
|
+
|
|
124
|
+
# http body (model)
|
|
125
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_meeting_room_request)
|
|
126
|
+
|
|
127
|
+
# return_type
|
|
128
|
+
return_type = opts[:debug_return_type] || 'MeetingRoom'
|
|
129
|
+
|
|
130
|
+
# auth_names
|
|
131
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
132
|
+
|
|
133
|
+
new_options = opts.merge(
|
|
134
|
+
:operation => :"CallsApi.create_meeting_room",
|
|
135
|
+
:header_params => header_params,
|
|
136
|
+
:query_params => query_params,
|
|
137
|
+
:form_params => form_params,
|
|
138
|
+
:body => post_body,
|
|
139
|
+
:auth_names => auth_names,
|
|
140
|
+
:return_type => return_type
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
144
|
+
if @api_client.config.debugging
|
|
145
|
+
@api_client.config.logger.debug "API called: CallsApi#create_meeting_room\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
146
|
+
end
|
|
147
|
+
return data, status_code, headers
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Delete a recording.
|
|
151
|
+
# @param recording_id [String]
|
|
152
|
+
# @param [Hash] opts the optional parameters
|
|
153
|
+
# @return [nil]
|
|
154
|
+
def delete_call_recording(recording_id, opts = {})
|
|
155
|
+
delete_call_recording_with_http_info(recording_id, opts)
|
|
156
|
+
nil
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Delete a recording.
|
|
160
|
+
# @param recording_id [String]
|
|
161
|
+
# @param [Hash] opts the optional parameters
|
|
162
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
163
|
+
def delete_call_recording_with_http_info(recording_id, opts = {})
|
|
164
|
+
if @api_client.config.debugging
|
|
165
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.delete_call_recording ...'
|
|
166
|
+
end
|
|
167
|
+
# verify the required parameter 'recording_id' is set
|
|
168
|
+
if @api_client.config.client_side_validation && recording_id.nil?
|
|
169
|
+
fail ArgumentError, "Missing the required parameter 'recording_id' when calling CallsApi.delete_call_recording"
|
|
170
|
+
end
|
|
171
|
+
# resource path
|
|
172
|
+
local_var_path = '/v1/calls/recordings/{recordingId}'.sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
173
|
+
|
|
174
|
+
# query parameters
|
|
175
|
+
query_params = opts[:query_params] || {}
|
|
176
|
+
|
|
177
|
+
# header parameters
|
|
178
|
+
header_params = opts[:header_params] || {}
|
|
179
|
+
# HTTP header 'Accept' (if needed)
|
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
181
|
+
|
|
182
|
+
# form parameters
|
|
183
|
+
form_params = opts[:form_params] || {}
|
|
184
|
+
|
|
185
|
+
# http body (model)
|
|
186
|
+
post_body = opts[:debug_body]
|
|
187
|
+
|
|
188
|
+
# return_type
|
|
189
|
+
return_type = opts[:debug_return_type]
|
|
190
|
+
|
|
191
|
+
# auth_names
|
|
192
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
193
|
+
|
|
194
|
+
new_options = opts.merge(
|
|
195
|
+
:operation => :"CallsApi.delete_call_recording",
|
|
196
|
+
:header_params => header_params,
|
|
197
|
+
:query_params => query_params,
|
|
198
|
+
:form_params => form_params,
|
|
199
|
+
:body => post_body,
|
|
200
|
+
:auth_names => auth_names,
|
|
201
|
+
:return_type => return_type
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
205
|
+
if @api_client.config.debugging
|
|
206
|
+
@api_client.config.logger.debug "API called: CallsApi#delete_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
207
|
+
end
|
|
208
|
+
return data, status_code, headers
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# End a call (host only).
|
|
212
|
+
# @param id [String]
|
|
213
|
+
# @param [Hash] opts the optional parameters
|
|
214
|
+
# @return [nil]
|
|
215
|
+
def end_call(id, opts = {})
|
|
216
|
+
end_call_with_http_info(id, opts)
|
|
217
|
+
nil
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# End a call (host only).
|
|
221
|
+
# @param id [String]
|
|
222
|
+
# @param [Hash] opts the optional parameters
|
|
223
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
224
|
+
def end_call_with_http_info(id, opts = {})
|
|
225
|
+
if @api_client.config.debugging
|
|
226
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.end_call ...'
|
|
227
|
+
end
|
|
228
|
+
# verify the required parameter 'id' is set
|
|
229
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
230
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.end_call"
|
|
231
|
+
end
|
|
232
|
+
# resource path
|
|
233
|
+
local_var_path = '/v1/calls/{id}/end'.sub('{id}', CGI.escape(id.to_s))
|
|
234
|
+
|
|
235
|
+
# query parameters
|
|
236
|
+
query_params = opts[:query_params] || {}
|
|
237
|
+
|
|
238
|
+
# header parameters
|
|
239
|
+
header_params = opts[:header_params] || {}
|
|
240
|
+
# HTTP header 'Accept' (if needed)
|
|
241
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
242
|
+
|
|
243
|
+
# form parameters
|
|
244
|
+
form_params = opts[:form_params] || {}
|
|
245
|
+
|
|
246
|
+
# http body (model)
|
|
247
|
+
post_body = opts[:debug_body]
|
|
248
|
+
|
|
249
|
+
# return_type
|
|
250
|
+
return_type = opts[:debug_return_type]
|
|
251
|
+
|
|
252
|
+
# auth_names
|
|
253
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
254
|
+
|
|
255
|
+
new_options = opts.merge(
|
|
256
|
+
:operation => :"CallsApi.end_call",
|
|
257
|
+
:header_params => header_params,
|
|
258
|
+
:query_params => query_params,
|
|
259
|
+
:form_params => form_params,
|
|
260
|
+
:body => post_body,
|
|
261
|
+
:auth_names => auth_names,
|
|
262
|
+
:return_type => return_type
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
266
|
+
if @api_client.config.debugging
|
|
267
|
+
@api_client.config.logger.debug "API called: CallsApi#end_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
268
|
+
end
|
|
269
|
+
return data, status_code, headers
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# Time-series bandwidth metrics.
|
|
273
|
+
# @param [Hash] opts the optional parameters
|
|
274
|
+
# @return [Hash<String, Object>]
|
|
275
|
+
def get_bandwidth_history(opts = {})
|
|
276
|
+
data, _status_code, _headers = get_bandwidth_history_with_http_info(opts)
|
|
277
|
+
data
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Time-series bandwidth metrics.
|
|
281
|
+
# @param [Hash] opts the optional parameters
|
|
282
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
283
|
+
def get_bandwidth_history_with_http_info(opts = {})
|
|
284
|
+
if @api_client.config.debugging
|
|
285
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.get_bandwidth_history ...'
|
|
286
|
+
end
|
|
287
|
+
# resource path
|
|
288
|
+
local_var_path = '/v1/calls/bandwidth/history'
|
|
289
|
+
|
|
290
|
+
# query parameters
|
|
291
|
+
query_params = opts[:query_params] || {}
|
|
292
|
+
|
|
293
|
+
# header parameters
|
|
294
|
+
header_params = opts[:header_params] || {}
|
|
295
|
+
# HTTP header 'Accept' (if needed)
|
|
296
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
297
|
+
|
|
298
|
+
# form parameters
|
|
299
|
+
form_params = opts[:form_params] || {}
|
|
300
|
+
|
|
301
|
+
# http body (model)
|
|
302
|
+
post_body = opts[:debug_body]
|
|
303
|
+
|
|
304
|
+
# return_type
|
|
305
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
306
|
+
|
|
307
|
+
# auth_names
|
|
308
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
309
|
+
|
|
310
|
+
new_options = opts.merge(
|
|
311
|
+
:operation => :"CallsApi.get_bandwidth_history",
|
|
312
|
+
:header_params => header_params,
|
|
313
|
+
:query_params => query_params,
|
|
314
|
+
:form_params => form_params,
|
|
315
|
+
:body => post_body,
|
|
316
|
+
:auth_names => auth_names,
|
|
317
|
+
:return_type => return_type
|
|
318
|
+
)
|
|
319
|
+
|
|
320
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
321
|
+
if @api_client.config.debugging
|
|
322
|
+
@api_client.config.logger.debug "API called: CallsApi#get_bandwidth_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
323
|
+
end
|
|
324
|
+
return data, status_code, headers
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# Aggregate bandwidth metrics.
|
|
328
|
+
# @param [Hash] opts the optional parameters
|
|
329
|
+
# @return [Hash<String, Object>]
|
|
330
|
+
def get_bandwidth_summary(opts = {})
|
|
331
|
+
data, _status_code, _headers = get_bandwidth_summary_with_http_info(opts)
|
|
332
|
+
data
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# Aggregate bandwidth metrics.
|
|
336
|
+
# @param [Hash] opts the optional parameters
|
|
337
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
338
|
+
def get_bandwidth_summary_with_http_info(opts = {})
|
|
339
|
+
if @api_client.config.debugging
|
|
340
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.get_bandwidth_summary ...'
|
|
341
|
+
end
|
|
342
|
+
# resource path
|
|
343
|
+
local_var_path = '/v1/calls/bandwidth/summary'
|
|
344
|
+
|
|
345
|
+
# query parameters
|
|
346
|
+
query_params = opts[:query_params] || {}
|
|
347
|
+
|
|
348
|
+
# header parameters
|
|
349
|
+
header_params = opts[:header_params] || {}
|
|
350
|
+
# HTTP header 'Accept' (if needed)
|
|
351
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
352
|
+
|
|
353
|
+
# form parameters
|
|
354
|
+
form_params = opts[:form_params] || {}
|
|
355
|
+
|
|
356
|
+
# http body (model)
|
|
357
|
+
post_body = opts[:debug_body]
|
|
358
|
+
|
|
359
|
+
# return_type
|
|
360
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
361
|
+
|
|
362
|
+
# auth_names
|
|
363
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
364
|
+
|
|
365
|
+
new_options = opts.merge(
|
|
366
|
+
:operation => :"CallsApi.get_bandwidth_summary",
|
|
367
|
+
:header_params => header_params,
|
|
368
|
+
:query_params => query_params,
|
|
369
|
+
:form_params => form_params,
|
|
370
|
+
:body => post_body,
|
|
371
|
+
:auth_names => auth_names,
|
|
372
|
+
:return_type => return_type
|
|
373
|
+
)
|
|
374
|
+
|
|
375
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
376
|
+
if @api_client.config.debugging
|
|
377
|
+
@api_client.config.logger.debug "API called: CallsApi#get_bandwidth_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
378
|
+
end
|
|
379
|
+
return data, status_code, headers
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# Fetch a call.
|
|
383
|
+
# @param id [String]
|
|
384
|
+
# @param [Hash] opts the optional parameters
|
|
385
|
+
# @return [SpatioCall]
|
|
386
|
+
def get_call(id, opts = {})
|
|
387
|
+
data, _status_code, _headers = get_call_with_http_info(id, opts)
|
|
388
|
+
data
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Fetch a call.
|
|
392
|
+
# @param id [String]
|
|
393
|
+
# @param [Hash] opts the optional parameters
|
|
394
|
+
# @return [Array<(SpatioCall, Integer, Hash)>] SpatioCall data, response status code and response headers
|
|
395
|
+
def get_call_with_http_info(id, opts = {})
|
|
396
|
+
if @api_client.config.debugging
|
|
397
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.get_call ...'
|
|
398
|
+
end
|
|
399
|
+
# verify the required parameter 'id' is set
|
|
400
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
401
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.get_call"
|
|
402
|
+
end
|
|
403
|
+
# resource path
|
|
404
|
+
local_var_path = '/v1/calls/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
405
|
+
|
|
406
|
+
# query parameters
|
|
407
|
+
query_params = opts[:query_params] || {}
|
|
408
|
+
|
|
409
|
+
# header parameters
|
|
410
|
+
header_params = opts[:header_params] || {}
|
|
411
|
+
# HTTP header 'Accept' (if needed)
|
|
412
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
413
|
+
|
|
414
|
+
# form parameters
|
|
415
|
+
form_params = opts[:form_params] || {}
|
|
416
|
+
|
|
417
|
+
# http body (model)
|
|
418
|
+
post_body = opts[:debug_body]
|
|
419
|
+
|
|
420
|
+
# return_type
|
|
421
|
+
return_type = opts[:debug_return_type] || 'SpatioCall'
|
|
422
|
+
|
|
423
|
+
# auth_names
|
|
424
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
425
|
+
|
|
426
|
+
new_options = opts.merge(
|
|
427
|
+
:operation => :"CallsApi.get_call",
|
|
428
|
+
:header_params => header_params,
|
|
429
|
+
:query_params => query_params,
|
|
430
|
+
:form_params => form_params,
|
|
431
|
+
:body => post_body,
|
|
432
|
+
:auth_names => auth_names,
|
|
433
|
+
:return_type => return_type
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
437
|
+
if @api_client.config.debugging
|
|
438
|
+
@api_client.config.logger.debug "API called: CallsApi#get_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
439
|
+
end
|
|
440
|
+
return data, status_code, headers
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Fetch a meeting room.
|
|
444
|
+
# @param id [String]
|
|
445
|
+
# @param [Hash] opts the optional parameters
|
|
446
|
+
# @return [MeetingRoom]
|
|
447
|
+
def get_meeting_room(id, opts = {})
|
|
448
|
+
data, _status_code, _headers = get_meeting_room_with_http_info(id, opts)
|
|
449
|
+
data
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Fetch a meeting room.
|
|
453
|
+
# @param id [String]
|
|
454
|
+
# @param [Hash] opts the optional parameters
|
|
455
|
+
# @return [Array<(MeetingRoom, Integer, Hash)>] MeetingRoom data, response status code and response headers
|
|
456
|
+
def get_meeting_room_with_http_info(id, opts = {})
|
|
457
|
+
if @api_client.config.debugging
|
|
458
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.get_meeting_room ...'
|
|
459
|
+
end
|
|
460
|
+
# verify the required parameter 'id' is set
|
|
461
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
462
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.get_meeting_room"
|
|
463
|
+
end
|
|
464
|
+
# resource path
|
|
465
|
+
local_var_path = '/v1/calls/rooms/{id}'.sub('{id}', CGI.escape(id.to_s))
|
|
466
|
+
|
|
467
|
+
# query parameters
|
|
468
|
+
query_params = opts[:query_params] || {}
|
|
469
|
+
|
|
470
|
+
# header parameters
|
|
471
|
+
header_params = opts[:header_params] || {}
|
|
472
|
+
# HTTP header 'Accept' (if needed)
|
|
473
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
474
|
+
|
|
475
|
+
# form parameters
|
|
476
|
+
form_params = opts[:form_params] || {}
|
|
477
|
+
|
|
478
|
+
# http body (model)
|
|
479
|
+
post_body = opts[:debug_body]
|
|
480
|
+
|
|
481
|
+
# return_type
|
|
482
|
+
return_type = opts[:debug_return_type] || 'MeetingRoom'
|
|
483
|
+
|
|
484
|
+
# auth_names
|
|
485
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
486
|
+
|
|
487
|
+
new_options = opts.merge(
|
|
488
|
+
:operation => :"CallsApi.get_meeting_room",
|
|
489
|
+
:header_params => header_params,
|
|
490
|
+
:query_params => query_params,
|
|
491
|
+
:form_params => form_params,
|
|
492
|
+
:body => post_body,
|
|
493
|
+
:auth_names => auth_names,
|
|
494
|
+
:return_type => return_type
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
498
|
+
if @api_client.config.debugging
|
|
499
|
+
@api_client.config.logger.debug "API called: CallsApi#get_meeting_room\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
500
|
+
end
|
|
501
|
+
return data, status_code, headers
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# Join a call.
|
|
505
|
+
# @param id [String]
|
|
506
|
+
# @param [Hash] opts the optional parameters
|
|
507
|
+
# @return [Hash<String, Object>]
|
|
508
|
+
def join_call(id, opts = {})
|
|
509
|
+
data, _status_code, _headers = join_call_with_http_info(id, opts)
|
|
510
|
+
data
|
|
511
|
+
end
|
|
512
|
+
|
|
513
|
+
# Join a call.
|
|
514
|
+
# @param id [String]
|
|
515
|
+
# @param [Hash] opts the optional parameters
|
|
516
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
517
|
+
def join_call_with_http_info(id, opts = {})
|
|
518
|
+
if @api_client.config.debugging
|
|
519
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.join_call ...'
|
|
520
|
+
end
|
|
521
|
+
# verify the required parameter 'id' is set
|
|
522
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
523
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.join_call"
|
|
524
|
+
end
|
|
525
|
+
# resource path
|
|
526
|
+
local_var_path = '/v1/calls/{id}/join'.sub('{id}', CGI.escape(id.to_s))
|
|
527
|
+
|
|
528
|
+
# query parameters
|
|
529
|
+
query_params = opts[:query_params] || {}
|
|
530
|
+
|
|
531
|
+
# header parameters
|
|
532
|
+
header_params = opts[:header_params] || {}
|
|
533
|
+
# HTTP header 'Accept' (if needed)
|
|
534
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
535
|
+
|
|
536
|
+
# form parameters
|
|
537
|
+
form_params = opts[:form_params] || {}
|
|
538
|
+
|
|
539
|
+
# http body (model)
|
|
540
|
+
post_body = opts[:debug_body]
|
|
541
|
+
|
|
542
|
+
# return_type
|
|
543
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
544
|
+
|
|
545
|
+
# auth_names
|
|
546
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
547
|
+
|
|
548
|
+
new_options = opts.merge(
|
|
549
|
+
:operation => :"CallsApi.join_call",
|
|
550
|
+
:header_params => header_params,
|
|
551
|
+
:query_params => query_params,
|
|
552
|
+
:form_params => form_params,
|
|
553
|
+
:body => post_body,
|
|
554
|
+
:auth_names => auth_names,
|
|
555
|
+
:return_type => return_type
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
559
|
+
if @api_client.config.debugging
|
|
560
|
+
@api_client.config.logger.debug "API called: CallsApi#join_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
561
|
+
end
|
|
562
|
+
return data, status_code, headers
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# Leave a call.
|
|
566
|
+
# @param id [String]
|
|
567
|
+
# @param [Hash] opts the optional parameters
|
|
568
|
+
# @return [nil]
|
|
569
|
+
def leave_call(id, opts = {})
|
|
570
|
+
leave_call_with_http_info(id, opts)
|
|
571
|
+
nil
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# Leave a call.
|
|
575
|
+
# @param id [String]
|
|
576
|
+
# @param [Hash] opts the optional parameters
|
|
577
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
578
|
+
def leave_call_with_http_info(id, opts = {})
|
|
579
|
+
if @api_client.config.debugging
|
|
580
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.leave_call ...'
|
|
581
|
+
end
|
|
582
|
+
# verify the required parameter 'id' is set
|
|
583
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
584
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.leave_call"
|
|
585
|
+
end
|
|
586
|
+
# resource path
|
|
587
|
+
local_var_path = '/v1/calls/{id}/leave'.sub('{id}', CGI.escape(id.to_s))
|
|
588
|
+
|
|
589
|
+
# query parameters
|
|
590
|
+
query_params = opts[:query_params] || {}
|
|
591
|
+
|
|
592
|
+
# header parameters
|
|
593
|
+
header_params = opts[:header_params] || {}
|
|
594
|
+
# HTTP header 'Accept' (if needed)
|
|
595
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
596
|
+
|
|
597
|
+
# form parameters
|
|
598
|
+
form_params = opts[:form_params] || {}
|
|
599
|
+
|
|
600
|
+
# http body (model)
|
|
601
|
+
post_body = opts[:debug_body]
|
|
602
|
+
|
|
603
|
+
# return_type
|
|
604
|
+
return_type = opts[:debug_return_type]
|
|
605
|
+
|
|
606
|
+
# auth_names
|
|
607
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
608
|
+
|
|
609
|
+
new_options = opts.merge(
|
|
610
|
+
:operation => :"CallsApi.leave_call",
|
|
611
|
+
:header_params => header_params,
|
|
612
|
+
:query_params => query_params,
|
|
613
|
+
:form_params => form_params,
|
|
614
|
+
:body => post_body,
|
|
615
|
+
:auth_names => auth_names,
|
|
616
|
+
:return_type => return_type
|
|
617
|
+
)
|
|
618
|
+
|
|
619
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
620
|
+
if @api_client.config.debugging
|
|
621
|
+
@api_client.config.logger.debug "API called: CallsApi#leave_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
622
|
+
end
|
|
623
|
+
return data, status_code, headers
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
# List active calls.
|
|
627
|
+
# @param [Hash] opts the optional parameters
|
|
628
|
+
# @return [CallListResponse]
|
|
629
|
+
def list_active_calls(opts = {})
|
|
630
|
+
data, _status_code, _headers = list_active_calls_with_http_info(opts)
|
|
631
|
+
data
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# List active calls.
|
|
635
|
+
# @param [Hash] opts the optional parameters
|
|
636
|
+
# @return [Array<(CallListResponse, Integer, Hash)>] CallListResponse data, response status code and response headers
|
|
637
|
+
def list_active_calls_with_http_info(opts = {})
|
|
638
|
+
if @api_client.config.debugging
|
|
639
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.list_active_calls ...'
|
|
640
|
+
end
|
|
641
|
+
# resource path
|
|
642
|
+
local_var_path = '/v1/calls'
|
|
643
|
+
|
|
644
|
+
# query parameters
|
|
645
|
+
query_params = opts[:query_params] || {}
|
|
646
|
+
|
|
647
|
+
# header parameters
|
|
648
|
+
header_params = opts[:header_params] || {}
|
|
649
|
+
# HTTP header 'Accept' (if needed)
|
|
650
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
651
|
+
|
|
652
|
+
# form parameters
|
|
653
|
+
form_params = opts[:form_params] || {}
|
|
654
|
+
|
|
655
|
+
# http body (model)
|
|
656
|
+
post_body = opts[:debug_body]
|
|
657
|
+
|
|
658
|
+
# return_type
|
|
659
|
+
return_type = opts[:debug_return_type] || 'CallListResponse'
|
|
660
|
+
|
|
661
|
+
# auth_names
|
|
662
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
663
|
+
|
|
664
|
+
new_options = opts.merge(
|
|
665
|
+
:operation => :"CallsApi.list_active_calls",
|
|
666
|
+
:header_params => header_params,
|
|
667
|
+
:query_params => query_params,
|
|
668
|
+
:form_params => form_params,
|
|
669
|
+
:body => post_body,
|
|
670
|
+
:auth_names => auth_names,
|
|
671
|
+
:return_type => return_type
|
|
672
|
+
)
|
|
673
|
+
|
|
674
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
675
|
+
if @api_client.config.debugging
|
|
676
|
+
@api_client.config.logger.debug "API called: CallsApi#list_active_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
677
|
+
end
|
|
678
|
+
return data, status_code, headers
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
# List recordings for a call.
|
|
682
|
+
# @param id [String]
|
|
683
|
+
# @param [Hash] opts the optional parameters
|
|
684
|
+
# @return [CallRecordingListResponse]
|
|
685
|
+
def list_call_recordings(id, opts = {})
|
|
686
|
+
data, _status_code, _headers = list_call_recordings_with_http_info(id, opts)
|
|
687
|
+
data
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
# List recordings for a call.
|
|
691
|
+
# @param id [String]
|
|
692
|
+
# @param [Hash] opts the optional parameters
|
|
693
|
+
# @return [Array<(CallRecordingListResponse, Integer, Hash)>] CallRecordingListResponse data, response status code and response headers
|
|
694
|
+
def list_call_recordings_with_http_info(id, opts = {})
|
|
695
|
+
if @api_client.config.debugging
|
|
696
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.list_call_recordings ...'
|
|
697
|
+
end
|
|
698
|
+
# verify the required parameter 'id' is set
|
|
699
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
700
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.list_call_recordings"
|
|
701
|
+
end
|
|
702
|
+
# resource path
|
|
703
|
+
local_var_path = '/v1/calls/{id}/recordings'.sub('{id}', CGI.escape(id.to_s))
|
|
704
|
+
|
|
705
|
+
# query parameters
|
|
706
|
+
query_params = opts[:query_params] || {}
|
|
707
|
+
|
|
708
|
+
# header parameters
|
|
709
|
+
header_params = opts[:header_params] || {}
|
|
710
|
+
# HTTP header 'Accept' (if needed)
|
|
711
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
712
|
+
|
|
713
|
+
# form parameters
|
|
714
|
+
form_params = opts[:form_params] || {}
|
|
715
|
+
|
|
716
|
+
# http body (model)
|
|
717
|
+
post_body = opts[:debug_body]
|
|
718
|
+
|
|
719
|
+
# return_type
|
|
720
|
+
return_type = opts[:debug_return_type] || 'CallRecordingListResponse'
|
|
721
|
+
|
|
722
|
+
# auth_names
|
|
723
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
724
|
+
|
|
725
|
+
new_options = opts.merge(
|
|
726
|
+
:operation => :"CallsApi.list_call_recordings",
|
|
727
|
+
:header_params => header_params,
|
|
728
|
+
:query_params => query_params,
|
|
729
|
+
:form_params => form_params,
|
|
730
|
+
:body => post_body,
|
|
731
|
+
:auth_names => auth_names,
|
|
732
|
+
:return_type => return_type
|
|
733
|
+
)
|
|
734
|
+
|
|
735
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
736
|
+
if @api_client.config.debugging
|
|
737
|
+
@api_client.config.logger.debug "API called: CallsApi#list_call_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
738
|
+
end
|
|
739
|
+
return data, status_code, headers
|
|
740
|
+
end
|
|
741
|
+
|
|
742
|
+
# Start a recording (host only).
|
|
743
|
+
# @param id [String]
|
|
744
|
+
# @param [Hash] opts the optional parameters
|
|
745
|
+
# @return [CallRecording]
|
|
746
|
+
def start_call_recording(id, opts = {})
|
|
747
|
+
data, _status_code, _headers = start_call_recording_with_http_info(id, opts)
|
|
748
|
+
data
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
# Start a recording (host only).
|
|
752
|
+
# @param id [String]
|
|
753
|
+
# @param [Hash] opts the optional parameters
|
|
754
|
+
# @return [Array<(CallRecording, Integer, Hash)>] CallRecording data, response status code and response headers
|
|
755
|
+
def start_call_recording_with_http_info(id, opts = {})
|
|
756
|
+
if @api_client.config.debugging
|
|
757
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.start_call_recording ...'
|
|
758
|
+
end
|
|
759
|
+
# verify the required parameter 'id' is set
|
|
760
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
761
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.start_call_recording"
|
|
762
|
+
end
|
|
763
|
+
# resource path
|
|
764
|
+
local_var_path = '/v1/calls/{id}/recordings/start'.sub('{id}', CGI.escape(id.to_s))
|
|
765
|
+
|
|
766
|
+
# query parameters
|
|
767
|
+
query_params = opts[:query_params] || {}
|
|
768
|
+
|
|
769
|
+
# header parameters
|
|
770
|
+
header_params = opts[:header_params] || {}
|
|
771
|
+
# HTTP header 'Accept' (if needed)
|
|
772
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
773
|
+
|
|
774
|
+
# form parameters
|
|
775
|
+
form_params = opts[:form_params] || {}
|
|
776
|
+
|
|
777
|
+
# http body (model)
|
|
778
|
+
post_body = opts[:debug_body]
|
|
779
|
+
|
|
780
|
+
# return_type
|
|
781
|
+
return_type = opts[:debug_return_type] || 'CallRecording'
|
|
782
|
+
|
|
783
|
+
# auth_names
|
|
784
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
785
|
+
|
|
786
|
+
new_options = opts.merge(
|
|
787
|
+
:operation => :"CallsApi.start_call_recording",
|
|
788
|
+
:header_params => header_params,
|
|
789
|
+
:query_params => query_params,
|
|
790
|
+
:form_params => form_params,
|
|
791
|
+
:body => post_body,
|
|
792
|
+
:auth_names => auth_names,
|
|
793
|
+
:return_type => return_type
|
|
794
|
+
)
|
|
795
|
+
|
|
796
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
797
|
+
if @api_client.config.debugging
|
|
798
|
+
@api_client.config.logger.debug "API called: CallsApi#start_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
799
|
+
end
|
|
800
|
+
return data, status_code, headers
|
|
801
|
+
end
|
|
802
|
+
|
|
803
|
+
# Stop an in-progress recording.
|
|
804
|
+
# @param id [String]
|
|
805
|
+
# @param recording_id [String]
|
|
806
|
+
# @param [Hash] opts the optional parameters
|
|
807
|
+
# @return [CallRecording]
|
|
808
|
+
def stop_call_recording(id, recording_id, opts = {})
|
|
809
|
+
data, _status_code, _headers = stop_call_recording_with_http_info(id, recording_id, opts)
|
|
810
|
+
data
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
# Stop an in-progress recording.
|
|
814
|
+
# @param id [String]
|
|
815
|
+
# @param recording_id [String]
|
|
816
|
+
# @param [Hash] opts the optional parameters
|
|
817
|
+
# @return [Array<(CallRecording, Integer, Hash)>] CallRecording data, response status code and response headers
|
|
818
|
+
def stop_call_recording_with_http_info(id, recording_id, opts = {})
|
|
819
|
+
if @api_client.config.debugging
|
|
820
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.stop_call_recording ...'
|
|
821
|
+
end
|
|
822
|
+
# verify the required parameter 'id' is set
|
|
823
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
824
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.stop_call_recording"
|
|
825
|
+
end
|
|
826
|
+
# verify the required parameter 'recording_id' is set
|
|
827
|
+
if @api_client.config.client_side_validation && recording_id.nil?
|
|
828
|
+
fail ArgumentError, "Missing the required parameter 'recording_id' when calling CallsApi.stop_call_recording"
|
|
829
|
+
end
|
|
830
|
+
# resource path
|
|
831
|
+
local_var_path = '/v1/calls/{id}/recordings/{recordingId}/stop'.sub('{id}', CGI.escape(id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
832
|
+
|
|
833
|
+
# query parameters
|
|
834
|
+
query_params = opts[:query_params] || {}
|
|
835
|
+
|
|
836
|
+
# header parameters
|
|
837
|
+
header_params = opts[:header_params] || {}
|
|
838
|
+
# HTTP header 'Accept' (if needed)
|
|
839
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
840
|
+
|
|
841
|
+
# form parameters
|
|
842
|
+
form_params = opts[:form_params] || {}
|
|
843
|
+
|
|
844
|
+
# http body (model)
|
|
845
|
+
post_body = opts[:debug_body]
|
|
846
|
+
|
|
847
|
+
# return_type
|
|
848
|
+
return_type = opts[:debug_return_type] || 'CallRecording'
|
|
849
|
+
|
|
850
|
+
# auth_names
|
|
851
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
852
|
+
|
|
853
|
+
new_options = opts.merge(
|
|
854
|
+
:operation => :"CallsApi.stop_call_recording",
|
|
855
|
+
:header_params => header_params,
|
|
856
|
+
:query_params => query_params,
|
|
857
|
+
:form_params => form_params,
|
|
858
|
+
:body => post_body,
|
|
859
|
+
:auth_names => auth_names,
|
|
860
|
+
:return_type => return_type
|
|
861
|
+
)
|
|
862
|
+
|
|
863
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
864
|
+
if @api_client.config.debugging
|
|
865
|
+
@api_client.config.logger.debug "API called: CallsApi#stop_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
866
|
+
end
|
|
867
|
+
return data, status_code, headers
|
|
868
|
+
end
|
|
869
|
+
|
|
870
|
+
# Toggle participant audio/video/screen-share state.
|
|
871
|
+
# @param id [String]
|
|
872
|
+
# @param update_participant_state_request [UpdateParticipantStateRequest]
|
|
873
|
+
# @param [Hash] opts the optional parameters
|
|
874
|
+
# @return [Hash<String, Object>]
|
|
875
|
+
def update_call_participant_state(id, update_participant_state_request, opts = {})
|
|
876
|
+
data, _status_code, _headers = update_call_participant_state_with_http_info(id, update_participant_state_request, opts)
|
|
877
|
+
data
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
# Toggle participant audio/video/screen-share state.
|
|
881
|
+
# @param id [String]
|
|
882
|
+
# @param update_participant_state_request [UpdateParticipantStateRequest]
|
|
883
|
+
# @param [Hash] opts the optional parameters
|
|
884
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
885
|
+
def update_call_participant_state_with_http_info(id, update_participant_state_request, opts = {})
|
|
886
|
+
if @api_client.config.debugging
|
|
887
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.update_call_participant_state ...'
|
|
888
|
+
end
|
|
889
|
+
# verify the required parameter 'id' is set
|
|
890
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
891
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.update_call_participant_state"
|
|
892
|
+
end
|
|
893
|
+
# verify the required parameter 'update_participant_state_request' is set
|
|
894
|
+
if @api_client.config.client_side_validation && update_participant_state_request.nil?
|
|
895
|
+
fail ArgumentError, "Missing the required parameter 'update_participant_state_request' when calling CallsApi.update_call_participant_state"
|
|
896
|
+
end
|
|
897
|
+
# resource path
|
|
898
|
+
local_var_path = '/v1/calls/{id}/participant'.sub('{id}', CGI.escape(id.to_s))
|
|
899
|
+
|
|
900
|
+
# query parameters
|
|
901
|
+
query_params = opts[:query_params] || {}
|
|
902
|
+
|
|
903
|
+
# header parameters
|
|
904
|
+
header_params = opts[:header_params] || {}
|
|
905
|
+
# HTTP header 'Accept' (if needed)
|
|
906
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
907
|
+
# HTTP header 'Content-Type'
|
|
908
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
909
|
+
if !content_type.nil?
|
|
910
|
+
header_params['Content-Type'] = content_type
|
|
911
|
+
end
|
|
912
|
+
|
|
913
|
+
# form parameters
|
|
914
|
+
form_params = opts[:form_params] || {}
|
|
915
|
+
|
|
916
|
+
# http body (model)
|
|
917
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_participant_state_request)
|
|
918
|
+
|
|
919
|
+
# return_type
|
|
920
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
921
|
+
|
|
922
|
+
# auth_names
|
|
923
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
924
|
+
|
|
925
|
+
new_options = opts.merge(
|
|
926
|
+
:operation => :"CallsApi.update_call_participant_state",
|
|
927
|
+
:header_params => header_params,
|
|
928
|
+
:query_params => query_params,
|
|
929
|
+
:form_params => form_params,
|
|
930
|
+
:body => post_body,
|
|
931
|
+
:auth_names => auth_names,
|
|
932
|
+
:return_type => return_type
|
|
933
|
+
)
|
|
934
|
+
|
|
935
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
936
|
+
if @api_client.config.debugging
|
|
937
|
+
@api_client.config.logger.debug "API called: CallsApi#update_call_participant_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
938
|
+
end
|
|
939
|
+
return data, status_code, headers
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
# @param org [String]
|
|
943
|
+
# @param workspace [String]
|
|
944
|
+
# @param request_body [Hash<String, Object>]
|
|
945
|
+
# @param [Hash] opts the optional parameters
|
|
946
|
+
# @return [Hash<String, Object>]
|
|
947
|
+
def workspace_create_call(org, workspace, request_body, opts = {})
|
|
948
|
+
data, _status_code, _headers = workspace_create_call_with_http_info(org, workspace, request_body, opts)
|
|
949
|
+
data
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
# @param org [String]
|
|
953
|
+
# @param workspace [String]
|
|
954
|
+
# @param request_body [Hash<String, Object>]
|
|
955
|
+
# @param [Hash] opts the optional parameters
|
|
956
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
957
|
+
def workspace_create_call_with_http_info(org, workspace, request_body, opts = {})
|
|
958
|
+
if @api_client.config.debugging
|
|
959
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_create_call ...'
|
|
960
|
+
end
|
|
961
|
+
# verify the required parameter 'org' is set
|
|
962
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
963
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_create_call"
|
|
964
|
+
end
|
|
965
|
+
# verify the required parameter 'workspace' is set
|
|
966
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
967
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_create_call"
|
|
968
|
+
end
|
|
969
|
+
# verify the required parameter 'request_body' is set
|
|
970
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
971
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling CallsApi.workspace_create_call"
|
|
972
|
+
end
|
|
973
|
+
# resource path
|
|
974
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s))
|
|
975
|
+
|
|
976
|
+
# query parameters
|
|
977
|
+
query_params = opts[:query_params] || {}
|
|
978
|
+
|
|
979
|
+
# header parameters
|
|
980
|
+
header_params = opts[:header_params] || {}
|
|
981
|
+
# HTTP header 'Accept' (if needed)
|
|
982
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
983
|
+
# HTTP header 'Content-Type'
|
|
984
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
985
|
+
if !content_type.nil?
|
|
986
|
+
header_params['Content-Type'] = content_type
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# form parameters
|
|
990
|
+
form_params = opts[:form_params] || {}
|
|
991
|
+
|
|
992
|
+
# http body (model)
|
|
993
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
994
|
+
|
|
995
|
+
# return_type
|
|
996
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
997
|
+
|
|
998
|
+
# auth_names
|
|
999
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1000
|
+
|
|
1001
|
+
new_options = opts.merge(
|
|
1002
|
+
:operation => :"CallsApi.workspace_create_call",
|
|
1003
|
+
:header_params => header_params,
|
|
1004
|
+
:query_params => query_params,
|
|
1005
|
+
:form_params => form_params,
|
|
1006
|
+
:body => post_body,
|
|
1007
|
+
:auth_names => auth_names,
|
|
1008
|
+
:return_type => return_type
|
|
1009
|
+
)
|
|
1010
|
+
|
|
1011
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1012
|
+
if @api_client.config.debugging
|
|
1013
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_create_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1014
|
+
end
|
|
1015
|
+
return data, status_code, headers
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1018
|
+
# @param org [String]
|
|
1019
|
+
# @param workspace [String]
|
|
1020
|
+
# @param request_body [Hash<String, Object>]
|
|
1021
|
+
# @param [Hash] opts the optional parameters
|
|
1022
|
+
# @return [Hash<String, Object>]
|
|
1023
|
+
def workspace_create_meeting_room(org, workspace, request_body, opts = {})
|
|
1024
|
+
data, _status_code, _headers = workspace_create_meeting_room_with_http_info(org, workspace, request_body, opts)
|
|
1025
|
+
data
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# @param org [String]
|
|
1029
|
+
# @param workspace [String]
|
|
1030
|
+
# @param request_body [Hash<String, Object>]
|
|
1031
|
+
# @param [Hash] opts the optional parameters
|
|
1032
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1033
|
+
def workspace_create_meeting_room_with_http_info(org, workspace, request_body, opts = {})
|
|
1034
|
+
if @api_client.config.debugging
|
|
1035
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_create_meeting_room ...'
|
|
1036
|
+
end
|
|
1037
|
+
# verify the required parameter 'org' is set
|
|
1038
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1039
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_create_meeting_room"
|
|
1040
|
+
end
|
|
1041
|
+
# verify the required parameter 'workspace' is set
|
|
1042
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1043
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_create_meeting_room"
|
|
1044
|
+
end
|
|
1045
|
+
# verify the required parameter 'request_body' is set
|
|
1046
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
1047
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling CallsApi.workspace_create_meeting_room"
|
|
1048
|
+
end
|
|
1049
|
+
# resource path
|
|
1050
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/rooms'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s))
|
|
1051
|
+
|
|
1052
|
+
# query parameters
|
|
1053
|
+
query_params = opts[:query_params] || {}
|
|
1054
|
+
|
|
1055
|
+
# header parameters
|
|
1056
|
+
header_params = opts[:header_params] || {}
|
|
1057
|
+
# HTTP header 'Accept' (if needed)
|
|
1058
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1059
|
+
# HTTP header 'Content-Type'
|
|
1060
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1061
|
+
if !content_type.nil?
|
|
1062
|
+
header_params['Content-Type'] = content_type
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
# form parameters
|
|
1066
|
+
form_params = opts[:form_params] || {}
|
|
1067
|
+
|
|
1068
|
+
# http body (model)
|
|
1069
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
1070
|
+
|
|
1071
|
+
# return_type
|
|
1072
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1073
|
+
|
|
1074
|
+
# auth_names
|
|
1075
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1076
|
+
|
|
1077
|
+
new_options = opts.merge(
|
|
1078
|
+
:operation => :"CallsApi.workspace_create_meeting_room",
|
|
1079
|
+
:header_params => header_params,
|
|
1080
|
+
:query_params => query_params,
|
|
1081
|
+
:form_params => form_params,
|
|
1082
|
+
:body => post_body,
|
|
1083
|
+
:auth_names => auth_names,
|
|
1084
|
+
:return_type => return_type
|
|
1085
|
+
)
|
|
1086
|
+
|
|
1087
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1088
|
+
if @api_client.config.debugging
|
|
1089
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_create_meeting_room\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1090
|
+
end
|
|
1091
|
+
return data, status_code, headers
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
# @param org [String]
|
|
1095
|
+
# @param workspace [String]
|
|
1096
|
+
# @param recording_id [String]
|
|
1097
|
+
# @param [Hash] opts the optional parameters
|
|
1098
|
+
# @return [nil]
|
|
1099
|
+
def workspace_delete_call_recording(org, workspace, recording_id, opts = {})
|
|
1100
|
+
workspace_delete_call_recording_with_http_info(org, workspace, recording_id, opts)
|
|
1101
|
+
nil
|
|
1102
|
+
end
|
|
1103
|
+
|
|
1104
|
+
# @param org [String]
|
|
1105
|
+
# @param workspace [String]
|
|
1106
|
+
# @param recording_id [String]
|
|
1107
|
+
# @param [Hash] opts the optional parameters
|
|
1108
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1109
|
+
def workspace_delete_call_recording_with_http_info(org, workspace, recording_id, opts = {})
|
|
1110
|
+
if @api_client.config.debugging
|
|
1111
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_delete_call_recording ...'
|
|
1112
|
+
end
|
|
1113
|
+
# verify the required parameter 'org' is set
|
|
1114
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1115
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_delete_call_recording"
|
|
1116
|
+
end
|
|
1117
|
+
# verify the required parameter 'workspace' is set
|
|
1118
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1119
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_delete_call_recording"
|
|
1120
|
+
end
|
|
1121
|
+
# verify the required parameter 'recording_id' is set
|
|
1122
|
+
if @api_client.config.client_side_validation && recording_id.nil?
|
|
1123
|
+
fail ArgumentError, "Missing the required parameter 'recording_id' when calling CallsApi.workspace_delete_call_recording"
|
|
1124
|
+
end
|
|
1125
|
+
# resource path
|
|
1126
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/recordings/{recordingId}'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
1127
|
+
|
|
1128
|
+
# query parameters
|
|
1129
|
+
query_params = opts[:query_params] || {}
|
|
1130
|
+
|
|
1131
|
+
# header parameters
|
|
1132
|
+
header_params = opts[:header_params] || {}
|
|
1133
|
+
# HTTP header 'Accept' (if needed)
|
|
1134
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1135
|
+
|
|
1136
|
+
# form parameters
|
|
1137
|
+
form_params = opts[:form_params] || {}
|
|
1138
|
+
|
|
1139
|
+
# http body (model)
|
|
1140
|
+
post_body = opts[:debug_body]
|
|
1141
|
+
|
|
1142
|
+
# return_type
|
|
1143
|
+
return_type = opts[:debug_return_type]
|
|
1144
|
+
|
|
1145
|
+
# auth_names
|
|
1146
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1147
|
+
|
|
1148
|
+
new_options = opts.merge(
|
|
1149
|
+
:operation => :"CallsApi.workspace_delete_call_recording",
|
|
1150
|
+
:header_params => header_params,
|
|
1151
|
+
:query_params => query_params,
|
|
1152
|
+
:form_params => form_params,
|
|
1153
|
+
:body => post_body,
|
|
1154
|
+
:auth_names => auth_names,
|
|
1155
|
+
:return_type => return_type
|
|
1156
|
+
)
|
|
1157
|
+
|
|
1158
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1159
|
+
if @api_client.config.debugging
|
|
1160
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_delete_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1161
|
+
end
|
|
1162
|
+
return data, status_code, headers
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
# @param org [String]
|
|
1166
|
+
# @param workspace [String]
|
|
1167
|
+
# @param id [String]
|
|
1168
|
+
# @param [Hash] opts the optional parameters
|
|
1169
|
+
# @return [nil]
|
|
1170
|
+
def workspace_end_call(org, workspace, id, opts = {})
|
|
1171
|
+
workspace_end_call_with_http_info(org, workspace, id, opts)
|
|
1172
|
+
nil
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1175
|
+
# @param org [String]
|
|
1176
|
+
# @param workspace [String]
|
|
1177
|
+
# @param id [String]
|
|
1178
|
+
# @param [Hash] opts the optional parameters
|
|
1179
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1180
|
+
def workspace_end_call_with_http_info(org, workspace, id, opts = {})
|
|
1181
|
+
if @api_client.config.debugging
|
|
1182
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_end_call ...'
|
|
1183
|
+
end
|
|
1184
|
+
# verify the required parameter 'org' is set
|
|
1185
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1186
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_end_call"
|
|
1187
|
+
end
|
|
1188
|
+
# verify the required parameter 'workspace' is set
|
|
1189
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1190
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_end_call"
|
|
1191
|
+
end
|
|
1192
|
+
# verify the required parameter 'id' is set
|
|
1193
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1194
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_end_call"
|
|
1195
|
+
end
|
|
1196
|
+
# resource path
|
|
1197
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/end'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1198
|
+
|
|
1199
|
+
# query parameters
|
|
1200
|
+
query_params = opts[:query_params] || {}
|
|
1201
|
+
|
|
1202
|
+
# header parameters
|
|
1203
|
+
header_params = opts[:header_params] || {}
|
|
1204
|
+
# HTTP header 'Accept' (if needed)
|
|
1205
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1206
|
+
|
|
1207
|
+
# form parameters
|
|
1208
|
+
form_params = opts[:form_params] || {}
|
|
1209
|
+
|
|
1210
|
+
# http body (model)
|
|
1211
|
+
post_body = opts[:debug_body]
|
|
1212
|
+
|
|
1213
|
+
# return_type
|
|
1214
|
+
return_type = opts[:debug_return_type]
|
|
1215
|
+
|
|
1216
|
+
# auth_names
|
|
1217
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1218
|
+
|
|
1219
|
+
new_options = opts.merge(
|
|
1220
|
+
:operation => :"CallsApi.workspace_end_call",
|
|
1221
|
+
:header_params => header_params,
|
|
1222
|
+
:query_params => query_params,
|
|
1223
|
+
:form_params => form_params,
|
|
1224
|
+
:body => post_body,
|
|
1225
|
+
:auth_names => auth_names,
|
|
1226
|
+
:return_type => return_type
|
|
1227
|
+
)
|
|
1228
|
+
|
|
1229
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1230
|
+
if @api_client.config.debugging
|
|
1231
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_end_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1232
|
+
end
|
|
1233
|
+
return data, status_code, headers
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
# @param org [String]
|
|
1237
|
+
# @param workspace [String]
|
|
1238
|
+
# @param [Hash] opts the optional parameters
|
|
1239
|
+
# @return [Hash<String, Object>]
|
|
1240
|
+
def workspace_get_bandwidth_history(org, workspace, opts = {})
|
|
1241
|
+
data, _status_code, _headers = workspace_get_bandwidth_history_with_http_info(org, workspace, opts)
|
|
1242
|
+
data
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# @param org [String]
|
|
1246
|
+
# @param workspace [String]
|
|
1247
|
+
# @param [Hash] opts the optional parameters
|
|
1248
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1249
|
+
def workspace_get_bandwidth_history_with_http_info(org, workspace, opts = {})
|
|
1250
|
+
if @api_client.config.debugging
|
|
1251
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_get_bandwidth_history ...'
|
|
1252
|
+
end
|
|
1253
|
+
# verify the required parameter 'org' is set
|
|
1254
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1255
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_get_bandwidth_history"
|
|
1256
|
+
end
|
|
1257
|
+
# verify the required parameter 'workspace' is set
|
|
1258
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1259
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_get_bandwidth_history"
|
|
1260
|
+
end
|
|
1261
|
+
# resource path
|
|
1262
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/bandwidth/history'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s))
|
|
1263
|
+
|
|
1264
|
+
# query parameters
|
|
1265
|
+
query_params = opts[:query_params] || {}
|
|
1266
|
+
|
|
1267
|
+
# header parameters
|
|
1268
|
+
header_params = opts[:header_params] || {}
|
|
1269
|
+
# HTTP header 'Accept' (if needed)
|
|
1270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1271
|
+
|
|
1272
|
+
# form parameters
|
|
1273
|
+
form_params = opts[:form_params] || {}
|
|
1274
|
+
|
|
1275
|
+
# http body (model)
|
|
1276
|
+
post_body = opts[:debug_body]
|
|
1277
|
+
|
|
1278
|
+
# return_type
|
|
1279
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1280
|
+
|
|
1281
|
+
# auth_names
|
|
1282
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1283
|
+
|
|
1284
|
+
new_options = opts.merge(
|
|
1285
|
+
:operation => :"CallsApi.workspace_get_bandwidth_history",
|
|
1286
|
+
:header_params => header_params,
|
|
1287
|
+
:query_params => query_params,
|
|
1288
|
+
:form_params => form_params,
|
|
1289
|
+
:body => post_body,
|
|
1290
|
+
:auth_names => auth_names,
|
|
1291
|
+
:return_type => return_type
|
|
1292
|
+
)
|
|
1293
|
+
|
|
1294
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1295
|
+
if @api_client.config.debugging
|
|
1296
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_get_bandwidth_history\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1297
|
+
end
|
|
1298
|
+
return data, status_code, headers
|
|
1299
|
+
end
|
|
1300
|
+
|
|
1301
|
+
# @param org [String]
|
|
1302
|
+
# @param workspace [String]
|
|
1303
|
+
# @param [Hash] opts the optional parameters
|
|
1304
|
+
# @return [Hash<String, Object>]
|
|
1305
|
+
def workspace_get_bandwidth_summary(org, workspace, opts = {})
|
|
1306
|
+
data, _status_code, _headers = workspace_get_bandwidth_summary_with_http_info(org, workspace, opts)
|
|
1307
|
+
data
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# @param org [String]
|
|
1311
|
+
# @param workspace [String]
|
|
1312
|
+
# @param [Hash] opts the optional parameters
|
|
1313
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1314
|
+
def workspace_get_bandwidth_summary_with_http_info(org, workspace, opts = {})
|
|
1315
|
+
if @api_client.config.debugging
|
|
1316
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_get_bandwidth_summary ...'
|
|
1317
|
+
end
|
|
1318
|
+
# verify the required parameter 'org' is set
|
|
1319
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1320
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_get_bandwidth_summary"
|
|
1321
|
+
end
|
|
1322
|
+
# verify the required parameter 'workspace' is set
|
|
1323
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1324
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_get_bandwidth_summary"
|
|
1325
|
+
end
|
|
1326
|
+
# resource path
|
|
1327
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/bandwidth/summary'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s))
|
|
1328
|
+
|
|
1329
|
+
# query parameters
|
|
1330
|
+
query_params = opts[:query_params] || {}
|
|
1331
|
+
|
|
1332
|
+
# header parameters
|
|
1333
|
+
header_params = opts[:header_params] || {}
|
|
1334
|
+
# HTTP header 'Accept' (if needed)
|
|
1335
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1336
|
+
|
|
1337
|
+
# form parameters
|
|
1338
|
+
form_params = opts[:form_params] || {}
|
|
1339
|
+
|
|
1340
|
+
# http body (model)
|
|
1341
|
+
post_body = opts[:debug_body]
|
|
1342
|
+
|
|
1343
|
+
# return_type
|
|
1344
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1345
|
+
|
|
1346
|
+
# auth_names
|
|
1347
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1348
|
+
|
|
1349
|
+
new_options = opts.merge(
|
|
1350
|
+
:operation => :"CallsApi.workspace_get_bandwidth_summary",
|
|
1351
|
+
:header_params => header_params,
|
|
1352
|
+
:query_params => query_params,
|
|
1353
|
+
:form_params => form_params,
|
|
1354
|
+
:body => post_body,
|
|
1355
|
+
:auth_names => auth_names,
|
|
1356
|
+
:return_type => return_type
|
|
1357
|
+
)
|
|
1358
|
+
|
|
1359
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1360
|
+
if @api_client.config.debugging
|
|
1361
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_get_bandwidth_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1362
|
+
end
|
|
1363
|
+
return data, status_code, headers
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
# @param org [String]
|
|
1367
|
+
# @param workspace [String]
|
|
1368
|
+
# @param id [String]
|
|
1369
|
+
# @param [Hash] opts the optional parameters
|
|
1370
|
+
# @return [Hash<String, Object>]
|
|
1371
|
+
def workspace_get_call(org, workspace, id, opts = {})
|
|
1372
|
+
data, _status_code, _headers = workspace_get_call_with_http_info(org, workspace, id, opts)
|
|
1373
|
+
data
|
|
1374
|
+
end
|
|
1375
|
+
|
|
1376
|
+
# @param org [String]
|
|
1377
|
+
# @param workspace [String]
|
|
1378
|
+
# @param id [String]
|
|
1379
|
+
# @param [Hash] opts the optional parameters
|
|
1380
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1381
|
+
def workspace_get_call_with_http_info(org, workspace, id, opts = {})
|
|
1382
|
+
if @api_client.config.debugging
|
|
1383
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_get_call ...'
|
|
1384
|
+
end
|
|
1385
|
+
# verify the required parameter 'org' is set
|
|
1386
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1387
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_get_call"
|
|
1388
|
+
end
|
|
1389
|
+
# verify the required parameter 'workspace' is set
|
|
1390
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1391
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_get_call"
|
|
1392
|
+
end
|
|
1393
|
+
# verify the required parameter 'id' is set
|
|
1394
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1395
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_get_call"
|
|
1396
|
+
end
|
|
1397
|
+
# resource path
|
|
1398
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1399
|
+
|
|
1400
|
+
# query parameters
|
|
1401
|
+
query_params = opts[:query_params] || {}
|
|
1402
|
+
|
|
1403
|
+
# header parameters
|
|
1404
|
+
header_params = opts[:header_params] || {}
|
|
1405
|
+
# HTTP header 'Accept' (if needed)
|
|
1406
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1407
|
+
|
|
1408
|
+
# form parameters
|
|
1409
|
+
form_params = opts[:form_params] || {}
|
|
1410
|
+
|
|
1411
|
+
# http body (model)
|
|
1412
|
+
post_body = opts[:debug_body]
|
|
1413
|
+
|
|
1414
|
+
# return_type
|
|
1415
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1416
|
+
|
|
1417
|
+
# auth_names
|
|
1418
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1419
|
+
|
|
1420
|
+
new_options = opts.merge(
|
|
1421
|
+
:operation => :"CallsApi.workspace_get_call",
|
|
1422
|
+
:header_params => header_params,
|
|
1423
|
+
:query_params => query_params,
|
|
1424
|
+
:form_params => form_params,
|
|
1425
|
+
:body => post_body,
|
|
1426
|
+
:auth_names => auth_names,
|
|
1427
|
+
:return_type => return_type
|
|
1428
|
+
)
|
|
1429
|
+
|
|
1430
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1431
|
+
if @api_client.config.debugging
|
|
1432
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_get_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1433
|
+
end
|
|
1434
|
+
return data, status_code, headers
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
# @param org [String]
|
|
1438
|
+
# @param workspace [String]
|
|
1439
|
+
# @param id [String]
|
|
1440
|
+
# @param [Hash] opts the optional parameters
|
|
1441
|
+
# @return [Hash<String, Object>]
|
|
1442
|
+
def workspace_get_meeting_room(org, workspace, id, opts = {})
|
|
1443
|
+
data, _status_code, _headers = workspace_get_meeting_room_with_http_info(org, workspace, id, opts)
|
|
1444
|
+
data
|
|
1445
|
+
end
|
|
1446
|
+
|
|
1447
|
+
# @param org [String]
|
|
1448
|
+
# @param workspace [String]
|
|
1449
|
+
# @param id [String]
|
|
1450
|
+
# @param [Hash] opts the optional parameters
|
|
1451
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1452
|
+
def workspace_get_meeting_room_with_http_info(org, workspace, id, opts = {})
|
|
1453
|
+
if @api_client.config.debugging
|
|
1454
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_get_meeting_room ...'
|
|
1455
|
+
end
|
|
1456
|
+
# verify the required parameter 'org' is set
|
|
1457
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1458
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_get_meeting_room"
|
|
1459
|
+
end
|
|
1460
|
+
# verify the required parameter 'workspace' is set
|
|
1461
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1462
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_get_meeting_room"
|
|
1463
|
+
end
|
|
1464
|
+
# verify the required parameter 'id' is set
|
|
1465
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1466
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_get_meeting_room"
|
|
1467
|
+
end
|
|
1468
|
+
# resource path
|
|
1469
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/rooms/{id}'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1470
|
+
|
|
1471
|
+
# query parameters
|
|
1472
|
+
query_params = opts[:query_params] || {}
|
|
1473
|
+
|
|
1474
|
+
# header parameters
|
|
1475
|
+
header_params = opts[:header_params] || {}
|
|
1476
|
+
# HTTP header 'Accept' (if needed)
|
|
1477
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1478
|
+
|
|
1479
|
+
# form parameters
|
|
1480
|
+
form_params = opts[:form_params] || {}
|
|
1481
|
+
|
|
1482
|
+
# http body (model)
|
|
1483
|
+
post_body = opts[:debug_body]
|
|
1484
|
+
|
|
1485
|
+
# return_type
|
|
1486
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1487
|
+
|
|
1488
|
+
# auth_names
|
|
1489
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1490
|
+
|
|
1491
|
+
new_options = opts.merge(
|
|
1492
|
+
:operation => :"CallsApi.workspace_get_meeting_room",
|
|
1493
|
+
:header_params => header_params,
|
|
1494
|
+
:query_params => query_params,
|
|
1495
|
+
:form_params => form_params,
|
|
1496
|
+
:body => post_body,
|
|
1497
|
+
:auth_names => auth_names,
|
|
1498
|
+
:return_type => return_type
|
|
1499
|
+
)
|
|
1500
|
+
|
|
1501
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1502
|
+
if @api_client.config.debugging
|
|
1503
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_get_meeting_room\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1504
|
+
end
|
|
1505
|
+
return data, status_code, headers
|
|
1506
|
+
end
|
|
1507
|
+
|
|
1508
|
+
# @param org [String]
|
|
1509
|
+
# @param workspace [String]
|
|
1510
|
+
# @param id [String]
|
|
1511
|
+
# @param [Hash] opts the optional parameters
|
|
1512
|
+
# @return [Hash<String, Object>]
|
|
1513
|
+
def workspace_join_call(org, workspace, id, opts = {})
|
|
1514
|
+
data, _status_code, _headers = workspace_join_call_with_http_info(org, workspace, id, opts)
|
|
1515
|
+
data
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
# @param org [String]
|
|
1519
|
+
# @param workspace [String]
|
|
1520
|
+
# @param id [String]
|
|
1521
|
+
# @param [Hash] opts the optional parameters
|
|
1522
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1523
|
+
def workspace_join_call_with_http_info(org, workspace, id, opts = {})
|
|
1524
|
+
if @api_client.config.debugging
|
|
1525
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_join_call ...'
|
|
1526
|
+
end
|
|
1527
|
+
# verify the required parameter 'org' is set
|
|
1528
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1529
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_join_call"
|
|
1530
|
+
end
|
|
1531
|
+
# verify the required parameter 'workspace' is set
|
|
1532
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1533
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_join_call"
|
|
1534
|
+
end
|
|
1535
|
+
# verify the required parameter 'id' is set
|
|
1536
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1537
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_join_call"
|
|
1538
|
+
end
|
|
1539
|
+
# resource path
|
|
1540
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/join'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1541
|
+
|
|
1542
|
+
# query parameters
|
|
1543
|
+
query_params = opts[:query_params] || {}
|
|
1544
|
+
|
|
1545
|
+
# header parameters
|
|
1546
|
+
header_params = opts[:header_params] || {}
|
|
1547
|
+
# HTTP header 'Accept' (if needed)
|
|
1548
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1549
|
+
|
|
1550
|
+
# form parameters
|
|
1551
|
+
form_params = opts[:form_params] || {}
|
|
1552
|
+
|
|
1553
|
+
# http body (model)
|
|
1554
|
+
post_body = opts[:debug_body]
|
|
1555
|
+
|
|
1556
|
+
# return_type
|
|
1557
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1558
|
+
|
|
1559
|
+
# auth_names
|
|
1560
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1561
|
+
|
|
1562
|
+
new_options = opts.merge(
|
|
1563
|
+
:operation => :"CallsApi.workspace_join_call",
|
|
1564
|
+
:header_params => header_params,
|
|
1565
|
+
:query_params => query_params,
|
|
1566
|
+
:form_params => form_params,
|
|
1567
|
+
:body => post_body,
|
|
1568
|
+
:auth_names => auth_names,
|
|
1569
|
+
:return_type => return_type
|
|
1570
|
+
)
|
|
1571
|
+
|
|
1572
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1573
|
+
if @api_client.config.debugging
|
|
1574
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_join_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1575
|
+
end
|
|
1576
|
+
return data, status_code, headers
|
|
1577
|
+
end
|
|
1578
|
+
|
|
1579
|
+
# @param org [String]
|
|
1580
|
+
# @param workspace [String]
|
|
1581
|
+
# @param id [String]
|
|
1582
|
+
# @param [Hash] opts the optional parameters
|
|
1583
|
+
# @return [nil]
|
|
1584
|
+
def workspace_leave_call(org, workspace, id, opts = {})
|
|
1585
|
+
workspace_leave_call_with_http_info(org, workspace, id, opts)
|
|
1586
|
+
nil
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1589
|
+
# @param org [String]
|
|
1590
|
+
# @param workspace [String]
|
|
1591
|
+
# @param id [String]
|
|
1592
|
+
# @param [Hash] opts the optional parameters
|
|
1593
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1594
|
+
def workspace_leave_call_with_http_info(org, workspace, id, opts = {})
|
|
1595
|
+
if @api_client.config.debugging
|
|
1596
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_leave_call ...'
|
|
1597
|
+
end
|
|
1598
|
+
# verify the required parameter 'org' is set
|
|
1599
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1600
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_leave_call"
|
|
1601
|
+
end
|
|
1602
|
+
# verify the required parameter 'workspace' is set
|
|
1603
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1604
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_leave_call"
|
|
1605
|
+
end
|
|
1606
|
+
# verify the required parameter 'id' is set
|
|
1607
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1608
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_leave_call"
|
|
1609
|
+
end
|
|
1610
|
+
# resource path
|
|
1611
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/leave'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1612
|
+
|
|
1613
|
+
# query parameters
|
|
1614
|
+
query_params = opts[:query_params] || {}
|
|
1615
|
+
|
|
1616
|
+
# header parameters
|
|
1617
|
+
header_params = opts[:header_params] || {}
|
|
1618
|
+
# HTTP header 'Accept' (if needed)
|
|
1619
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1620
|
+
|
|
1621
|
+
# form parameters
|
|
1622
|
+
form_params = opts[:form_params] || {}
|
|
1623
|
+
|
|
1624
|
+
# http body (model)
|
|
1625
|
+
post_body = opts[:debug_body]
|
|
1626
|
+
|
|
1627
|
+
# return_type
|
|
1628
|
+
return_type = opts[:debug_return_type]
|
|
1629
|
+
|
|
1630
|
+
# auth_names
|
|
1631
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1632
|
+
|
|
1633
|
+
new_options = opts.merge(
|
|
1634
|
+
:operation => :"CallsApi.workspace_leave_call",
|
|
1635
|
+
:header_params => header_params,
|
|
1636
|
+
:query_params => query_params,
|
|
1637
|
+
:form_params => form_params,
|
|
1638
|
+
:body => post_body,
|
|
1639
|
+
:auth_names => auth_names,
|
|
1640
|
+
:return_type => return_type
|
|
1641
|
+
)
|
|
1642
|
+
|
|
1643
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1644
|
+
if @api_client.config.debugging
|
|
1645
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_leave_call\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1646
|
+
end
|
|
1647
|
+
return data, status_code, headers
|
|
1648
|
+
end
|
|
1649
|
+
|
|
1650
|
+
# @param org [String]
|
|
1651
|
+
# @param workspace [String]
|
|
1652
|
+
# @param [Hash] opts the optional parameters
|
|
1653
|
+
# @return [Hash<String, Object>]
|
|
1654
|
+
def workspace_list_active_calls(org, workspace, opts = {})
|
|
1655
|
+
data, _status_code, _headers = workspace_list_active_calls_with_http_info(org, workspace, opts)
|
|
1656
|
+
data
|
|
1657
|
+
end
|
|
1658
|
+
|
|
1659
|
+
# @param org [String]
|
|
1660
|
+
# @param workspace [String]
|
|
1661
|
+
# @param [Hash] opts the optional parameters
|
|
1662
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1663
|
+
def workspace_list_active_calls_with_http_info(org, workspace, opts = {})
|
|
1664
|
+
if @api_client.config.debugging
|
|
1665
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_list_active_calls ...'
|
|
1666
|
+
end
|
|
1667
|
+
# verify the required parameter 'org' is set
|
|
1668
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1669
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_list_active_calls"
|
|
1670
|
+
end
|
|
1671
|
+
# verify the required parameter 'workspace' is set
|
|
1672
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1673
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_list_active_calls"
|
|
1674
|
+
end
|
|
1675
|
+
# resource path
|
|
1676
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s))
|
|
1677
|
+
|
|
1678
|
+
# query parameters
|
|
1679
|
+
query_params = opts[:query_params] || {}
|
|
1680
|
+
|
|
1681
|
+
# header parameters
|
|
1682
|
+
header_params = opts[:header_params] || {}
|
|
1683
|
+
# HTTP header 'Accept' (if needed)
|
|
1684
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1685
|
+
|
|
1686
|
+
# form parameters
|
|
1687
|
+
form_params = opts[:form_params] || {}
|
|
1688
|
+
|
|
1689
|
+
# http body (model)
|
|
1690
|
+
post_body = opts[:debug_body]
|
|
1691
|
+
|
|
1692
|
+
# return_type
|
|
1693
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1694
|
+
|
|
1695
|
+
# auth_names
|
|
1696
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1697
|
+
|
|
1698
|
+
new_options = opts.merge(
|
|
1699
|
+
:operation => :"CallsApi.workspace_list_active_calls",
|
|
1700
|
+
:header_params => header_params,
|
|
1701
|
+
:query_params => query_params,
|
|
1702
|
+
:form_params => form_params,
|
|
1703
|
+
:body => post_body,
|
|
1704
|
+
:auth_names => auth_names,
|
|
1705
|
+
:return_type => return_type
|
|
1706
|
+
)
|
|
1707
|
+
|
|
1708
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1709
|
+
if @api_client.config.debugging
|
|
1710
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_list_active_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1711
|
+
end
|
|
1712
|
+
return data, status_code, headers
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
# @param org [String]
|
|
1716
|
+
# @param workspace [String]
|
|
1717
|
+
# @param id [String]
|
|
1718
|
+
# @param [Hash] opts the optional parameters
|
|
1719
|
+
# @return [Hash<String, Object>]
|
|
1720
|
+
def workspace_list_call_recordings(org, workspace, id, opts = {})
|
|
1721
|
+
data, _status_code, _headers = workspace_list_call_recordings_with_http_info(org, workspace, id, opts)
|
|
1722
|
+
data
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
# @param org [String]
|
|
1726
|
+
# @param workspace [String]
|
|
1727
|
+
# @param id [String]
|
|
1728
|
+
# @param [Hash] opts the optional parameters
|
|
1729
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1730
|
+
def workspace_list_call_recordings_with_http_info(org, workspace, id, opts = {})
|
|
1731
|
+
if @api_client.config.debugging
|
|
1732
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_list_call_recordings ...'
|
|
1733
|
+
end
|
|
1734
|
+
# verify the required parameter 'org' is set
|
|
1735
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1736
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_list_call_recordings"
|
|
1737
|
+
end
|
|
1738
|
+
# verify the required parameter 'workspace' is set
|
|
1739
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1740
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_list_call_recordings"
|
|
1741
|
+
end
|
|
1742
|
+
# verify the required parameter 'id' is set
|
|
1743
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1744
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_list_call_recordings"
|
|
1745
|
+
end
|
|
1746
|
+
# resource path
|
|
1747
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/recordings'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1748
|
+
|
|
1749
|
+
# query parameters
|
|
1750
|
+
query_params = opts[:query_params] || {}
|
|
1751
|
+
|
|
1752
|
+
# header parameters
|
|
1753
|
+
header_params = opts[:header_params] || {}
|
|
1754
|
+
# HTTP header 'Accept' (if needed)
|
|
1755
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1756
|
+
|
|
1757
|
+
# form parameters
|
|
1758
|
+
form_params = opts[:form_params] || {}
|
|
1759
|
+
|
|
1760
|
+
# http body (model)
|
|
1761
|
+
post_body = opts[:debug_body]
|
|
1762
|
+
|
|
1763
|
+
# return_type
|
|
1764
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1765
|
+
|
|
1766
|
+
# auth_names
|
|
1767
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1768
|
+
|
|
1769
|
+
new_options = opts.merge(
|
|
1770
|
+
:operation => :"CallsApi.workspace_list_call_recordings",
|
|
1771
|
+
:header_params => header_params,
|
|
1772
|
+
:query_params => query_params,
|
|
1773
|
+
:form_params => form_params,
|
|
1774
|
+
:body => post_body,
|
|
1775
|
+
:auth_names => auth_names,
|
|
1776
|
+
:return_type => return_type
|
|
1777
|
+
)
|
|
1778
|
+
|
|
1779
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1780
|
+
if @api_client.config.debugging
|
|
1781
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_list_call_recordings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1782
|
+
end
|
|
1783
|
+
return data, status_code, headers
|
|
1784
|
+
end
|
|
1785
|
+
|
|
1786
|
+
# @param org [String]
|
|
1787
|
+
# @param workspace [String]
|
|
1788
|
+
# @param id [String]
|
|
1789
|
+
# @param [Hash] opts the optional parameters
|
|
1790
|
+
# @return [Hash<String, Object>]
|
|
1791
|
+
def workspace_start_call_recording(org, workspace, id, opts = {})
|
|
1792
|
+
data, _status_code, _headers = workspace_start_call_recording_with_http_info(org, workspace, id, opts)
|
|
1793
|
+
data
|
|
1794
|
+
end
|
|
1795
|
+
|
|
1796
|
+
# @param org [String]
|
|
1797
|
+
# @param workspace [String]
|
|
1798
|
+
# @param id [String]
|
|
1799
|
+
# @param [Hash] opts the optional parameters
|
|
1800
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1801
|
+
def workspace_start_call_recording_with_http_info(org, workspace, id, opts = {})
|
|
1802
|
+
if @api_client.config.debugging
|
|
1803
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_start_call_recording ...'
|
|
1804
|
+
end
|
|
1805
|
+
# verify the required parameter 'org' is set
|
|
1806
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1807
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_start_call_recording"
|
|
1808
|
+
end
|
|
1809
|
+
# verify the required parameter 'workspace' is set
|
|
1810
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1811
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_start_call_recording"
|
|
1812
|
+
end
|
|
1813
|
+
# verify the required parameter 'id' is set
|
|
1814
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1815
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_start_call_recording"
|
|
1816
|
+
end
|
|
1817
|
+
# resource path
|
|
1818
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/recordings/start'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1819
|
+
|
|
1820
|
+
# query parameters
|
|
1821
|
+
query_params = opts[:query_params] || {}
|
|
1822
|
+
|
|
1823
|
+
# header parameters
|
|
1824
|
+
header_params = opts[:header_params] || {}
|
|
1825
|
+
# HTTP header 'Accept' (if needed)
|
|
1826
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1827
|
+
|
|
1828
|
+
# form parameters
|
|
1829
|
+
form_params = opts[:form_params] || {}
|
|
1830
|
+
|
|
1831
|
+
# http body (model)
|
|
1832
|
+
post_body = opts[:debug_body]
|
|
1833
|
+
|
|
1834
|
+
# return_type
|
|
1835
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1836
|
+
|
|
1837
|
+
# auth_names
|
|
1838
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1839
|
+
|
|
1840
|
+
new_options = opts.merge(
|
|
1841
|
+
:operation => :"CallsApi.workspace_start_call_recording",
|
|
1842
|
+
:header_params => header_params,
|
|
1843
|
+
:query_params => query_params,
|
|
1844
|
+
:form_params => form_params,
|
|
1845
|
+
:body => post_body,
|
|
1846
|
+
:auth_names => auth_names,
|
|
1847
|
+
:return_type => return_type
|
|
1848
|
+
)
|
|
1849
|
+
|
|
1850
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1851
|
+
if @api_client.config.debugging
|
|
1852
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_start_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1853
|
+
end
|
|
1854
|
+
return data, status_code, headers
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# @param org [String]
|
|
1858
|
+
# @param workspace [String]
|
|
1859
|
+
# @param id [String]
|
|
1860
|
+
# @param recording_id [String]
|
|
1861
|
+
# @param [Hash] opts the optional parameters
|
|
1862
|
+
# @return [Hash<String, Object>]
|
|
1863
|
+
def workspace_stop_call_recording(org, workspace, id, recording_id, opts = {})
|
|
1864
|
+
data, _status_code, _headers = workspace_stop_call_recording_with_http_info(org, workspace, id, recording_id, opts)
|
|
1865
|
+
data
|
|
1866
|
+
end
|
|
1867
|
+
|
|
1868
|
+
# @param org [String]
|
|
1869
|
+
# @param workspace [String]
|
|
1870
|
+
# @param id [String]
|
|
1871
|
+
# @param recording_id [String]
|
|
1872
|
+
# @param [Hash] opts the optional parameters
|
|
1873
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1874
|
+
def workspace_stop_call_recording_with_http_info(org, workspace, id, recording_id, opts = {})
|
|
1875
|
+
if @api_client.config.debugging
|
|
1876
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_stop_call_recording ...'
|
|
1877
|
+
end
|
|
1878
|
+
# verify the required parameter 'org' is set
|
|
1879
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1880
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_stop_call_recording"
|
|
1881
|
+
end
|
|
1882
|
+
# verify the required parameter 'workspace' is set
|
|
1883
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1884
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_stop_call_recording"
|
|
1885
|
+
end
|
|
1886
|
+
# verify the required parameter 'id' is set
|
|
1887
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1888
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_stop_call_recording"
|
|
1889
|
+
end
|
|
1890
|
+
# verify the required parameter 'recording_id' is set
|
|
1891
|
+
if @api_client.config.client_side_validation && recording_id.nil?
|
|
1892
|
+
fail ArgumentError, "Missing the required parameter 'recording_id' when calling CallsApi.workspace_stop_call_recording"
|
|
1893
|
+
end
|
|
1894
|
+
# resource path
|
|
1895
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/recordings/{recordingId}/stop'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s)).sub('{recordingId}', CGI.escape(recording_id.to_s))
|
|
1896
|
+
|
|
1897
|
+
# query parameters
|
|
1898
|
+
query_params = opts[:query_params] || {}
|
|
1899
|
+
|
|
1900
|
+
# header parameters
|
|
1901
|
+
header_params = opts[:header_params] || {}
|
|
1902
|
+
# HTTP header 'Accept' (if needed)
|
|
1903
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1904
|
+
|
|
1905
|
+
# form parameters
|
|
1906
|
+
form_params = opts[:form_params] || {}
|
|
1907
|
+
|
|
1908
|
+
# http body (model)
|
|
1909
|
+
post_body = opts[:debug_body]
|
|
1910
|
+
|
|
1911
|
+
# return_type
|
|
1912
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1913
|
+
|
|
1914
|
+
# auth_names
|
|
1915
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1916
|
+
|
|
1917
|
+
new_options = opts.merge(
|
|
1918
|
+
:operation => :"CallsApi.workspace_stop_call_recording",
|
|
1919
|
+
:header_params => header_params,
|
|
1920
|
+
:query_params => query_params,
|
|
1921
|
+
:form_params => form_params,
|
|
1922
|
+
:body => post_body,
|
|
1923
|
+
:auth_names => auth_names,
|
|
1924
|
+
:return_type => return_type
|
|
1925
|
+
)
|
|
1926
|
+
|
|
1927
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1928
|
+
if @api_client.config.debugging
|
|
1929
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_stop_call_recording\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1930
|
+
end
|
|
1931
|
+
return data, status_code, headers
|
|
1932
|
+
end
|
|
1933
|
+
|
|
1934
|
+
# @param org [String]
|
|
1935
|
+
# @param workspace [String]
|
|
1936
|
+
# @param id [String]
|
|
1937
|
+
# @param request_body [Hash<String, Object>]
|
|
1938
|
+
# @param [Hash] opts the optional parameters
|
|
1939
|
+
# @return [Hash<String, Object>]
|
|
1940
|
+
def workspace_update_call_participant(org, workspace, id, request_body, opts = {})
|
|
1941
|
+
data, _status_code, _headers = workspace_update_call_participant_with_http_info(org, workspace, id, request_body, opts)
|
|
1942
|
+
data
|
|
1943
|
+
end
|
|
1944
|
+
|
|
1945
|
+
# @param org [String]
|
|
1946
|
+
# @param workspace [String]
|
|
1947
|
+
# @param id [String]
|
|
1948
|
+
# @param request_body [Hash<String, Object>]
|
|
1949
|
+
# @param [Hash] opts the optional parameters
|
|
1950
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
|
1951
|
+
def workspace_update_call_participant_with_http_info(org, workspace, id, request_body, opts = {})
|
|
1952
|
+
if @api_client.config.debugging
|
|
1953
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.workspace_update_call_participant ...'
|
|
1954
|
+
end
|
|
1955
|
+
# verify the required parameter 'org' is set
|
|
1956
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
1957
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling CallsApi.workspace_update_call_participant"
|
|
1958
|
+
end
|
|
1959
|
+
# verify the required parameter 'workspace' is set
|
|
1960
|
+
if @api_client.config.client_side_validation && workspace.nil?
|
|
1961
|
+
fail ArgumentError, "Missing the required parameter 'workspace' when calling CallsApi.workspace_update_call_participant"
|
|
1962
|
+
end
|
|
1963
|
+
# verify the required parameter 'id' is set
|
|
1964
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1965
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling CallsApi.workspace_update_call_participant"
|
|
1966
|
+
end
|
|
1967
|
+
# verify the required parameter 'request_body' is set
|
|
1968
|
+
if @api_client.config.client_side_validation && request_body.nil?
|
|
1969
|
+
fail ArgumentError, "Missing the required parameter 'request_body' when calling CallsApi.workspace_update_call_participant"
|
|
1970
|
+
end
|
|
1971
|
+
# resource path
|
|
1972
|
+
local_var_path = '/v1/organizations/{org}/workspaces/{workspace}/calls/{id}/participant'.sub('{org}', CGI.escape(org.to_s)).sub('{workspace}', CGI.escape(workspace.to_s)).sub('{id}', CGI.escape(id.to_s))
|
|
1973
|
+
|
|
1974
|
+
# query parameters
|
|
1975
|
+
query_params = opts[:query_params] || {}
|
|
1976
|
+
|
|
1977
|
+
# header parameters
|
|
1978
|
+
header_params = opts[:header_params] || {}
|
|
1979
|
+
# HTTP header 'Accept' (if needed)
|
|
1980
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1981
|
+
# HTTP header 'Content-Type'
|
|
1982
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1983
|
+
if !content_type.nil?
|
|
1984
|
+
header_params['Content-Type'] = content_type
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
# form parameters
|
|
1988
|
+
form_params = opts[:form_params] || {}
|
|
1989
|
+
|
|
1990
|
+
# http body (model)
|
|
1991
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body)
|
|
1992
|
+
|
|
1993
|
+
# return_type
|
|
1994
|
+
return_type = opts[:debug_return_type] || 'Hash<String, Object>'
|
|
1995
|
+
|
|
1996
|
+
# auth_names
|
|
1997
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1998
|
+
|
|
1999
|
+
new_options = opts.merge(
|
|
2000
|
+
:operation => :"CallsApi.workspace_update_call_participant",
|
|
2001
|
+
:header_params => header_params,
|
|
2002
|
+
:query_params => query_params,
|
|
2003
|
+
:form_params => form_params,
|
|
2004
|
+
:body => post_body,
|
|
2005
|
+
:auth_names => auth_names,
|
|
2006
|
+
:return_type => return_type
|
|
2007
|
+
)
|
|
2008
|
+
|
|
2009
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
2010
|
+
if @api_client.config.debugging
|
|
2011
|
+
@api_client.config.logger.debug "API called: CallsApi#workspace_update_call_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2012
|
+
end
|
|
2013
|
+
return data, status_code, headers
|
|
2014
|
+
end
|
|
2015
|
+
end
|
|
2016
|
+
end
|