kinde_sdk 1.6.4 → 1.6.6

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 (585) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/kinde_sdk/auth_controller.rb +2 -0
  3. data/app/helpers/auth_helper.rb +4 -4
  4. data/kinde_api/Gemfile +9 -0
  5. data/kinde_api/README.md +316 -47
  6. data/kinde_api/Rakefile +10 -0
  7. data/kinde_api/docs/APIsApi.md +569 -60
  8. data/kinde_api/docs/AddAPIScopeRequest.md +20 -0
  9. data/kinde_api/docs/AddAPIsRequest.md +4 -4
  10. data/kinde_api/docs/AddOrganizationUsersRequestUsersInner.md +1 -1
  11. data/kinde_api/docs/AddRoleScopeRequest.md +18 -0
  12. data/kinde_api/docs/AddRoleScopeResponse.md +20 -0
  13. data/kinde_api/docs/ApplicationsApi.md +465 -38
  14. data/kinde_api/docs/AuthorizeAppApiResponse.md +24 -0
  15. data/kinde_api/docs/BillingAgreementsApi.md +157 -0
  16. data/kinde_api/docs/BillingEntitlementsApi.md +89 -0
  17. data/kinde_api/docs/BillingMeterUsageApi.md +77 -0
  18. data/kinde_api/docs/BusinessApi.md +27 -66
  19. data/kinde_api/docs/CallbacksApi.md +25 -25
  20. data/kinde_api/docs/Category.md +20 -0
  21. data/kinde_api/docs/ConnectedAppsApi.md +8 -8
  22. data/kinde_api/docs/Connection.md +22 -0
  23. data/kinde_api/docs/ConnectionConnection.md +24 -0
  24. data/kinde_api/docs/ConnectionsApi.md +439 -0
  25. data/kinde_api/docs/CreateApiScopesResponse.md +22 -0
  26. data/kinde_api/docs/CreateApiScopesResponseScope.md +18 -0
  27. data/kinde_api/docs/CreateApisResponse.md +22 -0
  28. data/kinde_api/docs/CreateApisResponseApi.md +18 -0
  29. data/kinde_api/docs/CreateApplicationRequest.md +3 -3
  30. data/kinde_api/docs/CreateApplicationResponseApplication.md +4 -4
  31. data/kinde_api/docs/CreateBillingAgreementRequest.md +24 -0
  32. data/kinde_api/docs/CreateCategoryRequest.md +20 -0
  33. data/kinde_api/docs/CreateCategoryResponse.md +22 -0
  34. data/kinde_api/docs/CreateCategoryResponseCategory.md +18 -0
  35. data/kinde_api/docs/CreateConnectionRequest.md +28 -0
  36. data/kinde_api/docs/CreateConnectionRequestOptions.md +51 -0
  37. data/kinde_api/docs/CreateConnectionRequestOptionsOneOf.md +22 -0
  38. data/kinde_api/docs/CreateConnectionRequestOptionsOneOf1.md +34 -0
  39. data/kinde_api/docs/CreateConnectionRequestOptionsOneOf2.md +44 -0
  40. data/kinde_api/docs/CreateConnectionResponse.md +22 -0
  41. data/kinde_api/docs/CreateConnectionResponseConnection.md +18 -0
  42. data/kinde_api/docs/CreateEnvironmentVariableRequest.md +22 -0
  43. data/kinde_api/docs/CreateEnvironmentVariableResponse.md +22 -0
  44. data/kinde_api/docs/CreateEnvironmentVariableResponseEnvironmentVariable.md +18 -0
  45. data/kinde_api/docs/CreateIdentityResponse.md +22 -0
  46. data/kinde_api/docs/CreateIdentityResponseIdentity.md +18 -0
  47. data/kinde_api/docs/CreateMeterUsageRecordRequest.md +26 -0
  48. data/kinde_api/docs/CreateMeterUsageRecordResponse.md +20 -0
  49. data/kinde_api/docs/CreateOrganizationRequest.md +17 -7
  50. data/kinde_api/docs/CreateOrganizationResponse.md +4 -4
  51. data/kinde_api/docs/CreateOrganizationResponseOrganization.md +4 -2
  52. data/kinde_api/docs/CreatePropertyRequest.md +30 -0
  53. data/kinde_api/docs/CreatePropertyResponse.md +22 -0
  54. data/kinde_api/docs/CreatePropertyResponseProperty.md +18 -0
  55. data/kinde_api/docs/CreateRolesResponse.md +22 -0
  56. data/kinde_api/docs/CreateRolesResponseRole.md +18 -0
  57. data/kinde_api/docs/CreateUserIdentityRequest.md +24 -0
  58. data/kinde_api/docs/CreateUserRequest.md +3 -1
  59. data/kinde_api/docs/CreateUserRequestIdentitiesInner.md +3 -1
  60. data/kinde_api/docs/CreateUserRequestIdentitiesInnerDetails.md +7 -1
  61. data/kinde_api/docs/CreateUserRequestProfile.md +3 -1
  62. data/kinde_api/docs/CreateUserResponse.md +1 -1
  63. data/kinde_api/docs/CreateWebHookRequest.md +24 -0
  64. data/kinde_api/docs/CreateWebhookResponse.md +22 -0
  65. data/kinde_api/docs/CreateWebhookResponseWebhook.md +20 -0
  66. data/kinde_api/docs/DeleteApiResponse.md +20 -0
  67. data/kinde_api/docs/DeleteEnvironmentVariableResponse.md +20 -0
  68. data/kinde_api/docs/DeleteRoleScopeResponse.md +20 -0
  69. data/kinde_api/docs/DeleteWebhookResponse.md +20 -0
  70. data/kinde_api/docs/EnvironmentVariable.md +26 -0
  71. data/kinde_api/docs/EnvironmentVariablesApi.md +356 -0
  72. data/kinde_api/docs/EnvironmentsApi.md +281 -5
  73. data/kinde_api/docs/EventType.md +26 -0
  74. data/kinde_api/docs/FeatureFlagsApi.md +4 -4
  75. data/kinde_api/docs/GetApiResponse.md +22 -0
  76. data/kinde_api/docs/GetApiResponseApi.md +28 -0
  77. data/kinde_api/docs/GetApiResponseApiApplicationsInner.md +24 -0
  78. data/kinde_api/docs/GetApiResponseApiScopesInner.md +20 -0
  79. data/kinde_api/docs/GetApiScopeResponse.md +22 -0
  80. data/kinde_api/docs/GetApiScopesResponse.md +22 -0
  81. data/kinde_api/docs/GetApiScopesResponseScopesInner.md +22 -0
  82. data/kinde_api/docs/GetApisResponse.md +24 -0
  83. data/kinde_api/docs/GetApisResponseApisInner.md +26 -0
  84. data/kinde_api/docs/GetApisResponseApisInnerScopesInner.md +20 -0
  85. data/kinde_api/docs/GetApplicationResponseApplication.md +11 -5
  86. data/kinde_api/docs/GetBillingAgreementsResponse.md +24 -0
  87. data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInner.md +26 -0
  88. data/kinde_api/docs/GetBillingAgreementsResponseAgreementsInnerEntitlementsInner.md +20 -0
  89. data/kinde_api/docs/GetBillingEntitlementsResponse.md +26 -0
  90. data/kinde_api/docs/GetBillingEntitlementsResponseEntitlementsInner.md +32 -0
  91. data/kinde_api/docs/GetBillingEntitlementsResponsePlansInner.md +20 -0
  92. data/kinde_api/docs/GetBusinessResponse.md +22 -0
  93. data/kinde_api/docs/GetBusinessResponseBusiness.md +38 -0
  94. data/kinde_api/docs/GetCategoriesResponse.md +24 -0
  95. data/kinde_api/docs/GetConnectionsResponse.md +24 -0
  96. data/kinde_api/docs/GetEnvironmentResponse.md +22 -0
  97. data/kinde_api/docs/GetEnvironmentResponseEnvironment.md +68 -0
  98. data/kinde_api/docs/GetEnvironmentResponseEnvironmentBackgroundColor.md +22 -0
  99. data/kinde_api/docs/GetEnvironmentResponseEnvironmentLinkColor.md +22 -0
  100. data/kinde_api/docs/GetEnvironmentVariableResponse.md +22 -0
  101. data/kinde_api/docs/GetEnvironmentVariablesResponse.md +24 -0
  102. data/kinde_api/docs/GetEventResponse.md +22 -0
  103. data/kinde_api/docs/GetEventResponseEvent.md +26 -0
  104. data/kinde_api/docs/GetEventTypesResponse.md +22 -0
  105. data/kinde_api/docs/GetIdentitiesResponse.md +24 -0
  106. data/kinde_api/docs/GetIndustriesResponse.md +22 -0
  107. data/kinde_api/docs/GetIndustriesResponseIndustriesInner.md +20 -0
  108. data/kinde_api/docs/GetOrganizationResponse.md +72 -0
  109. data/kinde_api/docs/GetOrganizationResponseBilling.md +20 -0
  110. data/kinde_api/docs/GetOrganizationResponseBillingAgreementsInner.md +20 -0
  111. data/kinde_api/docs/GetOrganizationUsersResponse.md +2 -2
  112. data/kinde_api/docs/GetOrganizationsResponse.md +4 -4
  113. data/kinde_api/docs/GetPropertiesResponse.md +24 -0
  114. data/kinde_api/docs/GetPropertyValuesResponse.md +24 -0
  115. data/kinde_api/docs/GetRoleResponse.md +22 -0
  116. data/kinde_api/docs/GetRoleResponseRole.md +26 -0
  117. data/kinde_api/docs/GetTimezonesResponse.md +22 -0
  118. data/kinde_api/docs/GetTimezonesResponseTimezonesInner.md +20 -0
  119. data/kinde_api/docs/GetUserMfaResponse.md +22 -0
  120. data/kinde_api/docs/GetUserMfaResponseMfa.md +30 -0
  121. data/kinde_api/docs/GetUserSessionsResponse.md +24 -0
  122. data/kinde_api/docs/GetUserSessionsResponseSessionsInner.md +40 -0
  123. data/kinde_api/docs/GetWebhooksResponse.md +22 -0
  124. data/kinde_api/docs/IdentitiesApi.md +219 -0
  125. data/kinde_api/docs/Identity.md +34 -0
  126. data/kinde_api/docs/IndustriesApi.md +14 -21
  127. data/kinde_api/docs/LogoutRedirectUrls.md +6 -2
  128. data/kinde_api/docs/MFAApi.md +77 -0
  129. data/kinde_api/docs/NotFoundResponse.md +18 -0
  130. data/kinde_api/docs/NotFoundResponseErrors.md +20 -0
  131. data/kinde_api/docs/OAuthApi.md +32 -97
  132. data/kinde_api/docs/OrganizationItemSchema.md +28 -0
  133. data/kinde_api/docs/OrganizationUser.md +17 -11
  134. data/kinde_api/docs/OrganizationsApi.md +1440 -210
  135. data/kinde_api/docs/Permissions.md +1 -1
  136. data/kinde_api/docs/PermissionsApi.md +7 -7
  137. data/kinde_api/docs/PropertiesApi.md +297 -0
  138. data/kinde_api/docs/Property.md +28 -0
  139. data/kinde_api/docs/PropertyCategoriesApi.md +227 -0
  140. data/kinde_api/docs/PropertyValue.md +26 -0
  141. data/kinde_api/docs/ReadEnvLogoResponse.md +22 -0
  142. data/kinde_api/docs/ReadEnvLogoResponseLogosInner.md +20 -0
  143. data/kinde_api/docs/ReadLogoResponse.md +22 -0
  144. data/kinde_api/docs/ReadLogoResponseLogosInner.md +22 -0
  145. data/kinde_api/docs/ReplaceConnectionRequest.md +24 -0
  146. data/kinde_api/docs/ReplaceConnectionRequestOptions.md +51 -0
  147. data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf.md +32 -0
  148. data/kinde_api/docs/ReplaceConnectionRequestOptionsOneOf1.md +40 -0
  149. data/kinde_api/docs/ReplaceMFARequest.md +20 -0
  150. data/kinde_api/docs/ReplaceOrganizationMFARequest.md +18 -0
  151. data/kinde_api/docs/RolePermissionsResponse.md +24 -0
  152. data/kinde_api/docs/RoleScopesResponse.md +22 -0
  153. data/kinde_api/docs/Roles.md +4 -2
  154. data/kinde_api/docs/RolesApi.md +338 -54
  155. data/kinde_api/docs/Scopes.md +24 -0
  156. data/kinde_api/docs/SearchApi.md +89 -0
  157. data/kinde_api/docs/SearchUsersResponse.md +22 -0
  158. data/kinde_api/docs/SearchUsersResponseResultsInner.md +46 -0
  159. data/kinde_api/docs/SetUserPasswordRequest.md +26 -0
  160. data/kinde_api/docs/SubscribersApi.md +4 -4
  161. data/kinde_api/docs/SuccessResponse.md +2 -2
  162. data/kinde_api/docs/TimezonesApi.md +14 -21
  163. data/kinde_api/docs/TokenIntrospect.md +5 -5
  164. data/kinde_api/docs/UpdateAPIApplicationsRequestApplicationsInner.md +4 -4
  165. data/kinde_api/docs/UpdateAPIScopeRequest.md +18 -0
  166. data/kinde_api/docs/UpdateApplicationRequest.md +5 -1
  167. data/kinde_api/docs/UpdateApplicationTokensRequest.md +26 -0
  168. data/kinde_api/docs/UpdateApplicationsPropertyRequest.md +18 -0
  169. data/kinde_api/docs/UpdateApplicationsPropertyRequestValue.md +49 -0
  170. data/kinde_api/docs/UpdateBusinessRequest.md +36 -0
  171. data/kinde_api/docs/UpdateCategoryRequest.md +18 -0
  172. data/kinde_api/docs/UpdateConnectionRequest.md +24 -0
  173. data/kinde_api/docs/UpdateEnvironmentVariableRequest.md +22 -0
  174. data/kinde_api/docs/UpdateEnvironmentVariableResponse.md +20 -0
  175. data/kinde_api/docs/UpdateIdentityRequest.md +18 -0
  176. data/kinde_api/docs/UpdateOrganizationPropertiesRequest.md +18 -0
  177. data/kinde_api/docs/UpdateOrganizationRequest.md +27 -15
  178. data/kinde_api/docs/UpdateOrganizationSessionsRequest.md +24 -0
  179. data/kinde_api/docs/UpdateOrganizationUsersRequestUsersInner.md +2 -2
  180. data/kinde_api/docs/UpdateOrganizationUsersResponse.md +3 -1
  181. data/kinde_api/docs/UpdatePropertyRequest.md +24 -0
  182. data/kinde_api/docs/UpdateUserRequest.md +5 -1
  183. data/kinde_api/docs/UpdateUserResponse.md +1 -1
  184. data/kinde_api/docs/UpdateWebHookRequest.md +22 -0
  185. data/kinde_api/docs/UpdateWebhookResponse.md +22 -0
  186. data/kinde_api/docs/UpdateWebhookResponseWebhook.md +18 -0
  187. data/kinde_api/docs/User.md +6 -2
  188. data/kinde_api/docs/UserProfileV2.md +17 -13
  189. data/kinde_api/docs/UsersApi.md +893 -99
  190. data/kinde_api/docs/UsersResponseUsersInner.md +6 -2
  191. data/kinde_api/docs/Webhook.md +28 -0
  192. data/kinde_api/docs/WebhooksApi.md +423 -0
  193. data/kinde_api/git_push.sh +57 -0
  194. data/kinde_api/kinde_api.gemspec +38 -0
  195. data/kinde_api/lib/kinde_api/api/apis_api.rb +640 -127
  196. data/kinde_api/lib/kinde_api/api/applications_api.rb +524 -112
  197. data/kinde_api/lib/kinde_api/api/billing_agreements_api.rb +166 -0
  198. data/kinde_api/lib/kinde_api/api/billing_entitlements_api.rb +105 -0
  199. data/kinde_api/lib/kinde_api/api/billing_meter_usage_api.rb +90 -0
  200. data/kinde_api/lib/kinde_api/api/business_api.rb +61 -126
  201. data/kinde_api/lib/kinde_api/api/callbacks_api.rb +152 -172
  202. data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +57 -67
  203. data/kinde_api/lib/kinde_api/api/connections_api.rb +433 -0
  204. data/kinde_api/lib/kinde_api/api/environment_variables_api.rb +347 -0
  205. data/kinde_api/lib/kinde_api/api/environments_api.rb +327 -78
  206. data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +68 -88
  207. data/kinde_api/lib/kinde_api/api/identities_api.rb +222 -0
  208. data/kinde_api/lib/kinde_api/api/industries_api.rb +29 -34
  209. data/kinde_api/lib/kinde_api/api/mfa_api.rb +90 -0
  210. data/kinde_api/lib/kinde_api/api/o_auth_api.rb +104 -129
  211. data/kinde_api/lib/kinde_api/api/organizations_api.rb +1689 -544
  212. data/kinde_api/lib/kinde_api/api/permissions_api.rb +76 -80
  213. data/kinde_api/lib/kinde_api/api/properties_api.rb +300 -0
  214. data/kinde_api/lib/kinde_api/api/property_categories_api.rb +237 -0
  215. data/kinde_api/lib/kinde_api/api/roles_api.rb +432 -166
  216. data/kinde_api/lib/kinde_api/api/search_api.rb +97 -0
  217. data/kinde_api/lib/kinde_api/api/subscribers_api.rb +59 -60
  218. data/kinde_api/lib/kinde_api/api/timezones_api.rb +29 -34
  219. data/kinde_api/lib/kinde_api/api/users_api.rb +900 -150
  220. data/kinde_api/lib/kinde_api/api/webhooks_api.rb +404 -0
  221. data/kinde_api/lib/kinde_api/api_client.rb +79 -68
  222. data/kinde_api/lib/kinde_api/api_error.rb +16 -16
  223. data/kinde_api/lib/kinde_api/configuration.rb +101 -24
  224. data/kinde_api/lib/kinde_api/models/add_api_scope_request.rb +235 -0
  225. data/kinde_api/lib/kinde_api/models/add_apis_request.rb +54 -49
  226. data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +40 -42
  227. data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +53 -51
  228. data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +52 -50
  229. data/kinde_api/lib/kinde_api/models/add_role_scope_request.rb +225 -0
  230. data/kinde_api/lib/kinde_api/models/add_role_scope_response.rb +230 -0
  231. data/kinde_api/lib/kinde_api/models/api_result.rb +38 -40
  232. data/kinde_api/lib/kinde_api/models/applications.rb +55 -50
  233. data/kinde_api/lib/kinde_api/models/authorize_app_api_response.rb +250 -0
  234. data/kinde_api/lib/kinde_api/models/category.rb +228 -0
  235. data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +44 -45
  236. data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +44 -45
  237. data/kinde_api/lib/kinde_api/models/connection.rb +239 -0
  238. data/kinde_api/lib/kinde_api/models/connection_connection.rb +246 -0
  239. data/kinde_api/lib/kinde_api/models/create_api_scopes_response.rb +239 -0
  240. data/kinde_api/lib/kinde_api/models/create_api_scopes_response_scope.rb +220 -0
  241. data/kinde_api/lib/kinde_api/models/create_apis_response.rb +239 -0
  242. data/kinde_api/lib/kinde_api/models/create_apis_response_api.rb +220 -0
  243. data/kinde_api/lib/kinde_api/models/create_application_request.rb +60 -52
  244. data/kinde_api/lib/kinde_api/models/create_application_response.rb +50 -49
  245. data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +51 -50
  246. data/kinde_api/lib/kinde_api/models/create_billing_agreement_request.rb +260 -0
  247. data/kinde_api/lib/kinde_api/models/create_category_request.rb +274 -0
  248. data/kinde_api/lib/kinde_api/models/create_category_response.rb +237 -0
  249. data/kinde_api/lib/kinde_api/models/create_category_response_category.rb +220 -0
  250. data/kinde_api/lib/kinde_api/models/create_connection_request.rb +306 -0
  251. data/kinde_api/lib/kinde_api/models/create_connection_request_options.rb +106 -0
  252. data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of.rb +241 -0
  253. data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of1.rb +303 -0
  254. data/kinde_api/lib/kinde_api/models/create_connection_request_options_one_of2.rb +333 -0
  255. data/kinde_api/lib/kinde_api/models/create_connection_response.rb +237 -0
  256. data/kinde_api/lib/kinde_api/models/create_connection_response_connection.rb +220 -0
  257. data/kinde_api/lib/kinde_api/models/create_environment_variable_request.rb +250 -0
  258. data/kinde_api/lib/kinde_api/models/create_environment_variable_response.rb +239 -0
  259. data/kinde_api/lib/kinde_api/models/create_environment_variable_response_environment_variable.rb +220 -0
  260. data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +87 -77
  261. data/kinde_api/lib/kinde_api/models/create_identity_response.rb +237 -0
  262. data/kinde_api/lib/kinde_api/models/create_identity_response_identity.rb +220 -0
  263. data/kinde_api/lib/kinde_api/models/create_meter_usage_record_request.rb +309 -0
  264. data/kinde_api/lib/kinde_api/models/create_meter_usage_record_response.rb +230 -0
  265. data/kinde_api/lib/kinde_api/models/create_organization_request.rb +175 -100
  266. data/kinde_api/lib/kinde_api/models/create_organization_response.rb +57 -50
  267. data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +49 -42
  268. data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +38 -41
  269. data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +38 -41
  270. data/kinde_api/lib/kinde_api/models/create_permission_request.rb +50 -49
  271. data/kinde_api/lib/kinde_api/models/create_property_request.rb +356 -0
  272. data/kinde_api/lib/kinde_api/models/create_property_response.rb +237 -0
  273. data/kinde_api/lib/kinde_api/models/create_property_response_property.rb +220 -0
  274. data/kinde_api/lib/kinde_api/models/create_role_request.rb +56 -53
  275. data/kinde_api/lib/kinde_api/models/create_roles_response.rb +239 -0
  276. data/kinde_api/lib/kinde_api/models/create_roles_response_role.rb +220 -0
  277. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +38 -41
  278. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +38 -41
  279. data/kinde_api/lib/kinde_api/models/create_user_identity_request.rb +284 -0
  280. data/kinde_api/lib/kinde_api/models/create_user_request.rb +62 -50
  281. data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +60 -52
  282. data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +67 -40
  283. data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +54 -45
  284. data/kinde_api/lib/kinde_api/models/create_user_response.rb +53 -51
  285. data/kinde_api/lib/kinde_api/models/create_web_hook_request.rb +268 -0
  286. data/kinde_api/lib/kinde_api/models/create_webhook_response.rb +239 -0
  287. data/kinde_api/lib/kinde_api/models/create_webhook_response_webhook.rb +228 -0
  288. data/kinde_api/lib/kinde_api/models/delete_api_response.rb +228 -0
  289. data/kinde_api/lib/kinde_api/models/delete_environment_variable_response.rb +230 -0
  290. data/kinde_api/lib/kinde_api/models/delete_role_scope_response.rb +230 -0
  291. data/kinde_api/lib/kinde_api/models/delete_webhook_response.rb +230 -0
  292. data/kinde_api/lib/kinde_api/models/environment_variable.rb +261 -0
  293. data/kinde_api/lib/kinde_api/models/error.rb +44 -44
  294. data/kinde_api/lib/kinde_api/models/error_response.rb +40 -42
  295. data/kinde_api/lib/kinde_api/models/event_type.rb +255 -0
  296. data/kinde_api/lib/kinde_api/models/get_api_response.rb +239 -0
  297. data/kinde_api/lib/kinde_api/models/get_api_response_api.rb +272 -0
  298. data/kinde_api/lib/kinde_api/models/get_api_response_api_applications_inner.rb +285 -0
  299. data/kinde_api/lib/kinde_api/models/get_api_response_api_scopes_inner.rb +230 -0
  300. data/kinde_api/lib/kinde_api/models/get_api_scope_response.rb +239 -0
  301. data/kinde_api/lib/kinde_api/models/get_api_scopes_response.rb +241 -0
  302. data/kinde_api/lib/kinde_api/models/get_api_scopes_response_scopes_inner.rb +240 -0
  303. data/kinde_api/lib/kinde_api/models/get_apis_response.rb +251 -0
  304. data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner.rb +261 -0
  305. data/kinde_api/lib/kinde_api/models/get_apis_response_apis_inner_scopes_inner.rb +228 -0
  306. data/kinde_api/lib/kinde_api/models/get_application_response.rb +50 -49
  307. data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +126 -57
  308. data/kinde_api/lib/kinde_api/models/get_applications_response.rb +57 -54
  309. data/kinde_api/lib/kinde_api/models/get_billing_agreements_response.rb +252 -0
  310. data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner.rb +262 -0
  311. data/kinde_api/lib/kinde_api/models/get_billing_agreements_response_agreements_inner_entitlements_inner.rb +230 -0
  312. data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response.rb +264 -0
  313. data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_entitlements_inner.rb +290 -0
  314. data/kinde_api/lib/kinde_api/models/get_billing_entitlements_response_plans_inner.rb +229 -0
  315. data/kinde_api/lib/kinde_api/models/get_business_response.rb +239 -0
  316. data/kinde_api/lib/kinde_api/models/get_business_response_business.rb +326 -0
  317. data/kinde_api/lib/kinde_api/models/get_categories_response.rb +251 -0
  318. data/kinde_api/lib/kinde_api/models/get_connections_response.rb +251 -0
  319. data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +57 -54
  320. data/kinde_api/lib/kinde_api/models/get_environment_response.rb +239 -0
  321. data/kinde_api/lib/kinde_api/models/get_environment_response_environment.rb +526 -0
  322. data/kinde_api/lib/kinde_api/models/get_environment_response_environment_background_color.rb +237 -0
  323. data/kinde_api/lib/kinde_api/models/get_environment_response_environment_link_color.rb +237 -0
  324. data/kinde_api/lib/kinde_api/models/get_environment_variable_response.rb +239 -0
  325. data/kinde_api/lib/kinde_api/models/get_environment_variables_response.rb +251 -0
  326. data/kinde_api/lib/kinde_api/models/get_event_response.rb +239 -0
  327. data/kinde_api/lib/kinde_api/models/get_event_response_event.rb +257 -0
  328. data/kinde_api/lib/kinde_api/models/get_event_types_response.rb +241 -0
  329. data/kinde_api/lib/kinde_api/models/get_identities_response.rb +251 -0
  330. data/kinde_api/lib/kinde_api/models/get_industries_response.rb +241 -0
  331. data/kinde_api/lib/kinde_api/models/get_industries_response_industries_inner.rb +230 -0
  332. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +52 -50
  333. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
  334. data/kinde_api/lib/kinde_api/models/get_organization_response.rb +547 -0
  335. data/kinde_api/lib/kinde_api/models/get_organization_response_billing.rb +232 -0
  336. data/kinde_api/lib/kinde_api/models/get_organization_response_billing_agreements_inner.rb +230 -0
  337. data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +57 -54
  338. data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +57 -54
  339. data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +52 -50
  340. data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +57 -54
  341. data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +57 -54
  342. data/kinde_api/lib/kinde_api/models/get_properties_response.rb +251 -0
  343. data/kinde_api/lib/kinde_api/models/get_property_values_response.rb +251 -0
  344. data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +40 -42
  345. data/kinde_api/lib/kinde_api/models/get_role_response.rb +239 -0
  346. data/kinde_api/lib/kinde_api/models/get_role_response_role.rb +260 -0
  347. data/kinde_api/lib/kinde_api/models/get_roles_response.rb +57 -54
  348. data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +52 -50
  349. data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +57 -54
  350. data/kinde_api/lib/kinde_api/models/get_timezones_response.rb +241 -0
  351. data/kinde_api/lib/kinde_api/models/get_timezones_response_timezones_inner.rb +230 -0
  352. data/kinde_api/lib/kinde_api/models/get_user_mfa_response.rb +237 -0
  353. data/kinde_api/lib/kinde_api/models/get_user_mfa_response_mfa.rb +280 -0
  354. data/kinde_api/lib/kinde_api/models/get_user_sessions_response.rb +248 -0
  355. data/kinde_api/lib/kinde_api/models/get_user_sessions_response_sessions_inner.rb +331 -0
  356. data/kinde_api/lib/kinde_api/models/get_webhooks_response.rb +241 -0
  357. data/kinde_api/lib/kinde_api/models/identity.rb +300 -0
  358. data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +60 -42
  359. data/kinde_api/lib/kinde_api/models/not_found_response.rb +219 -0
  360. data/kinde_api/lib/kinde_api/models/not_found_response_errors.rb +228 -0
  361. data/kinde_api/lib/kinde_api/models/organization_item_schema.rb +272 -0
  362. data/kinde_api/lib/kinde_api/models/organization_user.rb +122 -62
  363. data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +73 -59
  364. data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +47 -46
  365. data/kinde_api/lib/kinde_api/models/organization_user_role.rb +55 -50
  366. data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +55 -50
  367. data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +38 -41
  368. data/kinde_api/lib/kinde_api/models/permissions.rb +57 -54
  369. data/kinde_api/lib/kinde_api/models/property.rb +264 -0
  370. data/kinde_api/lib/kinde_api/models/property_value.rb +257 -0
  371. data/kinde_api/lib/kinde_api/models/read_env_logo_response.rb +242 -0
  372. data/kinde_api/lib/kinde_api/models/read_env_logo_response_logos_inner.rb +230 -0
  373. data/kinde_api/lib/kinde_api/models/read_logo_response.rb +242 -0
  374. data/kinde_api/lib/kinde_api/models/read_logo_response_logos_inner.rb +240 -0
  375. data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +40 -42
  376. data/kinde_api/lib/kinde_api/models/replace_connection_request.rb +251 -0
  377. data/kinde_api/lib/kinde_api/models/replace_connection_request_options.rb +106 -0
  378. data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of.rb +293 -0
  379. data/kinde_api/lib/kinde_api/models/replace_connection_request_options_one_of1.rb +313 -0
  380. data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +40 -42
  381. data/kinde_api/lib/kinde_api/models/replace_mfa_request.rb +276 -0
  382. data/kinde_api/lib/kinde_api/models/replace_organization_mfa_request.rb +249 -0
  383. data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +40 -42
  384. data/kinde_api/lib/kinde_api/models/role.rb +63 -53
  385. data/kinde_api/lib/kinde_api/models/role_permissions_response.rb +251 -0
  386. data/kinde_api/lib/kinde_api/models/role_scopes_response.rb +241 -0
  387. data/kinde_api/lib/kinde_api/models/roles.rb +68 -53
  388. data/kinde_api/lib/kinde_api/models/scopes.rb +250 -0
  389. data/kinde_api/lib/kinde_api/models/search_users_response.rb +241 -0
  390. data/kinde_api/lib/kinde_api/models/search_users_response_results_inner.rb +374 -0
  391. data/kinde_api/lib/kinde_api/models/set_user_password_request.rb +311 -0
  392. data/kinde_api/lib/kinde_api/models/subscriber.rb +63 -54
  393. data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +71 -58
  394. data/kinde_api/lib/kinde_api/models/success_response.rb +47 -46
  395. data/kinde_api/lib/kinde_api/models/token_error_response.rb +44 -45
  396. data/kinde_api/lib/kinde_api/models/token_introspect.rb +63 -58
  397. data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +42 -44
  398. data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +48 -49
  399. data/kinde_api/lib/kinde_api/models/update_api_scope_request.rb +220 -0
  400. data/kinde_api/lib/kinde_api/models/update_application_request.rb +78 -54
  401. data/kinde_api/lib/kinde_api/models/update_application_tokens_request.rb +260 -0
  402. data/kinde_api/lib/kinde_api/models/update_applications_property_request.rb +224 -0
  403. data/kinde_api/lib/kinde_api/models/update_applications_property_request_value.rb +106 -0
  404. data/kinde_api/lib/kinde_api/models/update_business_request.rb +320 -0
  405. data/kinde_api/lib/kinde_api/models/update_category_request.rb +220 -0
  406. data/kinde_api/lib/kinde_api/models/update_connection_request.rb +251 -0
  407. data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +40 -43
  408. data/kinde_api/lib/kinde_api/models/update_environment_variable_request.rb +240 -0
  409. data/kinde_api/lib/kinde_api/models/update_environment_variable_response.rb +230 -0
  410. data/kinde_api/lib/kinde_api/models/update_identity_request.rb +220 -0
  411. data/kinde_api/lib/kinde_api/models/update_organization_properties_request.rb +225 -0
  412. data/kinde_api/lib/kinde_api/models/update_organization_request.rb +209 -91
  413. data/kinde_api/lib/kinde_api/models/update_organization_sessions_request.rb +284 -0
  414. data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +40 -42
  415. data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +59 -55
  416. data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +76 -57
  417. data/kinde_api/lib/kinde_api/models/update_property_request.rb +265 -0
  418. data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +40 -42
  419. data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +44 -45
  420. data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +66 -56
  421. data/kinde_api/lib/kinde_api/models/update_roles_request.rb +61 -56
  422. data/kinde_api/lib/kinde_api/models/update_user_request.rb +75 -52
  423. data/kinde_api/lib/kinde_api/models/update_user_response.rb +75 -67
  424. data/kinde_api/lib/kinde_api/models/update_web_hook_request.rb +243 -0
  425. data/kinde_api/lib/kinde_api/models/update_webhook_response.rb +237 -0
  426. data/kinde_api/lib/kinde_api/models/update_webhook_response_webhook.rb +219 -0
  427. data/kinde_api/lib/kinde_api/models/user.rb +138 -97
  428. data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +47 -46
  429. data/kinde_api/lib/kinde_api/models/user_identity.rb +44 -45
  430. data/kinde_api/lib/kinde_api/models/user_identity_result.rb +38 -41
  431. data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +113 -79
  432. data/kinde_api/lib/kinde_api/models/users_response.rb +57 -54
  433. data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +138 -98
  434. data/kinde_api/lib/kinde_api/models/webhook.rb +267 -0
  435. data/kinde_api/lib/kinde_api/version.rb +12 -12
  436. data/kinde_api/lib/kinde_api.rb +160 -36
  437. data/kinde_api/spec/api/billing_agreements_api_spec.rb +62 -0
  438. data/kinde_api/spec/api/billing_entitlements_api_spec.rb +52 -0
  439. data/kinde_api/spec/api/billing_meter_usage_api_spec.rb +47 -0
  440. data/kinde_api/spec/api/connections_api_spec.rb +112 -0
  441. data/kinde_api/spec/api/environment_variables_api_spec.rb +95 -0
  442. data/kinde_api/spec/api/identities_api_spec.rb +72 -0
  443. data/kinde_api/spec/api/mfa_api_spec.rb +47 -0
  444. data/kinde_api/spec/api/properties_api_spec.rb +87 -0
  445. data/kinde_api/spec/api/property_categories_api_spec.rb +75 -0
  446. data/kinde_api/spec/api/search_api_spec.rb +52 -0
  447. data/kinde_api/spec/api/webhooks_api_spec.rb +106 -0
  448. data/kinde_api/spec/api_client_spec.rb +27 -21
  449. data/kinde_api/spec/configuration_spec.rb +14 -14
  450. data/kinde_api/spec/models/add_api_scope_request_spec.rb +40 -0
  451. data/kinde_api/spec/models/add_role_scope_request_spec.rb +34 -0
  452. data/kinde_api/spec/models/add_role_scope_response_spec.rb +40 -0
  453. data/kinde_api/spec/models/authorize_app_api_response_spec.rb +52 -0
  454. data/kinde_api/spec/models/category_spec.rb +40 -0
  455. data/kinde_api/spec/models/connection_connection_spec.rb +52 -0
  456. data/kinde_api/spec/models/connection_spec.rb +46 -0
  457. data/kinde_api/spec/models/create_api_scopes_response_scope_spec.rb +34 -0
  458. data/kinde_api/spec/models/create_api_scopes_response_spec.rb +46 -0
  459. data/kinde_api/spec/models/create_apis_response_api_spec.rb +34 -0
  460. data/kinde_api/spec/models/create_apis_response_spec.rb +46 -0
  461. data/kinde_api/spec/models/create_billing_agreement_request_spec.rb +52 -0
  462. data/kinde_api/spec/models/create_category_request_spec.rb +44 -0
  463. data/kinde_api/spec/models/create_category_response_category_spec.rb +34 -0
  464. data/kinde_api/spec/models/create_category_response_spec.rb +46 -0
  465. data/kinde_api/spec/models/create_connection_request_options_one_of1_spec.rb +82 -0
  466. data/kinde_api/spec/models/create_connection_request_options_one_of2_spec.rb +100 -0
  467. data/kinde_api/spec/models/create_connection_request_options_one_of_spec.rb +46 -0
  468. data/kinde_api/spec/models/create_connection_request_options_spec.rb +31 -0
  469. data/kinde_api/spec/models/create_connection_request_spec.rb +68 -0
  470. data/kinde_api/spec/models/create_connection_response_connection_spec.rb +34 -0
  471. data/kinde_api/spec/models/create_connection_response_spec.rb +46 -0
  472. data/kinde_api/spec/models/create_environment_variable_request_spec.rb +46 -0
  473. data/kinde_api/spec/models/create_environment_variable_response_environment_variable_spec.rb +34 -0
  474. data/kinde_api/spec/models/create_environment_variable_response_spec.rb +46 -0
  475. data/kinde_api/spec/models/create_identity_response_identity_spec.rb +34 -0
  476. data/kinde_api/spec/models/create_identity_response_spec.rb +46 -0
  477. data/kinde_api/spec/models/create_meter_usage_record_request_spec.rb +62 -0
  478. data/kinde_api/spec/models/create_meter_usage_record_response_spec.rb +40 -0
  479. data/kinde_api/spec/models/create_property_request_spec.rb +78 -0
  480. data/kinde_api/spec/models/create_property_response_property_spec.rb +34 -0
  481. data/kinde_api/spec/models/create_property_response_spec.rb +46 -0
  482. data/kinde_api/spec/models/create_roles_response_role_spec.rb +34 -0
  483. data/kinde_api/spec/models/create_roles_response_spec.rb +46 -0
  484. data/kinde_api/spec/models/create_user_identity_request_spec.rb +56 -0
  485. data/kinde_api/spec/models/create_web_hook_request_spec.rb +52 -0
  486. data/kinde_api/spec/models/create_webhook_response_spec.rb +46 -0
  487. data/kinde_api/spec/models/create_webhook_response_webhook_spec.rb +40 -0
  488. data/kinde_api/spec/models/delete_api_response_spec.rb +40 -0
  489. data/kinde_api/spec/models/delete_environment_variable_response_spec.rb +40 -0
  490. data/kinde_api/spec/models/delete_role_scope_response_spec.rb +40 -0
  491. data/kinde_api/spec/models/delete_webhook_response_spec.rb +40 -0
  492. data/kinde_api/spec/models/environment_variable_spec.rb +58 -0
  493. data/kinde_api/spec/models/event_type_spec.rb +58 -0
  494. data/kinde_api/spec/models/get_api_response_api_applications_inner_spec.rb +56 -0
  495. data/kinde_api/spec/models/get_api_response_api_scopes_inner_spec.rb +40 -0
  496. data/kinde_api/spec/models/get_api_response_api_spec.rb +64 -0
  497. data/kinde_api/spec/models/get_api_response_spec.rb +46 -0
  498. data/kinde_api/spec/models/get_api_scope_response_spec.rb +46 -0
  499. data/kinde_api/spec/models/get_api_scopes_response_scopes_inner_spec.rb +46 -0
  500. data/kinde_api/spec/models/get_api_scopes_response_spec.rb +46 -0
  501. data/kinde_api/spec/models/get_apis_response_apis_inner_scopes_inner_spec.rb +40 -0
  502. data/kinde_api/spec/models/get_apis_response_apis_inner_spec.rb +58 -0
  503. data/kinde_api/spec/models/get_apis_response_spec.rb +52 -0
  504. data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_entitlements_inner_spec.rb +40 -0
  505. data/kinde_api/spec/models/get_billing_agreements_response_agreements_inner_spec.rb +58 -0
  506. data/kinde_api/spec/models/get_billing_agreements_response_spec.rb +52 -0
  507. data/kinde_api/spec/models/get_billing_entitlements_response_entitlements_inner_spec.rb +76 -0
  508. data/kinde_api/spec/models/get_billing_entitlements_response_plans_inner_spec.rb +40 -0
  509. data/kinde_api/spec/models/get_billing_entitlements_response_spec.rb +58 -0
  510. data/kinde_api/spec/models/get_business_response_business_spec.rb +94 -0
  511. data/kinde_api/spec/models/get_business_response_spec.rb +46 -0
  512. data/kinde_api/spec/models/get_categories_response_spec.rb +52 -0
  513. data/kinde_api/spec/models/get_connections_response_spec.rb +52 -0
  514. data/kinde_api/spec/models/get_environment_response_environment_background_color_spec.rb +46 -0
  515. data/kinde_api/spec/models/get_environment_response_environment_link_color_spec.rb +46 -0
  516. data/kinde_api/spec/models/get_environment_response_environment_spec.rb +192 -0
  517. data/kinde_api/spec/models/get_environment_response_spec.rb +46 -0
  518. data/kinde_api/spec/models/get_environment_variable_response_spec.rb +46 -0
  519. data/kinde_api/spec/models/get_environment_variables_response_spec.rb +52 -0
  520. data/kinde_api/spec/models/get_event_response_event_spec.rb +58 -0
  521. data/kinde_api/spec/models/get_event_response_spec.rb +46 -0
  522. data/kinde_api/spec/models/get_event_types_response_spec.rb +46 -0
  523. data/kinde_api/spec/models/get_identities_response_spec.rb +52 -0
  524. data/kinde_api/spec/models/get_industries_response_industries_inner_spec.rb +40 -0
  525. data/kinde_api/spec/models/get_industries_response_spec.rb +46 -0
  526. data/kinde_api/spec/models/get_organization_response_billing_agreements_inner_spec.rb +40 -0
  527. data/kinde_api/spec/models/get_organization_response_billing_spec.rb +40 -0
  528. data/kinde_api/spec/models/get_organization_response_spec.rb +204 -0
  529. data/kinde_api/spec/models/get_properties_response_spec.rb +52 -0
  530. data/kinde_api/spec/models/get_property_values_response_spec.rb +52 -0
  531. data/kinde_api/spec/models/get_role_response_role_spec.rb +58 -0
  532. data/kinde_api/spec/models/get_role_response_spec.rb +46 -0
  533. data/kinde_api/spec/models/get_timezones_response_spec.rb +46 -0
  534. data/kinde_api/spec/models/get_timezones_response_timezones_inner_spec.rb +40 -0
  535. data/kinde_api/spec/models/get_user_mfa_response_mfa_spec.rb +70 -0
  536. data/kinde_api/spec/models/get_user_mfa_response_spec.rb +46 -0
  537. data/kinde_api/spec/models/get_user_sessions_response_sessions_inner_spec.rb +100 -0
  538. data/kinde_api/spec/models/get_user_sessions_response_spec.rb +52 -0
  539. data/kinde_api/spec/models/get_webhooks_response_spec.rb +46 -0
  540. data/kinde_api/spec/models/identity_spec.rb +82 -0
  541. data/kinde_api/spec/models/not_found_response_errors_spec.rb +40 -0
  542. data/kinde_api/spec/models/not_found_response_spec.rb +34 -0
  543. data/kinde_api/spec/models/organization_item_schema_spec.rb +64 -0
  544. data/kinde_api/spec/models/property_spec.rb +64 -0
  545. data/kinde_api/spec/models/property_value_spec.rb +58 -0
  546. data/kinde_api/spec/models/read_env_logo_response_logos_inner_spec.rb +40 -0
  547. data/kinde_api/spec/models/read_env_logo_response_spec.rb +46 -0
  548. data/kinde_api/spec/models/read_logo_response_logos_inner_spec.rb +46 -0
  549. data/kinde_api/spec/models/read_logo_response_spec.rb +46 -0
  550. data/kinde_api/spec/models/replace_connection_request_options_one_of1_spec.rb +88 -0
  551. data/kinde_api/spec/models/replace_connection_request_options_one_of_spec.rb +76 -0
  552. data/kinde_api/spec/models/replace_connection_request_options_spec.rb +31 -0
  553. data/kinde_api/spec/models/replace_connection_request_spec.rb +52 -0
  554. data/kinde_api/spec/models/replace_mfa_request_spec.rb +48 -0
  555. data/kinde_api/spec/models/replace_organization_mfa_request_spec.rb +38 -0
  556. data/kinde_api/spec/models/role_permissions_response_spec.rb +52 -0
  557. data/kinde_api/spec/models/role_scopes_response_spec.rb +46 -0
  558. data/kinde_api/spec/models/scopes_spec.rb +52 -0
  559. data/kinde_api/spec/models/search_users_response_results_inner_spec.rb +118 -0
  560. data/kinde_api/spec/models/search_users_response_spec.rb +46 -0
  561. data/kinde_api/spec/models/set_user_password_request_spec.rb +66 -0
  562. data/kinde_api/spec/models/update_api_scope_request_spec.rb +34 -0
  563. data/kinde_api/spec/models/update_application_tokens_request_spec.rb +58 -0
  564. data/kinde_api/spec/models/update_applications_property_request_spec.rb +34 -0
  565. data/kinde_api/spec/models/update_applications_property_request_value_spec.rb +31 -0
  566. data/kinde_api/spec/models/update_business_request_spec.rb +88 -0
  567. data/kinde_api/spec/models/update_category_request_spec.rb +34 -0
  568. data/kinde_api/spec/models/update_connection_request_spec.rb +52 -0
  569. data/kinde_api/spec/models/update_environment_variable_request_spec.rb +46 -0
  570. data/kinde_api/spec/models/update_environment_variable_response_spec.rb +40 -0
  571. data/kinde_api/spec/models/update_identity_request_spec.rb +34 -0
  572. data/kinde_api/spec/models/update_organization_properties_request_spec.rb +34 -0
  573. data/kinde_api/spec/models/update_organization_sessions_request_spec.rb +56 -0
  574. data/kinde_api/spec/models/update_property_request_spec.rb +52 -0
  575. data/kinde_api/spec/models/update_web_hook_request_spec.rb +46 -0
  576. data/kinde_api/spec/models/update_webhook_response_spec.rb +46 -0
  577. data/kinde_api/spec/models/update_webhook_response_webhook_spec.rb +34 -0
  578. data/kinde_api/spec/models/webhook_spec.rb +64 -0
  579. data/kinde_api/spec/spec_helper.rb +63 -62
  580. data/lib/kinde_sdk/client.rb +80 -0
  581. data/lib/kinde_sdk/version.rb +1 -1
  582. data/lib/kinde_sdk.rb +7 -4
  583. data/spec/examples.txt +27 -22
  584. data/spec/kinde_sdk_spec.rb +94 -0
  585. metadata +566 -2
@@ -1,16 +1,16 @@
1
1
  # KindeApi::CallbacksApi
2
2
 
3
- All URIs are relative to *https://app.kinde.com*
3
+ All URIs are relative to *https://your_kinde_subdomain.kinde.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**add_logout_redirect_urls**](CallbacksApi.md#add_logout_redirect_urls) | **POST** /api/v1/applications/{app_id}/auth_logout_urls | Add Logout Redirect URLs |
7
+ | [**add_logout_redirect_urls**](CallbacksApi.md#add_logout_redirect_urls) | **POST** /api/v1/applications/{app_id}/auth_logout_urls | Add logout redirect URLs |
8
8
  | [**add_redirect_callback_urls**](CallbacksApi.md#add_redirect_callback_urls) | **POST** /api/v1/applications/{app_id}/auth_redirect_urls | Add Redirect Callback URLs |
9
9
  | [**delete_callback_urls**](CallbacksApi.md#delete_callback_urls) | **DELETE** /api/v1/applications/{app_id}/auth_redirect_urls | Delete Callback URLs |
10
10
  | [**delete_logout_urls**](CallbacksApi.md#delete_logout_urls) | **DELETE** /api/v1/applications/{app_id}/auth_logout_urls | Delete Logout URLs |
11
11
  | [**get_callback_urls**](CallbacksApi.md#get_callback_urls) | **GET** /api/v1/applications/{app_id}/auth_redirect_urls | List Callback URLs |
12
- | [**get_logout_urls**](CallbacksApi.md#get_logout_urls) | **GET** /api/v1/applications/{app_id}/auth_logout_urls | List Logout URLs |
13
- | [**replace_logout_redirect_urls**](CallbacksApi.md#replace_logout_redirect_urls) | **PUT** /api/v1/applications/{app_id}/auth_logout_urls | Replace Logout Redirect URLs |
12
+ | [**get_logout_urls**](CallbacksApi.md#get_logout_urls) | **GET** /api/v1/applications/{app_id}/auth_logout_urls | List logout URLs |
13
+ | [**replace_logout_redirect_urls**](CallbacksApi.md#replace_logout_redirect_urls) | **PUT** /api/v1/applications/{app_id}/auth_logout_urls | Replace logout redirect URls |
14
14
  | [**replace_redirect_callback_urls**](CallbacksApi.md#replace_redirect_callback_urls) | **PUT** /api/v1/applications/{app_id}/auth_redirect_urls | Replace Redirect Callback URLs |
15
15
 
16
16
 
@@ -18,9 +18,9 @@ All URIs are relative to *https://app.kinde.com*
18
18
 
19
19
  > <SuccessResponse> add_logout_redirect_urls(app_id, replace_logout_redirect_urls_request)
20
20
 
21
- Add Logout Redirect URLs
21
+ Add logout redirect URLs
22
22
 
23
- Add additional logout redirect URLs.
23
+ Add additional logout redirect URLs. <div> <code>create:application_logout_uris</code> </div>
24
24
 
25
25
  ### Examples
26
26
 
@@ -38,7 +38,7 @@ app_id = 'app_id_example' # String | The identifier for the application.
38
38
  replace_logout_redirect_urls_request = KindeApi::ReplaceLogoutRedirectURLsRequest.new # ReplaceLogoutRedirectURLsRequest | Callback details.
39
39
 
40
40
  begin
41
- # Add Logout Redirect URLs
41
+ # Add logout redirect URLs
42
42
  result = api_instance.add_logout_redirect_urls(app_id, replace_logout_redirect_urls_request)
43
43
  p result
44
44
  rescue KindeApi::ApiError => e
@@ -54,7 +54,7 @@ This returns an Array which contains the response data, status code and headers.
54
54
 
55
55
  ```ruby
56
56
  begin
57
- # Add Logout Redirect URLs
57
+ # Add logout redirect URLs
58
58
  data, status_code, headers = api_instance.add_logout_redirect_urls_with_http_info(app_id, replace_logout_redirect_urls_request)
59
59
  p status_code # => 2xx
60
60
  p headers # => { ... }
@@ -82,7 +82,7 @@ end
82
82
  ### HTTP request headers
83
83
 
84
84
  - **Content-Type**: application/json
85
- - **Accept**: application/json; charset=utf-8
85
+ - **Accept**: application/json
86
86
 
87
87
 
88
88
  ## add_redirect_callback_urls
@@ -91,7 +91,7 @@ end
91
91
 
92
92
  Add Redirect Callback URLs
93
93
 
94
- Add additional redirect callback URLs.
94
+ Add additional redirect callback URLs. <div> <code>create:applications_redirect_uris</code> </div>
95
95
 
96
96
  ### Examples
97
97
 
@@ -162,7 +162,7 @@ end
162
162
 
163
163
  Delete Callback URLs
164
164
 
165
- Delete callback URLs.
165
+ Delete callback URLs. <div> <code>delete:applications_redirect_uris</code> </div>
166
166
 
167
167
  ### Examples
168
168
 
@@ -233,7 +233,7 @@ end
233
233
 
234
234
  Delete Logout URLs
235
235
 
236
- Delete logout URLs.
236
+ Delete logout URLs. <div> <code>delete:application_logout_uris</code> </div>
237
237
 
238
238
  ### Examples
239
239
 
@@ -295,7 +295,7 @@ end
295
295
  ### HTTP request headers
296
296
 
297
297
  - **Content-Type**: Not defined
298
- - **Accept**: application/json, application/json; charset=utf-8
298
+ - **Accept**: application/json
299
299
 
300
300
 
301
301
  ## get_callback_urls
@@ -304,7 +304,7 @@ end
304
304
 
305
305
  List Callback URLs
306
306
 
307
- Returns an application's redirect callback URLs.
307
+ Returns an application's redirect callback URLs. <div> <code>read:applications_redirect_uris</code> </div>
308
308
 
309
309
  ### Examples
310
310
 
@@ -371,9 +371,9 @@ end
371
371
 
372
372
  > <LogoutRedirectUrls> get_logout_urls(app_id)
373
373
 
374
- List Logout URLs
374
+ List logout URLs
375
375
 
376
- Returns an application's logout redirect URLs.
376
+ Returns an application's logout redirect URLs. <div> <code>read:application_logout_uris</code> </div>
377
377
 
378
378
  ### Examples
379
379
 
@@ -390,7 +390,7 @@ api_instance = KindeApi::CallbacksApi.new
390
390
  app_id = 'app_id_example' # String | The identifier for the application.
391
391
 
392
392
  begin
393
- # List Logout URLs
393
+ # List logout URLs
394
394
  result = api_instance.get_logout_urls(app_id)
395
395
  p result
396
396
  rescue KindeApi::ApiError => e
@@ -406,7 +406,7 @@ This returns an Array which contains the response data, status code and headers.
406
406
 
407
407
  ```ruby
408
408
  begin
409
- # List Logout URLs
409
+ # List logout URLs
410
410
  data, status_code, headers = api_instance.get_logout_urls_with_http_info(app_id)
411
411
  p status_code # => 2xx
412
412
  p headers # => { ... }
@@ -433,16 +433,16 @@ end
433
433
  ### HTTP request headers
434
434
 
435
435
  - **Content-Type**: Not defined
436
- - **Accept**: application/json, application/json; charset=utf-8
436
+ - **Accept**: application/json
437
437
 
438
438
 
439
439
  ## replace_logout_redirect_urls
440
440
 
441
441
  > <SuccessResponse> replace_logout_redirect_urls(app_id, replace_logout_redirect_urls_request)
442
442
 
443
- Replace Logout Redirect URLs
443
+ Replace logout redirect URls
444
444
 
445
- Replace all logout redirect URLs.
445
+ Replace all logout redirect URLs. <div> <code>update:application_logout_uris</code> </div>
446
446
 
447
447
  ### Examples
448
448
 
@@ -460,7 +460,7 @@ app_id = 'app_id_example' # String | The identifier for the application.
460
460
  replace_logout_redirect_urls_request = KindeApi::ReplaceLogoutRedirectURLsRequest.new # ReplaceLogoutRedirectURLsRequest | Callback details.
461
461
 
462
462
  begin
463
- # Replace Logout Redirect URLs
463
+ # Replace logout redirect URls
464
464
  result = api_instance.replace_logout_redirect_urls(app_id, replace_logout_redirect_urls_request)
465
465
  p result
466
466
  rescue KindeApi::ApiError => e
@@ -476,7 +476,7 @@ This returns an Array which contains the response data, status code and headers.
476
476
 
477
477
  ```ruby
478
478
  begin
479
- # Replace Logout Redirect URLs
479
+ # Replace logout redirect URls
480
480
  data, status_code, headers = api_instance.replace_logout_redirect_urls_with_http_info(app_id, replace_logout_redirect_urls_request)
481
481
  p status_code # => 2xx
482
482
  p headers # => { ... }
@@ -504,7 +504,7 @@ end
504
504
  ### HTTP request headers
505
505
 
506
506
  - **Content-Type**: application/json
507
- - **Accept**: application/json; charset=utf-8
507
+ - **Accept**: application/json
508
508
 
509
509
 
510
510
  ## replace_redirect_callback_urls
@@ -513,7 +513,7 @@ end
513
513
 
514
514
  Replace Redirect Callback URLs
515
515
 
516
- Replace all redirect callback URLs.
516
+ Replace all redirect callback URLs. <div> <code>update:applications_redirect_uris</code> </div>
517
517
 
518
518
  ### Examples
519
519
 
@@ -0,0 +1,20 @@
1
+ # KindeApi::Category
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'kinde_api'
14
+
15
+ instance = KindeApi::Category.new(
16
+ id: null,
17
+ name: null
18
+ )
19
+ ```
20
+
@@ -1,6 +1,6 @@
1
1
  # KindeApi::ConnectedAppsApi
2
2
 
3
- All URIs are relative to *https://app.kinde.com*
3
+ All URIs are relative to *https://your_kinde_subdomain.kinde.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -15,7 +15,7 @@ All URIs are relative to *https://app.kinde.com*
15
15
 
16
16
  Get Connected App URL
17
17
 
18
- Get a URL that authenticates and authorizes a user to a third-party connected app.
18
+ Get a URL that authenticates and authorizes a user to a third-party connected app. <div> <code>read:connected_apps</code> </div>
19
19
 
20
20
  ### Examples
21
21
 
@@ -92,7 +92,7 @@ end
92
92
 
93
93
  Get Connected App Token
94
94
 
95
- Get an access token that can be used to call the third-party provider linked to the connected app.
95
+ Get an access token that can be used to call the third-party provider linked to the connected app. <div> <code>read:connected_apps</code> </div>
96
96
 
97
97
  ### Examples
98
98
 
@@ -106,7 +106,7 @@ KindeApi.configure do |config|
106
106
  end
107
107
 
108
108
  api_instance = KindeApi::ConnectedAppsApi.new
109
- session_id = 'session_id_example' # String | The unique sesssion id reprensenting the login session of a user.
109
+ session_id = 'session_id_example' # String | The unique sesssion id representing the login session of a user.
110
110
 
111
111
  begin
112
112
  # Get Connected App Token
@@ -139,7 +139,7 @@ end
139
139
 
140
140
  | Name | Type | Description | Notes |
141
141
  | ---- | ---- | ----------- | ----- |
142
- | **session_id** | **String** | The unique sesssion id reprensenting the login session of a user. | |
142
+ | **session_id** | **String** | The unique sesssion id representing the login session of a user. | |
143
143
 
144
144
  ### Return type
145
145
 
@@ -161,7 +161,7 @@ end
161
161
 
162
162
  Revoke Connected App Token
163
163
 
164
- Revoke the tokens linked to the connected app session.
164
+ Revoke the tokens linked to the connected app session. <div> <code>create:connected_apps</code> </div>
165
165
 
166
166
  ### Examples
167
167
 
@@ -175,7 +175,7 @@ KindeApi.configure do |config|
175
175
  end
176
176
 
177
177
  api_instance = KindeApi::ConnectedAppsApi.new
178
- session_id = 'session_id_example' # String | The unique sesssion id reprensenting the login session of a user.
178
+ session_id = 'session_id_example' # String | The unique sesssion id representing the login session of a user.
179
179
 
180
180
  begin
181
181
  # Revoke Connected App Token
@@ -208,7 +208,7 @@ end
208
208
 
209
209
  | Name | Type | Description | Notes |
210
210
  | ---- | ---- | ----------- | ----- |
211
- | **session_id** | **String** | The unique sesssion id reprensenting the login session of a user. | |
211
+ | **session_id** | **String** | The unique sesssion id representing the login session of a user. | |
212
212
 
213
213
  ### Return type
214
214
 
@@ -0,0 +1,22 @@
1
+ # KindeApi::Connection
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | Response code. | [optional] |
8
+ | **message** | **String** | Response message. | [optional] |
9
+ | **connection** | [**ConnectionConnection**](ConnectionConnection.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'kinde_api'
15
+
16
+ instance = KindeApi::Connection.new(
17
+ code: null,
18
+ message: null,
19
+ connection: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # KindeApi::ConnectionConnection
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **display_name** | **String** | | [optional] |
10
+ | **strategy** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'kinde_api'
16
+
17
+ instance = KindeApi::ConnectionConnection.new(
18
+ id: null,
19
+ name: null,
20
+ display_name: null,
21
+ strategy: null
22
+ )
23
+ ```
24
+