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.
Files changed (1016) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +21 -0
  4. data/Rakefile +10 -0
  5. data/docs/AddCustomRoleRequest.md +28 -0
  6. data/docs/AddCustomRoleRequestDefaultPermissionsInner.md +20 -0
  7. data/docs/AddParticipant200Response.md +20 -0
  8. data/docs/AddParticipant200ResponseData.md +18 -0
  9. data/docs/AddParticipant200ResponseDataParticipantsInner.md +22 -0
  10. data/docs/AddParticipantRequest.md +20 -0
  11. data/docs/AddReaction200Response.md +20 -0
  12. data/docs/AddReaction200ResponseDataInner.md +20 -0
  13. data/docs/AddReactionRequest.md +18 -0
  14. data/docs/ApiKey.md +36 -0
  15. data/docs/ApiKeyPermission.md +20 -0
  16. data/docs/ApiKeyUsage.md +20 -0
  17. data/docs/ApiKeyUsageResponse.md +24 -0
  18. data/docs/ApiKeyWithSecret.md +38 -0
  19. data/docs/AuthConfig.md +20 -0
  20. data/docs/AuthProvider.md +22 -0
  21. data/docs/AuthResponse.md +22 -0
  22. data/docs/AuthenticationApi.md +1066 -0
  23. data/docs/Billing.md +22 -0
  24. data/docs/BillingApi.md +677 -0
  25. data/docs/BillingLastPayment.md +22 -0
  26. data/docs/BroadcastNonCustodialTransaction200Response.md +22 -0
  27. data/docs/BroadcastNonCustodialTransaction200ResponseData.md +24 -0
  28. data/docs/BroadcastNonCustodialTransactionRequest.md +22 -0
  29. data/docs/Bucket.md +28 -0
  30. data/docs/BucketListResponse.md +22 -0
  31. data/docs/BucketResponse.md +22 -0
  32. data/docs/BucketsApi.md +385 -0
  33. data/docs/ChangePasswordRequest.md +20 -0
  34. data/docs/ChatApi.md +907 -0
  35. data/docs/CheckFeatureAccess200Response.md +20 -0
  36. data/docs/CheckSubscription200Response.md +20 -0
  37. data/docs/CheckSubscription200ResponseSubscription.md +20 -0
  38. data/docs/CheckUserPresence200Response.md +20 -0
  39. data/docs/CheckUserPresence200ResponsePresenceValue.md +20 -0
  40. data/docs/CheckUserPresenceRequest.md +18 -0
  41. data/docs/Collection.md +34 -0
  42. data/docs/CollectionsApi.md +367 -0
  43. data/docs/ComplianceApi.md +77 -0
  44. data/docs/ConfirmDirectUpload400Response.md +20 -0
  45. data/docs/ConfirmDirectUploadRequest.md +30 -0
  46. data/docs/ConfirmLocalPasswordResetWithOtpRequest.md +24 -0
  47. data/docs/ConfirmUploadResponse.md +22 -0
  48. data/docs/ConfirmUploadResponseScan.md +24 -0
  49. data/docs/ConvertAnonymousAccount200Response.md +22 -0
  50. data/docs/ConvertAnonymousAccountRequest.md +24 -0
  51. data/docs/CreateAnonymousSession200Response.md +24 -0
  52. data/docs/CreateAnonymousSession200ResponseUser.md +28 -0
  53. data/docs/CreateAnonymousSessionRequest.md +20 -0
  54. data/docs/CreateApiKeyRequest.md +26 -0
  55. data/docs/CreateBucketRequest.md +22 -0
  56. data/docs/CreateChat201Response.md +20 -0
  57. data/docs/CreateChat201ResponseData.md +26 -0
  58. data/docs/CreateChatRequest.md +26 -0
  59. data/docs/CreateCheckoutSession200Response.md +20 -0
  60. data/docs/CreateCheckoutSession200ResponseData.md +38 -0
  61. data/docs/CreateCheckoutSession200ResponseDataPaymentOptionsInner.md +28 -0
  62. data/docs/CreateCheckoutSession400Response.md +18 -0
  63. data/docs/CreateCheckoutSessionRequest.md +26 -0
  64. data/docs/CreateCheckoutSessionRequestCustomerInfo.md +20 -0
  65. data/docs/CreateCollection201Response.md +20 -0
  66. data/docs/CreateCollectionRequest.md +26 -0
  67. data/docs/CreateFunctionRequest.md +26 -0
  68. data/docs/CreateProjectRequest.md +22 -0
  69. data/docs/CreateWalletWebhook201Response.md +22 -0
  70. data/docs/CreateWalletWebhookRequest.md +26 -0
  71. data/docs/CreateWalletWebhookRequestFilters.md +20 -0
  72. data/docs/DataApi.md +387 -0
  73. data/docs/DataListResponse.md +20 -0
  74. data/docs/DataListResponseDataInner.md +22 -0
  75. data/docs/DataResponse.md +20 -0
  76. data/docs/DatabaseConfig.md +18 -0
  77. data/docs/DeleteFunction200Response.md +20 -0
  78. data/docs/Disable2FARequest.md +20 -0
  79. data/docs/DownloadBucketFile403Response.md +18 -0
  80. data/docs/DownloadBucketFile404Response.md +18 -0
  81. data/docs/EditMessage200Response.md +20 -0
  82. data/docs/EditMessage200ResponseData.md +22 -0
  83. data/docs/EditMessageRequest.md +18 -0
  84. data/docs/EmailRequest.md +28 -0
  85. data/docs/EmailRequestTo.md +49 -0
  86. data/docs/EraseUserData200Response.md +20 -0
  87. data/docs/EraseUserData200ResponseDetails.md +26 -0
  88. data/docs/EraseUserDataRequest.md +20 -0
  89. data/docs/Error.md +28 -0
  90. data/docs/ErrorDetails.md +49 -0
  91. data/docs/EstimateNonCustodialGas200Response.md +20 -0
  92. data/docs/EstimateNonCustodialGas200ResponseData.md +38 -0
  93. data/docs/EstimateNonCustodialGasRequest.md +20 -0
  94. data/docs/EstimateNonCustodialGasRequestTransaction.md +28 -0
  95. data/docs/ExecuteFunctionRequest.md +18 -0
  96. data/docs/ExecuteIntegrationRequest.md +24 -0
  97. data/docs/ExportUserData200Response.md +32 -0
  98. data/docs/Field.md +30 -0
  99. data/docs/FieldDefault.md +51 -0
  100. data/docs/FileListResponse.md +20 -0
  101. data/docs/FileMetadata.md +40 -0
  102. data/docs/FileResponse.md +20 -0
  103. data/docs/FileUploadResponse.md +20 -0
  104. data/docs/FilesApi.md +702 -0
  105. data/docs/Function.md +36 -0
  106. data/docs/FunctionExecution.md +38 -0
  107. data/docs/FunctionExecutionResponse.md +20 -0
  108. data/docs/FunctionExecutionResponseData.md +24 -0
  109. data/docs/FunctionListResponse.md +20 -0
  110. data/docs/FunctionListResponseData.md +20 -0
  111. data/docs/FunctionLogsResponse.md +20 -0
  112. data/docs/FunctionLogsResponseData.md +20 -0
  113. data/docs/FunctionResponse.md +20 -0
  114. data/docs/FunctionStats.md +26 -0
  115. data/docs/FunctionTrigger.md +30 -0
  116. data/docs/FunctionsApi.md +1106 -0
  117. data/docs/GeneratePresignedUploadRequest.md +26 -0
  118. data/docs/GenerateSignedUrlRequest.md +18 -0
  119. data/docs/GetActiveUsers200Response.md +22 -0
  120. data/docs/GetActiveUsers200ResponseUsersInner.md +22 -0
  121. data/docs/GetAvailableOAuthProviders200Response.md +20 -0
  122. data/docs/GetAvailableOAuthProviders200ResponseProvidersInner.md +28 -0
  123. data/docs/GetAvailableRoles200Response.md +20 -0
  124. data/docs/GetAvailableRoles200ResponseDataInner.md +30 -0
  125. data/docs/GetCancelParams200Response.md +20 -0
  126. data/docs/GetCancelParams200ResponseData.md +36 -0
  127. data/docs/GetCancelParamsRequest.md +22 -0
  128. data/docs/GetChatDetails200Response.md +20 -0
  129. data/docs/GetChatDetails200ResponseData.md +22 -0
  130. data/docs/GetChatDetails200ResponseDataParticipantsInner.md +20 -0
  131. data/docs/GetChatMessages200Response.md +20 -0
  132. data/docs/GetChatMessages200ResponseData.md +20 -0
  133. data/docs/GetChatMessages200ResponseDataMessagesInner.md +24 -0
  134. data/docs/GetChatMessages200ResponseDataMessagesInnerSender.md +20 -0
  135. data/docs/GetCheckoutPayment200Response.md +20 -0
  136. data/docs/GetCheckoutPayment200ResponseData.md +34 -0
  137. data/docs/GetCurrentUser200Response.md +18 -0
  138. data/docs/GetEventThroughput200Response.md +26 -0
  139. data/docs/GetFunctionVersions200Response.md +20 -0
  140. data/docs/GetFunctionVersions200ResponseData.md +18 -0
  141. data/docs/GetFunctionVersions200ResponseDataVersionsInner.md +28 -0
  142. data/docs/GetHistoricalAnalytics200Response.md +24 -0
  143. data/docs/GetHistoricalAnalytics200ResponseDataInner.md +22 -0
  144. data/docs/GetIntegrations200Response.md +18 -0
  145. data/docs/GetIntegrations200ResponseIntegrationsInner.md +24 -0
  146. data/docs/GetLocalSession200Response.md +20 -0
  147. data/docs/GetMultiRoleConfig200Response.md +20 -0
  148. data/docs/GetMultiRoleConfig200ResponseData.md +24 -0
  149. data/docs/GetNonCustodialBalance200Response.md +20 -0
  150. data/docs/GetNonCustodialTransactionByHash200Response.md +20 -0
  151. data/docs/GetNonCustodialTransactionByHash400Response.md +20 -0
  152. data/docs/GetNonCustodialTransactions200Response.md +22 -0
  153. data/docs/GetNonCustodialTransactions200ResponsePagination.md +30 -0
  154. data/docs/GetProjectAnalytics200Response.md +26 -0
  155. data/docs/GetPublicPlans200Response.md +18 -0
  156. data/docs/GetRoleElevationStatus200Response.md +18 -0
  157. data/docs/GetSearchAnalytics200Response.md +24 -0
  158. data/docs/GetSearchAnalytics200ResponseTopQueriesInner.md +20 -0
  159. data/docs/GetSearchSuggestions200Response.md +18 -0
  160. data/docs/GetSpeedUpParams200Response.md +20 -0
  161. data/docs/GetSpeedUpParams200ResponseData.md +36 -0
  162. data/docs/GetSpeedUpParamsRequest.md +22 -0
  163. data/docs/GetUserChats200Response.md +20 -0
  164. data/docs/GetUserChats200ResponseData.md +20 -0
  165. data/docs/GetUserChats200ResponseDataChatsInner.md +26 -0
  166. data/docs/GetUserChats200ResponseDataChatsInnerLastMessage.md +18 -0
  167. data/docs/GetWalletWebhookLogs200Response.md +20 -0
  168. data/docs/HandleCryptoPaymentWebhook200Response.md +18 -0
  169. data/docs/HandleCryptoPaymentWebhookRequest.md +20 -0
  170. data/docs/HandleCryptoPaymentWebhookRequestData.md +30 -0
  171. data/docs/HandleFlutterwaveWebhookRequest.md +20 -0
  172. data/docs/HandleFlutterwaveWebhookRequestData.md +32 -0
  173. data/docs/HandleFlutterwaveWebhookRequestDataCustomer.md +20 -0
  174. data/docs/HealthApi.md +136 -0
  175. data/docs/HealthResponse.md +26 -0
  176. data/docs/HealthResponseServices.md +26 -0
  177. data/docs/InitializePaymentForProjectRequest.md +24 -0
  178. data/docs/InitializePaymentForProjectRequestCustomer.md +20 -0
  179. data/docs/InitiateOAuth200Response.md +18 -0
  180. data/docs/InitiateOAuth400Response.md +18 -0
  181. data/docs/InitiateOAuth404Response.md +18 -0
  182. data/docs/IntegrationsApi.md +151 -0
  183. data/docs/InviteMemberRequest.md +20 -0
  184. data/docs/Limits.md +30 -0
  185. data/docs/LinkOAuthProvider200Response.md +18 -0
  186. data/docs/ListCollections200Response.md +20 -0
  187. data/docs/ListNonCustodialAddresses200Response.md +22 -0
  188. data/docs/ListOAuthProviders200Response.md +18 -0
  189. data/docs/ListOAuthProviders200ResponseProvidersInner.md +24 -0
  190. data/docs/ListWalletWebhooks200Response.md +22 -0
  191. data/docs/LogSecurityEvent200Response.md +20 -0
  192. data/docs/LogSecurityEvent200ResponseEvent.md +24 -0
  193. data/docs/LogSecurityEventRequest.md +22 -0
  194. data/docs/LogSecurityEventRequestDetails.md +28 -0
  195. data/docs/LoginLocalUser200Response.md +22 -0
  196. data/docs/LoginLocalUser200ResponseUser.md +30 -0
  197. data/docs/LoginLocalUser403Response.md +22 -0
  198. data/docs/LoginLocalUserRequest.md +22 -0
  199. data/docs/LoginRequest.md +20 -0
  200. data/docs/MagicLinkRequest.md +22 -0
  201. data/docs/MarkMessagesAsRead200Response.md +20 -0
  202. data/docs/MarkMessagesAsRead200ResponseData.md +18 -0
  203. data/docs/MarkMessagesAsReadRequest.md +18 -0
  204. data/docs/Message.md +36 -0
  205. data/docs/MessageHistoryResponse.md +20 -0
  206. data/docs/MessageHistoryResponseData.md +20 -0
  207. data/docs/MessageResponse.md +18 -0
  208. data/docs/MessageSentResponse.md +20 -0
  209. data/docs/MessageSentResponseData.md +32 -0
  210. data/docs/MessageStatsResponse.md +20 -0
  211. data/docs/MessageStatsResponseData.md +26 -0
  212. data/docs/MessageStatsResponseDataByStatus.md +22 -0
  213. data/docs/MessageStatsResponseDataByType.md +22 -0
  214. data/docs/MessageStatsResponseDataPeriod.md +20 -0
  215. data/docs/MessagingApi.md +379 -0
  216. data/docs/MultiRoleFeatureApi.md +654 -0
  217. data/docs/NonCustodialAddress.md +40 -0
  218. data/docs/NonCustodialAddressResponse.md +22 -0
  219. data/docs/OTPSendRequest.md +24 -0
  220. data/docs/OTPVerifyRequest.md +22 -0
  221. data/docs/OauthCallback200Response.md +20 -0
  222. data/docs/OauthSignupWithRole400Response.md +20 -0
  223. data/docs/Organization.md +42 -0
  224. data/docs/OrganizationSummary.md +22 -0
  225. data/docs/Pagination.md +24 -0
  226. data/docs/PaymentIntent.md +52 -0
  227. data/docs/PaymentRefund.md +46 -0
  228. data/docs/PaymentSubscription.md +46 -0
  229. data/docs/Permission.md +24 -0
  230. data/docs/Plan.md +26 -0
  231. data/docs/PresignedPostResponse.md +24 -0
  232. data/docs/Project.md +40 -0
  233. data/docs/ProjectSettings.md +30 -0
  234. data/docs/ProjectSummary.md +22 -0
  235. data/docs/ProjectUsage.md +26 -0
  236. data/docs/ProjectUsageResponse.md +20 -0
  237. data/docs/ProjectUsageStatsResponse.md +22 -0
  238. data/docs/ProjectUsageStatsResponseProject.md +20 -0
  239. data/docs/PushNotificationRequest.md +26 -0
  240. data/docs/RateLimit.md +20 -0
  241. data/docs/RealTimeAnalyticsApi.md +367 -0
  242. data/docs/RecordUsageRequest.md +22 -0
  243. data/docs/RegisterLocalUser201Response.md +28 -0
  244. data/docs/RegisterLocalUser201ResponseUser.md +28 -0
  245. data/docs/RegisterLocalUser429Response.md +30 -0
  246. data/docs/RegisterLocalUserRequest.md +26 -0
  247. data/docs/RegisterNonCustodialAddressRequest.md +26 -0
  248. data/docs/RegisterRequest.md +26 -0
  249. data/docs/RegisterWithRoleRequest.md +26 -0
  250. data/docs/RemoveParticipantRequest.md +18 -0
  251. data/docs/RemoveReaction200Response.md +20 -0
  252. data/docs/RemoveReaction200ResponseDataInner.md +22 -0
  253. data/docs/RequestLocalPasswordResetRequest.md +20 -0
  254. data/docs/RequestRoleElevation200Response.md +28 -0
  255. data/docs/RequestRoleElevationRequest.md +18 -0
  256. data/docs/ResetLocalPasswordRequest.md +20 -0
  257. data/docs/RoleElevationApi.md +224 -0
  258. data/docs/RollbackFunctionRequest.md +18 -0
  259. data/docs/SMSRequest.md +22 -0
  260. data/docs/SearchApi.md +239 -0
  261. data/docs/SearchResponse.md +20 -0
  262. data/docs/SearchResponseData.md +24 -0
  263. data/docs/SearchResult.md +22 -0
  264. data/docs/SearchResultItem.md +20 -0
  265. data/docs/SendMessage201Response.md +20 -0
  266. data/docs/SendMessage201ResponseData.md +24 -0
  267. data/docs/SendMessageRequest.md +24 -0
  268. data/docs/SessionResponse.md +20 -0
  269. data/docs/SignedUrlResponse.md +24 -0
  270. data/docs/SimulateFunctionTriggerRequest.md +22 -0
  271. data/docs/StorageConfig.md +18 -0
  272. data/docs/SystemStatusResponse.md +20 -0
  273. data/docs/SystemStatusResponseData.md +28 -0
  274. data/docs/SystemStatusResponseDataCpu.md +20 -0
  275. data/docs/SystemStatusResponseDataDatabase.md +22 -0
  276. data/docs/SystemStatusResponseDataMemory.md +22 -0
  277. data/docs/SystemStatusResponseDataRequests.md +24 -0
  278. data/docs/SystemStatusResponseDataStorage.md +22 -0
  279. data/docs/TestWalletWebhook200Response.md +20 -0
  280. data/docs/TestWalletWebhookRequest.md +24 -0
  281. data/docs/ToggleRoleRequest.md +18 -0
  282. data/docs/TriggerFunctionWebhook200Response.md +22 -0
  283. data/docs/TriggerFunctionWebhook400Response.md +20 -0
  284. data/docs/TriggerFunctionWebhook401Response.md +20 -0
  285. data/docs/TriggerWebhookRequest.md +26 -0
  286. data/docs/TwoFASetupResponse.md +22 -0
  287. data/docs/UnlinkOAuthProvider200Response.md +20 -0
  288. data/docs/UpdateApiKeyRequest.md +24 -0
  289. data/docs/UpdateBucketRequest.md +22 -0
  290. data/docs/UpdateCollectionPermissionsRequest.md +20 -0
  291. data/docs/UpdateCollectionRequest.md +24 -0
  292. data/docs/UpdateFunctionRequest.md +34 -0
  293. data/docs/UpdateFunctionRequestLimits.md +24 -0
  294. data/docs/UpdateFunctionRequestRetryPolicy.md +22 -0
  295. data/docs/UpdateMultiRoleSettings200Response.md +22 -0
  296. data/docs/UpdateMultiRoleSettingsRequest.md +22 -0
  297. data/docs/UpdateMultiRoleSettingsRequestSettings.md +20 -0
  298. data/docs/UpdateOrganizationRequest.md +26 -0
  299. data/docs/UpdateProjectRequest.md +26 -0
  300. data/docs/UpdateProjectRoleRequest.md +28 -0
  301. data/docs/UpdateUserProfile200Response.md +20 -0
  302. data/docs/UpdateUserRequest.md +22 -0
  303. data/docs/UpdateWalletWebhook200Response.md +20 -0
  304. data/docs/UpdateWalletWebhookRequest.md +24 -0
  305. data/docs/UploadFilesToBucketMetadataRequest.md +20 -0
  306. data/docs/UploadFilesToBucketRequest.md +22 -0
  307. data/docs/UploadVerificationDocumentsRequest.md +20 -0
  308. data/docs/UploadVerificationDocumentsRequestDocumentsInner.md +20 -0
  309. data/docs/Usage.md +30 -0
  310. data/docs/UsageApi.md +153 -0
  311. data/docs/UsageResponse.md +24 -0
  312. data/docs/UsageStatsResponse.md +26 -0
  313. data/docs/UsageStatsResponsePercentages.md +22 -0
  314. data/docs/UsageTrendsResponse.md +20 -0
  315. data/docs/UsageTrendsResponseTrendsInner.md +28 -0
  316. data/docs/UsageTrendsResponseTrendsInnerId.md +22 -0
  317. data/docs/User.md +44 -0
  318. data/docs/UserSummary.md +24 -0
  319. data/docs/UsersApi.md +901 -0
  320. data/docs/Verify2FARequest.md +18 -0
  321. data/docs/VerifyEmailRequest.md +20 -0
  322. data/docs/VerifyMagicLinkRequest.md +18 -0
  323. data/docs/VerifyPayment200Response.md +22 -0
  324. data/docs/VerifyPayment200ResponseData.md +18 -0
  325. data/docs/VerifyPayment200ResponseDataSubscription.md +24 -0
  326. data/docs/WalletApi.md +1232 -0
  327. data/docs/WalletBalance.md +30 -0
  328. data/docs/WalletTransaction.md +58 -0
  329. data/docs/WalletTransactionWebhookPayload.md +22 -0
  330. data/docs/WalletWebhook.md +32 -0
  331. data/docs/WalletWebhookFilters.md +20 -0
  332. data/docs/WalletWebhookStats.md +24 -0
  333. data/docs/WebhookListResponse.md +26 -0
  334. data/docs/WebhookLog.md +42 -0
  335. data/docs/WebhookStatsResponse.md +22 -0
  336. data/docs/WebhookStatsResponseEventStatsInner.md +22 -0
  337. data/docs/WebhookStatsResponseStatusStatsInner.md +22 -0
  338. data/docs/WebhooksApi.md +81 -0
  339. data/git_push.sh +57 -0
  340. data/lib/mudbase/api/authentication_api.rb +1090 -0
  341. data/lib/mudbase/api/billing_api.rb +729 -0
  342. data/lib/mudbase/api/buckets_api.rb +386 -0
  343. data/lib/mudbase/api/chat_api.rb +968 -0
  344. data/lib/mudbase/api/collections_api.rb +377 -0
  345. data/lib/mudbase/api/compliance_api.rb +90 -0
  346. data/lib/mudbase/api/data_api.rb +423 -0
  347. data/lib/mudbase/api/files_api.rb +683 -0
  348. data/lib/mudbase/api/functions_api.rb +1054 -0
  349. data/lib/mudbase/api/health_api.rb +136 -0
  350. data/lib/mudbase/api/integrations_api.rb +165 -0
  351. data/lib/mudbase/api/messaging_api.rb +396 -0
  352. data/lib/mudbase/api/multi_role_feature_api.rb +699 -0
  353. data/lib/mudbase/api/real_time_analytics_api.rb +358 -0
  354. data/lib/mudbase/api/role_elevation_api.rb +236 -0
  355. data/lib/mudbase/api/search_api.rb +263 -0
  356. data/lib/mudbase/api/usage_api.rb +152 -0
  357. data/lib/mudbase/api/users_api.rb +854 -0
  358. data/lib/mudbase/api/wallet_api.rb +1161 -0
  359. data/lib/mudbase/api/webhooks_api.rb +85 -0
  360. data/lib/mudbase/api_client.rb +397 -0
  361. data/lib/mudbase/api_error.rb +58 -0
  362. data/lib/mudbase/api_model_base.rb +88 -0
  363. data/lib/mudbase/configuration.rb +316 -0
  364. data/lib/mudbase/models/add_custom_role_request.rb +245 -0
  365. data/lib/mudbase/models/add_custom_role_request_default_permissions_inner.rb +158 -0
  366. data/lib/mudbase/models/add_participant200_response.rb +156 -0
  367. data/lib/mudbase/models/add_participant200_response_data.rb +149 -0
  368. data/lib/mudbase/models/add_participant200_response_data_participants_inner.rb +165 -0
  369. data/lib/mudbase/models/add_participant_request.rb +207 -0
  370. data/lib/mudbase/models/add_reaction200_response.rb +158 -0
  371. data/lib/mudbase/models/add_reaction200_response_data_inner.rb +158 -0
  372. data/lib/mudbase/models/add_reaction_request.rb +164 -0
  373. data/lib/mudbase/models/api_key.rb +231 -0
  374. data/lib/mudbase/models/api_key_permission.rb +209 -0
  375. data/lib/mudbase/models/api_key_usage.rb +157 -0
  376. data/lib/mudbase/models/api_key_usage_response.rb +175 -0
  377. data/lib/mudbase/models/api_key_with_secret.rb +247 -0
  378. data/lib/mudbase/models/auth_config.rb +162 -0
  379. data/lib/mudbase/models/auth_provider.rb +166 -0
  380. data/lib/mudbase/models/auth_response.rb +166 -0
  381. data/lib/mudbase/models/billing.rb +166 -0
  382. data/lib/mudbase/models/billing_last_payment.rb +165 -0
  383. data/lib/mudbase/models/broadcast_non_custodial_transaction200_response.rb +165 -0
  384. data/lib/mudbase/models/broadcast_non_custodial_transaction200_response_data.rb +175 -0
  385. data/lib/mudbase/models/broadcast_non_custodial_transaction_request.rb +243 -0
  386. data/lib/mudbase/models/bucket.rb +193 -0
  387. data/lib/mudbase/models/bucket_list_response.rb +168 -0
  388. data/lib/mudbase/models/bucket_response.rb +166 -0
  389. data/lib/mudbase/models/change_password_request.rb +200 -0
  390. data/lib/mudbase/models/check_feature_access200_response.rb +156 -0
  391. data/lib/mudbase/models/check_subscription200_response.rb +156 -0
  392. data/lib/mudbase/models/check_subscription200_response_subscription.rb +156 -0
  393. data/lib/mudbase/models/check_user_presence200_response.rb +158 -0
  394. data/lib/mudbase/models/check_user_presence200_response_presence_value.rb +156 -0
  395. data/lib/mudbase/models/check_user_presence_request.rb +166 -0
  396. data/lib/mudbase/models/collection.rb +224 -0
  397. data/lib/mudbase/models/confirm_direct_upload400_response.rb +156 -0
  398. data/lib/mudbase/models/confirm_direct_upload_request.rb +236 -0
  399. data/lib/mudbase/models/confirm_local_password_reset_with_otp_request.rb +280 -0
  400. data/lib/mudbase/models/confirm_upload_response.rb +200 -0
  401. data/lib/mudbase/models/confirm_upload_response_scan.rb +176 -0
  402. data/lib/mudbase/models/convert_anonymous_account200_response.rb +165 -0
  403. data/lib/mudbase/models/convert_anonymous_account_request.rb +208 -0
  404. data/lib/mudbase/models/create_anonymous_session200_response.rb +174 -0
  405. data/lib/mudbase/models/create_anonymous_session200_response_user.rb +192 -0
  406. data/lib/mudbase/models/create_anonymous_session_request.rb +158 -0
  407. data/lib/mudbase/models/create_api_key_request.rb +252 -0
  408. data/lib/mudbase/models/create_bucket_request.rb +188 -0
  409. data/lib/mudbase/models/create_chat201_response.rb +156 -0
  410. data/lib/mudbase/models/create_chat201_response_data.rb +185 -0
  411. data/lib/mudbase/models/create_chat_request.rb +260 -0
  412. data/lib/mudbase/models/create_checkout_session200_response.rb +156 -0
  413. data/lib/mudbase/models/create_checkout_session200_response_data.rb +245 -0
  414. data/lib/mudbase/models/create_checkout_session200_response_data_payment_options_inner.rb +238 -0
  415. data/lib/mudbase/models/create_checkout_session400_response.rb +147 -0
  416. data/lib/mudbase/models/create_checkout_session_request.rb +262 -0
  417. data/lib/mudbase/models/create_checkout_session_request_customer_info.rb +173 -0
  418. data/lib/mudbase/models/create_collection201_response.rb +156 -0
  419. data/lib/mudbase/models/create_collection_request.rb +222 -0
  420. data/lib/mudbase/models/create_function_request.rb +239 -0
  421. data/lib/mudbase/models/create_project_request.rb +183 -0
  422. data/lib/mudbase/models/create_wallet_webhook201_response.rb +165 -0
  423. data/lib/mudbase/models/create_wallet_webhook_request.rb +233 -0
  424. data/lib/mudbase/models/create_wallet_webhook_request_filters.rb +184 -0
  425. data/lib/mudbase/models/data_list_response.rb +159 -0
  426. data/lib/mudbase/models/data_list_response_data_inner.rb +169 -0
  427. data/lib/mudbase/models/data_response.rb +157 -0
  428. data/lib/mudbase/models/database_config.rb +150 -0
  429. data/lib/mudbase/models/delete_function200_response.rb +156 -0
  430. data/lib/mudbase/models/disable2_fa_request.rb +190 -0
  431. data/lib/mudbase/models/download_bucket_file403_response.rb +147 -0
  432. data/lib/mudbase/models/download_bucket_file404_response.rb +147 -0
  433. data/lib/mudbase/models/edit_message200_response.rb +156 -0
  434. data/lib/mudbase/models/edit_message200_response_data.rb +165 -0
  435. data/lib/mudbase/models/edit_message_request.rb +164 -0
  436. data/lib/mudbase/models/email_request.rb +227 -0
  437. data/lib/mudbase/models/email_request_to.rb +104 -0
  438. data/lib/mudbase/models/erase_user_data200_response.rb +156 -0
  439. data/lib/mudbase/models/erase_user_data200_response_details.rb +183 -0
  440. data/lib/mudbase/models/erase_user_data_request.rb +198 -0
  441. data/lib/mudbase/models/error.rb +193 -0
  442. data/lib/mudbase/models/error_details.rb +104 -0
  443. data/lib/mudbase/models/estimate_non_custodial_gas200_response.rb +156 -0
  444. data/lib/mudbase/models/estimate_non_custodial_gas200_response_data.rb +248 -0
  445. data/lib/mudbase/models/estimate_non_custodial_gas_request.rb +198 -0
  446. data/lib/mudbase/models/estimate_non_custodial_gas_request_transaction.rb +216 -0
  447. data/lib/mudbase/models/execute_function_request.rb +148 -0
  448. data/lib/mudbase/models/execute_integration_request.rb +232 -0
  449. data/lib/mudbase/models/export_user_data200_response.rb +222 -0
  450. data/lib/mudbase/models/field.rb +260 -0
  451. data/lib/mudbase/models/field_default.rb +105 -0
  452. data/lib/mudbase/models/file_list_response.rb +159 -0
  453. data/lib/mudbase/models/file_metadata.rb +247 -0
  454. data/lib/mudbase/models/file_response.rb +157 -0
  455. data/lib/mudbase/models/file_upload_response.rb +157 -0
  456. data/lib/mudbase/models/function.rb +229 -0
  457. data/lib/mudbase/models/function_execution.rb +272 -0
  458. data/lib/mudbase/models/function_execution_response.rb +157 -0
  459. data/lib/mudbase/models/function_execution_response_data.rb +175 -0
  460. data/lib/mudbase/models/function_list_response.rb +157 -0
  461. data/lib/mudbase/models/function_list_response_data.rb +158 -0
  462. data/lib/mudbase/models/function_logs_response.rb +157 -0
  463. data/lib/mudbase/models/function_logs_response_data.rb +158 -0
  464. data/lib/mudbase/models/function_response.rb +157 -0
  465. data/lib/mudbase/models/function_stats.rb +184 -0
  466. data/lib/mudbase/models/function_trigger.rb +261 -0
  467. data/lib/mudbase/models/generate_presigned_upload_request.rb +221 -0
  468. data/lib/mudbase/models/generate_signed_url_request.rb +149 -0
  469. data/lib/mudbase/models/get_active_users200_response.rb +167 -0
  470. data/lib/mudbase/models/get_active_users200_response_users_inner.rb +165 -0
  471. data/lib/mudbase/models/get_available_o_auth_providers200_response.rb +158 -0
  472. data/lib/mudbase/models/get_available_o_auth_providers200_response_providers_inner.rb +196 -0
  473. data/lib/mudbase/models/get_available_roles200_response.rb +158 -0
  474. data/lib/mudbase/models/get_available_roles200_response_data_inner.rb +201 -0
  475. data/lib/mudbase/models/get_cancel_params200_response.rb +156 -0
  476. data/lib/mudbase/models/get_cancel_params200_response_data.rb +231 -0
  477. data/lib/mudbase/models/get_cancel_params_request.rb +208 -0
  478. data/lib/mudbase/models/get_chat_details200_response.rb +156 -0
  479. data/lib/mudbase/models/get_chat_details200_response_data.rb +167 -0
  480. data/lib/mudbase/models/get_chat_details200_response_data_participants_inner.rb +156 -0
  481. data/lib/mudbase/models/get_chat_messages200_response.rb +156 -0
  482. data/lib/mudbase/models/get_chat_messages200_response_data.rb +158 -0
  483. data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner.rb +174 -0
  484. data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner_sender.rb +156 -0
  485. data/lib/mudbase/models/get_checkout_payment200_response.rb +156 -0
  486. data/lib/mudbase/models/get_checkout_payment200_response_data.rb +224 -0
  487. data/lib/mudbase/models/get_current_user200_response.rb +147 -0
  488. data/lib/mudbase/models/get_event_throughput200_response.rb +185 -0
  489. data/lib/mudbase/models/get_function_versions200_response.rb +156 -0
  490. data/lib/mudbase/models/get_function_versions200_response_data.rb +149 -0
  491. data/lib/mudbase/models/get_function_versions200_response_data_versions_inner.rb +192 -0
  492. data/lib/mudbase/models/get_historical_analytics200_response.rb +176 -0
  493. data/lib/mudbase/models/get_historical_analytics200_response_data_inner.rb +165 -0
  494. data/lib/mudbase/models/get_integrations200_response.rb +149 -0
  495. data/lib/mudbase/models/get_integrations200_response_integrations_inner.rb +174 -0
  496. data/lib/mudbase/models/get_local_session200_response.rb +156 -0
  497. data/lib/mudbase/models/get_multi_role_config200_response.rb +156 -0
  498. data/lib/mudbase/models/get_multi_role_config200_response_data.rb +176 -0
  499. data/lib/mudbase/models/get_non_custodial_balance200_response.rb +156 -0
  500. data/lib/mudbase/models/get_non_custodial_transaction_by_hash200_response.rb +156 -0
  501. data/lib/mudbase/models/get_non_custodial_transaction_by_hash400_response.rb +156 -0
  502. data/lib/mudbase/models/get_non_custodial_transactions200_response.rb +167 -0
  503. data/lib/mudbase/models/get_non_custodial_transactions200_response_pagination.rb +201 -0
  504. data/lib/mudbase/models/get_project_analytics200_response.rb +183 -0
  505. data/lib/mudbase/models/get_public_plans200_response.rb +149 -0
  506. data/lib/mudbase/models/get_role_elevation_status200_response.rb +149 -0
  507. data/lib/mudbase/models/get_search_analytics200_response.rb +176 -0
  508. data/lib/mudbase/models/get_search_analytics200_response_top_queries_inner.rb +156 -0
  509. data/lib/mudbase/models/get_search_suggestions200_response.rb +149 -0
  510. data/lib/mudbase/models/get_speed_up_params200_response.rb +156 -0
  511. data/lib/mudbase/models/get_speed_up_params200_response_data.rb +229 -0
  512. data/lib/mudbase/models/get_speed_up_params_request.rb +209 -0
  513. data/lib/mudbase/models/get_user_chats200_response.rb +156 -0
  514. data/lib/mudbase/models/get_user_chats200_response_data.rb +158 -0
  515. data/lib/mudbase/models/get_user_chats200_response_data_chats_inner.rb +183 -0
  516. data/lib/mudbase/models/get_user_chats200_response_data_chats_inner_last_message.rb +147 -0
  517. data/lib/mudbase/models/get_wallet_webhook_logs200_response.rb +158 -0
  518. data/lib/mudbase/models/handle_crypto_payment_webhook200_response.rb +147 -0
  519. data/lib/mudbase/models/handle_crypto_payment_webhook_request.rb +214 -0
  520. data/lib/mudbase/models/handle_crypto_payment_webhook_request_data.rb +201 -0
  521. data/lib/mudbase/models/handle_flutterwave_webhook_request.rb +157 -0
  522. data/lib/mudbase/models/handle_flutterwave_webhook_request_data.rb +211 -0
  523. data/lib/mudbase/models/handle_flutterwave_webhook_request_data_customer.rb +156 -0
  524. data/lib/mudbase/models/health_response.rb +218 -0
  525. data/lib/mudbase/models/health_response_services.rb +183 -0
  526. data/lib/mudbase/models/initialize_payment_for_project_request.rb +219 -0
  527. data/lib/mudbase/models/initialize_payment_for_project_request_customer.rb +173 -0
  528. data/lib/mudbase/models/initiate_o_auth200_response.rb +148 -0
  529. data/lib/mudbase/models/initiate_o_auth400_response.rb +147 -0
  530. data/lib/mudbase/models/initiate_o_auth404_response.rb +147 -0
  531. data/lib/mudbase/models/invite_member_request.rb +215 -0
  532. data/lib/mudbase/models/limits.rb +202 -0
  533. data/lib/mudbase/models/link_o_auth_provider200_response.rb +147 -0
  534. data/lib/mudbase/models/list_collections200_response.rb +158 -0
  535. data/lib/mudbase/models/list_non_custodial_addresses200_response.rb +167 -0
  536. data/lib/mudbase/models/list_o_auth_providers200_response.rb +149 -0
  537. data/lib/mudbase/models/list_o_auth_providers200_response_providers_inner.rb +174 -0
  538. data/lib/mudbase/models/list_wallet_webhooks200_response.rb +167 -0
  539. data/lib/mudbase/models/log_security_event200_response.rb +156 -0
  540. data/lib/mudbase/models/log_security_event200_response_event.rb +174 -0
  541. data/lib/mudbase/models/log_security_event_request.rb +225 -0
  542. data/lib/mudbase/models/log_security_event_request_details.rb +192 -0
  543. data/lib/mudbase/models/login_local_user200_response.rb +165 -0
  544. data/lib/mudbase/models/login_local_user200_response_user.rb +201 -0
  545. data/lib/mudbase/models/login_local_user403_response.rb +165 -0
  546. data/lib/mudbase/models/login_local_user_request.rb +199 -0
  547. data/lib/mudbase/models/login_request.rb +191 -0
  548. data/lib/mudbase/models/magic_link_request.rb +200 -0
  549. data/lib/mudbase/models/mark_messages_as_read200_response.rb +156 -0
  550. data/lib/mudbase/models/mark_messages_as_read200_response_data.rb +147 -0
  551. data/lib/mudbase/models/mark_messages_as_read_request.rb +166 -0
  552. data/lib/mudbase/models/message.rb +275 -0
  553. data/lib/mudbase/models/message_history_response.rb +157 -0
  554. data/lib/mudbase/models/message_history_response_data.rb +158 -0
  555. data/lib/mudbase/models/message_response.rb +148 -0
  556. data/lib/mudbase/models/message_sent_response.rb +157 -0
  557. data/lib/mudbase/models/message_sent_response_data.rb +210 -0
  558. data/lib/mudbase/models/message_stats_response.rb +157 -0
  559. data/lib/mudbase/models/message_stats_response_data.rb +183 -0
  560. data/lib/mudbase/models/message_stats_response_data_by_status.rb +165 -0
  561. data/lib/mudbase/models/message_stats_response_data_by_type.rb +165 -0
  562. data/lib/mudbase/models/message_stats_response_data_period.rb +156 -0
  563. data/lib/mudbase/models/non_custodial_address.rb +284 -0
  564. data/lib/mudbase/models/non_custodial_address_response.rb +166 -0
  565. data/lib/mudbase/models/oauth_callback200_response.rb +156 -0
  566. data/lib/mudbase/models/oauth_signup_with_role400_response.rb +156 -0
  567. data/lib/mudbase/models/organization.rb +257 -0
  568. data/lib/mudbase/models/organization_summary.rb +166 -0
  569. data/lib/mudbase/models/otp_send_request.rb +233 -0
  570. data/lib/mudbase/models/otp_verify_request.rb +200 -0
  571. data/lib/mudbase/models/pagination.rb +175 -0
  572. data/lib/mudbase/models/payment_intent.rb +393 -0
  573. data/lib/mudbase/models/payment_refund.rb +319 -0
  574. data/lib/mudbase/models/payment_subscription.rb +357 -0
  575. data/lib/mudbase/models/permission.rb +201 -0
  576. data/lib/mudbase/models/plan.rb +186 -0
  577. data/lib/mudbase/models/presigned_post_response.rb +179 -0
  578. data/lib/mudbase/models/project.rb +247 -0
  579. data/lib/mudbase/models/project_settings.rb +254 -0
  580. data/lib/mudbase/models/project_summary.rb +166 -0
  581. data/lib/mudbase/models/project_usage.rb +184 -0
  582. data/lib/mudbase/models/project_usage_response.rb +157 -0
  583. data/lib/mudbase/models/project_usage_stats_response.rb +166 -0
  584. data/lib/mudbase/models/project_usage_stats_response_project.rb +156 -0
  585. data/lib/mudbase/models/push_notification_request.rb +237 -0
  586. data/lib/mudbase/models/rate_limit.rb +157 -0
  587. data/lib/mudbase/models/record_usage_request.rb +219 -0
  588. data/lib/mudbase/models/register_local_user201_response.rb +196 -0
  589. data/lib/mudbase/models/register_local_user201_response_user.rb +192 -0
  590. data/lib/mudbase/models/register_local_user429_response.rb +208 -0
  591. data/lib/mudbase/models/register_local_user_request.rb +277 -0
  592. data/lib/mudbase/models/register_non_custodial_address_request.rb +246 -0
  593. data/lib/mudbase/models/register_request.rb +261 -0
  594. data/lib/mudbase/models/register_with_role_request.rb +268 -0
  595. data/lib/mudbase/models/remove_participant_request.rb +164 -0
  596. data/lib/mudbase/models/remove_reaction200_response.rb +158 -0
  597. data/lib/mudbase/models/remove_reaction200_response_data_inner.rb +167 -0
  598. data/lib/mudbase/models/request_local_password_reset_request.rb +174 -0
  599. data/lib/mudbase/models/request_role_elevation200_response.rb +240 -0
  600. data/lib/mudbase/models/request_role_elevation_request.rb +164 -0
  601. data/lib/mudbase/models/reset_local_password_request.rb +182 -0
  602. data/lib/mudbase/models/rollback_function_request.rb +165 -0
  603. data/lib/mudbase/models/search_response.rb +157 -0
  604. data/lib/mudbase/models/search_response_data.rb +176 -0
  605. data/lib/mudbase/models/search_result.rb +166 -0
  606. data/lib/mudbase/models/search_result_item.rb +156 -0
  607. data/lib/mudbase/models/send_message201_response.rb +156 -0
  608. data/lib/mudbase/models/send_message201_response_data.rb +174 -0
  609. data/lib/mudbase/models/send_message_request.rb +234 -0
  610. data/lib/mudbase/models/session_response.rb +157 -0
  611. data/lib/mudbase/models/signed_url_response.rb +178 -0
  612. data/lib/mudbase/models/simulate_function_trigger_request.rb +168 -0
  613. data/lib/mudbase/models/sms_request.rb +200 -0
  614. data/lib/mudbase/models/storage_config.rb +150 -0
  615. data/lib/mudbase/models/system_status_response.rb +157 -0
  616. data/lib/mudbase/models/system_status_response_data.rb +192 -0
  617. data/lib/mudbase/models/system_status_response_data_cpu.rb +156 -0
  618. data/lib/mudbase/models/system_status_response_data_database.rb +165 -0
  619. data/lib/mudbase/models/system_status_response_data_memory.rb +165 -0
  620. data/lib/mudbase/models/system_status_response_data_requests.rb +174 -0
  621. data/lib/mudbase/models/system_status_response_data_storage.rb +165 -0
  622. data/lib/mudbase/models/test_wallet_webhook200_response.rb +156 -0
  623. data/lib/mudbase/models/test_wallet_webhook_request.rb +191 -0
  624. data/lib/mudbase/models/toggle_role_request.rb +164 -0
  625. data/lib/mudbase/models/trigger_function_webhook200_response.rb +168 -0
  626. data/lib/mudbase/models/trigger_function_webhook400_response.rb +156 -0
  627. data/lib/mudbase/models/trigger_function_webhook401_response.rb +156 -0
  628. data/lib/mudbase/models/trigger_webhook_request.rb +254 -0
  629. data/lib/mudbase/models/two_fa_setup_response.rb +166 -0
  630. data/lib/mudbase/models/unlink_o_auth_provider200_response.rb +156 -0
  631. data/lib/mudbase/models/update_api_key_request.rb +205 -0
  632. data/lib/mudbase/models/update_bucket_request.rb +169 -0
  633. data/lib/mudbase/models/update_collection_permissions_request.rb +180 -0
  634. data/lib/mudbase/models/update_collection_request.rb +179 -0
  635. data/lib/mudbase/models/update_function_request.rb +221 -0
  636. data/lib/mudbase/models/update_function_request_limits.rb +176 -0
  637. data/lib/mudbase/models/update_function_request_retry_policy.rb +165 -0
  638. data/lib/mudbase/models/update_multi_role_settings200_response.rb +165 -0
  639. data/lib/mudbase/models/update_multi_role_settings_request.rb +165 -0
  640. data/lib/mudbase/models/update_multi_role_settings_request_settings.rb +156 -0
  641. data/lib/mudbase/models/update_organization_request.rb +185 -0
  642. data/lib/mudbase/models/update_project_request.rb +185 -0
  643. data/lib/mudbase/models/update_project_role_request.rb +192 -0
  644. data/lib/mudbase/models/update_user_profile200_response.rb +156 -0
  645. data/lib/mudbase/models/update_user_request.rb +166 -0
  646. data/lib/mudbase/models/update_wallet_webhook200_response.rb +156 -0
  647. data/lib/mudbase/models/update_wallet_webhook_request.rb +176 -0
  648. data/lib/mudbase/models/upload_files_to_bucket_metadata_request.rb +159 -0
  649. data/lib/mudbase/models/upload_files_to_bucket_request.rb +187 -0
  650. data/lib/mudbase/models/upload_verification_documents_request.rb +192 -0
  651. data/lib/mudbase/models/upload_verification_documents_request_documents_inner.rb +156 -0
  652. data/lib/mudbase/models/usage.rb +202 -0
  653. data/lib/mudbase/models/usage_response.rb +175 -0
  654. data/lib/mudbase/models/usage_stats_response.rb +184 -0
  655. data/lib/mudbase/models/usage_stats_response_percentages.rb +165 -0
  656. data/lib/mudbase/models/usage_trends_response.rb +159 -0
  657. data/lib/mudbase/models/usage_trends_response_trends_inner.rb +192 -0
  658. data/lib/mudbase/models/usage_trends_response_trends_inner_id.rb +165 -0
  659. data/lib/mudbase/models/user.rb +299 -0
  660. data/lib/mudbase/models/user_summary.rb +175 -0
  661. data/lib/mudbase/models/verify2_fa_request.rb +164 -0
  662. data/lib/mudbase/models/verify_email_request.rb +175 -0
  663. data/lib/mudbase/models/verify_magic_link_request.rb +164 -0
  664. data/lib/mudbase/models/verify_payment200_response.rb +165 -0
  665. data/lib/mudbase/models/verify_payment200_response_data.rb +147 -0
  666. data/lib/mudbase/models/verify_payment200_response_data_subscription.rb +208 -0
  667. data/lib/mudbase/models/wallet_balance.rb +205 -0
  668. data/lib/mudbase/models/wallet_transaction.rb +379 -0
  669. data/lib/mudbase/models/wallet_transaction_webhook_payload.rb +167 -0
  670. data/lib/mudbase/models/wallet_webhook.rb +235 -0
  671. data/lib/mudbase/models/wallet_webhook_filters.rb +182 -0
  672. data/lib/mudbase/models/wallet_webhook_stats.rb +175 -0
  673. data/lib/mudbase/models/webhook_list_response.rb +186 -0
  674. data/lib/mudbase/models/webhook_log.rb +290 -0
  675. data/lib/mudbase/models/webhook_stats_response.rb +170 -0
  676. data/lib/mudbase/models/webhook_stats_response_event_stats_inner.rb +165 -0
  677. data/lib/mudbase/models/webhook_stats_response_status_stats_inner.rb +165 -0
  678. data/lib/mudbase/version.rb +15 -0
  679. data/lib/mudbase.rb +374 -0
  680. data/mudbase.gemspec +39 -0
  681. data/spec/api/authentication_api_spec.rb +228 -0
  682. data/spec/api/billing_api_spec.rb +163 -0
  683. data/spec/api/buckets_api_spec.rb +103 -0
  684. data/spec/api/chat_api_spec.rb +207 -0
  685. data/spec/api/collections_api_spec.rb +100 -0
  686. data/spec/api/compliance_api_spec.rb +47 -0
  687. data/spec/api/data_api_spec.rb +109 -0
  688. data/spec/api/files_api_spec.rb +159 -0
  689. data/spec/api/functions_api_spec.rb +229 -0
  690. data/spec/api/health_api_spec.rb +57 -0
  691. data/spec/api/integrations_api_spec.rb +61 -0
  692. data/spec/api/messaging_api_spec.rb +104 -0
  693. data/spec/api/multi_role_feature_api_spec.rb +156 -0
  694. data/spec/api/real_time_analytics_api_spec.rb +98 -0
  695. data/spec/api/role_elevation_api_spec.rb +74 -0
  696. data/spec/api/search_api_spec.rb +79 -0
  697. data/spec/api/usage_api_spec.rb +60 -0
  698. data/spec/api/users_api_spec.rb +187 -0
  699. data/spec/api/wallet_api_spec.rb +245 -0
  700. data/spec/api/webhooks_api_spec.rb +48 -0
  701. data/spec/models/add_custom_role_request_default_permissions_inner_spec.rb +42 -0
  702. data/spec/models/add_custom_role_request_spec.rb +66 -0
  703. data/spec/models/add_participant200_response_data_participants_inner_spec.rb +48 -0
  704. data/spec/models/add_participant200_response_data_spec.rb +36 -0
  705. data/spec/models/add_participant200_response_spec.rb +42 -0
  706. data/spec/models/add_participant_request_spec.rb +46 -0
  707. data/spec/models/add_reaction200_response_data_inner_spec.rb +42 -0
  708. data/spec/models/add_reaction200_response_spec.rb +42 -0
  709. data/spec/models/add_reaction_request_spec.rb +36 -0
  710. data/spec/models/api_key_permission_spec.rb +50 -0
  711. data/spec/models/api_key_spec.rb +90 -0
  712. data/spec/models/api_key_usage_response_spec.rb +54 -0
  713. data/spec/models/api_key_usage_spec.rb +42 -0
  714. data/spec/models/api_key_with_secret_spec.rb +96 -0
  715. data/spec/models/auth_config_spec.rb +42 -0
  716. data/spec/models/auth_provider_spec.rb +48 -0
  717. data/spec/models/auth_response_spec.rb +48 -0
  718. data/spec/models/billing_last_payment_spec.rb +48 -0
  719. data/spec/models/billing_spec.rb +48 -0
  720. data/spec/models/broadcast_non_custodial_transaction200_response_data_spec.rb +54 -0
  721. data/spec/models/broadcast_non_custodial_transaction200_response_spec.rb +48 -0
  722. data/spec/models/broadcast_non_custodial_transaction_request_spec.rb +52 -0
  723. data/spec/models/bucket_list_response_spec.rb +48 -0
  724. data/spec/models/bucket_response_spec.rb +48 -0
  725. data/spec/models/bucket_spec.rb +66 -0
  726. data/spec/models/change_password_request_spec.rb +42 -0
  727. data/spec/models/check_feature_access200_response_spec.rb +42 -0
  728. data/spec/models/check_subscription200_response_spec.rb +42 -0
  729. data/spec/models/check_subscription200_response_subscription_spec.rb +42 -0
  730. data/spec/models/check_user_presence200_response_presence_value_spec.rb +42 -0
  731. data/spec/models/check_user_presence200_response_spec.rb +42 -0
  732. data/spec/models/check_user_presence_request_spec.rb +36 -0
  733. data/spec/models/collection_spec.rb +84 -0
  734. data/spec/models/confirm_direct_upload400_response_spec.rb +42 -0
  735. data/spec/models/confirm_direct_upload_request_spec.rb +72 -0
  736. data/spec/models/confirm_local_password_reset_with_otp_request_spec.rb +54 -0
  737. data/spec/models/confirm_upload_response_scan_spec.rb +54 -0
  738. data/spec/models/confirm_upload_response_spec.rb +52 -0
  739. data/spec/models/convert_anonymous_account200_response_spec.rb +48 -0
  740. data/spec/models/convert_anonymous_account_request_spec.rb +54 -0
  741. data/spec/models/create_anonymous_session200_response_spec.rb +54 -0
  742. data/spec/models/create_anonymous_session200_response_user_spec.rb +66 -0
  743. data/spec/models/create_anonymous_session_request_spec.rb +42 -0
  744. data/spec/models/create_api_key_request_spec.rb +60 -0
  745. data/spec/models/create_bucket_request_spec.rb +48 -0
  746. data/spec/models/create_chat201_response_data_spec.rb +60 -0
  747. data/spec/models/create_chat201_response_spec.rb +42 -0
  748. data/spec/models/create_chat_request_spec.rb +64 -0
  749. data/spec/models/create_checkout_session200_response_data_payment_options_inner_spec.rb +74 -0
  750. data/spec/models/create_checkout_session200_response_data_spec.rb +96 -0
  751. data/spec/models/create_checkout_session200_response_spec.rb +42 -0
  752. data/spec/models/create_checkout_session400_response_spec.rb +36 -0
  753. data/spec/models/create_checkout_session_request_customer_info_spec.rb +42 -0
  754. data/spec/models/create_checkout_session_request_spec.rb +64 -0
  755. data/spec/models/create_collection201_response_spec.rb +42 -0
  756. data/spec/models/create_collection_request_spec.rb +60 -0
  757. data/spec/models/create_function_request_spec.rb +60 -0
  758. data/spec/models/create_project_request_spec.rb +48 -0
  759. data/spec/models/create_wallet_webhook201_response_spec.rb +48 -0
  760. data/spec/models/create_wallet_webhook_request_filters_spec.rb +46 -0
  761. data/spec/models/create_wallet_webhook_request_spec.rb +64 -0
  762. data/spec/models/data_list_response_data_inner_spec.rb +48 -0
  763. data/spec/models/data_list_response_spec.rb +42 -0
  764. data/spec/models/data_response_spec.rb +42 -0
  765. data/spec/models/database_config_spec.rb +36 -0
  766. data/spec/models/delete_function200_response_spec.rb +42 -0
  767. data/spec/models/disable2_fa_request_spec.rb +42 -0
  768. data/spec/models/download_bucket_file403_response_spec.rb +36 -0
  769. data/spec/models/download_bucket_file404_response_spec.rb +36 -0
  770. data/spec/models/edit_message200_response_data_spec.rb +48 -0
  771. data/spec/models/edit_message200_response_spec.rb +42 -0
  772. data/spec/models/edit_message_request_spec.rb +36 -0
  773. data/spec/models/email_request_spec.rb +66 -0
  774. data/spec/models/email_request_to_spec.rb +32 -0
  775. data/spec/models/erase_user_data200_response_details_spec.rb +60 -0
  776. data/spec/models/erase_user_data200_response_spec.rb +42 -0
  777. data/spec/models/erase_user_data_request_spec.rb +46 -0
  778. data/spec/models/error_details_spec.rb +32 -0
  779. data/spec/models/error_spec.rb +66 -0
  780. data/spec/models/estimate_non_custodial_gas200_response_data_spec.rb +96 -0
  781. data/spec/models/estimate_non_custodial_gas200_response_spec.rb +42 -0
  782. data/spec/models/estimate_non_custodial_gas_request_spec.rb +46 -0
  783. data/spec/models/estimate_non_custodial_gas_request_transaction_spec.rb +66 -0
  784. data/spec/models/execute_function_request_spec.rb +36 -0
  785. data/spec/models/execute_integration_request_spec.rb +58 -0
  786. data/spec/models/export_user_data200_response_spec.rb +78 -0
  787. data/spec/models/field_default_spec.rb +32 -0
  788. data/spec/models/field_spec.rb +76 -0
  789. data/spec/models/file_list_response_spec.rb +42 -0
  790. data/spec/models/file_metadata_spec.rb +102 -0
  791. data/spec/models/file_response_spec.rb +42 -0
  792. data/spec/models/file_upload_response_spec.rb +42 -0
  793. data/spec/models/function_execution_response_data_spec.rb +54 -0
  794. data/spec/models/function_execution_response_spec.rb +42 -0
  795. data/spec/models/function_execution_spec.rb +100 -0
  796. data/spec/models/function_list_response_data_spec.rb +42 -0
  797. data/spec/models/function_list_response_spec.rb +42 -0
  798. data/spec/models/function_logs_response_data_spec.rb +42 -0
  799. data/spec/models/function_logs_response_spec.rb +42 -0
  800. data/spec/models/function_response_spec.rb +42 -0
  801. data/spec/models/function_spec.rb +90 -0
  802. data/spec/models/function_stats_spec.rb +60 -0
  803. data/spec/models/function_trigger_spec.rb +80 -0
  804. data/spec/models/generate_presigned_upload_request_spec.rb +60 -0
  805. data/spec/models/generate_signed_url_request_spec.rb +36 -0
  806. data/spec/models/get_active_users200_response_spec.rb +48 -0
  807. data/spec/models/get_active_users200_response_users_inner_spec.rb +48 -0
  808. data/spec/models/get_available_o_auth_providers200_response_providers_inner_spec.rb +66 -0
  809. data/spec/models/get_available_o_auth_providers200_response_spec.rb +42 -0
  810. data/spec/models/get_available_roles200_response_data_inner_spec.rb +72 -0
  811. data/spec/models/get_available_roles200_response_spec.rb +42 -0
  812. data/spec/models/get_cancel_params200_response_data_spec.rb +90 -0
  813. data/spec/models/get_cancel_params200_response_spec.rb +42 -0
  814. data/spec/models/get_cancel_params_request_spec.rb +52 -0
  815. data/spec/models/get_chat_details200_response_data_participants_inner_spec.rb +42 -0
  816. data/spec/models/get_chat_details200_response_data_spec.rb +48 -0
  817. data/spec/models/get_chat_details200_response_spec.rb +42 -0
  818. data/spec/models/get_chat_messages200_response_data_messages_inner_sender_spec.rb +42 -0
  819. data/spec/models/get_chat_messages200_response_data_messages_inner_spec.rb +54 -0
  820. data/spec/models/get_chat_messages200_response_data_spec.rb +42 -0
  821. data/spec/models/get_chat_messages200_response_spec.rb +42 -0
  822. data/spec/models/get_checkout_payment200_response_data_spec.rb +84 -0
  823. data/spec/models/get_checkout_payment200_response_spec.rb +42 -0
  824. data/spec/models/get_current_user200_response_spec.rb +36 -0
  825. data/spec/models/get_event_throughput200_response_spec.rb +60 -0
  826. data/spec/models/get_function_versions200_response_data_spec.rb +36 -0
  827. data/spec/models/get_function_versions200_response_data_versions_inner_spec.rb +66 -0
  828. data/spec/models/get_function_versions200_response_spec.rb +42 -0
  829. data/spec/models/get_historical_analytics200_response_data_inner_spec.rb +48 -0
  830. data/spec/models/get_historical_analytics200_response_spec.rb +54 -0
  831. data/spec/models/get_integrations200_response_integrations_inner_spec.rb +54 -0
  832. data/spec/models/get_integrations200_response_spec.rb +36 -0
  833. data/spec/models/get_local_session200_response_spec.rb +42 -0
  834. data/spec/models/get_multi_role_config200_response_data_spec.rb +54 -0
  835. data/spec/models/get_multi_role_config200_response_spec.rb +42 -0
  836. data/spec/models/get_non_custodial_balance200_response_spec.rb +42 -0
  837. data/spec/models/get_non_custodial_transaction_by_hash200_response_spec.rb +42 -0
  838. data/spec/models/get_non_custodial_transaction_by_hash400_response_spec.rb +42 -0
  839. data/spec/models/get_non_custodial_transactions200_response_pagination_spec.rb +72 -0
  840. data/spec/models/get_non_custodial_transactions200_response_spec.rb +48 -0
  841. data/spec/models/get_project_analytics200_response_spec.rb +60 -0
  842. data/spec/models/get_public_plans200_response_spec.rb +36 -0
  843. data/spec/models/get_role_elevation_status200_response_spec.rb +36 -0
  844. data/spec/models/get_search_analytics200_response_spec.rb +54 -0
  845. data/spec/models/get_search_analytics200_response_top_queries_inner_spec.rb +42 -0
  846. data/spec/models/get_search_suggestions200_response_spec.rb +36 -0
  847. data/spec/models/get_speed_up_params200_response_data_spec.rb +90 -0
  848. data/spec/models/get_speed_up_params200_response_spec.rb +42 -0
  849. data/spec/models/get_speed_up_params_request_spec.rb +52 -0
  850. data/spec/models/get_user_chats200_response_data_chats_inner_last_message_spec.rb +36 -0
  851. data/spec/models/get_user_chats200_response_data_chats_inner_spec.rb +60 -0
  852. data/spec/models/get_user_chats200_response_data_spec.rb +42 -0
  853. data/spec/models/get_user_chats200_response_spec.rb +42 -0
  854. data/spec/models/get_wallet_webhook_logs200_response_spec.rb +42 -0
  855. data/spec/models/handle_crypto_payment_webhook200_response_spec.rb +36 -0
  856. data/spec/models/handle_crypto_payment_webhook_request_data_spec.rb +72 -0
  857. data/spec/models/handle_crypto_payment_webhook_request_spec.rb +46 -0
  858. data/spec/models/handle_flutterwave_webhook_request_data_customer_spec.rb +42 -0
  859. data/spec/models/handle_flutterwave_webhook_request_data_spec.rb +78 -0
  860. data/spec/models/handle_flutterwave_webhook_request_spec.rb +42 -0
  861. data/spec/models/health_response_services_spec.rb +60 -0
  862. data/spec/models/health_response_spec.rb +64 -0
  863. data/spec/models/initialize_payment_for_project_request_customer_spec.rb +42 -0
  864. data/spec/models/initialize_payment_for_project_request_spec.rb +54 -0
  865. data/spec/models/initiate_o_auth200_response_spec.rb +36 -0
  866. data/spec/models/initiate_o_auth400_response_spec.rb +36 -0
  867. data/spec/models/initiate_o_auth404_response_spec.rb +36 -0
  868. data/spec/models/invite_member_request_spec.rb +46 -0
  869. data/spec/models/limits_spec.rb +72 -0
  870. data/spec/models/link_o_auth_provider200_response_spec.rb +36 -0
  871. data/spec/models/list_collections200_response_spec.rb +42 -0
  872. data/spec/models/list_non_custodial_addresses200_response_spec.rb +48 -0
  873. data/spec/models/list_o_auth_providers200_response_providers_inner_spec.rb +54 -0
  874. data/spec/models/list_o_auth_providers200_response_spec.rb +36 -0
  875. data/spec/models/list_wallet_webhooks200_response_spec.rb +48 -0
  876. data/spec/models/log_security_event200_response_event_spec.rb +54 -0
  877. data/spec/models/log_security_event200_response_spec.rb +42 -0
  878. data/spec/models/log_security_event_request_details_spec.rb +66 -0
  879. data/spec/models/log_security_event_request_spec.rb +56 -0
  880. data/spec/models/login_local_user200_response_spec.rb +48 -0
  881. data/spec/models/login_local_user200_response_user_spec.rb +72 -0
  882. data/spec/models/login_local_user403_response_spec.rb +48 -0
  883. data/spec/models/login_local_user_request_spec.rb +48 -0
  884. data/spec/models/login_request_spec.rb +42 -0
  885. data/spec/models/magic_link_request_spec.rb +48 -0
  886. data/spec/models/mark_messages_as_read200_response_data_spec.rb +36 -0
  887. data/spec/models/mark_messages_as_read200_response_spec.rb +42 -0
  888. data/spec/models/mark_messages_as_read_request_spec.rb +36 -0
  889. data/spec/models/message_history_response_data_spec.rb +42 -0
  890. data/spec/models/message_history_response_spec.rb +42 -0
  891. data/spec/models/message_response_spec.rb +36 -0
  892. data/spec/models/message_sent_response_data_spec.rb +78 -0
  893. data/spec/models/message_sent_response_spec.rb +42 -0
  894. data/spec/models/message_spec.rb +98 -0
  895. data/spec/models/message_stats_response_data_by_status_spec.rb +48 -0
  896. data/spec/models/message_stats_response_data_by_type_spec.rb +48 -0
  897. data/spec/models/message_stats_response_data_period_spec.rb +42 -0
  898. data/spec/models/message_stats_response_data_spec.rb +60 -0
  899. data/spec/models/message_stats_response_spec.rb +42 -0
  900. data/spec/models/non_custodial_address_response_spec.rb +48 -0
  901. data/spec/models/non_custodial_address_spec.rb +106 -0
  902. data/spec/models/oauth_callback200_response_spec.rb +42 -0
  903. data/spec/models/oauth_signup_with_role400_response_spec.rb +42 -0
  904. data/spec/models/organization_spec.rb +108 -0
  905. data/spec/models/organization_summary_spec.rb +48 -0
  906. data/spec/models/otp_send_request_spec.rb +58 -0
  907. data/spec/models/otp_verify_request_spec.rb +48 -0
  908. data/spec/models/pagination_spec.rb +54 -0
  909. data/spec/models/payment_intent_spec.rb +158 -0
  910. data/spec/models/payment_refund_spec.rb +124 -0
  911. data/spec/models/payment_subscription_spec.rb +136 -0
  912. data/spec/models/permission_spec.rb +58 -0
  913. data/spec/models/plan_spec.rb +60 -0
  914. data/spec/models/presigned_post_response_spec.rb +54 -0
  915. data/spec/models/project_settings_spec.rb +76 -0
  916. data/spec/models/project_spec.rb +102 -0
  917. data/spec/models/project_summary_spec.rb +48 -0
  918. data/spec/models/project_usage_response_spec.rb +42 -0
  919. data/spec/models/project_usage_spec.rb +60 -0
  920. data/spec/models/project_usage_stats_response_project_spec.rb +42 -0
  921. data/spec/models/project_usage_stats_response_spec.rb +48 -0
  922. data/spec/models/push_notification_request_spec.rb +60 -0
  923. data/spec/models/rate_limit_spec.rb +42 -0
  924. data/spec/models/record_usage_request_spec.rb +48 -0
  925. data/spec/models/register_local_user201_response_spec.rb +66 -0
  926. data/spec/models/register_local_user201_response_user_spec.rb +66 -0
  927. data/spec/models/register_local_user429_response_spec.rb +72 -0
  928. data/spec/models/register_local_user_request_spec.rb +60 -0
  929. data/spec/models/register_non_custodial_address_request_spec.rb +64 -0
  930. data/spec/models/register_request_spec.rb +60 -0
  931. data/spec/models/register_with_role_request_spec.rb +60 -0
  932. data/spec/models/remove_participant_request_spec.rb +36 -0
  933. data/spec/models/remove_reaction200_response_data_inner_spec.rb +48 -0
  934. data/spec/models/remove_reaction200_response_spec.rb +42 -0
  935. data/spec/models/request_local_password_reset_request_spec.rb +42 -0
  936. data/spec/models/request_role_elevation200_response_spec.rb +74 -0
  937. data/spec/models/request_role_elevation_request_spec.rb +36 -0
  938. data/spec/models/reset_local_password_request_spec.rb +42 -0
  939. data/spec/models/rollback_function_request_spec.rb +36 -0
  940. data/spec/models/search_response_data_spec.rb +54 -0
  941. data/spec/models/search_response_spec.rb +42 -0
  942. data/spec/models/search_result_item_spec.rb +42 -0
  943. data/spec/models/search_result_spec.rb +48 -0
  944. data/spec/models/send_message201_response_data_spec.rb +54 -0
  945. data/spec/models/send_message201_response_spec.rb +42 -0
  946. data/spec/models/send_message_request_spec.rb +58 -0
  947. data/spec/models/session_response_spec.rb +42 -0
  948. data/spec/models/signed_url_response_spec.rb +54 -0
  949. data/spec/models/simulate_function_trigger_request_spec.rb +48 -0
  950. data/spec/models/sms_request_spec.rb +48 -0
  951. data/spec/models/storage_config_spec.rb +36 -0
  952. data/spec/models/system_status_response_data_cpu_spec.rb +42 -0
  953. data/spec/models/system_status_response_data_database_spec.rb +48 -0
  954. data/spec/models/system_status_response_data_memory_spec.rb +48 -0
  955. data/spec/models/system_status_response_data_requests_spec.rb +54 -0
  956. data/spec/models/system_status_response_data_spec.rb +66 -0
  957. data/spec/models/system_status_response_data_storage_spec.rb +48 -0
  958. data/spec/models/system_status_response_spec.rb +42 -0
  959. data/spec/models/test_wallet_webhook200_response_spec.rb +42 -0
  960. data/spec/models/test_wallet_webhook_request_spec.rb +54 -0
  961. data/spec/models/toggle_role_request_spec.rb +36 -0
  962. data/spec/models/trigger_function_webhook200_response_spec.rb +48 -0
  963. data/spec/models/trigger_function_webhook400_response_spec.rb +42 -0
  964. data/spec/models/trigger_function_webhook401_response_spec.rb +42 -0
  965. data/spec/models/trigger_webhook_request_spec.rb +60 -0
  966. data/spec/models/two_fa_setup_response_spec.rb +48 -0
  967. data/spec/models/unlink_o_auth_provider200_response_spec.rb +42 -0
  968. data/spec/models/update_api_key_request_spec.rb +54 -0
  969. data/spec/models/update_bucket_request_spec.rb +48 -0
  970. data/spec/models/update_collection_permissions_request_spec.rb +46 -0
  971. data/spec/models/update_collection_request_spec.rb +54 -0
  972. data/spec/models/update_function_request_limits_spec.rb +54 -0
  973. data/spec/models/update_function_request_retry_policy_spec.rb +48 -0
  974. data/spec/models/update_function_request_spec.rb +84 -0
  975. data/spec/models/update_multi_role_settings200_response_spec.rb +48 -0
  976. data/spec/models/update_multi_role_settings_request_settings_spec.rb +42 -0
  977. data/spec/models/update_multi_role_settings_request_spec.rb +48 -0
  978. data/spec/models/update_organization_request_spec.rb +60 -0
  979. data/spec/models/update_project_request_spec.rb +60 -0
  980. data/spec/models/update_project_role_request_spec.rb +66 -0
  981. data/spec/models/update_user_profile200_response_spec.rb +42 -0
  982. data/spec/models/update_user_request_spec.rb +48 -0
  983. data/spec/models/update_wallet_webhook200_response_spec.rb +42 -0
  984. data/spec/models/update_wallet_webhook_request_spec.rb +54 -0
  985. data/spec/models/upload_files_to_bucket_metadata_request_spec.rb +42 -0
  986. data/spec/models/upload_files_to_bucket_request_spec.rb +48 -0
  987. data/spec/models/upload_verification_documents_request_documents_inner_spec.rb +42 -0
  988. data/spec/models/upload_verification_documents_request_spec.rb +42 -0
  989. data/spec/models/usage_response_spec.rb +54 -0
  990. data/spec/models/usage_spec.rb +72 -0
  991. data/spec/models/usage_stats_response_percentages_spec.rb +48 -0
  992. data/spec/models/usage_stats_response_spec.rb +60 -0
  993. data/spec/models/usage_trends_response_spec.rb +42 -0
  994. data/spec/models/usage_trends_response_trends_inner_id_spec.rb +48 -0
  995. data/spec/models/usage_trends_response_trends_inner_spec.rb +66 -0
  996. data/spec/models/user_spec.rb +118 -0
  997. data/spec/models/user_summary_spec.rb +54 -0
  998. data/spec/models/verify2_fa_request_spec.rb +36 -0
  999. data/spec/models/verify_email_request_spec.rb +42 -0
  1000. data/spec/models/verify_magic_link_request_spec.rb +36 -0
  1001. data/spec/models/verify_payment200_response_data_spec.rb +36 -0
  1002. data/spec/models/verify_payment200_response_data_subscription_spec.rb +58 -0
  1003. data/spec/models/verify_payment200_response_spec.rb +48 -0
  1004. data/spec/models/wallet_balance_spec.rb +72 -0
  1005. data/spec/models/wallet_transaction_spec.rb +164 -0
  1006. data/spec/models/wallet_transaction_webhook_payload_spec.rb +48 -0
  1007. data/spec/models/wallet_webhook_filters_spec.rb +46 -0
  1008. data/spec/models/wallet_webhook_spec.rb +82 -0
  1009. data/spec/models/wallet_webhook_stats_spec.rb +54 -0
  1010. data/spec/models/webhook_list_response_spec.rb +60 -0
  1011. data/spec/models/webhook_log_spec.rb +112 -0
  1012. data/spec/models/webhook_stats_response_event_stats_inner_spec.rb +48 -0
  1013. data/spec/models/webhook_stats_response_spec.rb +48 -0
  1014. data/spec/models/webhook_stats_response_status_stats_inner_spec.rb +48 -0
  1015. data/spec/spec_helper.rb +111 -0
  1016. metadata +1451 -0
@@ -0,0 +1,187 @@
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
+
16
+ # Unit tests for Mudbase::UsersApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'UsersApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Mudbase::UsersApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of UsersApi' do
30
+ it 'should create an instance of UsersApi' do
31
+ expect(@api_instance).to be_instance_of(Mudbase::UsersApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for change_password
36
+ # Change password
37
+ # Change the current user's password. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
38
+ # @param change_password_request Current password and new password.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [MessageResponse]
41
+ describe 'change_password test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for disable2_fa
48
+ # Disable 2FA
49
+ # Disable two-factor authentication for the current user. Requires JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
50
+ # @param disable2_fa_request Current password and one-time code to confirm disable.
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [MessageResponse]
53
+ describe 'disable2_fa test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for erase_user_data
60
+ # Delete user data (GDPR Article 17)
61
+ # Request account erasure (right to be forgotten). Anonymizes PII and deactivates account with 7-day grace period. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
62
+ # @param erase_user_data_request Confirmation string (DELETE_MY_ACCOUNT) and optional reason for erasure.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [EraseUserData200Response]
65
+ describe 'erase_user_data test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for export_user_data
72
+ # Export user data (GDPR Article 15)
73
+ # Export all user data in JSON format for GDPR data portability compliance. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
74
+ # @param [Hash] opts the optional parameters
75
+ # @return [ExportUserData200Response]
76
+ describe 'export_user_data test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ # unit tests for get_current_user
83
+ # Get current user profile
84
+ # Get the current authenticated user's profile. Accepts JWT Bearer token (ProjectBearerAuth).
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [GetCurrentUser200Response]
87
+ describe 'get_current_user test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
90
+ end
91
+ end
92
+
93
+ # unit tests for link_o_auth_provider
94
+ # Link OAuth provider to account
95
+ # Initiate OAuth flow to link a new provider to the current account. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
96
+ # @param provider OAuth provider to link (e.g. google, github).
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :project_id Project ID for the OAuth link context.
99
+ # @return [LinkOAuthProvider200Response]
100
+ describe 'link_o_auth_provider test' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
+ end
104
+ end
105
+
106
+ # unit tests for list_o_auth_providers
107
+ # List linked OAuth providers
108
+ # Get all OAuth providers linked to the current user's account. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [ListOAuthProviders200Response]
111
+ describe 'list_o_auth_providers test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
114
+ end
115
+ end
116
+
117
+ # unit tests for resend_verification_email
118
+ # Resend verification email
119
+ # Sends a new verification email to the authenticated user. Rate limited (e.g. 3 requests per 15 minutes per user). For project-scoped users the link includes project context.
120
+ # @param [Hash] opts the optional parameters
121
+ # @return [MessageResponse]
122
+ describe 'resend_verification_email test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
125
+ end
126
+ end
127
+
128
+ # unit tests for setup2_fa
129
+ # Initiate two-factor authentication setup (secret, QR code, backup codes)
130
+ # Initiates two-factor authentication setup for the current user. Returns a secret, QR code, and manual entry key for the user to add to an authenticator app. Requires JWT Bearer token (ProjectBearerAuth). API keys are not supported.
131
+ # @param [Hash] opts the optional parameters
132
+ # @return [TwoFASetupResponse]
133
+ describe 'setup2_fa test' do
134
+ it 'should work' do
135
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
136
+ end
137
+ end
138
+
139
+ # unit tests for unlink_o_auth_provider
140
+ # Unlink OAuth provider
141
+ # Remove an OAuth provider from the current account. Cannot unlink if it's the only authentication method. Requires JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
142
+ # @param provider OAuth provider to unlink (e.g. google, github).
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [UnlinkOAuthProvider200Response]
145
+ describe 'unlink_o_auth_provider test' do
146
+ it 'should work' do
147
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
148
+ end
149
+ end
150
+
151
+ # unit tests for update_user_profile
152
+ # Update user profile
153
+ # Update the current user's profile. Requires JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
154
+ # @param update_user_request Profile fields to update (firstName, lastName, avatar).
155
+ # @param [Hash] opts the optional parameters
156
+ # @return [UpdateUserProfile200Response]
157
+ describe 'update_user_profile test' do
158
+ it 'should work' do
159
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
160
+ end
161
+ end
162
+
163
+ # unit tests for verify2_fa
164
+ # Verify and enable 2FA
165
+ # Verify and enable two-factor authentication for the current user. Accepts JWT Bearer token (ProjectBearerAuth). API keys are not supported for this endpoint.
166
+ # @param verify2_fa_request One-time code from the authenticator app.
167
+ # @param [Hash] opts the optional parameters
168
+ # @return [MessageResponse]
169
+ describe 'verify2_fa test' do
170
+ it 'should work' do
171
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
172
+ end
173
+ end
174
+
175
+ # unit tests for verify_email
176
+ # Verify email address (organization and project)
177
+ # Verifies the user's email using the token from the link sent at signup. Works for both organization (platform) and project-based signups; the token is from the verification link (e.g. verify-email?token=... for org, or verify-email?token=...&project=... for project).
178
+ # @param verify_email_request Verification token from the email link; optional projectId for project context.
179
+ # @param [Hash] opts the optional parameters
180
+ # @return [MessageResponse]
181
+ describe 'verify_email test' do
182
+ it 'should work' do
183
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
184
+ end
185
+ end
186
+
187
+ end
@@ -0,0 +1,245 @@
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
+
16
+ # Unit tests for Mudbase::WalletApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WalletApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Mudbase::WalletApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WalletApi' do
30
+ it 'should create an instance of WalletApi' do
31
+ expect(@api_instance).to be_instance_of(Mudbase::WalletApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for broadcast_non_custodial_transaction
36
+ # Broadcast a client-signed transaction
37
+ # Broadcast a transaction that has been signed client-side. The transaction must be fully signed before sending. The fromAddress must be registered and belong to your organization (POST /api/wallet/non-custodial/register-address). **Supported chains:** EVM (ethereum, polygon, arbitrum, optimism, base, bsc, binance, avalanche, celo), UTXO (bitcoin, litecoin, dogecoin), and chain-specific (tron, solana, ton, cardano). Use `binance` or `bsc` for BNB Smart Chain. **Testing with custodial:** You can create a wallet via POST /api/wallet/create, get its private key via GET /api/wallet/{walletId}/private-key, register that address with POST /api/wallet/non-custodial/register-address, then build a signed tx (using POST /api/wallet/estimate-network-fee or estimate-gas for fees) and broadcast it here to test the non-custodial flow end-to-end.
38
+ # @param broadcast_non_custodial_transaction_request Chain, signed transaction (hex), and fromAddress (must be registered).
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [BroadcastNonCustodialTransaction200Response]
41
+ describe 'broadcast_non_custodial_transaction test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_wallet_webhook
48
+ # Create a wallet webhook
49
+ # Register a webhook URL to receive wallet events (balance updates, transaction confirmed/failed/detected/broadcast, token balance, address created/deactivated). Optional filters by addresses and chains.
50
+ # @param create_wallet_webhook_request Webhook URL, events array, optional secret and filters (addresses, chains, projectId).
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [CreateWalletWebhook201Response]
53
+ describe 'create_wallet_webhook test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for delete_non_custodial_address
60
+ # Delete (soft-delete) a non-custodial address
61
+ # Soft-deletes a registered non-custodial address. The address is marked inactive and no longer used for broadcasts or balance/transaction queries.
62
+ # @param address_id Registered address ID to delete.
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [DeleteFunction200Response]
65
+ describe 'delete_non_custodial_address test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
68
+ end
69
+ end
70
+
71
+ # unit tests for delete_wallet_webhook
72
+ # Delete a wallet webhook
73
+ # Permanently delete a wallet webhook. Delivery will stop immediately.
74
+ # @param webhook_id Webhook ID (MongoDB ObjectId) to delete.
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [DeleteFunction200Response]
77
+ describe 'delete_wallet_webhook test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
80
+ end
81
+ end
82
+
83
+ # unit tests for estimate_non_custodial_gas
84
+ # Estimate network fee from blockchain (all supported chains; not controlled by Mudbase)
85
+ # **Network fee (from blockchain only).** Returns network fee **estimated directly from the blockchain** via RPC or fee APIs. **Not controlled by Mudbase.** Both POST /api/wallet/estimate-network-fee (or calculate-fee) and this endpoint return network fee only; use either for gas/fee display. This endpoint is chain-oriented and supports full transaction shape for EVM. **EVM chains:** ethereum, polygon, arbitrum, optimism, base, bsc, binance, avalanche, celo — require `transaction` (from, and to/value or tokenAddress/amount). Response includes gasLimit, gasPrice, networkFee, estimatedTime, currency. **Non-EVM chains:** bitcoin, litecoin, dogecoin, solana, tron, ton, cardano — only `chain` is required; `transaction` is optional/ignored. Returns networkFee, estimatedTime, currency (and e.g. satPerVb for UTXO). See docs/FEE_ARCHITECTURE.md. Results cached 15s.
86
+ # @param estimate_non_custodial_gas_request Chain and optional transaction shape (required for EVM). Returns network fee from blockchain.
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [EstimateNonCustodialGas200Response]
89
+ describe 'estimate_non_custodial_gas test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
92
+ end
93
+ end
94
+
95
+ # unit tests for get_cancel_params
96
+ # Get replacement tx params for cancel (stuck EVM tx)
97
+ # Returns **replacement transaction params** to cancel a stuck EVM transaction (same nonce, to=self, value=0, data=0x, higher gas). Client signs and broadcasts via POST /api/wallet/non-custodial/broadcast. Address must be registered for your organization. EVM chains only.
98
+ # @param get_cancel_params_request Stuck transaction identifier (txId or txHash) and EVM chain for cancel.
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [GetCancelParams200Response]
101
+ describe 'get_cancel_params test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
104
+ end
105
+ end
106
+
107
+ # unit tests for get_non_custodial_address
108
+ # Get non-custodial address by ID
109
+ # Returns metadata and status for a single registered non-custodial address (ID, address, chain, label, org, project, derivationPath, isActive, timestamps).
110
+ # @param address_id Registered address ID (MongoDB ObjectId).
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [NonCustodialAddressResponse]
113
+ describe 'get_non_custodial_address test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
116
+ end
117
+ end
118
+
119
+ # unit tests for get_non_custodial_balance
120
+ # Get balance for a non-custodial address
121
+ # Returns native token balance (confirmed, unconfirmed, total, currency) for a registered non-custodial address. Updated periodically from the chain.
122
+ # @param address_id Registered address ID.
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [GetNonCustodialBalance200Response]
125
+ describe 'get_non_custodial_balance test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
128
+ end
129
+ end
130
+
131
+ # unit tests for get_non_custodial_transaction_by_hash
132
+ # Get transaction by hash
133
+ # Returns a transaction by its hash. The **chain** query parameter is required because the same hash format can exist on different chains (e.g. 0x-style on EVM chains).
134
+ # @param tx_hash Transaction hash (e.g. 0x... for EVM, or block explorer format for UTXO)
135
+ # @param chain Chain the transaction belongs to (required for lookup)
136
+ # @param [Hash] opts the optional parameters
137
+ # @return [GetNonCustodialTransactionByHash200Response]
138
+ describe 'get_non_custodial_transaction_by_hash test' do
139
+ it 'should work' do
140
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
141
+ end
142
+ end
143
+
144
+ # unit tests for get_non_custodial_transactions
145
+ # Get transaction history for a non-custodial address
146
+ # Returns paginated transaction history for a registered non-custodial address (incoming/outgoing, status, confirmations, amounts).
147
+ # @param address_id Registered address ID.
148
+ # @param [Hash] opts the optional parameters
149
+ # @option opts [Integer] :limit Number of transactions per page.
150
+ # @option opts [Integer] :page Page number (1-based).
151
+ # @return [GetNonCustodialTransactions200Response]
152
+ describe 'get_non_custodial_transactions test' do
153
+ it 'should work' do
154
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
155
+ end
156
+ end
157
+
158
+ # unit tests for get_speed_up_params
159
+ # Get replacement tx params for speed-up (stuck EVM tx)
160
+ # Returns **replacement transaction params** for a stuck EVM transaction (same nonce, same to/value/data, higher gas). Client signs the replacement and broadcasts via POST /api/wallet/non-custodial/broadcast. Address must be registered for your organization. Use when a tx has been pending >5 min (stuck). EVM chains only.
161
+ # @param get_speed_up_params_request Stuck transaction identifier (txId or txHash) and EVM chain.
162
+ # @param [Hash] opts the optional parameters
163
+ # @return [GetSpeedUpParams200Response]
164
+ describe 'get_speed_up_params test' do
165
+ it 'should work' do
166
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
167
+ end
168
+ end
169
+
170
+ # unit tests for get_wallet_webhook_logs
171
+ # Get webhook delivery logs
172
+ # List delivery attempts for a wallet webhook (success/failure, payload, response, duration). Paginated by limit.
173
+ # @param webhook_id Webhook ID (MongoDB ObjectId) to get logs for.
174
+ # @param [Hash] opts the optional parameters
175
+ # @option opts [Integer] :limit Maximum number of log entries to return.
176
+ # @return [GetWalletWebhookLogs200Response]
177
+ describe 'get_wallet_webhook_logs test' do
178
+ it 'should work' do
179
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
180
+ end
181
+ end
182
+
183
+ # unit tests for list_non_custodial_addresses
184
+ # List registered non-custodial addresses
185
+ # Returns all non-custodial addresses registered for the current project/organization. Optional filters by chain and projectId. Addresses must be registered via POST /api/wallet/non-custodial/register-address before use.
186
+ # @param [Hash] opts the optional parameters
187
+ # @option opts [String] :chain Filter by chain (optional)
188
+ # @option opts [String] :project_id Filter by project ID (optional).
189
+ # @return [ListNonCustodialAddresses200Response]
190
+ describe 'list_non_custodial_addresses test' do
191
+ it 'should work' do
192
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
193
+ end
194
+ end
195
+
196
+ # unit tests for list_wallet_webhooks
197
+ # List wallet webhooks
198
+ # Returns all wallet webhooks for the current context, optionally filtered by projectId. Includes delivery stats and active status.
199
+ # @param [Hash] opts the optional parameters
200
+ # @option opts [String] :project_id Filter by project ID (optional).
201
+ # @return [ListWalletWebhooks200Response]
202
+ describe 'list_wallet_webhooks test' do
203
+ it 'should work' do
204
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
205
+ end
206
+ end
207
+
208
+ # unit tests for register_non_custodial_address
209
+ # Register a non-custodial wallet address
210
+ # Register a public wallet address for balance monitoring, transaction indexing, and webhook notifications. Keys are never sent to the server; generation and signing happen client-side only. Supports EVM, UTXO, Solana, Tron, TON, Cardano, and other chains. Optionally provide derivation path and label for multi-address tracking.
211
+ # @param register_non_custodial_address_request Public address, chain identifier, and optional derivation path and label. projectId scopes the registration to a project.
212
+ # @param [Hash] opts the optional parameters
213
+ # @return [NonCustodialAddressResponse]
214
+ describe 'register_non_custodial_address test' do
215
+ it 'should work' do
216
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
217
+ end
218
+ end
219
+
220
+ # unit tests for test_wallet_webhook
221
+ # Test a webhook delivery (sends a single test payload)
222
+ # Sends a test payload to the given URL to verify webhook connectivity and signature. Uses the same signing as real deliveries.
223
+ # @param test_wallet_webhook_request URL to send the test POST to; optional secret and projectId for scoping; optional event type to simulate.
224
+ # @param [Hash] opts the optional parameters
225
+ # @return [TestWalletWebhook200Response]
226
+ describe 'test_wallet_webhook test' do
227
+ it 'should work' do
228
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
229
+ end
230
+ end
231
+
232
+ # unit tests for update_wallet_webhook
233
+ # Update a wallet webhook
234
+ # Update webhook URL, events, secret, or filters. Partially applied; only provided fields are updated.
235
+ # @param webhook_id Webhook ID (MongoDB ObjectId) to update.
236
+ # @param update_wallet_webhook_request Fields to update (url, events, secret, filters). Omitted fields are left unchanged.
237
+ # @param [Hash] opts the optional parameters
238
+ # @return [UpdateWalletWebhook200Response]
239
+ describe 'update_wallet_webhook test' do
240
+ it 'should work' do
241
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
242
+ end
243
+ end
244
+
245
+ end
@@ -0,0 +1,48 @@
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
+
16
+ # Unit tests for Mudbase::WebhooksApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WebhooksApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Mudbase::WebhooksApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WebhooksApi' do
30
+ it 'should create an instance of WebhooksApi' do
31
+ expect(@api_instance).to be_instance_of(Mudbase::WebhooksApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_webhook_stats
36
+ # Get webhook statistics
37
+ # Get webhook delivery statistics including success rate, total deliveries, and breakdown by status. Accepts ProjectBearerAuth (JWT) or ApiKeyAuth (X-API-Key).
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :project_id Project ID to filter stats (optional).
40
+ # @option opts [Integer] :days Number of days to include in the stats window.
41
+ # @return [WebhookStatsResponse]
42
+ describe 'get_webhook_stats test' 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
+ 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::AddCustomRoleRequestDefaultPermissionsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Mudbase::AddCustomRoleRequestDefaultPermissionsInner do
21
+ #let(:instance) { Mudbase::AddCustomRoleRequestDefaultPermissionsInner.new }
22
+
23
+ describe 'test an instance of AddCustomRoleRequestDefaultPermissionsInner' do
24
+ it 'should create an instance of AddCustomRoleRequestDefaultPermissionsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Mudbase::AddCustomRoleRequestDefaultPermissionsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "resource"' 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 "actions"' 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,66 @@
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::AddCustomRoleRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Mudbase::AddCustomRoleRequest do
21
+ #let(:instance) { Mudbase::AddCustomRoleRequest.new }
22
+
23
+ describe 'test an instance of AddCustomRoleRequest' do
24
+ it 'should create an instance of AddCustomRoleRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Mudbase::AddCustomRoleRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "slug"' 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 "signup_endpoint"' 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 "hierarchy"' 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 "default_permissions"' 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
+ end
@@ -0,0 +1,48 @@
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::AddParticipant200ResponseDataParticipantsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Mudbase::AddParticipant200ResponseDataParticipantsInner do
21
+ #let(:instance) { Mudbase::AddParticipant200ResponseDataParticipantsInner.new }
22
+
23
+ describe 'test an instance of AddParticipant200ResponseDataParticipantsInner' do
24
+ it 'should create an instance of AddParticipant200ResponseDataParticipantsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Mudbase::AddParticipant200ResponseDataParticipantsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "user_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 "role"' 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 "added_at"' 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
+ end