mudbase 1.1.9 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/AuthApi.md +1131 -0
- data/docs/AuthConfig.md +1 -1
- data/docs/AuthConfirmPasswordResetRequest.md +24 -0
- data/docs/AuthConvertAnonymous200Response.md +26 -0
- data/docs/AuthConvertAnonymousRequest.md +24 -0
- data/docs/AuthCreateAnonymous200Response.md +26 -0
- data/docs/AuthCreateAnonymous200ResponseUser.md +28 -0
- data/docs/AuthCreateAnonymousRequest.md +20 -0
- data/docs/AuthGetOAuthProviders200Response.md +20 -0
- data/docs/AuthGetOAuthProviders200ResponseProvidersInner.md +28 -0
- data/docs/AuthGetSession200Response.md +20 -0
- data/docs/AuthLogin200Response.md +26 -0
- data/docs/AuthLogin200ResponseUser.md +30 -0
- data/docs/AuthLogin403Response.md +22 -0
- data/docs/AuthLoginRequest.md +22 -0
- data/docs/AuthOauthCallback200Response.md +20 -0
- data/docs/AuthOauthInitiate200Response.md +18 -0
- data/docs/AuthOauthInitiate400Response.md +18 -0
- data/docs/AuthOauthSignupWithRole400Response.md +20 -0
- data/docs/AuthRefresh200Response.md +24 -0
- data/docs/AuthRefresh400Response.md +18 -0
- data/docs/AuthRefreshRequest.md +18 -0
- data/docs/AuthRegister201Response.md +28 -0
- data/docs/AuthRegister201ResponseUser.md +28 -0
- data/docs/AuthRegister429Response.md +30 -0
- data/docs/AuthRegisterRequest.md +26 -0
- data/docs/AuthRegisterWithRoleRequest.md +26 -0
- data/docs/AuthRequestPasswordResetRequest.md +20 -0
- data/docs/AuthResetPasswordRequest.md +20 -0
- data/docs/AuthVerifyMagicLinkRequest.md +18 -0
- data/docs/BillingApi.md +121 -121
- data/docs/BillingCheckFeatureAccess200Response.md +20 -0
- data/docs/BillingCheckSubscription200Response.md +20 -0
- data/docs/BillingCheckSubscription200ResponseSubscription.md +20 -0
- data/docs/BillingCreateCheckoutSession200Response.md +20 -0
- data/docs/BillingCreateCheckoutSession200ResponseData.md +38 -0
- data/docs/BillingCreateCheckoutSession200ResponseDataPaymentOptionsInner.md +28 -0
- data/docs/BillingCreateCheckoutSessionRequest.md +26 -0
- data/docs/BillingCreateCheckoutSessionRequestCustomerInfo.md +20 -0
- data/docs/BillingGetCheckoutPayment200Response.md +20 -0
- data/docs/BillingGetCheckoutPayment200ResponseData.md +34 -0
- data/docs/BillingGetPublicPlans200Response.md +18 -0
- data/docs/BillingHandleCryptoWebhook200Response.md +18 -0
- data/docs/BillingHandleCryptoWebhookRequest.md +20 -0
- data/docs/BillingHandleCryptoWebhookRequestData.md +30 -0
- data/docs/BillingHandleFlutterwaveWebhookRequest.md +20 -0
- data/docs/BillingHandleFlutterwaveWebhookRequestData.md +32 -0
- data/docs/BillingHandleFlutterwaveWebhookRequestDataCustomer.md +20 -0
- data/docs/BillingInitializePaymentRequest.md +24 -0
- data/docs/BillingInitializePaymentRequestCustomer.md +20 -0
- data/docs/BillingRecordUsageRequest.md +22 -0
- data/docs/BillingVerifyPayment200Response.md +22 -0
- data/docs/BillingVerifyPayment200ResponseData.md +18 -0
- data/docs/BillingVerifyPayment200ResponseDataSubscription.md +24 -0
- data/docs/ChatAddParticipant200Response.md +20 -0
- data/docs/ChatAddParticipant200ResponseData.md +18 -0
- data/docs/ChatAddParticipant200ResponseDataParticipantsInner.md +22 -0
- data/docs/ChatAddParticipantRequest.md +20 -0
- data/docs/ChatAddReaction200Response.md +20 -0
- data/docs/ChatAddReaction200ResponseDataInner.md +20 -0
- data/docs/ChatAddReactionRequest.md +18 -0
- data/docs/ChatApi.md +168 -168
- data/docs/ChatCreate201Response.md +20 -0
- data/docs/ChatCreate201ResponseData.md +26 -0
- data/docs/ChatCreateRequest.md +26 -0
- data/docs/ChatEditMessage200Response.md +20 -0
- data/docs/ChatEditMessage200ResponseData.md +22 -0
- data/docs/ChatEditMessageRequest.md +18 -0
- data/docs/ChatGet200Response.md +20 -0
- data/docs/ChatGet200ResponseData.md +22 -0
- data/docs/ChatGet200ResponseDataParticipantsInner.md +20 -0
- data/docs/ChatGetMessages200Response.md +20 -0
- data/docs/ChatGetMessages200ResponseData.md +20 -0
- data/docs/ChatGetMessages200ResponseDataMessagesInner.md +24 -0
- data/docs/ChatGetMessages200ResponseDataMessagesInnerSender.md +20 -0
- data/docs/ChatList200Response.md +20 -0
- data/docs/ChatList200ResponseData.md +20 -0
- data/docs/ChatList200ResponseDataChatsInner.md +26 -0
- data/docs/ChatList200ResponseDataChatsInnerLastMessage.md +18 -0
- data/docs/ChatMarkAsRead200Response.md +20 -0
- data/docs/ChatMarkAsRead200ResponseData.md +18 -0
- data/docs/ChatMarkAsReadRequest.md +18 -0
- data/docs/ChatRemoveParticipantRequest.md +18 -0
- data/docs/ChatRemoveReaction200Response.md +20 -0
- data/docs/ChatRemoveReaction200ResponseDataInner.md +22 -0
- data/docs/ChatSendMessage201Response.md +20 -0
- data/docs/ChatSendMessage201ResponseData.md +24 -0
- data/docs/ChatSendMessageRequest.md +24 -0
- data/docs/CollectionsApi.md +66 -66
- data/docs/CollectionsCreate201Response.md +20 -0
- data/docs/CollectionsList200Response.md +20 -0
- data/docs/ComplianceApi.md +15 -15
- data/docs/ComplianceLogSecurityEvent200Response.md +20 -0
- data/docs/ComplianceLogSecurityEvent200ResponseEvent.md +24 -0
- data/docs/ComplianceLogSecurityEventRequest.md +22 -0
- data/docs/ComplianceLogSecurityEventRequestDetails.md +28 -0
- data/docs/DataApi.md +60 -60
- data/docs/Error.md +1 -1
- data/docs/FunctionsApi.md +167 -167
- data/docs/FunctionsDelete200Response.md +20 -0
- data/docs/FunctionsExecuteRequest.md +18 -0
- data/docs/FunctionsGetVersions200Response.md +20 -0
- data/docs/FunctionsGetVersions200ResponseData.md +18 -0
- data/docs/FunctionsGetVersions200ResponseDataVersionsInner.md +28 -0
- data/docs/FunctionsRollbackRequest.md +18 -0
- data/docs/FunctionsSimulateRequest.md +22 -0
- data/docs/FunctionsTriggerWebhook200Response.md +22 -0
- data/docs/FunctionsTriggerWebhook400Response.md +20 -0
- data/docs/FunctionsTriggerWebhook401Response.md +20 -0
- data/docs/HealthApi.md +11 -11
- data/docs/IntegrationsApi.md +30 -30
- data/docs/IntegrationsExecuteRequest.md +24 -0
- data/docs/IntegrationsList200Response.md +18 -0
- data/docs/IntegrationsList200ResponseIntegrationsInner.md +24 -0
- data/docs/MessagingApi.md +60 -60
- data/docs/MultiRoleAddRoleRequest.md +28 -0
- data/docs/MultiRoleAddRoleRequestDefaultPermissionsInner.md +20 -0
- data/docs/MultiRoleApi.md +654 -0
- data/docs/MultiRoleGetAvailableRoles200Response.md +20 -0
- data/docs/MultiRoleGetAvailableRoles200ResponseDataInner.md +30 -0
- data/docs/MultiRoleGetConfig200Response.md +20 -0
- data/docs/MultiRoleGetConfig200ResponseData.md +24 -0
- data/docs/MultiRoleToggleRoleRequest.md +18 -0
- data/docs/MultiRoleUpdateCollectionPermissionsRequest.md +20 -0
- data/docs/MultiRoleUpdateRoleRequest.md +28 -0
- data/docs/MultiRoleUpdateSettings200Response.md +22 -0
- data/docs/MultiRoleUpdateSettingsRequest.md +22 -0
- data/docs/MultiRoleUpdateSettingsRequestSettings.md +20 -0
- data/docs/PaymentIntent.md +1 -1
- data/docs/RealtimeAnalyticsApi.md +367 -0
- data/docs/RealtimeAnalyticsCheckUserPresence200Response.md +20 -0
- data/docs/RealtimeAnalyticsCheckUserPresence200ResponsePresenceValue.md +20 -0
- data/docs/RealtimeAnalyticsCheckUserPresenceRequest.md +18 -0
- data/docs/RealtimeAnalyticsGetActiveUsers200Response.md +22 -0
- data/docs/RealtimeAnalyticsGetActiveUsers200ResponseUsersInner.md +22 -0
- data/docs/RealtimeAnalyticsGetEventThroughput200Response.md +26 -0
- data/docs/RealtimeAnalyticsGetHistoricalAnalytics200Response.md +24 -0
- data/docs/RealtimeAnalyticsGetHistoricalAnalytics200ResponseDataInner.md +22 -0
- data/docs/RealtimeAnalyticsGetProject200Response.md +26 -0
- data/docs/RoleElevationApi.md +41 -41
- data/docs/RoleElevationGetStatus200Response.md +18 -0
- data/docs/RoleElevationRequest200Response.md +28 -0
- data/docs/RoleElevationRequestRequest.md +18 -0
- data/docs/RoleElevationUploadDocumentsRequest.md +20 -0
- data/docs/RoleElevationUploadDocumentsRequestDocumentsInner.md +20 -0
- data/docs/SearchApi.md +40 -40
- data/docs/SearchGetAnalytics200Response.md +24 -0
- data/docs/SearchGetAnalytics200ResponseTopQueriesInner.md +20 -0
- data/docs/SearchGetSuggestions200Response.md +18 -0
- data/docs/StorageApi.md +1080 -0
- data/docs/StorageConfirmUpload400Response.md +20 -0
- data/docs/StorageConfirmUploadRequest.md +30 -0
- data/docs/StorageDownloadBucketFile403Response.md +18 -0
- data/docs/StorageDownloadBucketFile404Response.md +18 -0
- data/docs/StorageGetPresignedUploadRequest.md +26 -0
- data/docs/StorageGetSignedUrlRequest.md +18 -0
- data/docs/UsageApi.md +24 -24
- data/docs/UsersApi.md +176 -176
- data/docs/UsersDisable2faRequest.md +20 -0
- data/docs/UsersEraseData200Response.md +20 -0
- data/docs/UsersEraseData200ResponseDetails.md +26 -0
- data/docs/UsersEraseDataRequest.md +20 -0
- data/docs/UsersExportData200Response.md +32 -0
- data/docs/UsersGet200Response.md +18 -0
- data/docs/UsersLinkOAuthProvider200Response.md +18 -0
- data/docs/UsersListOAuthProviders200Response.md +18 -0
- data/docs/UsersListOAuthProviders200ResponseProvidersInner.md +24 -0
- data/docs/UsersUnlinkOAuthProvider200Response.md +20 -0
- data/docs/UsersUpdate200Response.md +20 -0
- data/docs/UsersVerify2faRequest.md +18 -0
- data/docs/UsersVerifyEmailRequest.md +20 -0
- data/docs/WalletApi.md +282 -282
- data/docs/WalletBroadcastTransaction200Response.md +22 -0
- data/docs/WalletBroadcastTransaction200ResponseData.md +24 -0
- data/docs/WalletBroadcastTransactionRequest.md +22 -0
- data/docs/WalletCreateWebhook201Response.md +22 -0
- data/docs/WalletCreateWebhookRequest.md +26 -0
- data/docs/WalletCreateWebhookRequestFilters.md +20 -0
- data/docs/WalletEstimateGas200Response.md +20 -0
- data/docs/WalletEstimateGas200ResponseData.md +38 -0
- data/docs/WalletEstimateGasRequest.md +20 -0
- data/docs/WalletEstimateGasRequestTransaction.md +28 -0
- data/docs/WalletGetBalance200Response.md +20 -0
- data/docs/WalletGetCancelParams200Response.md +20 -0
- data/docs/WalletGetCancelParams200ResponseData.md +36 -0
- data/docs/WalletGetCancelParamsRequest.md +22 -0
- data/docs/WalletGetSpeedUpParams200Response.md +20 -0
- data/docs/WalletGetSpeedUpParams200ResponseData.md +36 -0
- data/docs/WalletGetSpeedUpParamsRequest.md +22 -0
- data/docs/WalletGetTransactionByHash200Response.md +20 -0
- data/docs/WalletGetTransactionByHash400Response.md +20 -0
- data/docs/WalletGetTransactions200Response.md +22 -0
- data/docs/WalletGetTransactions200ResponsePagination.md +30 -0
- data/docs/WalletGetWebhookLogs200Response.md +20 -0
- data/docs/WalletListAddresses200Response.md +22 -0
- data/docs/WalletListWebhooks200Response.md +22 -0
- data/docs/WalletRegisterAddressRequest.md +26 -0
- data/docs/WalletTestWebhook200Response.md +20 -0
- data/docs/WalletTestWebhookRequest.md +24 -0
- data/docs/WalletUpdateWebhook200Response.md +20 -0
- data/docs/WalletUpdateWebhookRequest.md +24 -0
- data/docs/WebhooksApi.md +12 -12
- data/lib/mudbase/api/auth_api.rb +1158 -0
- data/lib/mudbase/api/billing_api.rb +131 -131
- data/lib/mudbase/api/chat_api.rb +189 -189
- data/lib/mudbase/api/collections_api.rb +65 -65
- data/lib/mudbase/api/compliance_api.rb +17 -17
- data/lib/mudbase/api/data_api.rb +62 -62
- data/lib/mudbase/api/functions_api.rb +146 -146
- data/lib/mudbase/api/health_api.rb +8 -8
- data/lib/mudbase/api/integrations_api.rb +34 -34
- data/lib/mudbase/api/messaging_api.rb +54 -54
- data/lib/mudbase/api/multi_role_api.rb +699 -0
- data/lib/mudbase/api/realtime_analytics_api.rb +358 -0
- data/lib/mudbase/api/role_elevation_api.rb +43 -43
- data/lib/mudbase/api/search_api.rb +43 -43
- data/lib/mudbase/api/storage_api.rb +1047 -0
- data/lib/mudbase/api/usage_api.rb +20 -20
- data/lib/mudbase/api/users_api.rb +166 -166
- data/lib/mudbase/api/wallet_api.rb +302 -302
- data/lib/mudbase/api/webhooks_api.rb +10 -10
- data/lib/mudbase/api_client.rb +1 -1
- data/lib/mudbase/api_error.rb +1 -1
- data/lib/mudbase/api_model_base.rb +1 -1
- data/lib/mudbase/configuration.rb +2 -2
- data/lib/mudbase/models/api_key.rb +1 -1
- data/lib/mudbase/models/api_key_permission.rb +1 -1
- data/lib/mudbase/models/api_key_usage.rb +1 -1
- data/lib/mudbase/models/api_key_usage_response.rb +1 -1
- data/lib/mudbase/models/api_key_with_secret.rb +1 -1
- data/lib/mudbase/models/auth_config.rb +2 -2
- data/lib/mudbase/models/auth_confirm_password_reset_request.rb +280 -0
- data/lib/mudbase/models/auth_convert_anonymous200_response.rb +183 -0
- data/lib/mudbase/models/auth_convert_anonymous_request.rb +208 -0
- data/lib/mudbase/models/auth_create_anonymous200_response.rb +184 -0
- data/lib/mudbase/models/auth_create_anonymous200_response_user.rb +192 -0
- data/lib/mudbase/models/auth_create_anonymous_request.rb +158 -0
- data/lib/mudbase/models/auth_get_o_auth_providers200_response.rb +158 -0
- data/lib/mudbase/models/auth_get_o_auth_providers200_response_providers_inner.rb +196 -0
- data/lib/mudbase/models/auth_get_session200_response.rb +156 -0
- data/lib/mudbase/models/auth_login200_response.rb +186 -0
- data/lib/mudbase/models/auth_login200_response_user.rb +201 -0
- data/lib/mudbase/models/auth_login403_response.rb +165 -0
- data/lib/mudbase/models/auth_login_request.rb +199 -0
- data/lib/mudbase/models/auth_oauth_callback200_response.rb +156 -0
- data/lib/mudbase/models/auth_oauth_initiate200_response.rb +148 -0
- data/lib/mudbase/models/auth_oauth_initiate400_response.rb +147 -0
- data/lib/mudbase/models/auth_oauth_signup_with_role400_response.rb +156 -0
- data/lib/mudbase/models/auth_provider.rb +1 -1
- data/lib/mudbase/models/auth_refresh200_response.rb +177 -0
- data/lib/mudbase/models/auth_refresh400_response.rb +147 -0
- data/lib/mudbase/models/auth_refresh_request.rb +165 -0
- data/lib/mudbase/models/auth_register201_response.rb +196 -0
- data/lib/mudbase/models/auth_register201_response_user.rb +192 -0
- data/lib/mudbase/models/auth_register429_response.rb +226 -0
- data/lib/mudbase/models/auth_register_request.rb +277 -0
- data/lib/mudbase/models/auth_register_with_role_request.rb +268 -0
- data/lib/mudbase/models/auth_request_password_reset_request.rb +174 -0
- data/lib/mudbase/models/auth_reset_password_request.rb +182 -0
- data/lib/mudbase/models/auth_response.rb +1 -1
- data/lib/mudbase/models/auth_verify_magic_link_request.rb +164 -0
- data/lib/mudbase/models/billing.rb +1 -1
- data/lib/mudbase/models/billing_check_feature_access200_response.rb +156 -0
- data/lib/mudbase/models/billing_check_subscription200_response.rb +156 -0
- data/lib/mudbase/models/billing_check_subscription200_response_subscription.rb +156 -0
- data/lib/mudbase/models/billing_create_checkout_session200_response.rb +156 -0
- data/lib/mudbase/models/billing_create_checkout_session200_response_data.rb +245 -0
- data/lib/mudbase/models/billing_create_checkout_session200_response_data_payment_options_inner.rb +238 -0
- data/lib/mudbase/models/billing_create_checkout_session_request.rb +262 -0
- data/lib/mudbase/models/billing_create_checkout_session_request_customer_info.rb +173 -0
- data/lib/mudbase/models/billing_get_checkout_payment200_response.rb +156 -0
- data/lib/mudbase/models/billing_get_checkout_payment200_response_data.rb +224 -0
- data/lib/mudbase/models/billing_get_public_plans200_response.rb +149 -0
- data/lib/mudbase/models/billing_handle_crypto_webhook200_response.rb +147 -0
- data/lib/mudbase/models/billing_handle_crypto_webhook_request.rb +214 -0
- data/lib/mudbase/models/billing_handle_crypto_webhook_request_data.rb +201 -0
- data/lib/mudbase/models/billing_handle_flutterwave_webhook_request.rb +157 -0
- data/lib/mudbase/models/billing_handle_flutterwave_webhook_request_data.rb +211 -0
- data/lib/mudbase/models/billing_handle_flutterwave_webhook_request_data_customer.rb +156 -0
- data/lib/mudbase/models/billing_initialize_payment_request.rb +219 -0
- data/lib/mudbase/models/billing_initialize_payment_request_customer.rb +173 -0
- data/lib/mudbase/models/billing_last_payment.rb +1 -1
- data/lib/mudbase/models/billing_record_usage_request.rb +219 -0
- data/lib/mudbase/models/billing_verify_payment200_response.rb +165 -0
- data/lib/mudbase/models/billing_verify_payment200_response_data.rb +147 -0
- data/lib/mudbase/models/billing_verify_payment200_response_data_subscription.rb +208 -0
- data/lib/mudbase/models/bucket.rb +1 -1
- data/lib/mudbase/models/bucket_list_response.rb +1 -1
- data/lib/mudbase/models/bucket_response.rb +1 -1
- data/lib/mudbase/models/change_password_request.rb +1 -1
- data/lib/mudbase/models/chat_add_participant200_response.rb +156 -0
- data/lib/mudbase/models/chat_add_participant200_response_data.rb +149 -0
- data/lib/mudbase/models/chat_add_participant200_response_data_participants_inner.rb +165 -0
- data/lib/mudbase/models/chat_add_participant_request.rb +207 -0
- data/lib/mudbase/models/chat_add_reaction200_response.rb +158 -0
- data/lib/mudbase/models/chat_add_reaction200_response_data_inner.rb +158 -0
- data/lib/mudbase/models/chat_add_reaction_request.rb +164 -0
- data/lib/mudbase/models/chat_create201_response.rb +156 -0
- data/lib/mudbase/models/chat_create201_response_data.rb +185 -0
- data/lib/mudbase/models/chat_create_request.rb +260 -0
- data/lib/mudbase/models/chat_edit_message200_response.rb +156 -0
- data/lib/mudbase/models/chat_edit_message200_response_data.rb +165 -0
- data/lib/mudbase/models/chat_edit_message_request.rb +164 -0
- data/lib/mudbase/models/chat_get200_response.rb +156 -0
- data/lib/mudbase/models/chat_get200_response_data.rb +167 -0
- data/lib/mudbase/models/chat_get200_response_data_participants_inner.rb +156 -0
- data/lib/mudbase/models/chat_get_messages200_response.rb +156 -0
- data/lib/mudbase/models/chat_get_messages200_response_data.rb +158 -0
- data/lib/mudbase/models/chat_get_messages200_response_data_messages_inner.rb +174 -0
- data/lib/mudbase/models/chat_get_messages200_response_data_messages_inner_sender.rb +156 -0
- data/lib/mudbase/models/chat_list200_response.rb +156 -0
- data/lib/mudbase/models/chat_list200_response_data.rb +158 -0
- data/lib/mudbase/models/chat_list200_response_data_chats_inner.rb +183 -0
- data/lib/mudbase/models/chat_list200_response_data_chats_inner_last_message.rb +147 -0
- data/lib/mudbase/models/chat_mark_as_read200_response.rb +156 -0
- data/lib/mudbase/models/chat_mark_as_read200_response_data.rb +147 -0
- data/lib/mudbase/models/chat_mark_as_read_request.rb +166 -0
- data/lib/mudbase/models/chat_remove_participant_request.rb +164 -0
- data/lib/mudbase/models/chat_remove_reaction200_response.rb +158 -0
- data/lib/mudbase/models/chat_remove_reaction200_response_data_inner.rb +167 -0
- data/lib/mudbase/models/chat_send_message201_response.rb +156 -0
- data/lib/mudbase/models/chat_send_message201_response_data.rb +174 -0
- data/lib/mudbase/models/chat_send_message_request.rb +234 -0
- data/lib/mudbase/models/collection.rb +1 -1
- data/lib/mudbase/models/collections_create201_response.rb +156 -0
- data/lib/mudbase/models/collections_list200_response.rb +158 -0
- data/lib/mudbase/models/compliance_log_security_event200_response.rb +156 -0
- data/lib/mudbase/models/compliance_log_security_event200_response_event.rb +174 -0
- data/lib/mudbase/models/compliance_log_security_event_request.rb +225 -0
- data/lib/mudbase/models/compliance_log_security_event_request_details.rb +192 -0
- data/lib/mudbase/models/confirm_upload_response.rb +1 -1
- data/lib/mudbase/models/confirm_upload_response_scan.rb +1 -1
- data/lib/mudbase/models/create_api_key_request.rb +1 -1
- data/lib/mudbase/models/create_bucket_request.rb +1 -1
- data/lib/mudbase/models/create_collection_request.rb +1 -1
- data/lib/mudbase/models/create_function_request.rb +1 -1
- data/lib/mudbase/models/create_project_request.rb +1 -1
- data/lib/mudbase/models/data_list_response.rb +1 -1
- data/lib/mudbase/models/data_list_response_data_inner.rb +1 -1
- data/lib/mudbase/models/data_response.rb +1 -1
- data/lib/mudbase/models/database_config.rb +1 -1
- data/lib/mudbase/models/email_request.rb +1 -1
- data/lib/mudbase/models/email_request_to.rb +1 -1
- data/lib/mudbase/models/error.rb +20 -2
- data/lib/mudbase/models/error_details.rb +1 -1
- data/lib/mudbase/models/field.rb +1 -1
- data/lib/mudbase/models/field_default.rb +1 -1
- data/lib/mudbase/models/file_list_response.rb +1 -1
- data/lib/mudbase/models/file_metadata.rb +1 -1
- data/lib/mudbase/models/file_response.rb +1 -1
- data/lib/mudbase/models/file_upload_response.rb +1 -1
- data/lib/mudbase/models/function.rb +1 -1
- data/lib/mudbase/models/function_execution.rb +1 -1
- data/lib/mudbase/models/function_execution_response.rb +1 -1
- data/lib/mudbase/models/function_execution_response_data.rb +1 -1
- data/lib/mudbase/models/function_list_response.rb +1 -1
- data/lib/mudbase/models/function_list_response_data.rb +1 -1
- data/lib/mudbase/models/function_logs_response.rb +1 -1
- data/lib/mudbase/models/function_logs_response_data.rb +1 -1
- data/lib/mudbase/models/function_response.rb +1 -1
- data/lib/mudbase/models/function_stats.rb +1 -1
- data/lib/mudbase/models/function_trigger.rb +1 -1
- data/lib/mudbase/models/functions_delete200_response.rb +156 -0
- data/lib/mudbase/models/functions_execute_request.rb +148 -0
- data/lib/mudbase/models/functions_get_versions200_response.rb +156 -0
- data/lib/mudbase/models/functions_get_versions200_response_data.rb +149 -0
- data/lib/mudbase/models/functions_get_versions200_response_data_versions_inner.rb +192 -0
- data/lib/mudbase/models/functions_rollback_request.rb +165 -0
- data/lib/mudbase/models/functions_simulate_request.rb +168 -0
- data/lib/mudbase/models/functions_trigger_webhook200_response.rb +168 -0
- data/lib/mudbase/models/functions_trigger_webhook400_response.rb +156 -0
- data/lib/mudbase/models/functions_trigger_webhook401_response.rb +156 -0
- data/lib/mudbase/models/health_response.rb +1 -1
- data/lib/mudbase/models/health_response_services.rb +1 -1
- data/lib/mudbase/models/integrations_execute_request.rb +232 -0
- data/lib/mudbase/models/integrations_list200_response.rb +149 -0
- data/lib/mudbase/models/integrations_list200_response_integrations_inner.rb +174 -0
- data/lib/mudbase/models/invite_member_request.rb +1 -1
- data/lib/mudbase/models/limits.rb +1 -1
- data/lib/mudbase/models/login_request.rb +1 -1
- data/lib/mudbase/models/magic_link_request.rb +1 -1
- data/lib/mudbase/models/message.rb +1 -1
- data/lib/mudbase/models/message_history_response.rb +1 -1
- data/lib/mudbase/models/message_history_response_data.rb +1 -1
- data/lib/mudbase/models/message_response.rb +1 -1
- data/lib/mudbase/models/message_sent_response.rb +1 -1
- data/lib/mudbase/models/message_sent_response_data.rb +1 -1
- data/lib/mudbase/models/message_stats_response.rb +1 -1
- data/lib/mudbase/models/message_stats_response_data.rb +1 -1
- data/lib/mudbase/models/message_stats_response_data_by_status.rb +1 -1
- data/lib/mudbase/models/message_stats_response_data_by_type.rb +1 -1
- data/lib/mudbase/models/message_stats_response_data_period.rb +1 -1
- data/lib/mudbase/models/multi_role_add_role_request.rb +245 -0
- data/lib/mudbase/models/multi_role_add_role_request_default_permissions_inner.rb +158 -0
- data/lib/mudbase/models/multi_role_get_available_roles200_response.rb +158 -0
- data/lib/mudbase/models/multi_role_get_available_roles200_response_data_inner.rb +201 -0
- data/lib/mudbase/models/multi_role_get_config200_response.rb +156 -0
- data/lib/mudbase/models/multi_role_get_config200_response_data.rb +176 -0
- data/lib/mudbase/models/multi_role_toggle_role_request.rb +164 -0
- data/lib/mudbase/models/multi_role_update_collection_permissions_request.rb +180 -0
- data/lib/mudbase/models/multi_role_update_role_request.rb +192 -0
- data/lib/mudbase/models/multi_role_update_settings200_response.rb +165 -0
- data/lib/mudbase/models/multi_role_update_settings_request.rb +165 -0
- data/lib/mudbase/models/multi_role_update_settings_request_settings.rb +156 -0
- data/lib/mudbase/models/non_custodial_address.rb +1 -1
- data/lib/mudbase/models/non_custodial_address_response.rb +1 -1
- data/lib/mudbase/models/organization.rb +1 -1
- data/lib/mudbase/models/organization_summary.rb +1 -1
- data/lib/mudbase/models/otp_send_request.rb +1 -1
- data/lib/mudbase/models/otp_verify_request.rb +1 -1
- data/lib/mudbase/models/pagination.rb +1 -1
- data/lib/mudbase/models/payment_intent.rb +1 -1
- data/lib/mudbase/models/payment_refund.rb +1 -1
- data/lib/mudbase/models/payment_subscription.rb +1 -1
- data/lib/mudbase/models/permission.rb +1 -1
- data/lib/mudbase/models/plan.rb +1 -1
- data/lib/mudbase/models/presigned_post_response.rb +1 -1
- data/lib/mudbase/models/project.rb +1 -1
- data/lib/mudbase/models/project_settings.rb +2 -2
- data/lib/mudbase/models/project_summary.rb +1 -1
- data/lib/mudbase/models/project_usage.rb +1 -1
- data/lib/mudbase/models/project_usage_response.rb +1 -1
- data/lib/mudbase/models/project_usage_stats_response.rb +1 -1
- data/lib/mudbase/models/project_usage_stats_response_project.rb +1 -1
- data/lib/mudbase/models/push_notification_request.rb +1 -1
- data/lib/mudbase/models/rate_limit.rb +1 -1
- data/lib/mudbase/models/realtime_analytics_check_user_presence200_response.rb +158 -0
- data/lib/mudbase/models/realtime_analytics_check_user_presence200_response_presence_value.rb +156 -0
- data/lib/mudbase/models/realtime_analytics_check_user_presence_request.rb +166 -0
- data/lib/mudbase/models/realtime_analytics_get_active_users200_response.rb +167 -0
- data/lib/mudbase/models/realtime_analytics_get_active_users200_response_users_inner.rb +165 -0
- data/lib/mudbase/models/realtime_analytics_get_event_throughput200_response.rb +185 -0
- data/lib/mudbase/models/realtime_analytics_get_historical_analytics200_response.rb +176 -0
- data/lib/mudbase/models/realtime_analytics_get_historical_analytics200_response_data_inner.rb +165 -0
- data/lib/mudbase/models/realtime_analytics_get_project200_response.rb +183 -0
- data/lib/mudbase/models/register_request.rb +2 -2
- data/lib/mudbase/models/role_elevation_get_status200_response.rb +149 -0
- data/lib/mudbase/models/role_elevation_request200_response.rb +240 -0
- data/lib/mudbase/models/role_elevation_request_request.rb +164 -0
- data/lib/mudbase/models/role_elevation_upload_documents_request.rb +192 -0
- data/lib/mudbase/models/role_elevation_upload_documents_request_documents_inner.rb +156 -0
- data/lib/mudbase/models/search_get_analytics200_response.rb +176 -0
- data/lib/mudbase/models/search_get_analytics200_response_top_queries_inner.rb +156 -0
- data/lib/mudbase/models/search_get_suggestions200_response.rb +149 -0
- data/lib/mudbase/models/search_response.rb +1 -1
- data/lib/mudbase/models/search_response_data.rb +1 -1
- data/lib/mudbase/models/search_result.rb +1 -1
- data/lib/mudbase/models/search_result_item.rb +1 -1
- data/lib/mudbase/models/session_response.rb +1 -1
- data/lib/mudbase/models/signed_url_response.rb +1 -1
- data/lib/mudbase/models/sms_request.rb +1 -1
- data/lib/mudbase/models/storage_config.rb +1 -1
- data/lib/mudbase/models/storage_confirm_upload400_response.rb +156 -0
- data/lib/mudbase/models/storage_confirm_upload_request.rb +236 -0
- data/lib/mudbase/models/storage_download_bucket_file403_response.rb +147 -0
- data/lib/mudbase/models/storage_download_bucket_file404_response.rb +147 -0
- data/lib/mudbase/models/storage_get_presigned_upload_request.rb +221 -0
- data/lib/mudbase/models/storage_get_signed_url_request.rb +149 -0
- data/lib/mudbase/models/system_status_response.rb +1 -1
- data/lib/mudbase/models/system_status_response_data.rb +1 -1
- data/lib/mudbase/models/system_status_response_data_cpu.rb +1 -1
- data/lib/mudbase/models/system_status_response_data_database.rb +1 -1
- data/lib/mudbase/models/system_status_response_data_memory.rb +1 -1
- data/lib/mudbase/models/system_status_response_data_requests.rb +1 -1
- data/lib/mudbase/models/system_status_response_data_storage.rb +1 -1
- data/lib/mudbase/models/trigger_webhook_request.rb +1 -1
- data/lib/mudbase/models/two_fa_setup_response.rb +1 -1
- data/lib/mudbase/models/update_api_key_request.rb +1 -1
- data/lib/mudbase/models/update_bucket_request.rb +1 -1
- data/lib/mudbase/models/update_collection_request.rb +1 -1
- data/lib/mudbase/models/update_function_request.rb +1 -1
- data/lib/mudbase/models/update_function_request_limits.rb +1 -1
- data/lib/mudbase/models/update_function_request_retry_policy.rb +1 -1
- data/lib/mudbase/models/update_organization_request.rb +1 -1
- data/lib/mudbase/models/update_project_request.rb +1 -1
- data/lib/mudbase/models/update_user_request.rb +1 -1
- data/lib/mudbase/models/upload_files_to_bucket_metadata_request.rb +1 -1
- data/lib/mudbase/models/upload_files_to_bucket_request.rb +1 -1
- data/lib/mudbase/models/usage.rb +1 -1
- data/lib/mudbase/models/usage_response.rb +1 -1
- data/lib/mudbase/models/usage_stats_response.rb +1 -1
- data/lib/mudbase/models/usage_stats_response_percentages.rb +1 -1
- data/lib/mudbase/models/usage_trends_response.rb +1 -1
- data/lib/mudbase/models/usage_trends_response_trends_inner.rb +1 -1
- data/lib/mudbase/models/usage_trends_response_trends_inner_id.rb +1 -1
- data/lib/mudbase/models/user.rb +1 -1
- data/lib/mudbase/models/user_summary.rb +1 -1
- data/lib/mudbase/models/users_disable2fa_request.rb +190 -0
- data/lib/mudbase/models/users_erase_data200_response.rb +156 -0
- data/lib/mudbase/models/users_erase_data200_response_details.rb +183 -0
- data/lib/mudbase/models/users_erase_data_request.rb +198 -0
- data/lib/mudbase/models/users_export_data200_response.rb +222 -0
- data/lib/mudbase/models/users_get200_response.rb +147 -0
- data/lib/mudbase/models/users_link_o_auth_provider200_response.rb +147 -0
- data/lib/mudbase/models/users_list_o_auth_providers200_response.rb +149 -0
- data/lib/mudbase/models/users_list_o_auth_providers200_response_providers_inner.rb +174 -0
- data/lib/mudbase/models/users_unlink_o_auth_provider200_response.rb +156 -0
- data/lib/mudbase/models/users_update200_response.rb +156 -0
- data/lib/mudbase/models/users_verify2fa_request.rb +164 -0
- data/lib/mudbase/models/users_verify_email_request.rb +175 -0
- data/lib/mudbase/models/wallet_balance.rb +1 -1
- data/lib/mudbase/models/wallet_broadcast_transaction200_response.rb +165 -0
- data/lib/mudbase/models/wallet_broadcast_transaction200_response_data.rb +175 -0
- data/lib/mudbase/models/wallet_broadcast_transaction_request.rb +243 -0
- data/lib/mudbase/models/wallet_create_webhook201_response.rb +165 -0
- data/lib/mudbase/models/wallet_create_webhook_request.rb +233 -0
- data/lib/mudbase/models/wallet_create_webhook_request_filters.rb +184 -0
- data/lib/mudbase/models/wallet_estimate_gas200_response.rb +156 -0
- data/lib/mudbase/models/wallet_estimate_gas200_response_data.rb +248 -0
- data/lib/mudbase/models/wallet_estimate_gas_request.rb +198 -0
- data/lib/mudbase/models/wallet_estimate_gas_request_transaction.rb +216 -0
- data/lib/mudbase/models/wallet_get_balance200_response.rb +156 -0
- data/lib/mudbase/models/wallet_get_cancel_params200_response.rb +156 -0
- data/lib/mudbase/models/wallet_get_cancel_params200_response_data.rb +231 -0
- data/lib/mudbase/models/wallet_get_cancel_params_request.rb +208 -0
- data/lib/mudbase/models/wallet_get_speed_up_params200_response.rb +156 -0
- data/lib/mudbase/models/wallet_get_speed_up_params200_response_data.rb +229 -0
- data/lib/mudbase/models/wallet_get_speed_up_params_request.rb +209 -0
- data/lib/mudbase/models/wallet_get_transaction_by_hash200_response.rb +156 -0
- data/lib/mudbase/models/wallet_get_transaction_by_hash400_response.rb +156 -0
- data/lib/mudbase/models/wallet_get_transactions200_response.rb +167 -0
- data/lib/mudbase/models/wallet_get_transactions200_response_pagination.rb +201 -0
- data/lib/mudbase/models/wallet_get_webhook_logs200_response.rb +158 -0
- data/lib/mudbase/models/wallet_list_addresses200_response.rb +167 -0
- data/lib/mudbase/models/wallet_list_webhooks200_response.rb +167 -0
- data/lib/mudbase/models/wallet_register_address_request.rb +246 -0
- data/lib/mudbase/models/wallet_test_webhook200_response.rb +156 -0
- data/lib/mudbase/models/wallet_test_webhook_request.rb +191 -0
- data/lib/mudbase/models/wallet_transaction.rb +1 -1
- data/lib/mudbase/models/wallet_transaction_webhook_payload.rb +1 -1
- data/lib/mudbase/models/wallet_update_webhook200_response.rb +156 -0
- data/lib/mudbase/models/wallet_update_webhook_request.rb +176 -0
- data/lib/mudbase/models/wallet_webhook.rb +1 -1
- data/lib/mudbase/models/wallet_webhook_filters.rb +1 -1
- data/lib/mudbase/models/wallet_webhook_stats.rb +1 -1
- data/lib/mudbase/models/webhook_list_response.rb +1 -1
- data/lib/mudbase/models/webhook_log.rb +1 -1
- data/lib/mudbase/models/webhook_stats_response.rb +1 -1
- data/lib/mudbase/models/webhook_stats_response_event_stats_inner.rb +1 -1
- data/lib/mudbase/models/webhook_stats_response_status_stats_inner.rb +1 -1
- data/lib/mudbase/version.rb +2 -2
- data/lib/mudbase.rb +185 -187
- data/mudbase.gemspec +1 -1
- data/spec/api/auth_api_spec.rb +240 -0
- data/spec/api/billing_api_spec.rb +35 -35
- data/spec/api/chat_api_spec.rb +43 -43
- data/spec/api/collections_api_spec.rb +19 -19
- data/spec/api/compliance_api_spec.rb +5 -5
- data/spec/api/data_api_spec.rb +16 -16
- data/spec/api/functions_api_spec.rb +35 -35
- data/spec/api/health_api_spec.rb +3 -3
- data/spec/api/integrations_api_spec.rb +10 -10
- data/spec/api/messaging_api_spec.rb +16 -16
- data/spec/api/multi_role_api_spec.rb +156 -0
- data/spec/api/realtime_analytics_api_spec.rb +98 -0
- data/spec/api/role_elevation_api_spec.rb +11 -11
- data/spec/api/search_api_spec.rb +12 -12
- data/spec/api/storage_api_spec.rb +227 -0
- data/spec/api/usage_api_spec.rb +7 -7
- data/spec/api/users_api_spec.rb +51 -51
- data/spec/api/wallet_api_spec.rb +74 -74
- data/spec/api/webhooks_api_spec.rb +4 -4
- data/spec/models/api_key_permission_spec.rb +1 -1
- data/spec/models/api_key_spec.rb +1 -1
- data/spec/models/api_key_usage_response_spec.rb +1 -1
- data/spec/models/api_key_usage_spec.rb +1 -1
- data/spec/models/api_key_with_secret_spec.rb +1 -1
- data/spec/models/auth_config_spec.rb +1 -1
- data/spec/models/auth_confirm_password_reset_request_spec.rb +54 -0
- data/spec/models/auth_convert_anonymous200_response_spec.rb +60 -0
- data/spec/models/auth_convert_anonymous_request_spec.rb +54 -0
- data/spec/models/auth_create_anonymous200_response_spec.rb +60 -0
- data/spec/models/auth_create_anonymous200_response_user_spec.rb +66 -0
- data/spec/models/auth_create_anonymous_request_spec.rb +42 -0
- data/spec/models/auth_get_o_auth_providers200_response_providers_inner_spec.rb +66 -0
- data/spec/models/auth_get_o_auth_providers200_response_spec.rb +42 -0
- data/spec/models/auth_get_session200_response_spec.rb +42 -0
- data/spec/models/auth_login200_response_spec.rb +60 -0
- data/spec/models/auth_login200_response_user_spec.rb +72 -0
- data/spec/models/auth_login403_response_spec.rb +48 -0
- data/spec/models/auth_login_request_spec.rb +48 -0
- data/spec/models/auth_oauth_callback200_response_spec.rb +42 -0
- data/spec/models/auth_oauth_initiate200_response_spec.rb +36 -0
- data/spec/models/auth_oauth_initiate400_response_spec.rb +36 -0
- data/spec/models/auth_oauth_signup_with_role400_response_spec.rb +42 -0
- data/spec/models/auth_provider_spec.rb +1 -1
- data/spec/models/auth_refresh200_response_spec.rb +54 -0
- data/spec/models/auth_refresh400_response_spec.rb +36 -0
- data/spec/models/auth_refresh_request_spec.rb +36 -0
- data/spec/models/auth_register201_response_spec.rb +66 -0
- data/spec/models/auth_register201_response_user_spec.rb +66 -0
- data/spec/models/auth_register429_response_spec.rb +72 -0
- data/spec/models/auth_register_request_spec.rb +60 -0
- data/spec/models/auth_register_with_role_request_spec.rb +60 -0
- data/spec/models/auth_request_password_reset_request_spec.rb +42 -0
- data/spec/models/auth_reset_password_request_spec.rb +42 -0
- data/spec/models/auth_response_spec.rb +1 -1
- data/spec/models/auth_verify_magic_link_request_spec.rb +36 -0
- data/spec/models/billing_check_feature_access200_response_spec.rb +42 -0
- data/spec/models/billing_check_subscription200_response_spec.rb +42 -0
- data/spec/models/billing_check_subscription200_response_subscription_spec.rb +42 -0
- data/spec/models/billing_create_checkout_session200_response_data_payment_options_inner_spec.rb +74 -0
- data/spec/models/billing_create_checkout_session200_response_data_spec.rb +96 -0
- data/spec/models/billing_create_checkout_session200_response_spec.rb +42 -0
- data/spec/models/billing_create_checkout_session_request_customer_info_spec.rb +42 -0
- data/spec/models/billing_create_checkout_session_request_spec.rb +64 -0
- data/spec/models/billing_get_checkout_payment200_response_data_spec.rb +84 -0
- data/spec/models/billing_get_checkout_payment200_response_spec.rb +42 -0
- data/spec/models/billing_get_public_plans200_response_spec.rb +36 -0
- data/spec/models/billing_handle_crypto_webhook200_response_spec.rb +36 -0
- data/spec/models/billing_handle_crypto_webhook_request_data_spec.rb +72 -0
- data/spec/models/billing_handle_crypto_webhook_request_spec.rb +46 -0
- data/spec/models/billing_handle_flutterwave_webhook_request_data_customer_spec.rb +42 -0
- data/spec/models/billing_handle_flutterwave_webhook_request_data_spec.rb +78 -0
- data/spec/models/billing_handle_flutterwave_webhook_request_spec.rb +42 -0
- data/spec/models/billing_initialize_payment_request_customer_spec.rb +42 -0
- data/spec/models/billing_initialize_payment_request_spec.rb +54 -0
- data/spec/models/billing_last_payment_spec.rb +1 -1
- data/spec/models/billing_record_usage_request_spec.rb +48 -0
- data/spec/models/billing_spec.rb +1 -1
- data/spec/models/billing_verify_payment200_response_data_spec.rb +36 -0
- data/spec/models/billing_verify_payment200_response_data_subscription_spec.rb +58 -0
- data/spec/models/billing_verify_payment200_response_spec.rb +48 -0
- data/spec/models/bucket_list_response_spec.rb +1 -1
- data/spec/models/bucket_response_spec.rb +1 -1
- data/spec/models/bucket_spec.rb +1 -1
- data/spec/models/change_password_request_spec.rb +1 -1
- data/spec/models/chat_add_participant200_response_data_participants_inner_spec.rb +48 -0
- data/spec/models/chat_add_participant200_response_data_spec.rb +36 -0
- data/spec/models/chat_add_participant200_response_spec.rb +42 -0
- data/spec/models/chat_add_participant_request_spec.rb +46 -0
- data/spec/models/chat_add_reaction200_response_data_inner_spec.rb +42 -0
- data/spec/models/chat_add_reaction200_response_spec.rb +42 -0
- data/spec/models/chat_add_reaction_request_spec.rb +36 -0
- data/spec/models/chat_create201_response_data_spec.rb +60 -0
- data/spec/models/chat_create201_response_spec.rb +42 -0
- data/spec/models/chat_create_request_spec.rb +64 -0
- data/spec/models/chat_edit_message200_response_data_spec.rb +48 -0
- data/spec/models/chat_edit_message200_response_spec.rb +42 -0
- data/spec/models/chat_edit_message_request_spec.rb +36 -0
- data/spec/models/chat_get200_response_data_participants_inner_spec.rb +42 -0
- data/spec/models/chat_get200_response_data_spec.rb +48 -0
- data/spec/models/chat_get200_response_spec.rb +42 -0
- data/spec/models/chat_get_messages200_response_data_messages_inner_sender_spec.rb +42 -0
- data/spec/models/chat_get_messages200_response_data_messages_inner_spec.rb +54 -0
- data/spec/models/chat_get_messages200_response_data_spec.rb +42 -0
- data/spec/models/chat_get_messages200_response_spec.rb +42 -0
- data/spec/models/chat_list200_response_data_chats_inner_last_message_spec.rb +36 -0
- data/spec/models/chat_list200_response_data_chats_inner_spec.rb +60 -0
- data/spec/models/chat_list200_response_data_spec.rb +42 -0
- data/spec/models/chat_list200_response_spec.rb +42 -0
- data/spec/models/chat_mark_as_read200_response_data_spec.rb +36 -0
- data/spec/models/chat_mark_as_read200_response_spec.rb +42 -0
- data/spec/models/chat_mark_as_read_request_spec.rb +36 -0
- data/spec/models/chat_remove_participant_request_spec.rb +36 -0
- data/spec/models/chat_remove_reaction200_response_data_inner_spec.rb +48 -0
- data/spec/models/chat_remove_reaction200_response_spec.rb +42 -0
- data/spec/models/chat_send_message201_response_data_spec.rb +54 -0
- data/spec/models/chat_send_message201_response_spec.rb +42 -0
- data/spec/models/chat_send_message_request_spec.rb +58 -0
- data/spec/models/collection_spec.rb +1 -1
- data/spec/models/collections_create201_response_spec.rb +42 -0
- data/spec/models/collections_list200_response_spec.rb +42 -0
- data/spec/models/compliance_log_security_event200_response_event_spec.rb +54 -0
- data/spec/models/compliance_log_security_event200_response_spec.rb +42 -0
- data/spec/models/compliance_log_security_event_request_details_spec.rb +66 -0
- data/spec/models/compliance_log_security_event_request_spec.rb +56 -0
- data/spec/models/confirm_upload_response_scan_spec.rb +1 -1
- data/spec/models/confirm_upload_response_spec.rb +1 -1
- data/spec/models/create_api_key_request_spec.rb +1 -1
- data/spec/models/create_bucket_request_spec.rb +1 -1
- data/spec/models/create_collection_request_spec.rb +1 -1
- data/spec/models/create_function_request_spec.rb +1 -1
- data/spec/models/create_project_request_spec.rb +1 -1
- data/spec/models/data_list_response_data_inner_spec.rb +1 -1
- data/spec/models/data_list_response_spec.rb +1 -1
- data/spec/models/data_response_spec.rb +1 -1
- data/spec/models/database_config_spec.rb +1 -1
- data/spec/models/email_request_spec.rb +1 -1
- data/spec/models/email_request_to_spec.rb +1 -1
- data/spec/models/error_details_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/field_default_spec.rb +1 -1
- data/spec/models/field_spec.rb +1 -1
- data/spec/models/file_list_response_spec.rb +1 -1
- data/spec/models/file_metadata_spec.rb +1 -1
- data/spec/models/file_response_spec.rb +1 -1
- data/spec/models/file_upload_response_spec.rb +1 -1
- data/spec/models/function_execution_response_data_spec.rb +1 -1
- data/spec/models/function_execution_response_spec.rb +1 -1
- data/spec/models/function_execution_spec.rb +1 -1
- data/spec/models/function_list_response_data_spec.rb +1 -1
- data/spec/models/function_list_response_spec.rb +1 -1
- data/spec/models/function_logs_response_data_spec.rb +1 -1
- data/spec/models/function_logs_response_spec.rb +1 -1
- data/spec/models/function_response_spec.rb +1 -1
- data/spec/models/function_spec.rb +1 -1
- data/spec/models/function_stats_spec.rb +1 -1
- data/spec/models/function_trigger_spec.rb +1 -1
- data/spec/models/functions_delete200_response_spec.rb +42 -0
- data/spec/models/functions_execute_request_spec.rb +36 -0
- data/spec/models/functions_get_versions200_response_data_spec.rb +36 -0
- data/spec/models/functions_get_versions200_response_data_versions_inner_spec.rb +66 -0
- data/spec/models/functions_get_versions200_response_spec.rb +42 -0
- data/spec/models/functions_rollback_request_spec.rb +36 -0
- data/spec/models/functions_simulate_request_spec.rb +48 -0
- data/spec/models/functions_trigger_webhook200_response_spec.rb +48 -0
- data/spec/models/functions_trigger_webhook400_response_spec.rb +42 -0
- data/spec/models/functions_trigger_webhook401_response_spec.rb +42 -0
- data/spec/models/health_response_services_spec.rb +1 -1
- data/spec/models/health_response_spec.rb +1 -1
- data/spec/models/integrations_execute_request_spec.rb +58 -0
- data/spec/models/integrations_list200_response_integrations_inner_spec.rb +54 -0
- data/spec/models/integrations_list200_response_spec.rb +36 -0
- data/spec/models/invite_member_request_spec.rb +1 -1
- data/spec/models/limits_spec.rb +1 -1
- data/spec/models/login_request_spec.rb +1 -1
- data/spec/models/magic_link_request_spec.rb +1 -1
- data/spec/models/message_history_response_data_spec.rb +1 -1
- data/spec/models/message_history_response_spec.rb +1 -1
- data/spec/models/message_response_spec.rb +1 -1
- data/spec/models/message_sent_response_data_spec.rb +1 -1
- data/spec/models/message_sent_response_spec.rb +1 -1
- data/spec/models/message_spec.rb +1 -1
- data/spec/models/message_stats_response_data_by_status_spec.rb +1 -1
- data/spec/models/message_stats_response_data_by_type_spec.rb +1 -1
- data/spec/models/message_stats_response_data_period_spec.rb +1 -1
- data/spec/models/message_stats_response_data_spec.rb +1 -1
- data/spec/models/message_stats_response_spec.rb +1 -1
- data/spec/models/multi_role_add_role_request_default_permissions_inner_spec.rb +42 -0
- data/spec/models/multi_role_add_role_request_spec.rb +66 -0
- data/spec/models/multi_role_get_available_roles200_response_data_inner_spec.rb +72 -0
- data/spec/models/multi_role_get_available_roles200_response_spec.rb +42 -0
- data/spec/models/multi_role_get_config200_response_data_spec.rb +54 -0
- data/spec/models/multi_role_get_config200_response_spec.rb +42 -0
- data/spec/models/multi_role_toggle_role_request_spec.rb +36 -0
- data/spec/models/multi_role_update_collection_permissions_request_spec.rb +46 -0
- data/spec/models/multi_role_update_role_request_spec.rb +66 -0
- data/spec/models/multi_role_update_settings200_response_spec.rb +48 -0
- data/spec/models/multi_role_update_settings_request_settings_spec.rb +42 -0
- data/spec/models/multi_role_update_settings_request_spec.rb +48 -0
- data/spec/models/non_custodial_address_response_spec.rb +1 -1
- data/spec/models/non_custodial_address_spec.rb +1 -1
- data/spec/models/organization_spec.rb +1 -1
- data/spec/models/organization_summary_spec.rb +1 -1
- data/spec/models/otp_send_request_spec.rb +1 -1
- data/spec/models/otp_verify_request_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/payment_intent_spec.rb +1 -1
- data/spec/models/payment_refund_spec.rb +1 -1
- data/spec/models/payment_subscription_spec.rb +1 -1
- data/spec/models/permission_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/presigned_post_response_spec.rb +1 -1
- data/spec/models/project_settings_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_summary_spec.rb +1 -1
- data/spec/models/project_usage_response_spec.rb +1 -1
- data/spec/models/project_usage_spec.rb +1 -1
- data/spec/models/project_usage_stats_response_project_spec.rb +1 -1
- data/spec/models/project_usage_stats_response_spec.rb +1 -1
- data/spec/models/push_notification_request_spec.rb +1 -1
- data/spec/models/rate_limit_spec.rb +1 -1
- data/spec/models/realtime_analytics_check_user_presence200_response_presence_value_spec.rb +42 -0
- data/spec/models/realtime_analytics_check_user_presence200_response_spec.rb +42 -0
- data/spec/models/realtime_analytics_check_user_presence_request_spec.rb +36 -0
- data/spec/models/realtime_analytics_get_active_users200_response_spec.rb +48 -0
- data/spec/models/realtime_analytics_get_active_users200_response_users_inner_spec.rb +48 -0
- data/spec/models/realtime_analytics_get_event_throughput200_response_spec.rb +60 -0
- data/spec/models/realtime_analytics_get_historical_analytics200_response_data_inner_spec.rb +48 -0
- data/spec/models/realtime_analytics_get_historical_analytics200_response_spec.rb +54 -0
- data/spec/models/realtime_analytics_get_project200_response_spec.rb +60 -0
- data/spec/models/register_request_spec.rb +1 -1
- data/spec/models/role_elevation_get_status200_response_spec.rb +36 -0
- data/spec/models/role_elevation_request200_response_spec.rb +74 -0
- data/spec/models/role_elevation_request_request_spec.rb +36 -0
- data/spec/models/role_elevation_upload_documents_request_documents_inner_spec.rb +42 -0
- data/spec/models/role_elevation_upload_documents_request_spec.rb +42 -0
- data/spec/models/search_get_analytics200_response_spec.rb +54 -0
- data/spec/models/search_get_analytics200_response_top_queries_inner_spec.rb +42 -0
- data/spec/models/search_get_suggestions200_response_spec.rb +36 -0
- data/spec/models/search_response_data_spec.rb +1 -1
- data/spec/models/search_response_spec.rb +1 -1
- data/spec/models/search_result_item_spec.rb +1 -1
- data/spec/models/search_result_spec.rb +1 -1
- data/spec/models/session_response_spec.rb +1 -1
- data/spec/models/signed_url_response_spec.rb +1 -1
- data/spec/models/sms_request_spec.rb +1 -1
- data/spec/models/storage_config_spec.rb +1 -1
- data/spec/models/storage_confirm_upload400_response_spec.rb +42 -0
- data/spec/models/storage_confirm_upload_request_spec.rb +72 -0
- data/spec/models/storage_download_bucket_file403_response_spec.rb +36 -0
- data/spec/models/storage_download_bucket_file404_response_spec.rb +36 -0
- data/spec/models/storage_get_presigned_upload_request_spec.rb +60 -0
- data/spec/models/storage_get_signed_url_request_spec.rb +36 -0
- data/spec/models/system_status_response_data_cpu_spec.rb +1 -1
- data/spec/models/system_status_response_data_database_spec.rb +1 -1
- data/spec/models/system_status_response_data_memory_spec.rb +1 -1
- data/spec/models/system_status_response_data_requests_spec.rb +1 -1
- data/spec/models/system_status_response_data_spec.rb +1 -1
- data/spec/models/system_status_response_data_storage_spec.rb +1 -1
- data/spec/models/system_status_response_spec.rb +1 -1
- data/spec/models/trigger_webhook_request_spec.rb +1 -1
- data/spec/models/two_fa_setup_response_spec.rb +1 -1
- data/spec/models/update_api_key_request_spec.rb +1 -1
- data/spec/models/update_bucket_request_spec.rb +1 -1
- data/spec/models/update_collection_request_spec.rb +1 -1
- data/spec/models/update_function_request_limits_spec.rb +1 -1
- data/spec/models/update_function_request_retry_policy_spec.rb +1 -1
- data/spec/models/update_function_request_spec.rb +1 -1
- data/spec/models/update_organization_request_spec.rb +1 -1
- data/spec/models/update_project_request_spec.rb +1 -1
- data/spec/models/update_user_request_spec.rb +1 -1
- data/spec/models/upload_files_to_bucket_metadata_request_spec.rb +1 -1
- data/spec/models/upload_files_to_bucket_request_spec.rb +1 -1
- data/spec/models/usage_response_spec.rb +1 -1
- data/spec/models/usage_spec.rb +1 -1
- data/spec/models/usage_stats_response_percentages_spec.rb +1 -1
- data/spec/models/usage_stats_response_spec.rb +1 -1
- data/spec/models/usage_trends_response_spec.rb +1 -1
- data/spec/models/usage_trends_response_trends_inner_id_spec.rb +1 -1
- data/spec/models/usage_trends_response_trends_inner_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/user_summary_spec.rb +1 -1
- data/spec/models/users_disable2fa_request_spec.rb +42 -0
- data/spec/models/users_erase_data200_response_details_spec.rb +60 -0
- data/spec/models/users_erase_data200_response_spec.rb +42 -0
- data/spec/models/users_erase_data_request_spec.rb +46 -0
- data/spec/models/users_export_data200_response_spec.rb +78 -0
- data/spec/models/users_get200_response_spec.rb +36 -0
- data/spec/models/users_link_o_auth_provider200_response_spec.rb +36 -0
- data/spec/models/users_list_o_auth_providers200_response_providers_inner_spec.rb +54 -0
- data/spec/models/users_list_o_auth_providers200_response_spec.rb +36 -0
- data/spec/models/users_unlink_o_auth_provider200_response_spec.rb +42 -0
- data/spec/models/users_update200_response_spec.rb +42 -0
- data/spec/models/users_verify2fa_request_spec.rb +36 -0
- data/spec/models/users_verify_email_request_spec.rb +42 -0
- data/spec/models/wallet_balance_spec.rb +1 -1
- data/spec/models/wallet_broadcast_transaction200_response_data_spec.rb +54 -0
- data/spec/models/wallet_broadcast_transaction200_response_spec.rb +48 -0
- data/spec/models/wallet_broadcast_transaction_request_spec.rb +52 -0
- data/spec/models/wallet_create_webhook201_response_spec.rb +48 -0
- data/spec/models/wallet_create_webhook_request_filters_spec.rb +46 -0
- data/spec/models/wallet_create_webhook_request_spec.rb +64 -0
- data/spec/models/wallet_estimate_gas200_response_data_spec.rb +96 -0
- data/spec/models/wallet_estimate_gas200_response_spec.rb +42 -0
- data/spec/models/wallet_estimate_gas_request_spec.rb +46 -0
- data/spec/models/wallet_estimate_gas_request_transaction_spec.rb +66 -0
- data/spec/models/wallet_get_balance200_response_spec.rb +42 -0
- data/spec/models/wallet_get_cancel_params200_response_data_spec.rb +90 -0
- data/spec/models/wallet_get_cancel_params200_response_spec.rb +42 -0
- data/spec/models/wallet_get_cancel_params_request_spec.rb +52 -0
- data/spec/models/wallet_get_speed_up_params200_response_data_spec.rb +90 -0
- data/spec/models/wallet_get_speed_up_params200_response_spec.rb +42 -0
- data/spec/models/wallet_get_speed_up_params_request_spec.rb +52 -0
- data/spec/models/wallet_get_transaction_by_hash200_response_spec.rb +42 -0
- data/spec/models/wallet_get_transaction_by_hash400_response_spec.rb +42 -0
- data/spec/models/wallet_get_transactions200_response_pagination_spec.rb +72 -0
- data/spec/models/wallet_get_transactions200_response_spec.rb +48 -0
- data/spec/models/wallet_get_webhook_logs200_response_spec.rb +42 -0
- data/spec/models/wallet_list_addresses200_response_spec.rb +48 -0
- data/spec/models/wallet_list_webhooks200_response_spec.rb +48 -0
- data/spec/models/wallet_register_address_request_spec.rb +64 -0
- data/spec/models/wallet_test_webhook200_response_spec.rb +42 -0
- data/spec/models/wallet_test_webhook_request_spec.rb +54 -0
- data/spec/models/wallet_transaction_spec.rb +1 -1
- data/spec/models/wallet_transaction_webhook_payload_spec.rb +1 -1
- data/spec/models/wallet_update_webhook200_response_spec.rb +42 -0
- data/spec/models/wallet_update_webhook_request_spec.rb +54 -0
- data/spec/models/wallet_webhook_filters_spec.rb +1 -1
- data/spec/models/wallet_webhook_spec.rb +1 -1
- data/spec/models/wallet_webhook_stats_spec.rb +1 -1
- data/spec/models/webhook_list_response_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_stats_response_event_stats_inner_spec.rb +1 -1
- data/spec/models/webhook_stats_response_spec.rb +1 -1
- data/spec/models/webhook_stats_response_status_stats_inner_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +738 -746
- data/docs/AddCustomRoleRequest.md +0 -28
- data/docs/AddCustomRoleRequestDefaultPermissionsInner.md +0 -20
- data/docs/AddParticipant200Response.md +0 -20
- data/docs/AddParticipant200ResponseData.md +0 -18
- data/docs/AddParticipant200ResponseDataParticipantsInner.md +0 -22
- data/docs/AddParticipantRequest.md +0 -20
- data/docs/AddReaction200Response.md +0 -20
- data/docs/AddReaction200ResponseDataInner.md +0 -20
- data/docs/AddReactionRequest.md +0 -18
- data/docs/AuthenticationApi.md +0 -1131
- data/docs/BroadcastNonCustodialTransaction200Response.md +0 -22
- data/docs/BroadcastNonCustodialTransaction200ResponseData.md +0 -24
- data/docs/BroadcastNonCustodialTransactionRequest.md +0 -22
- data/docs/BucketsApi.md +0 -385
- data/docs/CheckFeatureAccess200Response.md +0 -20
- data/docs/CheckSubscription200Response.md +0 -20
- data/docs/CheckSubscription200ResponseSubscription.md +0 -20
- data/docs/CheckUserPresence200Response.md +0 -20
- data/docs/CheckUserPresence200ResponsePresenceValue.md +0 -20
- data/docs/CheckUserPresenceRequest.md +0 -18
- data/docs/ConfirmDirectUpload400Response.md +0 -20
- data/docs/ConfirmDirectUploadRequest.md +0 -30
- data/docs/ConfirmLocalPasswordResetWithOtpRequest.md +0 -24
- data/docs/ConvertAnonymousAccount200Response.md +0 -26
- data/docs/ConvertAnonymousAccountRequest.md +0 -24
- data/docs/CreateAnonymousSession200Response.md +0 -26
- data/docs/CreateAnonymousSession200ResponseUser.md +0 -28
- data/docs/CreateAnonymousSessionRequest.md +0 -20
- data/docs/CreateChat201Response.md +0 -20
- data/docs/CreateChat201ResponseData.md +0 -26
- data/docs/CreateChatRequest.md +0 -26
- data/docs/CreateCheckoutSession200Response.md +0 -20
- data/docs/CreateCheckoutSession200ResponseData.md +0 -38
- data/docs/CreateCheckoutSession200ResponseDataPaymentOptionsInner.md +0 -28
- data/docs/CreateCheckoutSessionRequest.md +0 -26
- data/docs/CreateCheckoutSessionRequestCustomerInfo.md +0 -20
- data/docs/CreateCollection201Response.md +0 -20
- data/docs/CreateWalletWebhook201Response.md +0 -22
- data/docs/CreateWalletWebhookRequest.md +0 -26
- data/docs/CreateWalletWebhookRequestFilters.md +0 -20
- data/docs/DeleteFunction200Response.md +0 -20
- data/docs/Disable2FARequest.md +0 -20
- data/docs/DownloadBucketFile403Response.md +0 -18
- data/docs/DownloadBucketFile404Response.md +0 -18
- data/docs/EditMessage200Response.md +0 -20
- data/docs/EditMessage200ResponseData.md +0 -22
- data/docs/EditMessageRequest.md +0 -18
- data/docs/EraseUserData200Response.md +0 -20
- data/docs/EraseUserData200ResponseDetails.md +0 -26
- data/docs/EraseUserDataRequest.md +0 -20
- data/docs/EstimateNonCustodialGas200Response.md +0 -20
- data/docs/EstimateNonCustodialGas200ResponseData.md +0 -38
- data/docs/EstimateNonCustodialGasRequest.md +0 -20
- data/docs/EstimateNonCustodialGasRequestTransaction.md +0 -28
- data/docs/ExecuteFunctionRequest.md +0 -18
- data/docs/ExecuteIntegrationRequest.md +0 -24
- data/docs/ExportUserData200Response.md +0 -32
- data/docs/FilesApi.md +0 -702
- data/docs/GeneratePresignedUploadRequest.md +0 -26
- data/docs/GenerateSignedUrlRequest.md +0 -18
- data/docs/GetActiveUsers200Response.md +0 -22
- data/docs/GetActiveUsers200ResponseUsersInner.md +0 -22
- data/docs/GetAvailableOAuthProviders200Response.md +0 -20
- data/docs/GetAvailableOAuthProviders200ResponseProvidersInner.md +0 -28
- data/docs/GetAvailableRoles200Response.md +0 -20
- data/docs/GetAvailableRoles200ResponseDataInner.md +0 -30
- data/docs/GetCancelParams200Response.md +0 -20
- data/docs/GetCancelParams200ResponseData.md +0 -36
- data/docs/GetCancelParamsRequest.md +0 -22
- data/docs/GetChatDetails200Response.md +0 -20
- data/docs/GetChatDetails200ResponseData.md +0 -22
- data/docs/GetChatDetails200ResponseDataParticipantsInner.md +0 -20
- data/docs/GetChatMessages200Response.md +0 -20
- data/docs/GetChatMessages200ResponseData.md +0 -20
- data/docs/GetChatMessages200ResponseDataMessagesInner.md +0 -24
- data/docs/GetChatMessages200ResponseDataMessagesInnerSender.md +0 -20
- data/docs/GetCheckoutPayment200Response.md +0 -20
- data/docs/GetCheckoutPayment200ResponseData.md +0 -34
- data/docs/GetCurrentUser200Response.md +0 -18
- data/docs/GetEventThroughput200Response.md +0 -26
- data/docs/GetFunctionVersions200Response.md +0 -20
- data/docs/GetFunctionVersions200ResponseData.md +0 -18
- data/docs/GetFunctionVersions200ResponseDataVersionsInner.md +0 -28
- data/docs/GetHistoricalAnalytics200Response.md +0 -24
- data/docs/GetHistoricalAnalytics200ResponseDataInner.md +0 -22
- data/docs/GetIntegrations200Response.md +0 -18
- data/docs/GetIntegrations200ResponseIntegrationsInner.md +0 -24
- data/docs/GetLocalSession200Response.md +0 -20
- data/docs/GetMultiRoleConfig200Response.md +0 -20
- data/docs/GetMultiRoleConfig200ResponseData.md +0 -24
- data/docs/GetNonCustodialBalance200Response.md +0 -20
- data/docs/GetNonCustodialTransactionByHash200Response.md +0 -20
- data/docs/GetNonCustodialTransactionByHash400Response.md +0 -20
- data/docs/GetNonCustodialTransactions200Response.md +0 -22
- data/docs/GetNonCustodialTransactions200ResponsePagination.md +0 -30
- data/docs/GetProjectAnalytics200Response.md +0 -26
- data/docs/GetPublicPlans200Response.md +0 -18
- data/docs/GetRoleElevationStatus200Response.md +0 -18
- data/docs/GetSearchAnalytics200Response.md +0 -24
- data/docs/GetSearchAnalytics200ResponseTopQueriesInner.md +0 -20
- data/docs/GetSearchSuggestions200Response.md +0 -18
- data/docs/GetSpeedUpParams200Response.md +0 -20
- data/docs/GetSpeedUpParams200ResponseData.md +0 -36
- data/docs/GetSpeedUpParamsRequest.md +0 -22
- data/docs/GetUserChats200Response.md +0 -20
- data/docs/GetUserChats200ResponseData.md +0 -20
- data/docs/GetUserChats200ResponseDataChatsInner.md +0 -26
- data/docs/GetUserChats200ResponseDataChatsInnerLastMessage.md +0 -18
- data/docs/GetWalletWebhookLogs200Response.md +0 -20
- data/docs/HandleCryptoPaymentWebhook200Response.md +0 -18
- data/docs/HandleCryptoPaymentWebhookRequest.md +0 -20
- data/docs/HandleCryptoPaymentWebhookRequestData.md +0 -30
- data/docs/HandleFlutterwaveWebhookRequest.md +0 -20
- data/docs/HandleFlutterwaveWebhookRequestData.md +0 -32
- data/docs/HandleFlutterwaveWebhookRequestDataCustomer.md +0 -20
- data/docs/InitializePaymentForProjectRequest.md +0 -24
- data/docs/InitializePaymentForProjectRequestCustomer.md +0 -20
- data/docs/InitiateOAuth200Response.md +0 -18
- data/docs/InitiateOAuth400Response.md +0 -18
- data/docs/InitiateOAuth404Response.md +0 -18
- data/docs/LinkOAuthProvider200Response.md +0 -18
- data/docs/ListCollections200Response.md +0 -20
- data/docs/ListNonCustodialAddresses200Response.md +0 -22
- data/docs/ListOAuthProviders200Response.md +0 -18
- data/docs/ListOAuthProviders200ResponseProvidersInner.md +0 -24
- data/docs/ListWalletWebhooks200Response.md +0 -22
- data/docs/LogSecurityEvent200Response.md +0 -20
- data/docs/LogSecurityEvent200ResponseEvent.md +0 -24
- data/docs/LogSecurityEventRequest.md +0 -22
- data/docs/LogSecurityEventRequestDetails.md +0 -28
- data/docs/LoginLocalUser200Response.md +0 -26
- data/docs/LoginLocalUser200ResponseUser.md +0 -30
- data/docs/LoginLocalUser403Response.md +0 -22
- data/docs/LoginLocalUserRequest.md +0 -22
- data/docs/MarkMessagesAsRead200Response.md +0 -20
- data/docs/MarkMessagesAsRead200ResponseData.md +0 -18
- data/docs/MarkMessagesAsReadRequest.md +0 -18
- data/docs/MultiRoleFeatureApi.md +0 -654
- data/docs/OauthCallback200Response.md +0 -20
- data/docs/OauthSignupWithRole400Response.md +0 -20
- data/docs/RealTimeAnalyticsApi.md +0 -367
- data/docs/RecordUsageRequest.md +0 -22
- data/docs/RefreshToken200Response.md +0 -24
- data/docs/RefreshToken400Response.md +0 -18
- data/docs/RefreshTokenRequest.md +0 -18
- data/docs/RegisterLocalUser201Response.md +0 -28
- data/docs/RegisterLocalUser201ResponseUser.md +0 -28
- data/docs/RegisterLocalUser429Response.md +0 -30
- data/docs/RegisterLocalUserRequest.md +0 -26
- data/docs/RegisterNonCustodialAddressRequest.md +0 -26
- data/docs/RegisterWithRoleRequest.md +0 -26
- data/docs/RemoveParticipantRequest.md +0 -18
- data/docs/RemoveReaction200Response.md +0 -20
- data/docs/RemoveReaction200ResponseDataInner.md +0 -22
- data/docs/RequestLocalPasswordResetRequest.md +0 -20
- data/docs/RequestRoleElevation200Response.md +0 -28
- data/docs/RequestRoleElevationRequest.md +0 -18
- data/docs/ResetLocalPasswordRequest.md +0 -20
- data/docs/RollbackFunctionRequest.md +0 -18
- data/docs/SendMessage201Response.md +0 -20
- data/docs/SendMessage201ResponseData.md +0 -24
- data/docs/SendMessageRequest.md +0 -24
- data/docs/SimulateFunctionTriggerRequest.md +0 -22
- data/docs/TestWalletWebhook200Response.md +0 -20
- data/docs/TestWalletWebhookRequest.md +0 -24
- data/docs/ToggleRoleRequest.md +0 -18
- data/docs/TriggerFunctionWebhook200Response.md +0 -22
- data/docs/TriggerFunctionWebhook400Response.md +0 -20
- data/docs/TriggerFunctionWebhook401Response.md +0 -20
- data/docs/UnlinkOAuthProvider200Response.md +0 -20
- data/docs/UpdateCollectionPermissionsRequest.md +0 -20
- data/docs/UpdateMultiRoleSettings200Response.md +0 -22
- data/docs/UpdateMultiRoleSettingsRequest.md +0 -22
- data/docs/UpdateMultiRoleSettingsRequestSettings.md +0 -20
- data/docs/UpdateProjectRoleRequest.md +0 -28
- data/docs/UpdateUserProfile200Response.md +0 -20
- data/docs/UpdateWalletWebhook200Response.md +0 -20
- data/docs/UpdateWalletWebhookRequest.md +0 -24
- data/docs/UploadVerificationDocumentsRequest.md +0 -20
- data/docs/UploadVerificationDocumentsRequestDocumentsInner.md +0 -20
- data/docs/Verify2FARequest.md +0 -18
- data/docs/VerifyEmailRequest.md +0 -20
- data/docs/VerifyMagicLinkRequest.md +0 -18
- data/docs/VerifyPayment200Response.md +0 -22
- data/docs/VerifyPayment200ResponseData.md +0 -18
- data/docs/VerifyPayment200ResponseDataSubscription.md +0 -24
- data/lib/mudbase/api/authentication_api.rb +0 -1158
- data/lib/mudbase/api/buckets_api.rb +0 -386
- data/lib/mudbase/api/files_api.rb +0 -683
- data/lib/mudbase/api/multi_role_feature_api.rb +0 -699
- data/lib/mudbase/api/real_time_analytics_api.rb +0 -358
- data/lib/mudbase/models/add_custom_role_request.rb +0 -245
- data/lib/mudbase/models/add_custom_role_request_default_permissions_inner.rb +0 -158
- data/lib/mudbase/models/add_participant200_response.rb +0 -156
- data/lib/mudbase/models/add_participant200_response_data.rb +0 -149
- data/lib/mudbase/models/add_participant200_response_data_participants_inner.rb +0 -165
- data/lib/mudbase/models/add_participant_request.rb +0 -207
- data/lib/mudbase/models/add_reaction200_response.rb +0 -158
- data/lib/mudbase/models/add_reaction200_response_data_inner.rb +0 -158
- data/lib/mudbase/models/add_reaction_request.rb +0 -164
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response.rb +0 -165
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response_data.rb +0 -175
- data/lib/mudbase/models/broadcast_non_custodial_transaction_request.rb +0 -243
- data/lib/mudbase/models/check_feature_access200_response.rb +0 -156
- data/lib/mudbase/models/check_subscription200_response.rb +0 -156
- data/lib/mudbase/models/check_subscription200_response_subscription.rb +0 -156
- data/lib/mudbase/models/check_user_presence200_response.rb +0 -158
- data/lib/mudbase/models/check_user_presence200_response_presence_value.rb +0 -156
- data/lib/mudbase/models/check_user_presence_request.rb +0 -166
- data/lib/mudbase/models/confirm_direct_upload400_response.rb +0 -156
- data/lib/mudbase/models/confirm_direct_upload_request.rb +0 -236
- data/lib/mudbase/models/confirm_local_password_reset_with_otp_request.rb +0 -280
- data/lib/mudbase/models/convert_anonymous_account200_response.rb +0 -183
- data/lib/mudbase/models/convert_anonymous_account_request.rb +0 -208
- data/lib/mudbase/models/create_anonymous_session200_response.rb +0 -184
- data/lib/mudbase/models/create_anonymous_session200_response_user.rb +0 -192
- data/lib/mudbase/models/create_anonymous_session_request.rb +0 -158
- data/lib/mudbase/models/create_chat201_response.rb +0 -156
- data/lib/mudbase/models/create_chat201_response_data.rb +0 -185
- data/lib/mudbase/models/create_chat_request.rb +0 -260
- data/lib/mudbase/models/create_checkout_session200_response.rb +0 -156
- data/lib/mudbase/models/create_checkout_session200_response_data.rb +0 -245
- data/lib/mudbase/models/create_checkout_session200_response_data_payment_options_inner.rb +0 -238
- data/lib/mudbase/models/create_checkout_session_request.rb +0 -262
- data/lib/mudbase/models/create_checkout_session_request_customer_info.rb +0 -173
- data/lib/mudbase/models/create_collection201_response.rb +0 -156
- data/lib/mudbase/models/create_wallet_webhook201_response.rb +0 -165
- data/lib/mudbase/models/create_wallet_webhook_request.rb +0 -233
- data/lib/mudbase/models/create_wallet_webhook_request_filters.rb +0 -184
- data/lib/mudbase/models/delete_function200_response.rb +0 -156
- data/lib/mudbase/models/disable2_fa_request.rb +0 -190
- data/lib/mudbase/models/download_bucket_file403_response.rb +0 -147
- data/lib/mudbase/models/download_bucket_file404_response.rb +0 -147
- data/lib/mudbase/models/edit_message200_response.rb +0 -156
- data/lib/mudbase/models/edit_message200_response_data.rb +0 -165
- data/lib/mudbase/models/edit_message_request.rb +0 -164
- data/lib/mudbase/models/erase_user_data200_response.rb +0 -156
- data/lib/mudbase/models/erase_user_data200_response_details.rb +0 -183
- data/lib/mudbase/models/erase_user_data_request.rb +0 -198
- data/lib/mudbase/models/estimate_non_custodial_gas200_response.rb +0 -156
- data/lib/mudbase/models/estimate_non_custodial_gas200_response_data.rb +0 -248
- data/lib/mudbase/models/estimate_non_custodial_gas_request.rb +0 -198
- data/lib/mudbase/models/estimate_non_custodial_gas_request_transaction.rb +0 -216
- data/lib/mudbase/models/execute_function_request.rb +0 -148
- data/lib/mudbase/models/execute_integration_request.rb +0 -232
- data/lib/mudbase/models/export_user_data200_response.rb +0 -222
- data/lib/mudbase/models/generate_presigned_upload_request.rb +0 -221
- data/lib/mudbase/models/generate_signed_url_request.rb +0 -149
- data/lib/mudbase/models/get_active_users200_response.rb +0 -167
- data/lib/mudbase/models/get_active_users200_response_users_inner.rb +0 -165
- data/lib/mudbase/models/get_available_o_auth_providers200_response.rb +0 -158
- data/lib/mudbase/models/get_available_o_auth_providers200_response_providers_inner.rb +0 -196
- data/lib/mudbase/models/get_available_roles200_response.rb +0 -158
- data/lib/mudbase/models/get_available_roles200_response_data_inner.rb +0 -201
- data/lib/mudbase/models/get_cancel_params200_response.rb +0 -156
- data/lib/mudbase/models/get_cancel_params200_response_data.rb +0 -231
- data/lib/mudbase/models/get_cancel_params_request.rb +0 -208
- data/lib/mudbase/models/get_chat_details200_response.rb +0 -156
- data/lib/mudbase/models/get_chat_details200_response_data.rb +0 -167
- data/lib/mudbase/models/get_chat_details200_response_data_participants_inner.rb +0 -156
- data/lib/mudbase/models/get_chat_messages200_response.rb +0 -156
- data/lib/mudbase/models/get_chat_messages200_response_data.rb +0 -158
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner.rb +0 -174
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner_sender.rb +0 -156
- data/lib/mudbase/models/get_checkout_payment200_response.rb +0 -156
- data/lib/mudbase/models/get_checkout_payment200_response_data.rb +0 -224
- data/lib/mudbase/models/get_current_user200_response.rb +0 -147
- data/lib/mudbase/models/get_event_throughput200_response.rb +0 -185
- data/lib/mudbase/models/get_function_versions200_response.rb +0 -156
- data/lib/mudbase/models/get_function_versions200_response_data.rb +0 -149
- data/lib/mudbase/models/get_function_versions200_response_data_versions_inner.rb +0 -192
- data/lib/mudbase/models/get_historical_analytics200_response.rb +0 -176
- data/lib/mudbase/models/get_historical_analytics200_response_data_inner.rb +0 -165
- data/lib/mudbase/models/get_integrations200_response.rb +0 -149
- data/lib/mudbase/models/get_integrations200_response_integrations_inner.rb +0 -174
- data/lib/mudbase/models/get_local_session200_response.rb +0 -156
- data/lib/mudbase/models/get_multi_role_config200_response.rb +0 -156
- data/lib/mudbase/models/get_multi_role_config200_response_data.rb +0 -176
- data/lib/mudbase/models/get_non_custodial_balance200_response.rb +0 -156
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash200_response.rb +0 -156
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash400_response.rb +0 -156
- data/lib/mudbase/models/get_non_custodial_transactions200_response.rb +0 -167
- data/lib/mudbase/models/get_non_custodial_transactions200_response_pagination.rb +0 -201
- data/lib/mudbase/models/get_project_analytics200_response.rb +0 -183
- data/lib/mudbase/models/get_public_plans200_response.rb +0 -149
- data/lib/mudbase/models/get_role_elevation_status200_response.rb +0 -149
- data/lib/mudbase/models/get_search_analytics200_response.rb +0 -176
- data/lib/mudbase/models/get_search_analytics200_response_top_queries_inner.rb +0 -156
- data/lib/mudbase/models/get_search_suggestions200_response.rb +0 -149
- data/lib/mudbase/models/get_speed_up_params200_response.rb +0 -156
- data/lib/mudbase/models/get_speed_up_params200_response_data.rb +0 -229
- data/lib/mudbase/models/get_speed_up_params_request.rb +0 -209
- data/lib/mudbase/models/get_user_chats200_response.rb +0 -156
- data/lib/mudbase/models/get_user_chats200_response_data.rb +0 -158
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner.rb +0 -183
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner_last_message.rb +0 -147
- data/lib/mudbase/models/get_wallet_webhook_logs200_response.rb +0 -158
- data/lib/mudbase/models/handle_crypto_payment_webhook200_response.rb +0 -147
- data/lib/mudbase/models/handle_crypto_payment_webhook_request.rb +0 -214
- data/lib/mudbase/models/handle_crypto_payment_webhook_request_data.rb +0 -201
- data/lib/mudbase/models/handle_flutterwave_webhook_request.rb +0 -157
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data.rb +0 -211
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data_customer.rb +0 -156
- data/lib/mudbase/models/initialize_payment_for_project_request.rb +0 -219
- data/lib/mudbase/models/initialize_payment_for_project_request_customer.rb +0 -173
- data/lib/mudbase/models/initiate_o_auth200_response.rb +0 -148
- data/lib/mudbase/models/initiate_o_auth400_response.rb +0 -147
- data/lib/mudbase/models/initiate_o_auth404_response.rb +0 -147
- data/lib/mudbase/models/link_o_auth_provider200_response.rb +0 -147
- data/lib/mudbase/models/list_collections200_response.rb +0 -158
- data/lib/mudbase/models/list_non_custodial_addresses200_response.rb +0 -167
- data/lib/mudbase/models/list_o_auth_providers200_response.rb +0 -149
- data/lib/mudbase/models/list_o_auth_providers200_response_providers_inner.rb +0 -174
- data/lib/mudbase/models/list_wallet_webhooks200_response.rb +0 -167
- data/lib/mudbase/models/log_security_event200_response.rb +0 -156
- data/lib/mudbase/models/log_security_event200_response_event.rb +0 -174
- data/lib/mudbase/models/log_security_event_request.rb +0 -225
- data/lib/mudbase/models/log_security_event_request_details.rb +0 -192
- data/lib/mudbase/models/login_local_user200_response.rb +0 -186
- data/lib/mudbase/models/login_local_user200_response_user.rb +0 -201
- data/lib/mudbase/models/login_local_user403_response.rb +0 -165
- data/lib/mudbase/models/login_local_user_request.rb +0 -199
- data/lib/mudbase/models/mark_messages_as_read200_response.rb +0 -156
- data/lib/mudbase/models/mark_messages_as_read200_response_data.rb +0 -147
- data/lib/mudbase/models/mark_messages_as_read_request.rb +0 -166
- data/lib/mudbase/models/oauth_callback200_response.rb +0 -156
- data/lib/mudbase/models/oauth_signup_with_role400_response.rb +0 -156
- data/lib/mudbase/models/record_usage_request.rb +0 -219
- data/lib/mudbase/models/refresh_token200_response.rb +0 -177
- data/lib/mudbase/models/refresh_token400_response.rb +0 -147
- data/lib/mudbase/models/refresh_token_request.rb +0 -165
- data/lib/mudbase/models/register_local_user201_response.rb +0 -196
- data/lib/mudbase/models/register_local_user201_response_user.rb +0 -192
- data/lib/mudbase/models/register_local_user429_response.rb +0 -208
- data/lib/mudbase/models/register_local_user_request.rb +0 -277
- data/lib/mudbase/models/register_non_custodial_address_request.rb +0 -246
- data/lib/mudbase/models/register_with_role_request.rb +0 -268
- data/lib/mudbase/models/remove_participant_request.rb +0 -164
- data/lib/mudbase/models/remove_reaction200_response.rb +0 -158
- data/lib/mudbase/models/remove_reaction200_response_data_inner.rb +0 -167
- data/lib/mudbase/models/request_local_password_reset_request.rb +0 -174
- data/lib/mudbase/models/request_role_elevation200_response.rb +0 -240
- data/lib/mudbase/models/request_role_elevation_request.rb +0 -164
- data/lib/mudbase/models/reset_local_password_request.rb +0 -182
- data/lib/mudbase/models/rollback_function_request.rb +0 -165
- data/lib/mudbase/models/send_message201_response.rb +0 -156
- data/lib/mudbase/models/send_message201_response_data.rb +0 -174
- data/lib/mudbase/models/send_message_request.rb +0 -234
- data/lib/mudbase/models/simulate_function_trigger_request.rb +0 -168
- data/lib/mudbase/models/test_wallet_webhook200_response.rb +0 -156
- data/lib/mudbase/models/test_wallet_webhook_request.rb +0 -191
- data/lib/mudbase/models/toggle_role_request.rb +0 -164
- data/lib/mudbase/models/trigger_function_webhook200_response.rb +0 -168
- data/lib/mudbase/models/trigger_function_webhook400_response.rb +0 -156
- data/lib/mudbase/models/trigger_function_webhook401_response.rb +0 -156
- data/lib/mudbase/models/unlink_o_auth_provider200_response.rb +0 -156
- data/lib/mudbase/models/update_collection_permissions_request.rb +0 -180
- data/lib/mudbase/models/update_multi_role_settings200_response.rb +0 -165
- data/lib/mudbase/models/update_multi_role_settings_request.rb +0 -165
- data/lib/mudbase/models/update_multi_role_settings_request_settings.rb +0 -156
- data/lib/mudbase/models/update_project_role_request.rb +0 -192
- data/lib/mudbase/models/update_user_profile200_response.rb +0 -156
- data/lib/mudbase/models/update_wallet_webhook200_response.rb +0 -156
- data/lib/mudbase/models/update_wallet_webhook_request.rb +0 -176
- data/lib/mudbase/models/upload_verification_documents_request.rb +0 -192
- data/lib/mudbase/models/upload_verification_documents_request_documents_inner.rb +0 -156
- data/lib/mudbase/models/verify2_fa_request.rb +0 -164
- data/lib/mudbase/models/verify_email_request.rb +0 -175
- data/lib/mudbase/models/verify_magic_link_request.rb +0 -164
- data/lib/mudbase/models/verify_payment200_response.rb +0 -165
- data/lib/mudbase/models/verify_payment200_response_data.rb +0 -147
- data/lib/mudbase/models/verify_payment200_response_data_subscription.rb +0 -208
- data/spec/api/authentication_api_spec.rb +0 -240
- data/spec/api/buckets_api_spec.rb +0 -103
- data/spec/api/files_api_spec.rb +0 -159
- data/spec/api/multi_role_feature_api_spec.rb +0 -156
- data/spec/api/real_time_analytics_api_spec.rb +0 -98
- data/spec/models/add_custom_role_request_default_permissions_inner_spec.rb +0 -42
- data/spec/models/add_custom_role_request_spec.rb +0 -66
- data/spec/models/add_participant200_response_data_participants_inner_spec.rb +0 -48
- data/spec/models/add_participant200_response_data_spec.rb +0 -36
- data/spec/models/add_participant200_response_spec.rb +0 -42
- data/spec/models/add_participant_request_spec.rb +0 -46
- data/spec/models/add_reaction200_response_data_inner_spec.rb +0 -42
- data/spec/models/add_reaction200_response_spec.rb +0 -42
- data/spec/models/add_reaction_request_spec.rb +0 -36
- data/spec/models/broadcast_non_custodial_transaction200_response_data_spec.rb +0 -54
- data/spec/models/broadcast_non_custodial_transaction200_response_spec.rb +0 -48
- data/spec/models/broadcast_non_custodial_transaction_request_spec.rb +0 -52
- data/spec/models/check_feature_access200_response_spec.rb +0 -42
- data/spec/models/check_subscription200_response_spec.rb +0 -42
- data/spec/models/check_subscription200_response_subscription_spec.rb +0 -42
- data/spec/models/check_user_presence200_response_presence_value_spec.rb +0 -42
- data/spec/models/check_user_presence200_response_spec.rb +0 -42
- data/spec/models/check_user_presence_request_spec.rb +0 -36
- data/spec/models/confirm_direct_upload400_response_spec.rb +0 -42
- data/spec/models/confirm_direct_upload_request_spec.rb +0 -72
- data/spec/models/confirm_local_password_reset_with_otp_request_spec.rb +0 -54
- data/spec/models/convert_anonymous_account200_response_spec.rb +0 -60
- data/spec/models/convert_anonymous_account_request_spec.rb +0 -54
- data/spec/models/create_anonymous_session200_response_spec.rb +0 -60
- data/spec/models/create_anonymous_session200_response_user_spec.rb +0 -66
- data/spec/models/create_anonymous_session_request_spec.rb +0 -42
- data/spec/models/create_chat201_response_data_spec.rb +0 -60
- data/spec/models/create_chat201_response_spec.rb +0 -42
- data/spec/models/create_chat_request_spec.rb +0 -64
- data/spec/models/create_checkout_session200_response_data_payment_options_inner_spec.rb +0 -74
- data/spec/models/create_checkout_session200_response_data_spec.rb +0 -96
- data/spec/models/create_checkout_session200_response_spec.rb +0 -42
- data/spec/models/create_checkout_session_request_customer_info_spec.rb +0 -42
- data/spec/models/create_checkout_session_request_spec.rb +0 -64
- data/spec/models/create_collection201_response_spec.rb +0 -42
- data/spec/models/create_wallet_webhook201_response_spec.rb +0 -48
- data/spec/models/create_wallet_webhook_request_filters_spec.rb +0 -46
- data/spec/models/create_wallet_webhook_request_spec.rb +0 -64
- data/spec/models/delete_function200_response_spec.rb +0 -42
- data/spec/models/disable2_fa_request_spec.rb +0 -42
- data/spec/models/download_bucket_file403_response_spec.rb +0 -36
- data/spec/models/download_bucket_file404_response_spec.rb +0 -36
- data/spec/models/edit_message200_response_data_spec.rb +0 -48
- data/spec/models/edit_message200_response_spec.rb +0 -42
- data/spec/models/edit_message_request_spec.rb +0 -36
- data/spec/models/erase_user_data200_response_details_spec.rb +0 -60
- data/spec/models/erase_user_data200_response_spec.rb +0 -42
- data/spec/models/erase_user_data_request_spec.rb +0 -46
- data/spec/models/estimate_non_custodial_gas200_response_data_spec.rb +0 -96
- data/spec/models/estimate_non_custodial_gas200_response_spec.rb +0 -42
- data/spec/models/estimate_non_custodial_gas_request_spec.rb +0 -46
- data/spec/models/estimate_non_custodial_gas_request_transaction_spec.rb +0 -66
- data/spec/models/execute_function_request_spec.rb +0 -36
- data/spec/models/execute_integration_request_spec.rb +0 -58
- data/spec/models/export_user_data200_response_spec.rb +0 -78
- data/spec/models/generate_presigned_upload_request_spec.rb +0 -60
- data/spec/models/generate_signed_url_request_spec.rb +0 -36
- data/spec/models/get_active_users200_response_spec.rb +0 -48
- data/spec/models/get_active_users200_response_users_inner_spec.rb +0 -48
- data/spec/models/get_available_o_auth_providers200_response_providers_inner_spec.rb +0 -66
- data/spec/models/get_available_o_auth_providers200_response_spec.rb +0 -42
- data/spec/models/get_available_roles200_response_data_inner_spec.rb +0 -72
- data/spec/models/get_available_roles200_response_spec.rb +0 -42
- data/spec/models/get_cancel_params200_response_data_spec.rb +0 -90
- data/spec/models/get_cancel_params200_response_spec.rb +0 -42
- data/spec/models/get_cancel_params_request_spec.rb +0 -52
- data/spec/models/get_chat_details200_response_data_participants_inner_spec.rb +0 -42
- data/spec/models/get_chat_details200_response_data_spec.rb +0 -48
- data/spec/models/get_chat_details200_response_spec.rb +0 -42
- data/spec/models/get_chat_messages200_response_data_messages_inner_sender_spec.rb +0 -42
- data/spec/models/get_chat_messages200_response_data_messages_inner_spec.rb +0 -54
- data/spec/models/get_chat_messages200_response_data_spec.rb +0 -42
- data/spec/models/get_chat_messages200_response_spec.rb +0 -42
- data/spec/models/get_checkout_payment200_response_data_spec.rb +0 -84
- data/spec/models/get_checkout_payment200_response_spec.rb +0 -42
- data/spec/models/get_current_user200_response_spec.rb +0 -36
- data/spec/models/get_event_throughput200_response_spec.rb +0 -60
- data/spec/models/get_function_versions200_response_data_spec.rb +0 -36
- data/spec/models/get_function_versions200_response_data_versions_inner_spec.rb +0 -66
- data/spec/models/get_function_versions200_response_spec.rb +0 -42
- data/spec/models/get_historical_analytics200_response_data_inner_spec.rb +0 -48
- data/spec/models/get_historical_analytics200_response_spec.rb +0 -54
- data/spec/models/get_integrations200_response_integrations_inner_spec.rb +0 -54
- data/spec/models/get_integrations200_response_spec.rb +0 -36
- data/spec/models/get_local_session200_response_spec.rb +0 -42
- data/spec/models/get_multi_role_config200_response_data_spec.rb +0 -54
- data/spec/models/get_multi_role_config200_response_spec.rb +0 -42
- data/spec/models/get_non_custodial_balance200_response_spec.rb +0 -42
- data/spec/models/get_non_custodial_transaction_by_hash200_response_spec.rb +0 -42
- data/spec/models/get_non_custodial_transaction_by_hash400_response_spec.rb +0 -42
- data/spec/models/get_non_custodial_transactions200_response_pagination_spec.rb +0 -72
- data/spec/models/get_non_custodial_transactions200_response_spec.rb +0 -48
- data/spec/models/get_project_analytics200_response_spec.rb +0 -60
- data/spec/models/get_public_plans200_response_spec.rb +0 -36
- data/spec/models/get_role_elevation_status200_response_spec.rb +0 -36
- data/spec/models/get_search_analytics200_response_spec.rb +0 -54
- data/spec/models/get_search_analytics200_response_top_queries_inner_spec.rb +0 -42
- data/spec/models/get_search_suggestions200_response_spec.rb +0 -36
- data/spec/models/get_speed_up_params200_response_data_spec.rb +0 -90
- data/spec/models/get_speed_up_params200_response_spec.rb +0 -42
- data/spec/models/get_speed_up_params_request_spec.rb +0 -52
- data/spec/models/get_user_chats200_response_data_chats_inner_last_message_spec.rb +0 -36
- data/spec/models/get_user_chats200_response_data_chats_inner_spec.rb +0 -60
- data/spec/models/get_user_chats200_response_data_spec.rb +0 -42
- data/spec/models/get_user_chats200_response_spec.rb +0 -42
- data/spec/models/get_wallet_webhook_logs200_response_spec.rb +0 -42
- data/spec/models/handle_crypto_payment_webhook200_response_spec.rb +0 -36
- data/spec/models/handle_crypto_payment_webhook_request_data_spec.rb +0 -72
- data/spec/models/handle_crypto_payment_webhook_request_spec.rb +0 -46
- data/spec/models/handle_flutterwave_webhook_request_data_customer_spec.rb +0 -42
- data/spec/models/handle_flutterwave_webhook_request_data_spec.rb +0 -78
- data/spec/models/handle_flutterwave_webhook_request_spec.rb +0 -42
- data/spec/models/initialize_payment_for_project_request_customer_spec.rb +0 -42
- data/spec/models/initialize_payment_for_project_request_spec.rb +0 -54
- data/spec/models/initiate_o_auth200_response_spec.rb +0 -36
- data/spec/models/initiate_o_auth400_response_spec.rb +0 -36
- data/spec/models/initiate_o_auth404_response_spec.rb +0 -36
- data/spec/models/link_o_auth_provider200_response_spec.rb +0 -36
- data/spec/models/list_collections200_response_spec.rb +0 -42
- data/spec/models/list_non_custodial_addresses200_response_spec.rb +0 -48
- data/spec/models/list_o_auth_providers200_response_providers_inner_spec.rb +0 -54
- data/spec/models/list_o_auth_providers200_response_spec.rb +0 -36
- data/spec/models/list_wallet_webhooks200_response_spec.rb +0 -48
- data/spec/models/log_security_event200_response_event_spec.rb +0 -54
- data/spec/models/log_security_event200_response_spec.rb +0 -42
- data/spec/models/log_security_event_request_details_spec.rb +0 -66
- data/spec/models/log_security_event_request_spec.rb +0 -56
- data/spec/models/login_local_user200_response_spec.rb +0 -60
- data/spec/models/login_local_user200_response_user_spec.rb +0 -72
- data/spec/models/login_local_user403_response_spec.rb +0 -48
- data/spec/models/login_local_user_request_spec.rb +0 -48
- data/spec/models/mark_messages_as_read200_response_data_spec.rb +0 -36
- data/spec/models/mark_messages_as_read200_response_spec.rb +0 -42
- data/spec/models/mark_messages_as_read_request_spec.rb +0 -36
- data/spec/models/oauth_callback200_response_spec.rb +0 -42
- data/spec/models/oauth_signup_with_role400_response_spec.rb +0 -42
- data/spec/models/record_usage_request_spec.rb +0 -48
- data/spec/models/refresh_token200_response_spec.rb +0 -54
- data/spec/models/refresh_token400_response_spec.rb +0 -36
- data/spec/models/refresh_token_request_spec.rb +0 -36
- data/spec/models/register_local_user201_response_spec.rb +0 -66
- data/spec/models/register_local_user201_response_user_spec.rb +0 -66
- data/spec/models/register_local_user429_response_spec.rb +0 -72
- data/spec/models/register_local_user_request_spec.rb +0 -60
- data/spec/models/register_non_custodial_address_request_spec.rb +0 -64
- data/spec/models/register_with_role_request_spec.rb +0 -60
- data/spec/models/remove_participant_request_spec.rb +0 -36
- data/spec/models/remove_reaction200_response_data_inner_spec.rb +0 -48
- data/spec/models/remove_reaction200_response_spec.rb +0 -42
- data/spec/models/request_local_password_reset_request_spec.rb +0 -42
- data/spec/models/request_role_elevation200_response_spec.rb +0 -74
- data/spec/models/request_role_elevation_request_spec.rb +0 -36
- data/spec/models/reset_local_password_request_spec.rb +0 -42
- data/spec/models/rollback_function_request_spec.rb +0 -36
- data/spec/models/send_message201_response_data_spec.rb +0 -54
- data/spec/models/send_message201_response_spec.rb +0 -42
- data/spec/models/send_message_request_spec.rb +0 -58
- data/spec/models/simulate_function_trigger_request_spec.rb +0 -48
- data/spec/models/test_wallet_webhook200_response_spec.rb +0 -42
- data/spec/models/test_wallet_webhook_request_spec.rb +0 -54
- data/spec/models/toggle_role_request_spec.rb +0 -36
- data/spec/models/trigger_function_webhook200_response_spec.rb +0 -48
- data/spec/models/trigger_function_webhook400_response_spec.rb +0 -42
- data/spec/models/trigger_function_webhook401_response_spec.rb +0 -42
- data/spec/models/unlink_o_auth_provider200_response_spec.rb +0 -42
- data/spec/models/update_collection_permissions_request_spec.rb +0 -46
- data/spec/models/update_multi_role_settings200_response_spec.rb +0 -48
- data/spec/models/update_multi_role_settings_request_settings_spec.rb +0 -42
- data/spec/models/update_multi_role_settings_request_spec.rb +0 -48
- data/spec/models/update_project_role_request_spec.rb +0 -66
- data/spec/models/update_user_profile200_response_spec.rb +0 -42
- data/spec/models/update_wallet_webhook200_response_spec.rb +0 -42
- data/spec/models/update_wallet_webhook_request_spec.rb +0 -54
- data/spec/models/upload_verification_documents_request_documents_inner_spec.rb +0 -42
- data/spec/models/upload_verification_documents_request_spec.rb +0 -42
- data/spec/models/verify2_fa_request_spec.rb +0 -36
- data/spec/models/verify_email_request_spec.rb +0 -42
- data/spec/models/verify_magic_link_request_spec.rb +0 -36
- data/spec/models/verify_payment200_response_data_spec.rb +0 -36
- data/spec/models/verify_payment200_response_data_subscription_spec.rb +0 -58
- data/spec/models/verify_payment200_response_spec.rb +0 -48
data/lib/mudbase/api/chat_api.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#MUDBASE is a scalable, real-time, and secure Backend-as-a-Service (BaaS) platform designed for modern applications. Built with custom logic, it offers fine-grained control, extensibility, and enterprise-grade security. ## Features - 🔐 Multi-provider authentication (30+ OAuth providers) - 📊 Real-time database with collections - 📁 File storage and management - 🔑 API key management with permissions - 🔗 Webhook system with retry logic - ⚡ Serverless functions - 💬 Multi-channel messaging (Push, Email, SMS) - 📈 Usage analytics and monitoring - 🌐 Real-time WebSocket events - 🔍 Full-text search capabilities - 💳 Billing: Flutterwave only for fiat (platform subscriptions + org payment processing with 7% + $0.50 split); crypto payment processor for multi-chain checkout - 📡 Block-based multi-chain wallet monitoring (ETH/UTXO scanners, GetBlock, scanner metrics API)
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.1
|
|
6
|
+
The version of the OpenAPI document: 1.2.1
|
|
7
7
|
Contact: support@mudbase.dev
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.20.0
|
|
@@ -23,11 +23,11 @@ module Mudbase
|
|
|
23
23
|
# Add a user to the chat with an optional role (admin or member).
|
|
24
24
|
# @param project_id [String] Project ID.
|
|
25
25
|
# @param chat_id [String] Chat ID.
|
|
26
|
-
# @param
|
|
26
|
+
# @param chat_add_participant_request [ChatAddParticipantRequest] User ID to add and optional role (admin, member).
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
|
28
|
-
# @return [
|
|
29
|
-
def
|
|
30
|
-
data, _status_code, _headers =
|
|
28
|
+
# @return [ChatAddParticipant200Response]
|
|
29
|
+
def chat_add_participant(project_id, chat_id, chat_add_participant_request, opts = {})
|
|
30
|
+
data, _status_code, _headers = chat_add_participant_with_http_info(project_id, chat_id, chat_add_participant_request, opts)
|
|
31
31
|
data
|
|
32
32
|
end
|
|
33
33
|
|
|
@@ -35,24 +35,24 @@ module Mudbase
|
|
|
35
35
|
# Add a user to the chat with an optional role (admin or member).
|
|
36
36
|
# @param project_id [String] Project ID.
|
|
37
37
|
# @param chat_id [String] Chat ID.
|
|
38
|
-
# @param
|
|
38
|
+
# @param chat_add_participant_request [ChatAddParticipantRequest] User ID to add and optional role (admin, member).
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [Array<(
|
|
41
|
-
def
|
|
40
|
+
# @return [Array<(ChatAddParticipant200Response, Integer, Hash)>] ChatAddParticipant200Response data, response status code and response headers
|
|
41
|
+
def chat_add_participant_with_http_info(project_id, chat_id, chat_add_participant_request, opts = {})
|
|
42
42
|
if @api_client.config.debugging
|
|
43
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_add_participant ...'
|
|
44
44
|
end
|
|
45
45
|
# verify the required parameter 'project_id' is set
|
|
46
46
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
47
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_add_participant"
|
|
48
48
|
end
|
|
49
49
|
# verify the required parameter 'chat_id' is set
|
|
50
50
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
51
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
51
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_add_participant"
|
|
52
52
|
end
|
|
53
|
-
# verify the required parameter '
|
|
54
|
-
if @api_client.config.client_side_validation &&
|
|
55
|
-
fail ArgumentError, "Missing the required parameter '
|
|
53
|
+
# verify the required parameter 'chat_add_participant_request' is set
|
|
54
|
+
if @api_client.config.client_side_validation && chat_add_participant_request.nil?
|
|
55
|
+
fail ArgumentError, "Missing the required parameter 'chat_add_participant_request' when calling ChatApi.chat_add_participant"
|
|
56
56
|
end
|
|
57
57
|
# resource path
|
|
58
58
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/participants'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -74,16 +74,16 @@ module Mudbase
|
|
|
74
74
|
form_params = opts[:form_params] || {}
|
|
75
75
|
|
|
76
76
|
# http body (model)
|
|
77
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
77
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_add_participant_request)
|
|
78
78
|
|
|
79
79
|
# return_type
|
|
80
|
-
return_type = opts[:debug_return_type] || '
|
|
80
|
+
return_type = opts[:debug_return_type] || 'ChatAddParticipant200Response'
|
|
81
81
|
|
|
82
82
|
# auth_names
|
|
83
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
83
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
84
84
|
|
|
85
85
|
new_options = opts.merge(
|
|
86
|
-
:operation => :"ChatApi.
|
|
86
|
+
:operation => :"ChatApi.chat_add_participant",
|
|
87
87
|
:header_params => header_params,
|
|
88
88
|
:query_params => query_params,
|
|
89
89
|
:form_params => form_params,
|
|
@@ -94,7 +94,7 @@ module Mudbase
|
|
|
94
94
|
|
|
95
95
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
96
96
|
if @api_client.config.debugging
|
|
97
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
97
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_add_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
98
98
|
end
|
|
99
99
|
return data, status_code, headers
|
|
100
100
|
end
|
|
@@ -104,11 +104,11 @@ module Mudbase
|
|
|
104
104
|
# @param project_id [String] Project ID.
|
|
105
105
|
# @param chat_id [String] Chat ID.
|
|
106
106
|
# @param message_id [String] Message ID.
|
|
107
|
-
# @param
|
|
107
|
+
# @param chat_add_reaction_request [ChatAddReactionRequest] Emoji reaction (e.g. 👍, ❤️).
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
|
-
# @return [
|
|
110
|
-
def
|
|
111
|
-
data, _status_code, _headers =
|
|
109
|
+
# @return [ChatAddReaction200Response]
|
|
110
|
+
def chat_add_reaction(project_id, chat_id, message_id, chat_add_reaction_request, opts = {})
|
|
111
|
+
data, _status_code, _headers = chat_add_reaction_with_http_info(project_id, chat_id, message_id, chat_add_reaction_request, opts)
|
|
112
112
|
data
|
|
113
113
|
end
|
|
114
114
|
|
|
@@ -117,28 +117,28 @@ module Mudbase
|
|
|
117
117
|
# @param project_id [String] Project ID.
|
|
118
118
|
# @param chat_id [String] Chat ID.
|
|
119
119
|
# @param message_id [String] Message ID.
|
|
120
|
-
# @param
|
|
120
|
+
# @param chat_add_reaction_request [ChatAddReactionRequest] Emoji reaction (e.g. 👍, ❤️).
|
|
121
121
|
# @param [Hash] opts the optional parameters
|
|
122
|
-
# @return [Array<(
|
|
123
|
-
def
|
|
122
|
+
# @return [Array<(ChatAddReaction200Response, Integer, Hash)>] ChatAddReaction200Response data, response status code and response headers
|
|
123
|
+
def chat_add_reaction_with_http_info(project_id, chat_id, message_id, chat_add_reaction_request, opts = {})
|
|
124
124
|
if @api_client.config.debugging
|
|
125
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
125
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_add_reaction ...'
|
|
126
126
|
end
|
|
127
127
|
# verify the required parameter 'project_id' is set
|
|
128
128
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
129
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
129
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_add_reaction"
|
|
130
130
|
end
|
|
131
131
|
# verify the required parameter 'chat_id' is set
|
|
132
132
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
133
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
133
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_add_reaction"
|
|
134
134
|
end
|
|
135
135
|
# verify the required parameter 'message_id' is set
|
|
136
136
|
if @api_client.config.client_side_validation && message_id.nil?
|
|
137
|
-
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.
|
|
137
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.chat_add_reaction"
|
|
138
138
|
end
|
|
139
|
-
# verify the required parameter '
|
|
140
|
-
if @api_client.config.client_side_validation &&
|
|
141
|
-
fail ArgumentError, "Missing the required parameter '
|
|
139
|
+
# verify the required parameter 'chat_add_reaction_request' is set
|
|
140
|
+
if @api_client.config.client_side_validation && chat_add_reaction_request.nil?
|
|
141
|
+
fail ArgumentError, "Missing the required parameter 'chat_add_reaction_request' when calling ChatApi.chat_add_reaction"
|
|
142
142
|
end
|
|
143
143
|
# resource path
|
|
144
144
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages/{messageId}/reactions'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s)).sub('{' + 'messageId' + '}', CGI.escape(message_id.to_s))
|
|
@@ -160,16 +160,16 @@ module Mudbase
|
|
|
160
160
|
form_params = opts[:form_params] || {}
|
|
161
161
|
|
|
162
162
|
# http body (model)
|
|
163
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
163
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_add_reaction_request)
|
|
164
164
|
|
|
165
165
|
# return_type
|
|
166
|
-
return_type = opts[:debug_return_type] || '
|
|
166
|
+
return_type = opts[:debug_return_type] || 'ChatAddReaction200Response'
|
|
167
167
|
|
|
168
168
|
# auth_names
|
|
169
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
169
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
170
170
|
|
|
171
171
|
new_options = opts.merge(
|
|
172
|
-
:operation => :"ChatApi.
|
|
172
|
+
:operation => :"ChatApi.chat_add_reaction",
|
|
173
173
|
:header_params => header_params,
|
|
174
174
|
:query_params => query_params,
|
|
175
175
|
:form_params => form_params,
|
|
@@ -180,7 +180,7 @@ module Mudbase
|
|
|
180
180
|
|
|
181
181
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
182
182
|
if @api_client.config.debugging
|
|
183
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
183
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_add_reaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
184
184
|
end
|
|
185
185
|
return data, status_code, headers
|
|
186
186
|
end
|
|
@@ -188,31 +188,31 @@ module Mudbase
|
|
|
188
188
|
# Create new chat
|
|
189
189
|
# Create a new chat (direct, group, channel, or broadcast) with name, type, participants, and optional settings.
|
|
190
190
|
# @param project_id [String] Project ID.
|
|
191
|
-
# @param
|
|
191
|
+
# @param chat_create_request [ChatCreateRequest] Chat name, type (direct/group/channel/broadcast), participants array, optional description and settings.
|
|
192
192
|
# @param [Hash] opts the optional parameters
|
|
193
|
-
# @return [
|
|
194
|
-
def
|
|
195
|
-
data, _status_code, _headers =
|
|
193
|
+
# @return [ChatCreate201Response]
|
|
194
|
+
def chat_create(project_id, chat_create_request, opts = {})
|
|
195
|
+
data, _status_code, _headers = chat_create_with_http_info(project_id, chat_create_request, opts)
|
|
196
196
|
data
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
# Create new chat
|
|
200
200
|
# Create a new chat (direct, group, channel, or broadcast) with name, type, participants, and optional settings.
|
|
201
201
|
# @param project_id [String] Project ID.
|
|
202
|
-
# @param
|
|
202
|
+
# @param chat_create_request [ChatCreateRequest] Chat name, type (direct/group/channel/broadcast), participants array, optional description and settings.
|
|
203
203
|
# @param [Hash] opts the optional parameters
|
|
204
|
-
# @return [Array<(
|
|
205
|
-
def
|
|
204
|
+
# @return [Array<(ChatCreate201Response, Integer, Hash)>] ChatCreate201Response data, response status code and response headers
|
|
205
|
+
def chat_create_with_http_info(project_id, chat_create_request, opts = {})
|
|
206
206
|
if @api_client.config.debugging
|
|
207
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
207
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_create ...'
|
|
208
208
|
end
|
|
209
209
|
# verify the required parameter 'project_id' is set
|
|
210
210
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
211
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
211
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_create"
|
|
212
212
|
end
|
|
213
|
-
# verify the required parameter '
|
|
214
|
-
if @api_client.config.client_side_validation &&
|
|
215
|
-
fail ArgumentError, "Missing the required parameter '
|
|
213
|
+
# verify the required parameter 'chat_create_request' is set
|
|
214
|
+
if @api_client.config.client_side_validation && chat_create_request.nil?
|
|
215
|
+
fail ArgumentError, "Missing the required parameter 'chat_create_request' when calling ChatApi.chat_create"
|
|
216
216
|
end
|
|
217
217
|
# resource path
|
|
218
218
|
local_var_path = '/api/chat/projects/{projectId}/chats'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s))
|
|
@@ -234,16 +234,16 @@ module Mudbase
|
|
|
234
234
|
form_params = opts[:form_params] || {}
|
|
235
235
|
|
|
236
236
|
# http body (model)
|
|
237
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
237
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_create_request)
|
|
238
238
|
|
|
239
239
|
# return_type
|
|
240
|
-
return_type = opts[:debug_return_type] || '
|
|
240
|
+
return_type = opts[:debug_return_type] || 'ChatCreate201Response'
|
|
241
241
|
|
|
242
242
|
# auth_names
|
|
243
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
243
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
244
244
|
|
|
245
245
|
new_options = opts.merge(
|
|
246
|
-
:operation => :"ChatApi.
|
|
246
|
+
:operation => :"ChatApi.chat_create",
|
|
247
247
|
:header_params => header_params,
|
|
248
248
|
:query_params => query_params,
|
|
249
249
|
:form_params => form_params,
|
|
@@ -254,7 +254,7 @@ module Mudbase
|
|
|
254
254
|
|
|
255
255
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
256
256
|
if @api_client.config.debugging
|
|
257
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
257
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
258
258
|
end
|
|
259
259
|
return data, status_code, headers
|
|
260
260
|
end
|
|
@@ -266,8 +266,8 @@ module Mudbase
|
|
|
266
266
|
# @param message_id [String] Message ID.
|
|
267
267
|
# @param [Hash] opts the optional parameters
|
|
268
268
|
# @return [MessageResponse]
|
|
269
|
-
def
|
|
270
|
-
data, _status_code, _headers =
|
|
269
|
+
def chat_delete_message(project_id, chat_id, message_id, opts = {})
|
|
270
|
+
data, _status_code, _headers = chat_delete_message_with_http_info(project_id, chat_id, message_id, opts)
|
|
271
271
|
data
|
|
272
272
|
end
|
|
273
273
|
|
|
@@ -278,21 +278,21 @@ module Mudbase
|
|
|
278
278
|
# @param message_id [String] Message ID.
|
|
279
279
|
# @param [Hash] opts the optional parameters
|
|
280
280
|
# @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
|
|
281
|
-
def
|
|
281
|
+
def chat_delete_message_with_http_info(project_id, chat_id, message_id, opts = {})
|
|
282
282
|
if @api_client.config.debugging
|
|
283
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
283
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_delete_message ...'
|
|
284
284
|
end
|
|
285
285
|
# verify the required parameter 'project_id' is set
|
|
286
286
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
287
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
287
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_delete_message"
|
|
288
288
|
end
|
|
289
289
|
# verify the required parameter 'chat_id' is set
|
|
290
290
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
291
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
291
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_delete_message"
|
|
292
292
|
end
|
|
293
293
|
# verify the required parameter 'message_id' is set
|
|
294
294
|
if @api_client.config.client_side_validation && message_id.nil?
|
|
295
|
-
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.
|
|
295
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.chat_delete_message"
|
|
296
296
|
end
|
|
297
297
|
# resource path
|
|
298
298
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages/{messageId}'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s)).sub('{' + 'messageId' + '}', CGI.escape(message_id.to_s))
|
|
@@ -315,10 +315,10 @@ module Mudbase
|
|
|
315
315
|
return_type = opts[:debug_return_type] || 'MessageResponse'
|
|
316
316
|
|
|
317
317
|
# auth_names
|
|
318
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
318
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
319
319
|
|
|
320
320
|
new_options = opts.merge(
|
|
321
|
-
:operation => :"ChatApi.
|
|
321
|
+
:operation => :"ChatApi.chat_delete_message",
|
|
322
322
|
:header_params => header_params,
|
|
323
323
|
:query_params => query_params,
|
|
324
324
|
:form_params => form_params,
|
|
@@ -329,7 +329,7 @@ module Mudbase
|
|
|
329
329
|
|
|
330
330
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
331
331
|
if @api_client.config.debugging
|
|
332
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
332
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_delete_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
333
333
|
end
|
|
334
334
|
return data, status_code, headers
|
|
335
335
|
end
|
|
@@ -339,11 +339,11 @@ module Mudbase
|
|
|
339
339
|
# @param project_id [String] Project ID.
|
|
340
340
|
# @param chat_id [String] Chat ID.
|
|
341
341
|
# @param message_id [String] Message ID.
|
|
342
|
-
# @param
|
|
342
|
+
# @param chat_edit_message_request [ChatEditMessageRequest] New message content.
|
|
343
343
|
# @param [Hash] opts the optional parameters
|
|
344
|
-
# @return [
|
|
345
|
-
def
|
|
346
|
-
data, _status_code, _headers =
|
|
344
|
+
# @return [ChatEditMessage200Response]
|
|
345
|
+
def chat_edit_message(project_id, chat_id, message_id, chat_edit_message_request, opts = {})
|
|
346
|
+
data, _status_code, _headers = chat_edit_message_with_http_info(project_id, chat_id, message_id, chat_edit_message_request, opts)
|
|
347
347
|
data
|
|
348
348
|
end
|
|
349
349
|
|
|
@@ -352,28 +352,28 @@ module Mudbase
|
|
|
352
352
|
# @param project_id [String] Project ID.
|
|
353
353
|
# @param chat_id [String] Chat ID.
|
|
354
354
|
# @param message_id [String] Message ID.
|
|
355
|
-
# @param
|
|
355
|
+
# @param chat_edit_message_request [ChatEditMessageRequest] New message content.
|
|
356
356
|
# @param [Hash] opts the optional parameters
|
|
357
|
-
# @return [Array<(
|
|
358
|
-
def
|
|
357
|
+
# @return [Array<(ChatEditMessage200Response, Integer, Hash)>] ChatEditMessage200Response data, response status code and response headers
|
|
358
|
+
def chat_edit_message_with_http_info(project_id, chat_id, message_id, chat_edit_message_request, opts = {})
|
|
359
359
|
if @api_client.config.debugging
|
|
360
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
360
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_edit_message ...'
|
|
361
361
|
end
|
|
362
362
|
# verify the required parameter 'project_id' is set
|
|
363
363
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
364
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
364
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_edit_message"
|
|
365
365
|
end
|
|
366
366
|
# verify the required parameter 'chat_id' is set
|
|
367
367
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
368
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
368
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_edit_message"
|
|
369
369
|
end
|
|
370
370
|
# verify the required parameter 'message_id' is set
|
|
371
371
|
if @api_client.config.client_side_validation && message_id.nil?
|
|
372
|
-
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.
|
|
372
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.chat_edit_message"
|
|
373
373
|
end
|
|
374
|
-
# verify the required parameter '
|
|
375
|
-
if @api_client.config.client_side_validation &&
|
|
376
|
-
fail ArgumentError, "Missing the required parameter '
|
|
374
|
+
# verify the required parameter 'chat_edit_message_request' is set
|
|
375
|
+
if @api_client.config.client_side_validation && chat_edit_message_request.nil?
|
|
376
|
+
fail ArgumentError, "Missing the required parameter 'chat_edit_message_request' when calling ChatApi.chat_edit_message"
|
|
377
377
|
end
|
|
378
378
|
# resource path
|
|
379
379
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages/{messageId}'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s)).sub('{' + 'messageId' + '}', CGI.escape(message_id.to_s))
|
|
@@ -395,16 +395,16 @@ module Mudbase
|
|
|
395
395
|
form_params = opts[:form_params] || {}
|
|
396
396
|
|
|
397
397
|
# http body (model)
|
|
398
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
398
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_edit_message_request)
|
|
399
399
|
|
|
400
400
|
# return_type
|
|
401
|
-
return_type = opts[:debug_return_type] || '
|
|
401
|
+
return_type = opts[:debug_return_type] || 'ChatEditMessage200Response'
|
|
402
402
|
|
|
403
403
|
# auth_names
|
|
404
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
404
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
405
405
|
|
|
406
406
|
new_options = opts.merge(
|
|
407
|
-
:operation => :"ChatApi.
|
|
407
|
+
:operation => :"ChatApi.chat_edit_message",
|
|
408
408
|
:header_params => header_params,
|
|
409
409
|
:query_params => query_params,
|
|
410
410
|
:form_params => form_params,
|
|
@@ -415,7 +415,7 @@ module Mudbase
|
|
|
415
415
|
|
|
416
416
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
417
417
|
if @api_client.config.debugging
|
|
418
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
418
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_edit_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
419
419
|
end
|
|
420
420
|
return data, status_code, headers
|
|
421
421
|
end
|
|
@@ -425,9 +425,9 @@ module Mudbase
|
|
|
425
425
|
# @param project_id [String] Project ID.
|
|
426
426
|
# @param chat_id [String] Chat ID.
|
|
427
427
|
# @param [Hash] opts the optional parameters
|
|
428
|
-
# @return [
|
|
429
|
-
def
|
|
430
|
-
data, _status_code, _headers =
|
|
428
|
+
# @return [ChatGet200Response]
|
|
429
|
+
def chat_get(project_id, chat_id, opts = {})
|
|
430
|
+
data, _status_code, _headers = chat_get_with_http_info(project_id, chat_id, opts)
|
|
431
431
|
data
|
|
432
432
|
end
|
|
433
433
|
|
|
@@ -436,18 +436,18 @@ module Mudbase
|
|
|
436
436
|
# @param project_id [String] Project ID.
|
|
437
437
|
# @param chat_id [String] Chat ID.
|
|
438
438
|
# @param [Hash] opts the optional parameters
|
|
439
|
-
# @return [Array<(
|
|
440
|
-
def
|
|
439
|
+
# @return [Array<(ChatGet200Response, Integer, Hash)>] ChatGet200Response data, response status code and response headers
|
|
440
|
+
def chat_get_with_http_info(project_id, chat_id, opts = {})
|
|
441
441
|
if @api_client.config.debugging
|
|
442
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
442
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_get ...'
|
|
443
443
|
end
|
|
444
444
|
# verify the required parameter 'project_id' is set
|
|
445
445
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
446
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
446
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_get"
|
|
447
447
|
end
|
|
448
448
|
# verify the required parameter 'chat_id' is set
|
|
449
449
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
450
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
450
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_get"
|
|
451
451
|
end
|
|
452
452
|
# resource path
|
|
453
453
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -467,13 +467,13 @@ module Mudbase
|
|
|
467
467
|
post_body = opts[:debug_body]
|
|
468
468
|
|
|
469
469
|
# return_type
|
|
470
|
-
return_type = opts[:debug_return_type] || '
|
|
470
|
+
return_type = opts[:debug_return_type] || 'ChatGet200Response'
|
|
471
471
|
|
|
472
472
|
# auth_names
|
|
473
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
473
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
474
474
|
|
|
475
475
|
new_options = opts.merge(
|
|
476
|
-
:operation => :"ChatApi.
|
|
476
|
+
:operation => :"ChatApi.chat_get",
|
|
477
477
|
:header_params => header_params,
|
|
478
478
|
:query_params => query_params,
|
|
479
479
|
:form_params => form_params,
|
|
@@ -484,7 +484,7 @@ module Mudbase
|
|
|
484
484
|
|
|
485
485
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
486
486
|
if @api_client.config.debugging
|
|
487
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
487
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
488
488
|
end
|
|
489
489
|
return data, status_code, headers
|
|
490
490
|
end
|
|
@@ -498,9 +498,9 @@ module Mudbase
|
|
|
498
498
|
# @option opts [Integer] :limit Number of messages per page. (default to 50)
|
|
499
499
|
# @option opts [Time] :before Return messages before this timestamp (cursor).
|
|
500
500
|
# @option opts [Time] :after Return messages after this timestamp (cursor).
|
|
501
|
-
# @return [
|
|
502
|
-
def
|
|
503
|
-
data, _status_code, _headers =
|
|
501
|
+
# @return [ChatGetMessages200Response]
|
|
502
|
+
def chat_get_messages(project_id, chat_id, opts = {})
|
|
503
|
+
data, _status_code, _headers = chat_get_messages_with_http_info(project_id, chat_id, opts)
|
|
504
504
|
data
|
|
505
505
|
end
|
|
506
506
|
|
|
@@ -513,18 +513,18 @@ module Mudbase
|
|
|
513
513
|
# @option opts [Integer] :limit Number of messages per page. (default to 50)
|
|
514
514
|
# @option opts [Time] :before Return messages before this timestamp (cursor).
|
|
515
515
|
# @option opts [Time] :after Return messages after this timestamp (cursor).
|
|
516
|
-
# @return [Array<(
|
|
517
|
-
def
|
|
516
|
+
# @return [Array<(ChatGetMessages200Response, Integer, Hash)>] ChatGetMessages200Response data, response status code and response headers
|
|
517
|
+
def chat_get_messages_with_http_info(project_id, chat_id, opts = {})
|
|
518
518
|
if @api_client.config.debugging
|
|
519
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
519
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_get_messages ...'
|
|
520
520
|
end
|
|
521
521
|
# verify the required parameter 'project_id' is set
|
|
522
522
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
523
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
523
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_get_messages"
|
|
524
524
|
end
|
|
525
525
|
# verify the required parameter 'chat_id' is set
|
|
526
526
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
527
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
527
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_get_messages"
|
|
528
528
|
end
|
|
529
529
|
# resource path
|
|
530
530
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -548,13 +548,13 @@ module Mudbase
|
|
|
548
548
|
post_body = opts[:debug_body]
|
|
549
549
|
|
|
550
550
|
# return_type
|
|
551
|
-
return_type = opts[:debug_return_type] || '
|
|
551
|
+
return_type = opts[:debug_return_type] || 'ChatGetMessages200Response'
|
|
552
552
|
|
|
553
553
|
# auth_names
|
|
554
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
554
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
555
555
|
|
|
556
556
|
new_options = opts.merge(
|
|
557
|
-
:operation => :"ChatApi.
|
|
557
|
+
:operation => :"ChatApi.chat_get_messages",
|
|
558
558
|
:header_params => header_params,
|
|
559
559
|
:query_params => query_params,
|
|
560
560
|
:form_params => form_params,
|
|
@@ -565,7 +565,7 @@ module Mudbase
|
|
|
565
565
|
|
|
566
566
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
567
567
|
if @api_client.config.debugging
|
|
568
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
568
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_get_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
569
569
|
end
|
|
570
570
|
return data, status_code, headers
|
|
571
571
|
end
|
|
@@ -576,9 +576,9 @@ module Mudbase
|
|
|
576
576
|
# @param [Hash] opts the optional parameters
|
|
577
577
|
# @option opts [Integer] :page Page number (1-based). (default to 1)
|
|
578
578
|
# @option opts [Integer] :limit Number of chats per page. (default to 20)
|
|
579
|
-
# @return [
|
|
580
|
-
def
|
|
581
|
-
data, _status_code, _headers =
|
|
579
|
+
# @return [ChatList200Response]
|
|
580
|
+
def chat_list(project_id, opts = {})
|
|
581
|
+
data, _status_code, _headers = chat_list_with_http_info(project_id, opts)
|
|
582
582
|
data
|
|
583
583
|
end
|
|
584
584
|
|
|
@@ -588,14 +588,14 @@ module Mudbase
|
|
|
588
588
|
# @param [Hash] opts the optional parameters
|
|
589
589
|
# @option opts [Integer] :page Page number (1-based). (default to 1)
|
|
590
590
|
# @option opts [Integer] :limit Number of chats per page. (default to 20)
|
|
591
|
-
# @return [Array<(
|
|
592
|
-
def
|
|
591
|
+
# @return [Array<(ChatList200Response, Integer, Hash)>] ChatList200Response data, response status code and response headers
|
|
592
|
+
def chat_list_with_http_info(project_id, opts = {})
|
|
593
593
|
if @api_client.config.debugging
|
|
594
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
594
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_list ...'
|
|
595
595
|
end
|
|
596
596
|
# verify the required parameter 'project_id' is set
|
|
597
597
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
598
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
598
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_list"
|
|
599
599
|
end
|
|
600
600
|
# resource path
|
|
601
601
|
local_var_path = '/api/chat/projects/{projectId}/chats'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s))
|
|
@@ -617,13 +617,13 @@ module Mudbase
|
|
|
617
617
|
post_body = opts[:debug_body]
|
|
618
618
|
|
|
619
619
|
# return_type
|
|
620
|
-
return_type = opts[:debug_return_type] || '
|
|
620
|
+
return_type = opts[:debug_return_type] || 'ChatList200Response'
|
|
621
621
|
|
|
622
622
|
# auth_names
|
|
623
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
623
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
624
624
|
|
|
625
625
|
new_options = opts.merge(
|
|
626
|
-
:operation => :"ChatApi.
|
|
626
|
+
:operation => :"ChatApi.chat_list",
|
|
627
627
|
:header_params => header_params,
|
|
628
628
|
:query_params => query_params,
|
|
629
629
|
:form_params => form_params,
|
|
@@ -634,7 +634,7 @@ module Mudbase
|
|
|
634
634
|
|
|
635
635
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
636
636
|
if @api_client.config.debugging
|
|
637
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
637
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
638
638
|
end
|
|
639
639
|
return data, status_code, headers
|
|
640
640
|
end
|
|
@@ -643,11 +643,11 @@ module Mudbase
|
|
|
643
643
|
# Mark one or more messages as read for the current user in the chat.
|
|
644
644
|
# @param project_id [String] Project ID.
|
|
645
645
|
# @param chat_id [String] Chat ID.
|
|
646
|
-
# @param
|
|
646
|
+
# @param chat_mark_as_read_request [ChatMarkAsReadRequest] Array of message IDs to mark as read.
|
|
647
647
|
# @param [Hash] opts the optional parameters
|
|
648
|
-
# @return [
|
|
649
|
-
def
|
|
650
|
-
data, _status_code, _headers =
|
|
648
|
+
# @return [ChatMarkAsRead200Response]
|
|
649
|
+
def chat_mark_as_read(project_id, chat_id, chat_mark_as_read_request, opts = {})
|
|
650
|
+
data, _status_code, _headers = chat_mark_as_read_with_http_info(project_id, chat_id, chat_mark_as_read_request, opts)
|
|
651
651
|
data
|
|
652
652
|
end
|
|
653
653
|
|
|
@@ -655,24 +655,24 @@ module Mudbase
|
|
|
655
655
|
# Mark one or more messages as read for the current user in the chat.
|
|
656
656
|
# @param project_id [String] Project ID.
|
|
657
657
|
# @param chat_id [String] Chat ID.
|
|
658
|
-
# @param
|
|
658
|
+
# @param chat_mark_as_read_request [ChatMarkAsReadRequest] Array of message IDs to mark as read.
|
|
659
659
|
# @param [Hash] opts the optional parameters
|
|
660
|
-
# @return [Array<(
|
|
661
|
-
def
|
|
660
|
+
# @return [Array<(ChatMarkAsRead200Response, Integer, Hash)>] ChatMarkAsRead200Response data, response status code and response headers
|
|
661
|
+
def chat_mark_as_read_with_http_info(project_id, chat_id, chat_mark_as_read_request, opts = {})
|
|
662
662
|
if @api_client.config.debugging
|
|
663
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
663
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_mark_as_read ...'
|
|
664
664
|
end
|
|
665
665
|
# verify the required parameter 'project_id' is set
|
|
666
666
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
667
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
667
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_mark_as_read"
|
|
668
668
|
end
|
|
669
669
|
# verify the required parameter 'chat_id' is set
|
|
670
670
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
671
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
671
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_mark_as_read"
|
|
672
672
|
end
|
|
673
|
-
# verify the required parameter '
|
|
674
|
-
if @api_client.config.client_side_validation &&
|
|
675
|
-
fail ArgumentError, "Missing the required parameter '
|
|
673
|
+
# verify the required parameter 'chat_mark_as_read_request' is set
|
|
674
|
+
if @api_client.config.client_side_validation && chat_mark_as_read_request.nil?
|
|
675
|
+
fail ArgumentError, "Missing the required parameter 'chat_mark_as_read_request' when calling ChatApi.chat_mark_as_read"
|
|
676
676
|
end
|
|
677
677
|
# resource path
|
|
678
678
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages/read'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -694,16 +694,16 @@ module Mudbase
|
|
|
694
694
|
form_params = opts[:form_params] || {}
|
|
695
695
|
|
|
696
696
|
# http body (model)
|
|
697
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
697
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_mark_as_read_request)
|
|
698
698
|
|
|
699
699
|
# return_type
|
|
700
|
-
return_type = opts[:debug_return_type] || '
|
|
700
|
+
return_type = opts[:debug_return_type] || 'ChatMarkAsRead200Response'
|
|
701
701
|
|
|
702
702
|
# auth_names
|
|
703
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
703
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
704
704
|
|
|
705
705
|
new_options = opts.merge(
|
|
706
|
-
:operation => :"ChatApi.
|
|
706
|
+
:operation => :"ChatApi.chat_mark_as_read",
|
|
707
707
|
:header_params => header_params,
|
|
708
708
|
:query_params => query_params,
|
|
709
709
|
:form_params => form_params,
|
|
@@ -714,7 +714,7 @@ module Mudbase
|
|
|
714
714
|
|
|
715
715
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
716
716
|
if @api_client.config.debugging
|
|
717
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
717
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_mark_as_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
718
718
|
end
|
|
719
719
|
return data, status_code, headers
|
|
720
720
|
end
|
|
@@ -723,11 +723,11 @@ module Mudbase
|
|
|
723
723
|
# Remove a user from the chat by userId.
|
|
724
724
|
# @param project_id [String] Project ID.
|
|
725
725
|
# @param chat_id [String] Chat ID.
|
|
726
|
-
# @param
|
|
726
|
+
# @param chat_remove_participant_request [ChatRemoveParticipantRequest] User ID of the participant to remove.
|
|
727
727
|
# @param [Hash] opts the optional parameters
|
|
728
728
|
# @return [MessageResponse]
|
|
729
|
-
def
|
|
730
|
-
data, _status_code, _headers =
|
|
729
|
+
def chat_remove_participant(project_id, chat_id, chat_remove_participant_request, opts = {})
|
|
730
|
+
data, _status_code, _headers = chat_remove_participant_with_http_info(project_id, chat_id, chat_remove_participant_request, opts)
|
|
731
731
|
data
|
|
732
732
|
end
|
|
733
733
|
|
|
@@ -735,24 +735,24 @@ module Mudbase
|
|
|
735
735
|
# Remove a user from the chat by userId.
|
|
736
736
|
# @param project_id [String] Project ID.
|
|
737
737
|
# @param chat_id [String] Chat ID.
|
|
738
|
-
# @param
|
|
738
|
+
# @param chat_remove_participant_request [ChatRemoveParticipantRequest] User ID of the participant to remove.
|
|
739
739
|
# @param [Hash] opts the optional parameters
|
|
740
740
|
# @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
|
|
741
|
-
def
|
|
741
|
+
def chat_remove_participant_with_http_info(project_id, chat_id, chat_remove_participant_request, opts = {})
|
|
742
742
|
if @api_client.config.debugging
|
|
743
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
743
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_remove_participant ...'
|
|
744
744
|
end
|
|
745
745
|
# verify the required parameter 'project_id' is set
|
|
746
746
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
747
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
747
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_remove_participant"
|
|
748
748
|
end
|
|
749
749
|
# verify the required parameter 'chat_id' is set
|
|
750
750
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
751
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
751
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_remove_participant"
|
|
752
752
|
end
|
|
753
|
-
# verify the required parameter '
|
|
754
|
-
if @api_client.config.client_side_validation &&
|
|
755
|
-
fail ArgumentError, "Missing the required parameter '
|
|
753
|
+
# verify the required parameter 'chat_remove_participant_request' is set
|
|
754
|
+
if @api_client.config.client_side_validation && chat_remove_participant_request.nil?
|
|
755
|
+
fail ArgumentError, "Missing the required parameter 'chat_remove_participant_request' when calling ChatApi.chat_remove_participant"
|
|
756
756
|
end
|
|
757
757
|
# resource path
|
|
758
758
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/participants'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -774,16 +774,16 @@ module Mudbase
|
|
|
774
774
|
form_params = opts[:form_params] || {}
|
|
775
775
|
|
|
776
776
|
# http body (model)
|
|
777
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
777
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_remove_participant_request)
|
|
778
778
|
|
|
779
779
|
# return_type
|
|
780
780
|
return_type = opts[:debug_return_type] || 'MessageResponse'
|
|
781
781
|
|
|
782
782
|
# auth_names
|
|
783
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
783
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
784
784
|
|
|
785
785
|
new_options = opts.merge(
|
|
786
|
-
:operation => :"ChatApi.
|
|
786
|
+
:operation => :"ChatApi.chat_remove_participant",
|
|
787
787
|
:header_params => header_params,
|
|
788
788
|
:query_params => query_params,
|
|
789
789
|
:form_params => form_params,
|
|
@@ -794,7 +794,7 @@ module Mudbase
|
|
|
794
794
|
|
|
795
795
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
796
796
|
if @api_client.config.debugging
|
|
797
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
797
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_remove_participant\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
798
798
|
end
|
|
799
799
|
return data, status_code, headers
|
|
800
800
|
end
|
|
@@ -804,11 +804,11 @@ module Mudbase
|
|
|
804
804
|
# @param project_id [String] Project ID.
|
|
805
805
|
# @param chat_id [String] Chat ID.
|
|
806
806
|
# @param message_id [String] Message ID.
|
|
807
|
-
# @param
|
|
807
|
+
# @param chat_add_reaction_request [ChatAddReactionRequest] Emoji to remove (must match the reaction added by the user).
|
|
808
808
|
# @param [Hash] opts the optional parameters
|
|
809
|
-
# @return [
|
|
810
|
-
def
|
|
811
|
-
data, _status_code, _headers =
|
|
809
|
+
# @return [ChatRemoveReaction200Response]
|
|
810
|
+
def chat_remove_reaction(project_id, chat_id, message_id, chat_add_reaction_request, opts = {})
|
|
811
|
+
data, _status_code, _headers = chat_remove_reaction_with_http_info(project_id, chat_id, message_id, chat_add_reaction_request, opts)
|
|
812
812
|
data
|
|
813
813
|
end
|
|
814
814
|
|
|
@@ -817,28 +817,28 @@ module Mudbase
|
|
|
817
817
|
# @param project_id [String] Project ID.
|
|
818
818
|
# @param chat_id [String] Chat ID.
|
|
819
819
|
# @param message_id [String] Message ID.
|
|
820
|
-
# @param
|
|
820
|
+
# @param chat_add_reaction_request [ChatAddReactionRequest] Emoji to remove (must match the reaction added by the user).
|
|
821
821
|
# @param [Hash] opts the optional parameters
|
|
822
|
-
# @return [Array<(
|
|
823
|
-
def
|
|
822
|
+
# @return [Array<(ChatRemoveReaction200Response, Integer, Hash)>] ChatRemoveReaction200Response data, response status code and response headers
|
|
823
|
+
def chat_remove_reaction_with_http_info(project_id, chat_id, message_id, chat_add_reaction_request, opts = {})
|
|
824
824
|
if @api_client.config.debugging
|
|
825
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
825
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_remove_reaction ...'
|
|
826
826
|
end
|
|
827
827
|
# verify the required parameter 'project_id' is set
|
|
828
828
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
829
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
829
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_remove_reaction"
|
|
830
830
|
end
|
|
831
831
|
# verify the required parameter 'chat_id' is set
|
|
832
832
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
833
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
833
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_remove_reaction"
|
|
834
834
|
end
|
|
835
835
|
# verify the required parameter 'message_id' is set
|
|
836
836
|
if @api_client.config.client_side_validation && message_id.nil?
|
|
837
|
-
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.
|
|
837
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ChatApi.chat_remove_reaction"
|
|
838
838
|
end
|
|
839
|
-
# verify the required parameter '
|
|
840
|
-
if @api_client.config.client_side_validation &&
|
|
841
|
-
fail ArgumentError, "Missing the required parameter '
|
|
839
|
+
# verify the required parameter 'chat_add_reaction_request' is set
|
|
840
|
+
if @api_client.config.client_side_validation && chat_add_reaction_request.nil?
|
|
841
|
+
fail ArgumentError, "Missing the required parameter 'chat_add_reaction_request' when calling ChatApi.chat_remove_reaction"
|
|
842
842
|
end
|
|
843
843
|
# resource path
|
|
844
844
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages/{messageId}/reactions'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s)).sub('{' + 'messageId' + '}', CGI.escape(message_id.to_s))
|
|
@@ -860,16 +860,16 @@ module Mudbase
|
|
|
860
860
|
form_params = opts[:form_params] || {}
|
|
861
861
|
|
|
862
862
|
# http body (model)
|
|
863
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
863
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_add_reaction_request)
|
|
864
864
|
|
|
865
865
|
# return_type
|
|
866
|
-
return_type = opts[:debug_return_type] || '
|
|
866
|
+
return_type = opts[:debug_return_type] || 'ChatRemoveReaction200Response'
|
|
867
867
|
|
|
868
868
|
# auth_names
|
|
869
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
869
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
870
870
|
|
|
871
871
|
new_options = opts.merge(
|
|
872
|
-
:operation => :"ChatApi.
|
|
872
|
+
:operation => :"ChatApi.chat_remove_reaction",
|
|
873
873
|
:header_params => header_params,
|
|
874
874
|
:query_params => query_params,
|
|
875
875
|
:form_params => form_params,
|
|
@@ -880,7 +880,7 @@ module Mudbase
|
|
|
880
880
|
|
|
881
881
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
882
882
|
if @api_client.config.debugging
|
|
883
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
883
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_remove_reaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
884
884
|
end
|
|
885
885
|
return data, status_code, headers
|
|
886
886
|
end
|
|
@@ -889,11 +889,11 @@ module Mudbase
|
|
|
889
889
|
# Send a message (text, image, video, audio, file, location, contact) to a chat with optional replyTo and mentions.
|
|
890
890
|
# @param project_id [String] Project ID.
|
|
891
891
|
# @param chat_id [String] Chat ID.
|
|
892
|
-
# @param
|
|
892
|
+
# @param chat_send_message_request [ChatSendMessageRequest] Message type, content, optional replyTo and mentions.
|
|
893
893
|
# @param [Hash] opts the optional parameters
|
|
894
|
-
# @return [
|
|
895
|
-
def
|
|
896
|
-
data, _status_code, _headers =
|
|
894
|
+
# @return [ChatSendMessage201Response]
|
|
895
|
+
def chat_send_message(project_id, chat_id, chat_send_message_request, opts = {})
|
|
896
|
+
data, _status_code, _headers = chat_send_message_with_http_info(project_id, chat_id, chat_send_message_request, opts)
|
|
897
897
|
data
|
|
898
898
|
end
|
|
899
899
|
|
|
@@ -901,24 +901,24 @@ module Mudbase
|
|
|
901
901
|
# Send a message (text, image, video, audio, file, location, contact) to a chat with optional replyTo and mentions.
|
|
902
902
|
# @param project_id [String] Project ID.
|
|
903
903
|
# @param chat_id [String] Chat ID.
|
|
904
|
-
# @param
|
|
904
|
+
# @param chat_send_message_request [ChatSendMessageRequest] Message type, content, optional replyTo and mentions.
|
|
905
905
|
# @param [Hash] opts the optional parameters
|
|
906
|
-
# @return [Array<(
|
|
907
|
-
def
|
|
906
|
+
# @return [Array<(ChatSendMessage201Response, Integer, Hash)>] ChatSendMessage201Response data, response status code and response headers
|
|
907
|
+
def chat_send_message_with_http_info(project_id, chat_id, chat_send_message_request, opts = {})
|
|
908
908
|
if @api_client.config.debugging
|
|
909
|
-
@api_client.config.logger.debug 'Calling API: ChatApi.
|
|
909
|
+
@api_client.config.logger.debug 'Calling API: ChatApi.chat_send_message ...'
|
|
910
910
|
end
|
|
911
911
|
# verify the required parameter 'project_id' is set
|
|
912
912
|
if @api_client.config.client_side_validation && project_id.nil?
|
|
913
|
-
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.
|
|
913
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling ChatApi.chat_send_message"
|
|
914
914
|
end
|
|
915
915
|
# verify the required parameter 'chat_id' is set
|
|
916
916
|
if @api_client.config.client_side_validation && chat_id.nil?
|
|
917
|
-
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.
|
|
917
|
+
fail ArgumentError, "Missing the required parameter 'chat_id' when calling ChatApi.chat_send_message"
|
|
918
918
|
end
|
|
919
|
-
# verify the required parameter '
|
|
920
|
-
if @api_client.config.client_side_validation &&
|
|
921
|
-
fail ArgumentError, "Missing the required parameter '
|
|
919
|
+
# verify the required parameter 'chat_send_message_request' is set
|
|
920
|
+
if @api_client.config.client_side_validation && chat_send_message_request.nil?
|
|
921
|
+
fail ArgumentError, "Missing the required parameter 'chat_send_message_request' when calling ChatApi.chat_send_message"
|
|
922
922
|
end
|
|
923
923
|
# resource path
|
|
924
924
|
local_var_path = '/api/chat/projects/{projectId}/chats/{chatId}/messages'.sub('{' + 'projectId' + '}', CGI.escape(project_id.to_s)).sub('{' + 'chatId' + '}', CGI.escape(chat_id.to_s))
|
|
@@ -940,16 +940,16 @@ module Mudbase
|
|
|
940
940
|
form_params = opts[:form_params] || {}
|
|
941
941
|
|
|
942
942
|
# http body (model)
|
|
943
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
943
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(chat_send_message_request)
|
|
944
944
|
|
|
945
945
|
# return_type
|
|
946
|
-
return_type = opts[:debug_return_type] || '
|
|
946
|
+
return_type = opts[:debug_return_type] || 'ChatSendMessage201Response'
|
|
947
947
|
|
|
948
948
|
# auth_names
|
|
949
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
949
|
+
auth_names = opts[:debug_auth_names] || ['BearerToken']
|
|
950
950
|
|
|
951
951
|
new_options = opts.merge(
|
|
952
|
-
:operation => :"ChatApi.
|
|
952
|
+
:operation => :"ChatApi.chat_send_message",
|
|
953
953
|
:header_params => header_params,
|
|
954
954
|
:query_params => query_params,
|
|
955
955
|
:form_params => form_params,
|
|
@@ -960,7 +960,7 @@ module Mudbase
|
|
|
960
960
|
|
|
961
961
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
962
962
|
if @api_client.config.debugging
|
|
963
|
-
@api_client.config.logger.debug "API called: ChatApi#
|
|
963
|
+
@api_client.config.logger.debug "API called: ChatApi#chat_send_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
964
964
|
end
|
|
965
965
|
return data, status_code, headers
|
|
966
966
|
end
|