mudbase 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +21 -0
- data/Rakefile +10 -0
- data/docs/AddCustomRoleRequest.md +28 -0
- data/docs/AddCustomRoleRequestDefaultPermissionsInner.md +20 -0
- data/docs/AddParticipant200Response.md +20 -0
- data/docs/AddParticipant200ResponseData.md +18 -0
- data/docs/AddParticipant200ResponseDataParticipantsInner.md +22 -0
- data/docs/AddParticipantRequest.md +20 -0
- data/docs/AddReaction200Response.md +20 -0
- data/docs/AddReaction200ResponseDataInner.md +20 -0
- data/docs/AddReactionRequest.md +18 -0
- data/docs/ApiKey.md +36 -0
- data/docs/ApiKeyPermission.md +20 -0
- data/docs/ApiKeyUsage.md +20 -0
- data/docs/ApiKeyUsageResponse.md +24 -0
- data/docs/ApiKeyWithSecret.md +38 -0
- data/docs/AuthConfig.md +20 -0
- data/docs/AuthProvider.md +22 -0
- data/docs/AuthResponse.md +22 -0
- data/docs/AuthenticationApi.md +1066 -0
- data/docs/Billing.md +22 -0
- data/docs/BillingApi.md +677 -0
- data/docs/BillingLastPayment.md +22 -0
- data/docs/BroadcastNonCustodialTransaction200Response.md +22 -0
- data/docs/BroadcastNonCustodialTransaction200ResponseData.md +24 -0
- data/docs/BroadcastNonCustodialTransactionRequest.md +22 -0
- data/docs/Bucket.md +28 -0
- data/docs/BucketListResponse.md +22 -0
- data/docs/BucketResponse.md +22 -0
- data/docs/BucketsApi.md +385 -0
- data/docs/ChangePasswordRequest.md +20 -0
- data/docs/ChatApi.md +907 -0
- data/docs/CheckFeatureAccess200Response.md +20 -0
- data/docs/CheckSubscription200Response.md +20 -0
- data/docs/CheckSubscription200ResponseSubscription.md +20 -0
- data/docs/CheckUserPresence200Response.md +20 -0
- data/docs/CheckUserPresence200ResponsePresenceValue.md +20 -0
- data/docs/CheckUserPresenceRequest.md +18 -0
- data/docs/Collection.md +34 -0
- data/docs/CollectionsApi.md +367 -0
- data/docs/ComplianceApi.md +77 -0
- data/docs/ConfirmDirectUpload400Response.md +20 -0
- data/docs/ConfirmDirectUploadRequest.md +30 -0
- data/docs/ConfirmLocalPasswordResetWithOtpRequest.md +24 -0
- data/docs/ConfirmUploadResponse.md +22 -0
- data/docs/ConfirmUploadResponseScan.md +24 -0
- data/docs/ConvertAnonymousAccount200Response.md +22 -0
- data/docs/ConvertAnonymousAccountRequest.md +24 -0
- data/docs/CreateAnonymousSession200Response.md +24 -0
- data/docs/CreateAnonymousSession200ResponseUser.md +28 -0
- data/docs/CreateAnonymousSessionRequest.md +20 -0
- data/docs/CreateApiKeyRequest.md +26 -0
- data/docs/CreateBucketRequest.md +22 -0
- data/docs/CreateChat201Response.md +20 -0
- data/docs/CreateChat201ResponseData.md +26 -0
- data/docs/CreateChatRequest.md +26 -0
- data/docs/CreateCheckoutSession200Response.md +20 -0
- data/docs/CreateCheckoutSession200ResponseData.md +38 -0
- data/docs/CreateCheckoutSession200ResponseDataPaymentOptionsInner.md +28 -0
- data/docs/CreateCheckoutSession400Response.md +18 -0
- data/docs/CreateCheckoutSessionRequest.md +26 -0
- data/docs/CreateCheckoutSessionRequestCustomerInfo.md +20 -0
- data/docs/CreateCollection201Response.md +20 -0
- data/docs/CreateCollectionRequest.md +26 -0
- data/docs/CreateFunctionRequest.md +26 -0
- data/docs/CreateProjectRequest.md +22 -0
- data/docs/CreateWalletWebhook201Response.md +22 -0
- data/docs/CreateWalletWebhookRequest.md +26 -0
- data/docs/CreateWalletWebhookRequestFilters.md +20 -0
- data/docs/DataApi.md +387 -0
- data/docs/DataListResponse.md +20 -0
- data/docs/DataListResponseDataInner.md +22 -0
- data/docs/DataResponse.md +20 -0
- data/docs/DatabaseConfig.md +18 -0
- data/docs/DeleteFunction200Response.md +20 -0
- data/docs/Disable2FARequest.md +20 -0
- data/docs/DownloadBucketFile403Response.md +18 -0
- data/docs/DownloadBucketFile404Response.md +18 -0
- data/docs/EditMessage200Response.md +20 -0
- data/docs/EditMessage200ResponseData.md +22 -0
- data/docs/EditMessageRequest.md +18 -0
- data/docs/EmailRequest.md +28 -0
- data/docs/EmailRequestTo.md +49 -0
- data/docs/EraseUserData200Response.md +20 -0
- data/docs/EraseUserData200ResponseDetails.md +26 -0
- data/docs/EraseUserDataRequest.md +20 -0
- data/docs/Error.md +28 -0
- data/docs/ErrorDetails.md +49 -0
- data/docs/EstimateNonCustodialGas200Response.md +20 -0
- data/docs/EstimateNonCustodialGas200ResponseData.md +38 -0
- data/docs/EstimateNonCustodialGasRequest.md +20 -0
- data/docs/EstimateNonCustodialGasRequestTransaction.md +28 -0
- data/docs/ExecuteFunctionRequest.md +18 -0
- data/docs/ExecuteIntegrationRequest.md +24 -0
- data/docs/ExportUserData200Response.md +32 -0
- data/docs/Field.md +30 -0
- data/docs/FieldDefault.md +51 -0
- data/docs/FileListResponse.md +20 -0
- data/docs/FileMetadata.md +40 -0
- data/docs/FileResponse.md +20 -0
- data/docs/FileUploadResponse.md +20 -0
- data/docs/FilesApi.md +702 -0
- data/docs/Function.md +36 -0
- data/docs/FunctionExecution.md +38 -0
- data/docs/FunctionExecutionResponse.md +20 -0
- data/docs/FunctionExecutionResponseData.md +24 -0
- data/docs/FunctionListResponse.md +20 -0
- data/docs/FunctionListResponseData.md +20 -0
- data/docs/FunctionLogsResponse.md +20 -0
- data/docs/FunctionLogsResponseData.md +20 -0
- data/docs/FunctionResponse.md +20 -0
- data/docs/FunctionStats.md +26 -0
- data/docs/FunctionTrigger.md +30 -0
- data/docs/FunctionsApi.md +1106 -0
- data/docs/GeneratePresignedUploadRequest.md +26 -0
- data/docs/GenerateSignedUrlRequest.md +18 -0
- data/docs/GetActiveUsers200Response.md +22 -0
- data/docs/GetActiveUsers200ResponseUsersInner.md +22 -0
- data/docs/GetAvailableOAuthProviders200Response.md +20 -0
- data/docs/GetAvailableOAuthProviders200ResponseProvidersInner.md +28 -0
- data/docs/GetAvailableRoles200Response.md +20 -0
- data/docs/GetAvailableRoles200ResponseDataInner.md +30 -0
- data/docs/GetCancelParams200Response.md +20 -0
- data/docs/GetCancelParams200ResponseData.md +36 -0
- data/docs/GetCancelParamsRequest.md +22 -0
- data/docs/GetChatDetails200Response.md +20 -0
- data/docs/GetChatDetails200ResponseData.md +22 -0
- data/docs/GetChatDetails200ResponseDataParticipantsInner.md +20 -0
- data/docs/GetChatMessages200Response.md +20 -0
- data/docs/GetChatMessages200ResponseData.md +20 -0
- data/docs/GetChatMessages200ResponseDataMessagesInner.md +24 -0
- data/docs/GetChatMessages200ResponseDataMessagesInnerSender.md +20 -0
- data/docs/GetCheckoutPayment200Response.md +20 -0
- data/docs/GetCheckoutPayment200ResponseData.md +34 -0
- data/docs/GetCurrentUser200Response.md +18 -0
- data/docs/GetEventThroughput200Response.md +26 -0
- data/docs/GetFunctionVersions200Response.md +20 -0
- data/docs/GetFunctionVersions200ResponseData.md +18 -0
- data/docs/GetFunctionVersions200ResponseDataVersionsInner.md +28 -0
- data/docs/GetHistoricalAnalytics200Response.md +24 -0
- data/docs/GetHistoricalAnalytics200ResponseDataInner.md +22 -0
- data/docs/GetIntegrations200Response.md +18 -0
- data/docs/GetIntegrations200ResponseIntegrationsInner.md +24 -0
- data/docs/GetLocalSession200Response.md +20 -0
- data/docs/GetMultiRoleConfig200Response.md +20 -0
- data/docs/GetMultiRoleConfig200ResponseData.md +24 -0
- data/docs/GetNonCustodialBalance200Response.md +20 -0
- data/docs/GetNonCustodialTransactionByHash200Response.md +20 -0
- data/docs/GetNonCustodialTransactionByHash400Response.md +20 -0
- data/docs/GetNonCustodialTransactions200Response.md +22 -0
- data/docs/GetNonCustodialTransactions200ResponsePagination.md +30 -0
- data/docs/GetProjectAnalytics200Response.md +26 -0
- data/docs/GetPublicPlans200Response.md +18 -0
- data/docs/GetRoleElevationStatus200Response.md +18 -0
- data/docs/GetSearchAnalytics200Response.md +24 -0
- data/docs/GetSearchAnalytics200ResponseTopQueriesInner.md +20 -0
- data/docs/GetSearchSuggestions200Response.md +18 -0
- data/docs/GetSpeedUpParams200Response.md +20 -0
- data/docs/GetSpeedUpParams200ResponseData.md +36 -0
- data/docs/GetSpeedUpParamsRequest.md +22 -0
- data/docs/GetUserChats200Response.md +20 -0
- data/docs/GetUserChats200ResponseData.md +20 -0
- data/docs/GetUserChats200ResponseDataChatsInner.md +26 -0
- data/docs/GetUserChats200ResponseDataChatsInnerLastMessage.md +18 -0
- data/docs/GetWalletWebhookLogs200Response.md +20 -0
- data/docs/HandleCryptoPaymentWebhook200Response.md +18 -0
- data/docs/HandleCryptoPaymentWebhookRequest.md +20 -0
- data/docs/HandleCryptoPaymentWebhookRequestData.md +30 -0
- data/docs/HandleFlutterwaveWebhookRequest.md +20 -0
- data/docs/HandleFlutterwaveWebhookRequestData.md +32 -0
- data/docs/HandleFlutterwaveWebhookRequestDataCustomer.md +20 -0
- data/docs/HealthApi.md +136 -0
- data/docs/HealthResponse.md +26 -0
- data/docs/HealthResponseServices.md +26 -0
- data/docs/InitializePaymentForProjectRequest.md +24 -0
- data/docs/InitializePaymentForProjectRequestCustomer.md +20 -0
- data/docs/InitiateOAuth200Response.md +18 -0
- data/docs/InitiateOAuth400Response.md +18 -0
- data/docs/InitiateOAuth404Response.md +18 -0
- data/docs/IntegrationsApi.md +151 -0
- data/docs/InviteMemberRequest.md +20 -0
- data/docs/Limits.md +30 -0
- data/docs/LinkOAuthProvider200Response.md +18 -0
- data/docs/ListCollections200Response.md +20 -0
- data/docs/ListNonCustodialAddresses200Response.md +22 -0
- data/docs/ListOAuthProviders200Response.md +18 -0
- data/docs/ListOAuthProviders200ResponseProvidersInner.md +24 -0
- data/docs/ListWalletWebhooks200Response.md +22 -0
- data/docs/LogSecurityEvent200Response.md +20 -0
- data/docs/LogSecurityEvent200ResponseEvent.md +24 -0
- data/docs/LogSecurityEventRequest.md +22 -0
- data/docs/LogSecurityEventRequestDetails.md +28 -0
- data/docs/LoginLocalUser200Response.md +22 -0
- data/docs/LoginLocalUser200ResponseUser.md +30 -0
- data/docs/LoginLocalUser403Response.md +22 -0
- data/docs/LoginLocalUserRequest.md +22 -0
- data/docs/LoginRequest.md +20 -0
- data/docs/MagicLinkRequest.md +22 -0
- data/docs/MarkMessagesAsRead200Response.md +20 -0
- data/docs/MarkMessagesAsRead200ResponseData.md +18 -0
- data/docs/MarkMessagesAsReadRequest.md +18 -0
- data/docs/Message.md +36 -0
- data/docs/MessageHistoryResponse.md +20 -0
- data/docs/MessageHistoryResponseData.md +20 -0
- data/docs/MessageResponse.md +18 -0
- data/docs/MessageSentResponse.md +20 -0
- data/docs/MessageSentResponseData.md +32 -0
- data/docs/MessageStatsResponse.md +20 -0
- data/docs/MessageStatsResponseData.md +26 -0
- data/docs/MessageStatsResponseDataByStatus.md +22 -0
- data/docs/MessageStatsResponseDataByType.md +22 -0
- data/docs/MessageStatsResponseDataPeriod.md +20 -0
- data/docs/MessagingApi.md +379 -0
- data/docs/MultiRoleFeatureApi.md +654 -0
- data/docs/NonCustodialAddress.md +40 -0
- data/docs/NonCustodialAddressResponse.md +22 -0
- data/docs/OTPSendRequest.md +24 -0
- data/docs/OTPVerifyRequest.md +22 -0
- data/docs/OauthCallback200Response.md +20 -0
- data/docs/OauthSignupWithRole400Response.md +20 -0
- data/docs/Organization.md +42 -0
- data/docs/OrganizationSummary.md +22 -0
- data/docs/Pagination.md +24 -0
- data/docs/PaymentIntent.md +52 -0
- data/docs/PaymentRefund.md +46 -0
- data/docs/PaymentSubscription.md +46 -0
- data/docs/Permission.md +24 -0
- data/docs/Plan.md +26 -0
- data/docs/PresignedPostResponse.md +24 -0
- data/docs/Project.md +40 -0
- data/docs/ProjectSettings.md +30 -0
- data/docs/ProjectSummary.md +22 -0
- data/docs/ProjectUsage.md +26 -0
- data/docs/ProjectUsageResponse.md +20 -0
- data/docs/ProjectUsageStatsResponse.md +22 -0
- data/docs/ProjectUsageStatsResponseProject.md +20 -0
- data/docs/PushNotificationRequest.md +26 -0
- data/docs/RateLimit.md +20 -0
- data/docs/RealTimeAnalyticsApi.md +367 -0
- data/docs/RecordUsageRequest.md +22 -0
- data/docs/RegisterLocalUser201Response.md +28 -0
- data/docs/RegisterLocalUser201ResponseUser.md +28 -0
- data/docs/RegisterLocalUser429Response.md +30 -0
- data/docs/RegisterLocalUserRequest.md +26 -0
- data/docs/RegisterNonCustodialAddressRequest.md +26 -0
- data/docs/RegisterRequest.md +26 -0
- data/docs/RegisterWithRoleRequest.md +26 -0
- data/docs/RemoveParticipantRequest.md +18 -0
- data/docs/RemoveReaction200Response.md +20 -0
- data/docs/RemoveReaction200ResponseDataInner.md +22 -0
- data/docs/RequestLocalPasswordResetRequest.md +20 -0
- data/docs/RequestRoleElevation200Response.md +28 -0
- data/docs/RequestRoleElevationRequest.md +18 -0
- data/docs/ResetLocalPasswordRequest.md +20 -0
- data/docs/RoleElevationApi.md +224 -0
- data/docs/RollbackFunctionRequest.md +18 -0
- data/docs/SMSRequest.md +22 -0
- data/docs/SearchApi.md +239 -0
- data/docs/SearchResponse.md +20 -0
- data/docs/SearchResponseData.md +24 -0
- data/docs/SearchResult.md +22 -0
- data/docs/SearchResultItem.md +20 -0
- data/docs/SendMessage201Response.md +20 -0
- data/docs/SendMessage201ResponseData.md +24 -0
- data/docs/SendMessageRequest.md +24 -0
- data/docs/SessionResponse.md +20 -0
- data/docs/SignedUrlResponse.md +24 -0
- data/docs/SimulateFunctionTriggerRequest.md +22 -0
- data/docs/StorageConfig.md +18 -0
- data/docs/SystemStatusResponse.md +20 -0
- data/docs/SystemStatusResponseData.md +28 -0
- data/docs/SystemStatusResponseDataCpu.md +20 -0
- data/docs/SystemStatusResponseDataDatabase.md +22 -0
- data/docs/SystemStatusResponseDataMemory.md +22 -0
- data/docs/SystemStatusResponseDataRequests.md +24 -0
- data/docs/SystemStatusResponseDataStorage.md +22 -0
- data/docs/TestWalletWebhook200Response.md +20 -0
- data/docs/TestWalletWebhookRequest.md +24 -0
- data/docs/ToggleRoleRequest.md +18 -0
- data/docs/TriggerFunctionWebhook200Response.md +22 -0
- data/docs/TriggerFunctionWebhook400Response.md +20 -0
- data/docs/TriggerFunctionWebhook401Response.md +20 -0
- data/docs/TriggerWebhookRequest.md +26 -0
- data/docs/TwoFASetupResponse.md +22 -0
- data/docs/UnlinkOAuthProvider200Response.md +20 -0
- data/docs/UpdateApiKeyRequest.md +24 -0
- data/docs/UpdateBucketRequest.md +22 -0
- data/docs/UpdateCollectionPermissionsRequest.md +20 -0
- data/docs/UpdateCollectionRequest.md +24 -0
- data/docs/UpdateFunctionRequest.md +34 -0
- data/docs/UpdateFunctionRequestLimits.md +24 -0
- data/docs/UpdateFunctionRequestRetryPolicy.md +22 -0
- data/docs/UpdateMultiRoleSettings200Response.md +22 -0
- data/docs/UpdateMultiRoleSettingsRequest.md +22 -0
- data/docs/UpdateMultiRoleSettingsRequestSettings.md +20 -0
- data/docs/UpdateOrganizationRequest.md +26 -0
- data/docs/UpdateProjectRequest.md +26 -0
- data/docs/UpdateProjectRoleRequest.md +28 -0
- data/docs/UpdateUserProfile200Response.md +20 -0
- data/docs/UpdateUserRequest.md +22 -0
- data/docs/UpdateWalletWebhook200Response.md +20 -0
- data/docs/UpdateWalletWebhookRequest.md +24 -0
- data/docs/UploadFilesToBucketMetadataRequest.md +20 -0
- data/docs/UploadFilesToBucketRequest.md +22 -0
- data/docs/UploadVerificationDocumentsRequest.md +20 -0
- data/docs/UploadVerificationDocumentsRequestDocumentsInner.md +20 -0
- data/docs/Usage.md +30 -0
- data/docs/UsageApi.md +153 -0
- data/docs/UsageResponse.md +24 -0
- data/docs/UsageStatsResponse.md +26 -0
- data/docs/UsageStatsResponsePercentages.md +22 -0
- data/docs/UsageTrendsResponse.md +20 -0
- data/docs/UsageTrendsResponseTrendsInner.md +28 -0
- data/docs/UsageTrendsResponseTrendsInnerId.md +22 -0
- data/docs/User.md +44 -0
- data/docs/UserSummary.md +24 -0
- data/docs/UsersApi.md +901 -0
- data/docs/Verify2FARequest.md +18 -0
- data/docs/VerifyEmailRequest.md +20 -0
- data/docs/VerifyMagicLinkRequest.md +18 -0
- data/docs/VerifyPayment200Response.md +22 -0
- data/docs/VerifyPayment200ResponseData.md +18 -0
- data/docs/VerifyPayment200ResponseDataSubscription.md +24 -0
- data/docs/WalletApi.md +1232 -0
- data/docs/WalletBalance.md +30 -0
- data/docs/WalletTransaction.md +58 -0
- data/docs/WalletTransactionWebhookPayload.md +22 -0
- data/docs/WalletWebhook.md +32 -0
- data/docs/WalletWebhookFilters.md +20 -0
- data/docs/WalletWebhookStats.md +24 -0
- data/docs/WebhookListResponse.md +26 -0
- data/docs/WebhookLog.md +42 -0
- data/docs/WebhookStatsResponse.md +22 -0
- data/docs/WebhookStatsResponseEventStatsInner.md +22 -0
- data/docs/WebhookStatsResponseStatusStatsInner.md +22 -0
- data/docs/WebhooksApi.md +81 -0
- data/git_push.sh +57 -0
- data/lib/mudbase/api/authentication_api.rb +1090 -0
- data/lib/mudbase/api/billing_api.rb +729 -0
- data/lib/mudbase/api/buckets_api.rb +386 -0
- data/lib/mudbase/api/chat_api.rb +968 -0
- data/lib/mudbase/api/collections_api.rb +377 -0
- data/lib/mudbase/api/compliance_api.rb +90 -0
- data/lib/mudbase/api/data_api.rb +423 -0
- data/lib/mudbase/api/files_api.rb +683 -0
- data/lib/mudbase/api/functions_api.rb +1054 -0
- data/lib/mudbase/api/health_api.rb +136 -0
- data/lib/mudbase/api/integrations_api.rb +165 -0
- data/lib/mudbase/api/messaging_api.rb +396 -0
- data/lib/mudbase/api/multi_role_feature_api.rb +699 -0
- data/lib/mudbase/api/real_time_analytics_api.rb +358 -0
- data/lib/mudbase/api/role_elevation_api.rb +236 -0
- data/lib/mudbase/api/search_api.rb +263 -0
- data/lib/mudbase/api/usage_api.rb +152 -0
- data/lib/mudbase/api/users_api.rb +854 -0
- data/lib/mudbase/api/wallet_api.rb +1161 -0
- data/lib/mudbase/api/webhooks_api.rb +85 -0
- data/lib/mudbase/api_client.rb +397 -0
- data/lib/mudbase/api_error.rb +58 -0
- data/lib/mudbase/api_model_base.rb +88 -0
- data/lib/mudbase/configuration.rb +316 -0
- data/lib/mudbase/models/add_custom_role_request.rb +245 -0
- data/lib/mudbase/models/add_custom_role_request_default_permissions_inner.rb +158 -0
- data/lib/mudbase/models/add_participant200_response.rb +156 -0
- data/lib/mudbase/models/add_participant200_response_data.rb +149 -0
- data/lib/mudbase/models/add_participant200_response_data_participants_inner.rb +165 -0
- data/lib/mudbase/models/add_participant_request.rb +207 -0
- data/lib/mudbase/models/add_reaction200_response.rb +158 -0
- data/lib/mudbase/models/add_reaction200_response_data_inner.rb +158 -0
- data/lib/mudbase/models/add_reaction_request.rb +164 -0
- data/lib/mudbase/models/api_key.rb +231 -0
- data/lib/mudbase/models/api_key_permission.rb +209 -0
- data/lib/mudbase/models/api_key_usage.rb +157 -0
- data/lib/mudbase/models/api_key_usage_response.rb +175 -0
- data/lib/mudbase/models/api_key_with_secret.rb +247 -0
- data/lib/mudbase/models/auth_config.rb +162 -0
- data/lib/mudbase/models/auth_provider.rb +166 -0
- data/lib/mudbase/models/auth_response.rb +166 -0
- data/lib/mudbase/models/billing.rb +166 -0
- data/lib/mudbase/models/billing_last_payment.rb +165 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response.rb +165 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response_data.rb +175 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction_request.rb +243 -0
- data/lib/mudbase/models/bucket.rb +193 -0
- data/lib/mudbase/models/bucket_list_response.rb +168 -0
- data/lib/mudbase/models/bucket_response.rb +166 -0
- data/lib/mudbase/models/change_password_request.rb +200 -0
- data/lib/mudbase/models/check_feature_access200_response.rb +156 -0
- data/lib/mudbase/models/check_subscription200_response.rb +156 -0
- data/lib/mudbase/models/check_subscription200_response_subscription.rb +156 -0
- data/lib/mudbase/models/check_user_presence200_response.rb +158 -0
- data/lib/mudbase/models/check_user_presence200_response_presence_value.rb +156 -0
- data/lib/mudbase/models/check_user_presence_request.rb +166 -0
- data/lib/mudbase/models/collection.rb +224 -0
- data/lib/mudbase/models/confirm_direct_upload400_response.rb +156 -0
- data/lib/mudbase/models/confirm_direct_upload_request.rb +236 -0
- data/lib/mudbase/models/confirm_local_password_reset_with_otp_request.rb +280 -0
- data/lib/mudbase/models/confirm_upload_response.rb +200 -0
- data/lib/mudbase/models/confirm_upload_response_scan.rb +176 -0
- data/lib/mudbase/models/convert_anonymous_account200_response.rb +165 -0
- data/lib/mudbase/models/convert_anonymous_account_request.rb +208 -0
- data/lib/mudbase/models/create_anonymous_session200_response.rb +174 -0
- data/lib/mudbase/models/create_anonymous_session200_response_user.rb +192 -0
- data/lib/mudbase/models/create_anonymous_session_request.rb +158 -0
- data/lib/mudbase/models/create_api_key_request.rb +252 -0
- data/lib/mudbase/models/create_bucket_request.rb +188 -0
- data/lib/mudbase/models/create_chat201_response.rb +156 -0
- data/lib/mudbase/models/create_chat201_response_data.rb +185 -0
- data/lib/mudbase/models/create_chat_request.rb +260 -0
- data/lib/mudbase/models/create_checkout_session200_response.rb +156 -0
- data/lib/mudbase/models/create_checkout_session200_response_data.rb +245 -0
- data/lib/mudbase/models/create_checkout_session200_response_data_payment_options_inner.rb +238 -0
- data/lib/mudbase/models/create_checkout_session400_response.rb +147 -0
- data/lib/mudbase/models/create_checkout_session_request.rb +262 -0
- data/lib/mudbase/models/create_checkout_session_request_customer_info.rb +173 -0
- data/lib/mudbase/models/create_collection201_response.rb +156 -0
- data/lib/mudbase/models/create_collection_request.rb +222 -0
- data/lib/mudbase/models/create_function_request.rb +239 -0
- data/lib/mudbase/models/create_project_request.rb +183 -0
- data/lib/mudbase/models/create_wallet_webhook201_response.rb +165 -0
- data/lib/mudbase/models/create_wallet_webhook_request.rb +233 -0
- data/lib/mudbase/models/create_wallet_webhook_request_filters.rb +184 -0
- data/lib/mudbase/models/data_list_response.rb +159 -0
- data/lib/mudbase/models/data_list_response_data_inner.rb +169 -0
- data/lib/mudbase/models/data_response.rb +157 -0
- data/lib/mudbase/models/database_config.rb +150 -0
- data/lib/mudbase/models/delete_function200_response.rb +156 -0
- data/lib/mudbase/models/disable2_fa_request.rb +190 -0
- data/lib/mudbase/models/download_bucket_file403_response.rb +147 -0
- data/lib/mudbase/models/download_bucket_file404_response.rb +147 -0
- data/lib/mudbase/models/edit_message200_response.rb +156 -0
- data/lib/mudbase/models/edit_message200_response_data.rb +165 -0
- data/lib/mudbase/models/edit_message_request.rb +164 -0
- data/lib/mudbase/models/email_request.rb +227 -0
- data/lib/mudbase/models/email_request_to.rb +104 -0
- data/lib/mudbase/models/erase_user_data200_response.rb +156 -0
- data/lib/mudbase/models/erase_user_data200_response_details.rb +183 -0
- data/lib/mudbase/models/erase_user_data_request.rb +198 -0
- data/lib/mudbase/models/error.rb +193 -0
- data/lib/mudbase/models/error_details.rb +104 -0
- data/lib/mudbase/models/estimate_non_custodial_gas200_response.rb +156 -0
- data/lib/mudbase/models/estimate_non_custodial_gas200_response_data.rb +248 -0
- data/lib/mudbase/models/estimate_non_custodial_gas_request.rb +198 -0
- data/lib/mudbase/models/estimate_non_custodial_gas_request_transaction.rb +216 -0
- data/lib/mudbase/models/execute_function_request.rb +148 -0
- data/lib/mudbase/models/execute_integration_request.rb +232 -0
- data/lib/mudbase/models/export_user_data200_response.rb +222 -0
- data/lib/mudbase/models/field.rb +260 -0
- data/lib/mudbase/models/field_default.rb +105 -0
- data/lib/mudbase/models/file_list_response.rb +159 -0
- data/lib/mudbase/models/file_metadata.rb +247 -0
- data/lib/mudbase/models/file_response.rb +157 -0
- data/lib/mudbase/models/file_upload_response.rb +157 -0
- data/lib/mudbase/models/function.rb +229 -0
- data/lib/mudbase/models/function_execution.rb +272 -0
- data/lib/mudbase/models/function_execution_response.rb +157 -0
- data/lib/mudbase/models/function_execution_response_data.rb +175 -0
- data/lib/mudbase/models/function_list_response.rb +157 -0
- data/lib/mudbase/models/function_list_response_data.rb +158 -0
- data/lib/mudbase/models/function_logs_response.rb +157 -0
- data/lib/mudbase/models/function_logs_response_data.rb +158 -0
- data/lib/mudbase/models/function_response.rb +157 -0
- data/lib/mudbase/models/function_stats.rb +184 -0
- data/lib/mudbase/models/function_trigger.rb +261 -0
- data/lib/mudbase/models/generate_presigned_upload_request.rb +221 -0
- data/lib/mudbase/models/generate_signed_url_request.rb +149 -0
- data/lib/mudbase/models/get_active_users200_response.rb +167 -0
- data/lib/mudbase/models/get_active_users200_response_users_inner.rb +165 -0
- data/lib/mudbase/models/get_available_o_auth_providers200_response.rb +158 -0
- data/lib/mudbase/models/get_available_o_auth_providers200_response_providers_inner.rb +196 -0
- data/lib/mudbase/models/get_available_roles200_response.rb +158 -0
- data/lib/mudbase/models/get_available_roles200_response_data_inner.rb +201 -0
- data/lib/mudbase/models/get_cancel_params200_response.rb +156 -0
- data/lib/mudbase/models/get_cancel_params200_response_data.rb +231 -0
- data/lib/mudbase/models/get_cancel_params_request.rb +208 -0
- data/lib/mudbase/models/get_chat_details200_response.rb +156 -0
- data/lib/mudbase/models/get_chat_details200_response_data.rb +167 -0
- data/lib/mudbase/models/get_chat_details200_response_data_participants_inner.rb +156 -0
- data/lib/mudbase/models/get_chat_messages200_response.rb +156 -0
- data/lib/mudbase/models/get_chat_messages200_response_data.rb +158 -0
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner.rb +174 -0
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner_sender.rb +156 -0
- data/lib/mudbase/models/get_checkout_payment200_response.rb +156 -0
- data/lib/mudbase/models/get_checkout_payment200_response_data.rb +224 -0
- data/lib/mudbase/models/get_current_user200_response.rb +147 -0
- data/lib/mudbase/models/get_event_throughput200_response.rb +185 -0
- data/lib/mudbase/models/get_function_versions200_response.rb +156 -0
- data/lib/mudbase/models/get_function_versions200_response_data.rb +149 -0
- data/lib/mudbase/models/get_function_versions200_response_data_versions_inner.rb +192 -0
- data/lib/mudbase/models/get_historical_analytics200_response.rb +176 -0
- data/lib/mudbase/models/get_historical_analytics200_response_data_inner.rb +165 -0
- data/lib/mudbase/models/get_integrations200_response.rb +149 -0
- data/lib/mudbase/models/get_integrations200_response_integrations_inner.rb +174 -0
- data/lib/mudbase/models/get_local_session200_response.rb +156 -0
- data/lib/mudbase/models/get_multi_role_config200_response.rb +156 -0
- data/lib/mudbase/models/get_multi_role_config200_response_data.rb +176 -0
- data/lib/mudbase/models/get_non_custodial_balance200_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash200_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash400_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transactions200_response.rb +167 -0
- data/lib/mudbase/models/get_non_custodial_transactions200_response_pagination.rb +201 -0
- data/lib/mudbase/models/get_project_analytics200_response.rb +183 -0
- data/lib/mudbase/models/get_public_plans200_response.rb +149 -0
- data/lib/mudbase/models/get_role_elevation_status200_response.rb +149 -0
- data/lib/mudbase/models/get_search_analytics200_response.rb +176 -0
- data/lib/mudbase/models/get_search_analytics200_response_top_queries_inner.rb +156 -0
- data/lib/mudbase/models/get_search_suggestions200_response.rb +149 -0
- data/lib/mudbase/models/get_speed_up_params200_response.rb +156 -0
- data/lib/mudbase/models/get_speed_up_params200_response_data.rb +229 -0
- data/lib/mudbase/models/get_speed_up_params_request.rb +209 -0
- data/lib/mudbase/models/get_user_chats200_response.rb +156 -0
- data/lib/mudbase/models/get_user_chats200_response_data.rb +158 -0
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner.rb +183 -0
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner_last_message.rb +147 -0
- data/lib/mudbase/models/get_wallet_webhook_logs200_response.rb +158 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook200_response.rb +147 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook_request.rb +214 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook_request_data.rb +201 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request.rb +157 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data.rb +211 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data_customer.rb +156 -0
- data/lib/mudbase/models/health_response.rb +218 -0
- data/lib/mudbase/models/health_response_services.rb +183 -0
- data/lib/mudbase/models/initialize_payment_for_project_request.rb +219 -0
- data/lib/mudbase/models/initialize_payment_for_project_request_customer.rb +173 -0
- data/lib/mudbase/models/initiate_o_auth200_response.rb +148 -0
- data/lib/mudbase/models/initiate_o_auth400_response.rb +147 -0
- data/lib/mudbase/models/initiate_o_auth404_response.rb +147 -0
- data/lib/mudbase/models/invite_member_request.rb +215 -0
- data/lib/mudbase/models/limits.rb +202 -0
- data/lib/mudbase/models/link_o_auth_provider200_response.rb +147 -0
- data/lib/mudbase/models/list_collections200_response.rb +158 -0
- data/lib/mudbase/models/list_non_custodial_addresses200_response.rb +167 -0
- data/lib/mudbase/models/list_o_auth_providers200_response.rb +149 -0
- data/lib/mudbase/models/list_o_auth_providers200_response_providers_inner.rb +174 -0
- data/lib/mudbase/models/list_wallet_webhooks200_response.rb +167 -0
- data/lib/mudbase/models/log_security_event200_response.rb +156 -0
- data/lib/mudbase/models/log_security_event200_response_event.rb +174 -0
- data/lib/mudbase/models/log_security_event_request.rb +225 -0
- data/lib/mudbase/models/log_security_event_request_details.rb +192 -0
- data/lib/mudbase/models/login_local_user200_response.rb +165 -0
- data/lib/mudbase/models/login_local_user200_response_user.rb +201 -0
- data/lib/mudbase/models/login_local_user403_response.rb +165 -0
- data/lib/mudbase/models/login_local_user_request.rb +199 -0
- data/lib/mudbase/models/login_request.rb +191 -0
- data/lib/mudbase/models/magic_link_request.rb +200 -0
- data/lib/mudbase/models/mark_messages_as_read200_response.rb +156 -0
- data/lib/mudbase/models/mark_messages_as_read200_response_data.rb +147 -0
- data/lib/mudbase/models/mark_messages_as_read_request.rb +166 -0
- data/lib/mudbase/models/message.rb +275 -0
- data/lib/mudbase/models/message_history_response.rb +157 -0
- data/lib/mudbase/models/message_history_response_data.rb +158 -0
- data/lib/mudbase/models/message_response.rb +148 -0
- data/lib/mudbase/models/message_sent_response.rb +157 -0
- data/lib/mudbase/models/message_sent_response_data.rb +210 -0
- data/lib/mudbase/models/message_stats_response.rb +157 -0
- data/lib/mudbase/models/message_stats_response_data.rb +183 -0
- data/lib/mudbase/models/message_stats_response_data_by_status.rb +165 -0
- data/lib/mudbase/models/message_stats_response_data_by_type.rb +165 -0
- data/lib/mudbase/models/message_stats_response_data_period.rb +156 -0
- data/lib/mudbase/models/non_custodial_address.rb +284 -0
- data/lib/mudbase/models/non_custodial_address_response.rb +166 -0
- data/lib/mudbase/models/oauth_callback200_response.rb +156 -0
- data/lib/mudbase/models/oauth_signup_with_role400_response.rb +156 -0
- data/lib/mudbase/models/organization.rb +257 -0
- data/lib/mudbase/models/organization_summary.rb +166 -0
- data/lib/mudbase/models/otp_send_request.rb +233 -0
- data/lib/mudbase/models/otp_verify_request.rb +200 -0
- data/lib/mudbase/models/pagination.rb +175 -0
- data/lib/mudbase/models/payment_intent.rb +393 -0
- data/lib/mudbase/models/payment_refund.rb +319 -0
- data/lib/mudbase/models/payment_subscription.rb +357 -0
- data/lib/mudbase/models/permission.rb +201 -0
- data/lib/mudbase/models/plan.rb +186 -0
- data/lib/mudbase/models/presigned_post_response.rb +179 -0
- data/lib/mudbase/models/project.rb +247 -0
- data/lib/mudbase/models/project_settings.rb +254 -0
- data/lib/mudbase/models/project_summary.rb +166 -0
- data/lib/mudbase/models/project_usage.rb +184 -0
- data/lib/mudbase/models/project_usage_response.rb +157 -0
- data/lib/mudbase/models/project_usage_stats_response.rb +166 -0
- data/lib/mudbase/models/project_usage_stats_response_project.rb +156 -0
- data/lib/mudbase/models/push_notification_request.rb +237 -0
- data/lib/mudbase/models/rate_limit.rb +157 -0
- data/lib/mudbase/models/record_usage_request.rb +219 -0
- data/lib/mudbase/models/register_local_user201_response.rb +196 -0
- data/lib/mudbase/models/register_local_user201_response_user.rb +192 -0
- data/lib/mudbase/models/register_local_user429_response.rb +208 -0
- data/lib/mudbase/models/register_local_user_request.rb +277 -0
- data/lib/mudbase/models/register_non_custodial_address_request.rb +246 -0
- data/lib/mudbase/models/register_request.rb +261 -0
- data/lib/mudbase/models/register_with_role_request.rb +268 -0
- data/lib/mudbase/models/remove_participant_request.rb +164 -0
- data/lib/mudbase/models/remove_reaction200_response.rb +158 -0
- data/lib/mudbase/models/remove_reaction200_response_data_inner.rb +167 -0
- data/lib/mudbase/models/request_local_password_reset_request.rb +174 -0
- data/lib/mudbase/models/request_role_elevation200_response.rb +240 -0
- data/lib/mudbase/models/request_role_elevation_request.rb +164 -0
- data/lib/mudbase/models/reset_local_password_request.rb +182 -0
- data/lib/mudbase/models/rollback_function_request.rb +165 -0
- data/lib/mudbase/models/search_response.rb +157 -0
- data/lib/mudbase/models/search_response_data.rb +176 -0
- data/lib/mudbase/models/search_result.rb +166 -0
- data/lib/mudbase/models/search_result_item.rb +156 -0
- data/lib/mudbase/models/send_message201_response.rb +156 -0
- data/lib/mudbase/models/send_message201_response_data.rb +174 -0
- data/lib/mudbase/models/send_message_request.rb +234 -0
- data/lib/mudbase/models/session_response.rb +157 -0
- data/lib/mudbase/models/signed_url_response.rb +178 -0
- data/lib/mudbase/models/simulate_function_trigger_request.rb +168 -0
- data/lib/mudbase/models/sms_request.rb +200 -0
- data/lib/mudbase/models/storage_config.rb +150 -0
- data/lib/mudbase/models/system_status_response.rb +157 -0
- data/lib/mudbase/models/system_status_response_data.rb +192 -0
- data/lib/mudbase/models/system_status_response_data_cpu.rb +156 -0
- data/lib/mudbase/models/system_status_response_data_database.rb +165 -0
- data/lib/mudbase/models/system_status_response_data_memory.rb +165 -0
- data/lib/mudbase/models/system_status_response_data_requests.rb +174 -0
- data/lib/mudbase/models/system_status_response_data_storage.rb +165 -0
- data/lib/mudbase/models/test_wallet_webhook200_response.rb +156 -0
- data/lib/mudbase/models/test_wallet_webhook_request.rb +191 -0
- data/lib/mudbase/models/toggle_role_request.rb +164 -0
- data/lib/mudbase/models/trigger_function_webhook200_response.rb +168 -0
- data/lib/mudbase/models/trigger_function_webhook400_response.rb +156 -0
- data/lib/mudbase/models/trigger_function_webhook401_response.rb +156 -0
- data/lib/mudbase/models/trigger_webhook_request.rb +254 -0
- data/lib/mudbase/models/two_fa_setup_response.rb +166 -0
- data/lib/mudbase/models/unlink_o_auth_provider200_response.rb +156 -0
- data/lib/mudbase/models/update_api_key_request.rb +205 -0
- data/lib/mudbase/models/update_bucket_request.rb +169 -0
- data/lib/mudbase/models/update_collection_permissions_request.rb +180 -0
- data/lib/mudbase/models/update_collection_request.rb +179 -0
- data/lib/mudbase/models/update_function_request.rb +221 -0
- data/lib/mudbase/models/update_function_request_limits.rb +176 -0
- data/lib/mudbase/models/update_function_request_retry_policy.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings200_response.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings_request.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings_request_settings.rb +156 -0
- data/lib/mudbase/models/update_organization_request.rb +185 -0
- data/lib/mudbase/models/update_project_request.rb +185 -0
- data/lib/mudbase/models/update_project_role_request.rb +192 -0
- data/lib/mudbase/models/update_user_profile200_response.rb +156 -0
- data/lib/mudbase/models/update_user_request.rb +166 -0
- data/lib/mudbase/models/update_wallet_webhook200_response.rb +156 -0
- data/lib/mudbase/models/update_wallet_webhook_request.rb +176 -0
- data/lib/mudbase/models/upload_files_to_bucket_metadata_request.rb +159 -0
- data/lib/mudbase/models/upload_files_to_bucket_request.rb +187 -0
- data/lib/mudbase/models/upload_verification_documents_request.rb +192 -0
- data/lib/mudbase/models/upload_verification_documents_request_documents_inner.rb +156 -0
- data/lib/mudbase/models/usage.rb +202 -0
- data/lib/mudbase/models/usage_response.rb +175 -0
- data/lib/mudbase/models/usage_stats_response.rb +184 -0
- data/lib/mudbase/models/usage_stats_response_percentages.rb +165 -0
- data/lib/mudbase/models/usage_trends_response.rb +159 -0
- data/lib/mudbase/models/usage_trends_response_trends_inner.rb +192 -0
- data/lib/mudbase/models/usage_trends_response_trends_inner_id.rb +165 -0
- data/lib/mudbase/models/user.rb +299 -0
- data/lib/mudbase/models/user_summary.rb +175 -0
- data/lib/mudbase/models/verify2_fa_request.rb +164 -0
- data/lib/mudbase/models/verify_email_request.rb +175 -0
- data/lib/mudbase/models/verify_magic_link_request.rb +164 -0
- data/lib/mudbase/models/verify_payment200_response.rb +165 -0
- data/lib/mudbase/models/verify_payment200_response_data.rb +147 -0
- data/lib/mudbase/models/verify_payment200_response_data_subscription.rb +208 -0
- data/lib/mudbase/models/wallet_balance.rb +205 -0
- data/lib/mudbase/models/wallet_transaction.rb +379 -0
- data/lib/mudbase/models/wallet_transaction_webhook_payload.rb +167 -0
- data/lib/mudbase/models/wallet_webhook.rb +235 -0
- data/lib/mudbase/models/wallet_webhook_filters.rb +182 -0
- data/lib/mudbase/models/wallet_webhook_stats.rb +175 -0
- data/lib/mudbase/models/webhook_list_response.rb +186 -0
- data/lib/mudbase/models/webhook_log.rb +290 -0
- data/lib/mudbase/models/webhook_stats_response.rb +170 -0
- data/lib/mudbase/models/webhook_stats_response_event_stats_inner.rb +165 -0
- data/lib/mudbase/models/webhook_stats_response_status_stats_inner.rb +165 -0
- data/lib/mudbase/version.rb +15 -0
- data/lib/mudbase.rb +374 -0
- data/mudbase.gemspec +39 -0
- data/spec/api/authentication_api_spec.rb +228 -0
- data/spec/api/billing_api_spec.rb +163 -0
- data/spec/api/buckets_api_spec.rb +103 -0
- data/spec/api/chat_api_spec.rb +207 -0
- data/spec/api/collections_api_spec.rb +100 -0
- data/spec/api/compliance_api_spec.rb +47 -0
- data/spec/api/data_api_spec.rb +109 -0
- data/spec/api/files_api_spec.rb +159 -0
- data/spec/api/functions_api_spec.rb +229 -0
- data/spec/api/health_api_spec.rb +57 -0
- data/spec/api/integrations_api_spec.rb +61 -0
- data/spec/api/messaging_api_spec.rb +104 -0
- data/spec/api/multi_role_feature_api_spec.rb +156 -0
- data/spec/api/real_time_analytics_api_spec.rb +98 -0
- data/spec/api/role_elevation_api_spec.rb +74 -0
- data/spec/api/search_api_spec.rb +79 -0
- data/spec/api/usage_api_spec.rb +60 -0
- data/spec/api/users_api_spec.rb +187 -0
- data/spec/api/wallet_api_spec.rb +245 -0
- data/spec/api/webhooks_api_spec.rb +48 -0
- data/spec/models/add_custom_role_request_default_permissions_inner_spec.rb +42 -0
- data/spec/models/add_custom_role_request_spec.rb +66 -0
- data/spec/models/add_participant200_response_data_participants_inner_spec.rb +48 -0
- data/spec/models/add_participant200_response_data_spec.rb +36 -0
- data/spec/models/add_participant200_response_spec.rb +42 -0
- data/spec/models/add_participant_request_spec.rb +46 -0
- data/spec/models/add_reaction200_response_data_inner_spec.rb +42 -0
- data/spec/models/add_reaction200_response_spec.rb +42 -0
- data/spec/models/add_reaction_request_spec.rb +36 -0
- data/spec/models/api_key_permission_spec.rb +50 -0
- data/spec/models/api_key_spec.rb +90 -0
- data/spec/models/api_key_usage_response_spec.rb +54 -0
- data/spec/models/api_key_usage_spec.rb +42 -0
- data/spec/models/api_key_with_secret_spec.rb +96 -0
- data/spec/models/auth_config_spec.rb +42 -0
- data/spec/models/auth_provider_spec.rb +48 -0
- data/spec/models/auth_response_spec.rb +48 -0
- data/spec/models/billing_last_payment_spec.rb +48 -0
- data/spec/models/billing_spec.rb +48 -0
- data/spec/models/broadcast_non_custodial_transaction200_response_data_spec.rb +54 -0
- data/spec/models/broadcast_non_custodial_transaction200_response_spec.rb +48 -0
- data/spec/models/broadcast_non_custodial_transaction_request_spec.rb +52 -0
- data/spec/models/bucket_list_response_spec.rb +48 -0
- data/spec/models/bucket_response_spec.rb +48 -0
- data/spec/models/bucket_spec.rb +66 -0
- data/spec/models/change_password_request_spec.rb +42 -0
- data/spec/models/check_feature_access200_response_spec.rb +42 -0
- data/spec/models/check_subscription200_response_spec.rb +42 -0
- data/spec/models/check_subscription200_response_subscription_spec.rb +42 -0
- data/spec/models/check_user_presence200_response_presence_value_spec.rb +42 -0
- data/spec/models/check_user_presence200_response_spec.rb +42 -0
- data/spec/models/check_user_presence_request_spec.rb +36 -0
- data/spec/models/collection_spec.rb +84 -0
- data/spec/models/confirm_direct_upload400_response_spec.rb +42 -0
- data/spec/models/confirm_direct_upload_request_spec.rb +72 -0
- data/spec/models/confirm_local_password_reset_with_otp_request_spec.rb +54 -0
- data/spec/models/confirm_upload_response_scan_spec.rb +54 -0
- data/spec/models/confirm_upload_response_spec.rb +52 -0
- data/spec/models/convert_anonymous_account200_response_spec.rb +48 -0
- data/spec/models/convert_anonymous_account_request_spec.rb +54 -0
- data/spec/models/create_anonymous_session200_response_spec.rb +54 -0
- data/spec/models/create_anonymous_session200_response_user_spec.rb +66 -0
- data/spec/models/create_anonymous_session_request_spec.rb +42 -0
- data/spec/models/create_api_key_request_spec.rb +60 -0
- data/spec/models/create_bucket_request_spec.rb +48 -0
- data/spec/models/create_chat201_response_data_spec.rb +60 -0
- data/spec/models/create_chat201_response_spec.rb +42 -0
- data/spec/models/create_chat_request_spec.rb +64 -0
- data/spec/models/create_checkout_session200_response_data_payment_options_inner_spec.rb +74 -0
- data/spec/models/create_checkout_session200_response_data_spec.rb +96 -0
- data/spec/models/create_checkout_session200_response_spec.rb +42 -0
- data/spec/models/create_checkout_session400_response_spec.rb +36 -0
- data/spec/models/create_checkout_session_request_customer_info_spec.rb +42 -0
- data/spec/models/create_checkout_session_request_spec.rb +64 -0
- data/spec/models/create_collection201_response_spec.rb +42 -0
- data/spec/models/create_collection_request_spec.rb +60 -0
- data/spec/models/create_function_request_spec.rb +60 -0
- data/spec/models/create_project_request_spec.rb +48 -0
- data/spec/models/create_wallet_webhook201_response_spec.rb +48 -0
- data/spec/models/create_wallet_webhook_request_filters_spec.rb +46 -0
- data/spec/models/create_wallet_webhook_request_spec.rb +64 -0
- data/spec/models/data_list_response_data_inner_spec.rb +48 -0
- data/spec/models/data_list_response_spec.rb +42 -0
- data/spec/models/data_response_spec.rb +42 -0
- data/spec/models/database_config_spec.rb +36 -0
- data/spec/models/delete_function200_response_spec.rb +42 -0
- data/spec/models/disable2_fa_request_spec.rb +42 -0
- data/spec/models/download_bucket_file403_response_spec.rb +36 -0
- data/spec/models/download_bucket_file404_response_spec.rb +36 -0
- data/spec/models/edit_message200_response_data_spec.rb +48 -0
- data/spec/models/edit_message200_response_spec.rb +42 -0
- data/spec/models/edit_message_request_spec.rb +36 -0
- data/spec/models/email_request_spec.rb +66 -0
- data/spec/models/email_request_to_spec.rb +32 -0
- data/spec/models/erase_user_data200_response_details_spec.rb +60 -0
- data/spec/models/erase_user_data200_response_spec.rb +42 -0
- data/spec/models/erase_user_data_request_spec.rb +46 -0
- data/spec/models/error_details_spec.rb +32 -0
- data/spec/models/error_spec.rb +66 -0
- data/spec/models/estimate_non_custodial_gas200_response_data_spec.rb +96 -0
- data/spec/models/estimate_non_custodial_gas200_response_spec.rb +42 -0
- data/spec/models/estimate_non_custodial_gas_request_spec.rb +46 -0
- data/spec/models/estimate_non_custodial_gas_request_transaction_spec.rb +66 -0
- data/spec/models/execute_function_request_spec.rb +36 -0
- data/spec/models/execute_integration_request_spec.rb +58 -0
- data/spec/models/export_user_data200_response_spec.rb +78 -0
- data/spec/models/field_default_spec.rb +32 -0
- data/spec/models/field_spec.rb +76 -0
- data/spec/models/file_list_response_spec.rb +42 -0
- data/spec/models/file_metadata_spec.rb +102 -0
- data/spec/models/file_response_spec.rb +42 -0
- data/spec/models/file_upload_response_spec.rb +42 -0
- data/spec/models/function_execution_response_data_spec.rb +54 -0
- data/spec/models/function_execution_response_spec.rb +42 -0
- data/spec/models/function_execution_spec.rb +100 -0
- data/spec/models/function_list_response_data_spec.rb +42 -0
- data/spec/models/function_list_response_spec.rb +42 -0
- data/spec/models/function_logs_response_data_spec.rb +42 -0
- data/spec/models/function_logs_response_spec.rb +42 -0
- data/spec/models/function_response_spec.rb +42 -0
- data/spec/models/function_spec.rb +90 -0
- data/spec/models/function_stats_spec.rb +60 -0
- data/spec/models/function_trigger_spec.rb +80 -0
- data/spec/models/generate_presigned_upload_request_spec.rb +60 -0
- data/spec/models/generate_signed_url_request_spec.rb +36 -0
- data/spec/models/get_active_users200_response_spec.rb +48 -0
- data/spec/models/get_active_users200_response_users_inner_spec.rb +48 -0
- data/spec/models/get_available_o_auth_providers200_response_providers_inner_spec.rb +66 -0
- data/spec/models/get_available_o_auth_providers200_response_spec.rb +42 -0
- data/spec/models/get_available_roles200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_available_roles200_response_spec.rb +42 -0
- data/spec/models/get_cancel_params200_response_data_spec.rb +90 -0
- data/spec/models/get_cancel_params200_response_spec.rb +42 -0
- data/spec/models/get_cancel_params_request_spec.rb +52 -0
- data/spec/models/get_chat_details200_response_data_participants_inner_spec.rb +42 -0
- data/spec/models/get_chat_details200_response_data_spec.rb +48 -0
- data/spec/models/get_chat_details200_response_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_data_messages_inner_sender_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_data_messages_inner_spec.rb +54 -0
- data/spec/models/get_chat_messages200_response_data_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_spec.rb +42 -0
- data/spec/models/get_checkout_payment200_response_data_spec.rb +84 -0
- data/spec/models/get_checkout_payment200_response_spec.rb +42 -0
- data/spec/models/get_current_user200_response_spec.rb +36 -0
- data/spec/models/get_event_throughput200_response_spec.rb +60 -0
- data/spec/models/get_function_versions200_response_data_spec.rb +36 -0
- data/spec/models/get_function_versions200_response_data_versions_inner_spec.rb +66 -0
- data/spec/models/get_function_versions200_response_spec.rb +42 -0
- data/spec/models/get_historical_analytics200_response_data_inner_spec.rb +48 -0
- data/spec/models/get_historical_analytics200_response_spec.rb +54 -0
- data/spec/models/get_integrations200_response_integrations_inner_spec.rb +54 -0
- data/spec/models/get_integrations200_response_spec.rb +36 -0
- data/spec/models/get_local_session200_response_spec.rb +42 -0
- data/spec/models/get_multi_role_config200_response_data_spec.rb +54 -0
- data/spec/models/get_multi_role_config200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_balance200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transaction_by_hash200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transaction_by_hash400_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transactions200_response_pagination_spec.rb +72 -0
- data/spec/models/get_non_custodial_transactions200_response_spec.rb +48 -0
- data/spec/models/get_project_analytics200_response_spec.rb +60 -0
- data/spec/models/get_public_plans200_response_spec.rb +36 -0
- data/spec/models/get_role_elevation_status200_response_spec.rb +36 -0
- data/spec/models/get_search_analytics200_response_spec.rb +54 -0
- data/spec/models/get_search_analytics200_response_top_queries_inner_spec.rb +42 -0
- data/spec/models/get_search_suggestions200_response_spec.rb +36 -0
- data/spec/models/get_speed_up_params200_response_data_spec.rb +90 -0
- data/spec/models/get_speed_up_params200_response_spec.rb +42 -0
- data/spec/models/get_speed_up_params_request_spec.rb +52 -0
- data/spec/models/get_user_chats200_response_data_chats_inner_last_message_spec.rb +36 -0
- data/spec/models/get_user_chats200_response_data_chats_inner_spec.rb +60 -0
- data/spec/models/get_user_chats200_response_data_spec.rb +42 -0
- data/spec/models/get_user_chats200_response_spec.rb +42 -0
- data/spec/models/get_wallet_webhook_logs200_response_spec.rb +42 -0
- data/spec/models/handle_crypto_payment_webhook200_response_spec.rb +36 -0
- data/spec/models/handle_crypto_payment_webhook_request_data_spec.rb +72 -0
- data/spec/models/handle_crypto_payment_webhook_request_spec.rb +46 -0
- data/spec/models/handle_flutterwave_webhook_request_data_customer_spec.rb +42 -0
- data/spec/models/handle_flutterwave_webhook_request_data_spec.rb +78 -0
- data/spec/models/handle_flutterwave_webhook_request_spec.rb +42 -0
- data/spec/models/health_response_services_spec.rb +60 -0
- data/spec/models/health_response_spec.rb +64 -0
- data/spec/models/initialize_payment_for_project_request_customer_spec.rb +42 -0
- data/spec/models/initialize_payment_for_project_request_spec.rb +54 -0
- data/spec/models/initiate_o_auth200_response_spec.rb +36 -0
- data/spec/models/initiate_o_auth400_response_spec.rb +36 -0
- data/spec/models/initiate_o_auth404_response_spec.rb +36 -0
- data/spec/models/invite_member_request_spec.rb +46 -0
- data/spec/models/limits_spec.rb +72 -0
- data/spec/models/link_o_auth_provider200_response_spec.rb +36 -0
- data/spec/models/list_collections200_response_spec.rb +42 -0
- data/spec/models/list_non_custodial_addresses200_response_spec.rb +48 -0
- data/spec/models/list_o_auth_providers200_response_providers_inner_spec.rb +54 -0
- data/spec/models/list_o_auth_providers200_response_spec.rb +36 -0
- data/spec/models/list_wallet_webhooks200_response_spec.rb +48 -0
- data/spec/models/log_security_event200_response_event_spec.rb +54 -0
- data/spec/models/log_security_event200_response_spec.rb +42 -0
- data/spec/models/log_security_event_request_details_spec.rb +66 -0
- data/spec/models/log_security_event_request_spec.rb +56 -0
- data/spec/models/login_local_user200_response_spec.rb +48 -0
- data/spec/models/login_local_user200_response_user_spec.rb +72 -0
- data/spec/models/login_local_user403_response_spec.rb +48 -0
- data/spec/models/login_local_user_request_spec.rb +48 -0
- data/spec/models/login_request_spec.rb +42 -0
- data/spec/models/magic_link_request_spec.rb +48 -0
- data/spec/models/mark_messages_as_read200_response_data_spec.rb +36 -0
- data/spec/models/mark_messages_as_read200_response_spec.rb +42 -0
- data/spec/models/mark_messages_as_read_request_spec.rb +36 -0
- data/spec/models/message_history_response_data_spec.rb +42 -0
- data/spec/models/message_history_response_spec.rb +42 -0
- data/spec/models/message_response_spec.rb +36 -0
- data/spec/models/message_sent_response_data_spec.rb +78 -0
- data/spec/models/message_sent_response_spec.rb +42 -0
- data/spec/models/message_spec.rb +98 -0
- data/spec/models/message_stats_response_data_by_status_spec.rb +48 -0
- data/spec/models/message_stats_response_data_by_type_spec.rb +48 -0
- data/spec/models/message_stats_response_data_period_spec.rb +42 -0
- data/spec/models/message_stats_response_data_spec.rb +60 -0
- data/spec/models/message_stats_response_spec.rb +42 -0
- data/spec/models/non_custodial_address_response_spec.rb +48 -0
- data/spec/models/non_custodial_address_spec.rb +106 -0
- data/spec/models/oauth_callback200_response_spec.rb +42 -0
- data/spec/models/oauth_signup_with_role400_response_spec.rb +42 -0
- data/spec/models/organization_spec.rb +108 -0
- data/spec/models/organization_summary_spec.rb +48 -0
- data/spec/models/otp_send_request_spec.rb +58 -0
- data/spec/models/otp_verify_request_spec.rb +48 -0
- data/spec/models/pagination_spec.rb +54 -0
- data/spec/models/payment_intent_spec.rb +158 -0
- data/spec/models/payment_refund_spec.rb +124 -0
- data/spec/models/payment_subscription_spec.rb +136 -0
- data/spec/models/permission_spec.rb +58 -0
- data/spec/models/plan_spec.rb +60 -0
- data/spec/models/presigned_post_response_spec.rb +54 -0
- data/spec/models/project_settings_spec.rb +76 -0
- data/spec/models/project_spec.rb +102 -0
- data/spec/models/project_summary_spec.rb +48 -0
- data/spec/models/project_usage_response_spec.rb +42 -0
- data/spec/models/project_usage_spec.rb +60 -0
- data/spec/models/project_usage_stats_response_project_spec.rb +42 -0
- data/spec/models/project_usage_stats_response_spec.rb +48 -0
- data/spec/models/push_notification_request_spec.rb +60 -0
- data/spec/models/rate_limit_spec.rb +42 -0
- data/spec/models/record_usage_request_spec.rb +48 -0
- data/spec/models/register_local_user201_response_spec.rb +66 -0
- data/spec/models/register_local_user201_response_user_spec.rb +66 -0
- data/spec/models/register_local_user429_response_spec.rb +72 -0
- data/spec/models/register_local_user_request_spec.rb +60 -0
- data/spec/models/register_non_custodial_address_request_spec.rb +64 -0
- data/spec/models/register_request_spec.rb +60 -0
- data/spec/models/register_with_role_request_spec.rb +60 -0
- data/spec/models/remove_participant_request_spec.rb +36 -0
- data/spec/models/remove_reaction200_response_data_inner_spec.rb +48 -0
- data/spec/models/remove_reaction200_response_spec.rb +42 -0
- data/spec/models/request_local_password_reset_request_spec.rb +42 -0
- data/spec/models/request_role_elevation200_response_spec.rb +74 -0
- data/spec/models/request_role_elevation_request_spec.rb +36 -0
- data/spec/models/reset_local_password_request_spec.rb +42 -0
- data/spec/models/rollback_function_request_spec.rb +36 -0
- data/spec/models/search_response_data_spec.rb +54 -0
- data/spec/models/search_response_spec.rb +42 -0
- data/spec/models/search_result_item_spec.rb +42 -0
- data/spec/models/search_result_spec.rb +48 -0
- data/spec/models/send_message201_response_data_spec.rb +54 -0
- data/spec/models/send_message201_response_spec.rb +42 -0
- data/spec/models/send_message_request_spec.rb +58 -0
- data/spec/models/session_response_spec.rb +42 -0
- data/spec/models/signed_url_response_spec.rb +54 -0
- data/spec/models/simulate_function_trigger_request_spec.rb +48 -0
- data/spec/models/sms_request_spec.rb +48 -0
- data/spec/models/storage_config_spec.rb +36 -0
- data/spec/models/system_status_response_data_cpu_spec.rb +42 -0
- data/spec/models/system_status_response_data_database_spec.rb +48 -0
- data/spec/models/system_status_response_data_memory_spec.rb +48 -0
- data/spec/models/system_status_response_data_requests_spec.rb +54 -0
- data/spec/models/system_status_response_data_spec.rb +66 -0
- data/spec/models/system_status_response_data_storage_spec.rb +48 -0
- data/spec/models/system_status_response_spec.rb +42 -0
- data/spec/models/test_wallet_webhook200_response_spec.rb +42 -0
- data/spec/models/test_wallet_webhook_request_spec.rb +54 -0
- data/spec/models/toggle_role_request_spec.rb +36 -0
- data/spec/models/trigger_function_webhook200_response_spec.rb +48 -0
- data/spec/models/trigger_function_webhook400_response_spec.rb +42 -0
- data/spec/models/trigger_function_webhook401_response_spec.rb +42 -0
- data/spec/models/trigger_webhook_request_spec.rb +60 -0
- data/spec/models/two_fa_setup_response_spec.rb +48 -0
- data/spec/models/unlink_o_auth_provider200_response_spec.rb +42 -0
- data/spec/models/update_api_key_request_spec.rb +54 -0
- data/spec/models/update_bucket_request_spec.rb +48 -0
- data/spec/models/update_collection_permissions_request_spec.rb +46 -0
- data/spec/models/update_collection_request_spec.rb +54 -0
- data/spec/models/update_function_request_limits_spec.rb +54 -0
- data/spec/models/update_function_request_retry_policy_spec.rb +48 -0
- data/spec/models/update_function_request_spec.rb +84 -0
- data/spec/models/update_multi_role_settings200_response_spec.rb +48 -0
- data/spec/models/update_multi_role_settings_request_settings_spec.rb +42 -0
- data/spec/models/update_multi_role_settings_request_spec.rb +48 -0
- data/spec/models/update_organization_request_spec.rb +60 -0
- data/spec/models/update_project_request_spec.rb +60 -0
- data/spec/models/update_project_role_request_spec.rb +66 -0
- data/spec/models/update_user_profile200_response_spec.rb +42 -0
- data/spec/models/update_user_request_spec.rb +48 -0
- data/spec/models/update_wallet_webhook200_response_spec.rb +42 -0
- data/spec/models/update_wallet_webhook_request_spec.rb +54 -0
- data/spec/models/upload_files_to_bucket_metadata_request_spec.rb +42 -0
- data/spec/models/upload_files_to_bucket_request_spec.rb +48 -0
- data/spec/models/upload_verification_documents_request_documents_inner_spec.rb +42 -0
- data/spec/models/upload_verification_documents_request_spec.rb +42 -0
- data/spec/models/usage_response_spec.rb +54 -0
- data/spec/models/usage_spec.rb +72 -0
- data/spec/models/usage_stats_response_percentages_spec.rb +48 -0
- data/spec/models/usage_stats_response_spec.rb +60 -0
- data/spec/models/usage_trends_response_spec.rb +42 -0
- data/spec/models/usage_trends_response_trends_inner_id_spec.rb +48 -0
- data/spec/models/usage_trends_response_trends_inner_spec.rb +66 -0
- data/spec/models/user_spec.rb +118 -0
- data/spec/models/user_summary_spec.rb +54 -0
- data/spec/models/verify2_fa_request_spec.rb +36 -0
- data/spec/models/verify_email_request_spec.rb +42 -0
- data/spec/models/verify_magic_link_request_spec.rb +36 -0
- data/spec/models/verify_payment200_response_data_spec.rb +36 -0
- data/spec/models/verify_payment200_response_data_subscription_spec.rb +58 -0
- data/spec/models/verify_payment200_response_spec.rb +48 -0
- data/spec/models/wallet_balance_spec.rb +72 -0
- data/spec/models/wallet_transaction_spec.rb +164 -0
- data/spec/models/wallet_transaction_webhook_payload_spec.rb +48 -0
- data/spec/models/wallet_webhook_filters_spec.rb +46 -0
- data/spec/models/wallet_webhook_spec.rb +82 -0
- data/spec/models/wallet_webhook_stats_spec.rb +54 -0
- data/spec/models/webhook_list_response_spec.rb +60 -0
- data/spec/models/webhook_log_spec.rb +112 -0
- data/spec/models/webhook_stats_response_event_stats_inner_spec.rb +48 -0
- data/spec/models/webhook_stats_response_spec.rb +48 -0
- data/spec/models/webhook_stats_response_status_stats_inner_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1451 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionExecution
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionExecution do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionExecution.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionExecution' do
|
|
24
|
+
it 'should create an instance of FunctionExecution' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionExecution)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "executed_at"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "execution_time"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "success"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "payload"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "result"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "error"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "trigger_type"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "trigger_event"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "invoked_by"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["manual", "api_key", "trigger", "cron"])
|
|
88
|
+
# validator.allowable_values.each do |value|
|
|
89
|
+
# expect { instance.invoked_by = value }.not_to raise_error
|
|
90
|
+
# end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "retry_count"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionListResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionListResponseData do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionListResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionListResponseData' do
|
|
24
|
+
it 'should create an instance of FunctionListResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionListResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "functions"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "pagination"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionListResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionListResponse do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionListResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionListResponse' do
|
|
24
|
+
it 'should create an instance of FunctionListResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionListResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionLogsResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionLogsResponseData do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionLogsResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionLogsResponseData' do
|
|
24
|
+
it 'should create an instance of FunctionLogsResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionLogsResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "executions"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "stats"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionLogsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionLogsResponse do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionLogsResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionLogsResponse' do
|
|
24
|
+
it 'should create an instance of FunctionLogsResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionLogsResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionResponse do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionResponse' do
|
|
24
|
+
it 'should create an instance of FunctionResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::Function
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::Function do
|
|
21
|
+
#let(:instance) { Mudbase::Function.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Function' do
|
|
24
|
+
it 'should create an instance of Function' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::Function)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "description"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "project_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "trigger"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "stats"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "is_active"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "created_by"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "created_at"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "updated_at"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionStats
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionStats do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionStats.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionStats' do
|
|
24
|
+
it 'should create an instance of FunctionStats' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionStats)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "total_executions"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "successful_executions"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "failed_executions"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "avg_execution_time"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "last_execution"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::FunctionTrigger
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::FunctionTrigger do
|
|
21
|
+
#let(:instance) { Mudbase::FunctionTrigger.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FunctionTrigger' do
|
|
24
|
+
it 'should create an instance of FunctionTrigger' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::FunctionTrigger)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["http", "event", "document", "file", "webhook", "wallet", "cron", "messaging"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "event"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "schedule"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "path"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "method"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GET", "POST", "PUT", "DELETE"])
|
|
62
|
+
# validator.allowable_values.each do |value|
|
|
63
|
+
# expect { instance.method = value }.not_to raise_error
|
|
64
|
+
# end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
describe 'test attribute "collection_id"' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
describe 'test attribute "bucket_id"' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#MUDBASESDK
|
|
3
|
+
|
|
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) ## Testing Configurations Below are example configurations for testing in different environments: ### Production ```json { \"scheme\": \"http\", \"base_path\": \"\", \"host\": \"cloud.mudbase.dev\", \"xApiKey\": \"xApiKey\", \"bearerToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4NWFjYmUwZTEyOTkzMmZiYjdhMGZjMiIsImVtYWlsIjoibXVkaGF4a3NlcnZpY2VzQGdtYWlsLmNvbSIsImlhdCI6MTc1MDc4MDg5OCwiZXhwIjoxNzUwODY3Mjk4fQ.sfoqzEbCuz5Y8qHkLItzrZZYC823SPT4RbO7Kucqvuc\", \"userId\": \"685acbe0e129932fbb7a0fc2\", \"projectId\": \"685ad30be129932fbb7a1047\", \"collectionId\": \"685ada8fd9416ac02f171abf\", \"documentId\": \"685ae1210136e73fa1dcaf36\", \"apikeyId\": \"685ae8a785426b6a4190d5fc\", \"webhookId\": \"685af3992f9c4c96514247e9\", \"functionId\": \"685af8b85d73a104065b6a77\", \"fileId\": \"685af8b85d73a104065b6a77\" }
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.1.4
|
|
7
|
+
Contact: support@mudbase.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.20.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mudbase::GeneratePresignedUploadRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mudbase::GeneratePresignedUploadRequest do
|
|
21
|
+
#let(:instance) { Mudbase::GeneratePresignedUploadRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GeneratePresignedUploadRequest' do
|
|
24
|
+
it 'should create an instance of GeneratePresignedUploadRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Mudbase::GeneratePresignedUploadRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "project_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "bucket"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "original_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "content_type"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "is_public"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|