kinde_sdk 1.2.2 → 1.3.0

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 (237) hide show
  1. checksums.yaml +4 -4
  2. data/kinde_api/README.md +3 -1
  3. data/kinde_api/docs/ConnectedAppsApi.md +12 -6
  4. data/kinde_api/docs/CreateOrganizationRequest.md +14 -2
  5. data/kinde_api/docs/CreateUserRequest.md +2 -0
  6. data/kinde_api/docs/OrganizationsApi.md +6 -8
  7. data/kinde_api/docs/Permissions.md +3 -1
  8. data/kinde_api/docs/RolesApi.md +2 -2
  9. data/kinde_api/docs/UpdateOrganizationRequest.md +13 -1
  10. data/kinde_api/docs/UsersApi.md +80 -10
  11. data/kinde_api/lib/kinde_api/api/apis_api.rb +95 -96
  12. data/kinde_api/lib/kinde_api/api/applications_api.rb +95 -85
  13. data/kinde_api/lib/kinde_api/api/business_api.rb +58 -56
  14. data/kinde_api/lib/kinde_api/api/callbacks_api.rb +164 -144
  15. data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +66 -54
  16. data/kinde_api/lib/kinde_api/api/environments_api.rb +71 -58
  17. data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +82 -62
  18. data/kinde_api/lib/kinde_api/api/industries_api.rb +22 -23
  19. data/kinde_api/lib/kinde_api/api/o_auth_api.rb +63 -72
  20. data/kinde_api/lib/kinde_api/api/organizations_api.rb +376 -287
  21. data/kinde_api/lib/kinde_api/api/permissions_api.rb +72 -68
  22. data/kinde_api/lib/kinde_api/api/roles_api.rb +137 -134
  23. data/kinde_api/lib/kinde_api/api/subscribers_api.rb +58 -57
  24. data/kinde_api/lib/kinde_api/api/timezones_api.rb +22 -23
  25. data/kinde_api/lib/kinde_api/api/users_api.rb +204 -128
  26. data/kinde_api/lib/kinde_api/api_client.rb +68 -79
  27. data/kinde_api/lib/kinde_api/api_error.rb +16 -16
  28. data/kinde_api/lib/kinde_api/configuration.rb +23 -100
  29. data/kinde_api/lib/kinde_api/models/add_apis_request.rb +49 -52
  30. data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +42 -40
  31. data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +51 -53
  32. data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +50 -52
  33. data/kinde_api/lib/kinde_api/models/api.rb +61 -70
  34. data/kinde_api/lib/kinde_api/models/api_applications_inner.rb +54 -63
  35. data/kinde_api/lib/kinde_api/models/api_result.rb +40 -38
  36. data/kinde_api/lib/kinde_api/models/apis.rb +52 -56
  37. data/kinde_api/lib/kinde_api/models/applications.rb +50 -55
  38. data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +45 -44
  39. data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +45 -44
  40. data/kinde_api/lib/kinde_api/models/create_application_request.rb +51 -49
  41. data/kinde_api/lib/kinde_api/models/create_application_response.rb +49 -50
  42. data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +49 -50
  43. data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +77 -87
  44. data/kinde_api/lib/kinde_api/models/create_organization_request.rb +125 -83
  45. data/kinde_api/lib/kinde_api/models/create_organization_response.rb +50 -55
  46. data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +41 -38
  47. data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +41 -38
  48. data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +41 -38
  49. data/kinde_api/lib/kinde_api/models/create_permission_request.rb +49 -50
  50. data/kinde_api/lib/kinde_api/models/create_role_request.rb +53 -56
  51. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +41 -38
  52. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +41 -38
  53. data/kinde_api/lib/kinde_api/models/create_user_request.rb +55 -47
  54. data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +51 -49
  55. data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +41 -38
  56. data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +45 -44
  57. data/kinde_api/lib/kinde_api/models/create_user_response.rb +50 -52
  58. data/kinde_api/lib/kinde_api/models/error.rb +44 -44
  59. data/kinde_api/lib/kinde_api/models/error_response.rb +42 -40
  60. data/kinde_api/lib/kinde_api/models/get_application_response.rb +49 -50
  61. data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +57 -62
  62. data/kinde_api/lib/kinde_api/models/get_applications_response.rb +54 -57
  63. data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +54 -57
  64. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +50 -52
  65. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
  66. data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +54 -57
  67. data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +54 -57
  68. data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +50 -52
  69. data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +54 -57
  70. data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +54 -57
  71. data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +42 -40
  72. data/kinde_api/lib/kinde_api/models/get_roles_response.rb +54 -57
  73. data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +50 -52
  74. data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +54 -57
  75. data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +42 -40
  76. data/kinde_api/lib/kinde_api/models/organization.rb +54 -63
  77. data/kinde_api/lib/kinde_api/models/organization_user.rb +63 -81
  78. data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +59 -73
  79. data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +46 -47
  80. data/kinde_api/lib/kinde_api/models/organization_user_role.rb +50 -55
  81. data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +50 -55
  82. data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +41 -38
  83. data/kinde_api/lib/kinde_api/models/permissions.rb +59 -52
  84. data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +42 -40
  85. data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +42 -40
  86. data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +42 -40
  87. data/kinde_api/lib/kinde_api/models/role.rb +53 -63
  88. data/kinde_api/lib/kinde_api/models/roles.rb +52 -56
  89. data/kinde_api/lib/kinde_api/models/roles_permission_response_inner.rb +54 -63
  90. data/kinde_api/lib/kinde_api/models/subscriber.rb +54 -63
  91. data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +58 -71
  92. data/kinde_api/lib/kinde_api/models/success_response.rb +46 -47
  93. data/kinde_api/lib/kinde_api/models/token_error_response.rb +45 -44
  94. data/kinde_api/lib/kinde_api/models/token_introspect.rb +58 -63
  95. data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +44 -42
  96. data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +47 -46
  97. data/kinde_api/lib/kinde_api/models/update_application_request.rb +55 -59
  98. data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +43 -40
  99. data/kinde_api/lib/kinde_api/models/update_organization_request.rb +115 -75
  100. data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +42 -40
  101. data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +55 -59
  102. data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +57 -67
  103. data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +42 -40
  104. data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +45 -44
  105. data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +56 -66
  106. data/kinde_api/lib/kinde_api/models/update_roles_request.rb +56 -61
  107. data/kinde_api/lib/kinde_api/models/update_user_request.rb +53 -56
  108. data/kinde_api/lib/kinde_api/models/update_user_response.rb +66 -73
  109. data/kinde_api/lib/kinde_api/models/user.rb +97 -118
  110. data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +46 -47
  111. data/kinde_api/lib/kinde_api/models/user_identity.rb +45 -44
  112. data/kinde_api/lib/kinde_api/models/user_identity_result.rb +41 -38
  113. data/kinde_api/lib/kinde_api/models/user_profile.rb +62 -68
  114. data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +74 -86
  115. data/kinde_api/lib/kinde_api/models/users_response.rb +54 -57
  116. data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +98 -118
  117. data/kinde_api/lib/kinde_api/version.rb +11 -11
  118. data/kinde_api/lib/kinde_api.rb +30 -20
  119. data/kinde_api/spec/api/apis_api_spec.rb +20 -21
  120. data/kinde_api/spec/api/applications_api_spec.rb +18 -19
  121. data/kinde_api/spec/api/business_api_spec.rb +12 -13
  122. data/kinde_api/spec/api/callbacks_api_spec.rb +27 -28
  123. data/kinde_api/spec/api/connected_apps_api_spec.rb +16 -15
  124. data/kinde_api/spec/api/environments_api_spec.rb +14 -15
  125. data/kinde_api/spec/api/feature_flags_api_spec.rb +13 -14
  126. data/kinde_api/spec/api/industries_api_spec.rb +12 -13
  127. data/kinde_api/spec/api/o_auth_api_spec.rb +16 -17
  128. data/kinde_api/spec/api/organizations_api_spec.rb +34 -35
  129. data/kinde_api/spec/api/permissions_api_spec.rb +15 -16
  130. data/kinde_api/spec/api/roles_api_spec.rb +20 -21
  131. data/kinde_api/spec/api/subscribers_api_spec.rb +15 -16
  132. data/kinde_api/spec/api/timezones_api_spec.rb +12 -13
  133. data/kinde_api/spec/api/users_api_spec.rb +36 -24
  134. data/kinde_api/spec/api_client_spec.rb +21 -27
  135. data/kinde_api/spec/configuration_spec.rb +11 -11
  136. data/kinde_api/spec/models/add_apis_request_spec.rb +13 -14
  137. data/kinde_api/spec/models/add_organization_users_request_spec.rb +11 -12
  138. data/kinde_api/spec/models/add_organization_users_request_users_inner_spec.rb +14 -15
  139. data/kinde_api/spec/models/add_organization_users_response_spec.rb +14 -15
  140. data/kinde_api/spec/models/api_applications_inner_spec.rb +15 -16
  141. data/kinde_api/spec/models/api_result_spec.rb +11 -12
  142. data/kinde_api/spec/models/api_spec.rb +17 -18
  143. data/kinde_api/spec/models/apis_spec.rb +15 -16
  144. data/kinde_api/spec/models/applications_spec.rb +14 -15
  145. data/kinde_api/spec/models/connected_apps_access_token_spec.rb +13 -14
  146. data/kinde_api/spec/models/connected_apps_auth_url_spec.rb +13 -14
  147. data/kinde_api/spec/models/create_application_request_spec.rb +13 -14
  148. data/kinde_api/spec/models/create_application_response_application_spec.rb +14 -15
  149. data/kinde_api/spec/models/create_application_response_spec.rb +14 -15
  150. data/kinde_api/spec/models/create_feature_flag_request_spec.rb +17 -18
  151. data/kinde_api/spec/models/create_organization_request_spec.rb +53 -18
  152. data/kinde_api/spec/models/create_organization_response_organization_spec.rb +11 -12
  153. data/kinde_api/spec/models/create_organization_response_spec.rb +14 -15
  154. data/kinde_api/spec/models/create_organization_user_permission_request_spec.rb +11 -12
  155. data/kinde_api/spec/models/create_organization_user_role_request_spec.rb +11 -12
  156. data/kinde_api/spec/models/create_permission_request_spec.rb +14 -15
  157. data/kinde_api/spec/models/create_role_request_spec.rb +15 -16
  158. data/kinde_api/spec/models/create_subscriber_success_response_spec.rb +11 -12
  159. data/kinde_api/spec/models/create_subscriber_success_response_subscriber_spec.rb +11 -12
  160. data/kinde_api/spec/models/create_user_request_identities_inner_details_spec.rb +11 -12
  161. data/kinde_api/spec/models/create_user_request_identities_inner_spec.rb +13 -14
  162. data/kinde_api/spec/models/create_user_request_profile_spec.rb +13 -14
  163. data/kinde_api/spec/models/create_user_request_spec.rb +19 -14
  164. data/kinde_api/spec/models/create_user_response_spec.rb +14 -15
  165. data/kinde_api/spec/models/error_response_spec.rb +11 -12
  166. data/kinde_api/spec/models/error_spec.rb +13 -14
  167. data/kinde_api/spec/models/get_application_response_application_spec.rb +16 -17
  168. data/kinde_api/spec/models/get_application_response_spec.rb +14 -15
  169. data/kinde_api/spec/models/get_applications_response_spec.rb +15 -16
  170. data/kinde_api/spec/models/get_environment_feature_flags_response_spec.rb +15 -16
  171. data/kinde_api/spec/models/get_organization_feature_flags_response_feature_flags_value_spec.rb +13 -14
  172. data/kinde_api/spec/models/get_organization_feature_flags_response_spec.rb +14 -15
  173. data/kinde_api/spec/models/get_organization_users_response_spec.rb +15 -16
  174. data/kinde_api/spec/models/get_organizations_response_spec.rb +15 -16
  175. data/kinde_api/spec/models/get_organizations_user_permissions_response_spec.rb +14 -15
  176. data/kinde_api/spec/models/get_organizations_user_roles_response_spec.rb +15 -16
  177. data/kinde_api/spec/models/get_permissions_response_spec.rb +15 -16
  178. data/kinde_api/spec/models/get_redirect_callback_urls_response_spec.rb +11 -12
  179. data/kinde_api/spec/models/get_roles_response_spec.rb +15 -16
  180. data/kinde_api/spec/models/get_subscriber_response_spec.rb +14 -15
  181. data/kinde_api/spec/models/get_subscribers_response_spec.rb +15 -16
  182. data/kinde_api/spec/models/logout_redirect_urls_spec.rb +11 -12
  183. data/kinde_api/spec/models/organization_spec.rb +15 -16
  184. data/kinde_api/spec/models/organization_user_permission_roles_inner_spec.rb +13 -14
  185. data/kinde_api/spec/models/organization_user_permission_spec.rb +16 -17
  186. data/kinde_api/spec/models/organization_user_role_permissions_permissions_spec.rb +11 -12
  187. data/kinde_api/spec/models/organization_user_role_permissions_spec.rb +14 -15
  188. data/kinde_api/spec/models/organization_user_role_spec.rb +14 -15
  189. data/kinde_api/spec/models/organization_user_spec.rb +17 -18
  190. data/kinde_api/spec/models/permissions_spec.rb +20 -15
  191. data/kinde_api/spec/models/redirect_callback_urls_spec.rb +11 -12
  192. data/kinde_api/spec/models/replace_logout_redirect_urls_request_spec.rb +11 -12
  193. data/kinde_api/spec/models/replace_redirect_callback_urls_request_spec.rb +11 -12
  194. data/kinde_api/spec/models/role_spec.rb +15 -16
  195. data/kinde_api/spec/models/roles_permission_response_inner_spec.rb +15 -16
  196. data/kinde_api/spec/models/roles_spec.rb +15 -16
  197. data/kinde_api/spec/models/subscriber_spec.rb +15 -16
  198. data/kinde_api/spec/models/subscribers_subscriber_spec.rb +16 -17
  199. data/kinde_api/spec/models/success_response_spec.rb +13 -14
  200. data/kinde_api/spec/models/token_error_response_spec.rb +13 -14
  201. data/kinde_api/spec/models/token_introspect_spec.rb +16 -17
  202. data/kinde_api/spec/models/update_api_applications_request_applications_inner_spec.rb +13 -14
  203. data/kinde_api/spec/models/update_api_applications_request_spec.rb +11 -12
  204. data/kinde_api/spec/models/update_application_request_spec.rb +15 -16
  205. data/kinde_api/spec/models/update_environement_feature_flag_override_request_spec.rb +11 -12
  206. data/kinde_api/spec/models/update_organization_request_spec.rb +52 -17
  207. data/kinde_api/spec/models/update_organization_users_request_spec.rb +11 -12
  208. data/kinde_api/spec/models/update_organization_users_request_users_inner_spec.rb +15 -16
  209. data/kinde_api/spec/models/update_organization_users_response_spec.rb +15 -16
  210. data/kinde_api/spec/models/update_role_permissions_request_permissions_inner_spec.rb +13 -14
  211. data/kinde_api/spec/models/update_role_permissions_request_spec.rb +11 -12
  212. data/kinde_api/spec/models/update_role_permissions_response_spec.rb +15 -16
  213. data/kinde_api/spec/models/update_roles_request_spec.rb +15 -16
  214. data/kinde_api/spec/models/update_user_request_spec.rb +15 -16
  215. data/kinde_api/spec/models/update_user_response_spec.rb +17 -18
  216. data/kinde_api/spec/models/user_identities_inner_spec.rb +13 -14
  217. data/kinde_api/spec/models/user_identity_result_spec.rb +11 -12
  218. data/kinde_api/spec/models/user_identity_spec.rb +13 -14
  219. data/kinde_api/spec/models/user_profile_spec.rb +17 -18
  220. data/kinde_api/spec/models/user_profile_v2_spec.rb +19 -20
  221. data/kinde_api/spec/models/user_spec.rb +24 -25
  222. data/kinde_api/spec/models/users_response_spec.rb +15 -16
  223. data/kinde_api/spec/models/users_response_users_inner_spec.rb +24 -25
  224. data/kinde_api/spec/spec_helper.rb +61 -63
  225. data/lib/kinde_sdk/configuration.rb +1 -1
  226. data/lib/kinde_sdk/version.rb +1 -1
  227. data/lib/kinde_sdk.rb +63 -16
  228. metadata +85 -94
  229. data/Gemfile +0 -15
  230. data/Gemfile.lock +0 -128
  231. data/LICENSE +0 -21
  232. data/README.md +0 -23
  233. data/Rakefile +0 -10
  234. data/kinde_api/.gitignore +0 -39
  235. data/kinde_api/.rspec +0 -2
  236. data/kinde_sdk.gemspec +0 -33
  237. data/openapitools.json +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a84ffe92552e8ab43146d5fd7445edefc924495388368adae348ae48ba6d621
4
- data.tar.gz: 779838b43100f0d9e78fe54199f7e9f26b9818f6fe18904529664b7de631f6d5
3
+ metadata.gz: 8c359bdcb6d579be388fe1461d4305a5c10dacdc27f1fc06d244db3c042d247c
4
+ data.tar.gz: e1be276fe179c87fba4060317630cf85e29b91d1f05f52837eaaeaf5a227fb38
5
5
  SHA512:
6
- metadata.gz: 9469af65325f71dab96c2c901fc2ffa70258ed92f65841d5009f1dd67536d704ef917000638ff1e00eb17a3fb7edc6095fa1fecae66574d3c1837d72ba1491e4
7
- data.tar.gz: a3cc75b2c027b5ff0d166f7bd54e942f7c7efa467586a175fb1f83412d3d7829d2ddb58cd4bf3eb7b1594019f85c6417bce0c3435b67c6ef4552ecf7793cbdb0
6
+ metadata.gz: fa55ff69411d58b639df64c43f65ed26e10ccc3f54a6e65d5ef421936c3e50759cdaca26003146c0b7f6befa704603304e7488da4112b15e7c5271bdc7f724f7
7
+ data.tar.gz: 7fc8ada7e5d0a1d958f787898a98f0eeb68b4597dfe4affa66811f5167d04b744cbb2067db0b32b94c6bab96bca50c6813a9697c9b703cd385e3010a3dc3f144
data/kinde_api/README.md CHANGED
@@ -89,7 +89,7 @@ Class | Method | HTTP request | Description
89
89
  *KindeApi::PermissionsApi* | [**delete_permission**](docs/PermissionsApi.md#delete_permission) | **DELETE** /api/v1/permissions/{permission_id} | Delete Permission
90
90
  *KindeApi::PermissionsApi* | [**get_permissions**](docs/PermissionsApi.md#get_permissions) | **GET** /api/v1/permissions | List Permissions
91
91
  *KindeApi::PermissionsApi* | [**update_permissions**](docs/PermissionsApi.md#update_permissions) | **PATCH** /api/v1/permissions/{permission_id} | Update Permission
92
- *KindeApi::RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/v1/role | Create Role
92
+ *KindeApi::RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/v1/roles | Create Role
93
93
  *KindeApi::RolesApi* | [**delete_role**](docs/RolesApi.md#delete_role) | **DELETE** /api/v1/roles/{role_id} | Delete Role
94
94
  *KindeApi::RolesApi* | [**get_role_permission**](docs/RolesApi.md#get_role_permission) | **GET** /api/v1/roles/{role_id}/permissions | Get Role Permissions
95
95
  *KindeApi::RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/v1/roles | List Roles
@@ -106,6 +106,7 @@ Class | Method | HTTP request | Description
106
106
  *KindeApi::UsersApi* | [**get_users**](docs/UsersApi.md#get_users) | **GET** /api/v1/users | List Users
107
107
  *KindeApi::UsersApi* | [**refresh_user_claims**](docs/UsersApi.md#refresh_user_claims) | **POST** /api/v1/users/{user_id}/refresh_claims | Refresh User Claims and Invalidate Cache
108
108
  *KindeApi::UsersApi* | [**update_user**](docs/UsersApi.md#update_user) | **PATCH** /api/v1/user | Update User
109
+ *KindeApi::UsersApi* | [**update_user_feature_flag_override**](docs/UsersApi.md#update_user_feature_flag_override) | **PATCH** /api/v1/users/{user_id}/feature_flags/{feature_flag_key} | Update User Feature Flag Override
109
110
 
110
111
 
111
112
  ## Documentation for Models
@@ -203,6 +204,7 @@ Class | Method | HTTP request | Description
203
204
  ## Documentation for Authorization
204
205
 
205
206
 
207
+ Authentication schemes defined for the API:
206
208
  ### kindeBearerAuth
207
209
 
208
210
  - **Type**: Bearer authentication (JWT)
@@ -11,7 +11,7 @@ All URIs are relative to *https://app.kinde.com*
11
11
 
12
12
  ## get_connected_app_auth_url
13
13
 
14
- > <ConnectedAppsAuthUrl> get_connected_app_auth_url(key_code_ref, user_id)
14
+ > <ConnectedAppsAuthUrl> get_connected_app_auth_url(key_code_ref, opts)
15
15
 
16
16
  Get Connected App URL
17
17
 
@@ -30,11 +30,15 @@ end
30
30
 
31
31
  api_instance = KindeApi::ConnectedAppsApi.new
32
32
  key_code_ref = 'key_code_ref_example' # String | The unique key code reference of the connected app to authenticate against.
33
- user_id = 'user_id_example' # String | The id of the user that needs to authenticate to the third-party connected app.
33
+ opts = {
34
+ user_id: 'user_id_example', # String | The id of the user that needs to authenticate to the third-party connected app.
35
+ org_code: 'org_code_example', # String | The code of the Kinde organization that needs to authenticate to the third-party connected app.
36
+ override_callback_url: 'override_callback_url_example' # String | A URL that overrides the default callback URL setup in your connected app configuration
37
+ }
34
38
 
35
39
  begin
36
40
  # Get Connected App URL
37
- result = api_instance.get_connected_app_auth_url(key_code_ref, user_id)
41
+ result = api_instance.get_connected_app_auth_url(key_code_ref, opts)
38
42
  p result
39
43
  rescue KindeApi::ApiError => e
40
44
  puts "Error when calling ConnectedAppsApi->get_connected_app_auth_url: #{e}"
@@ -45,12 +49,12 @@ end
45
49
 
46
50
  This returns an Array which contains the response data, status code and headers.
47
51
 
48
- > <Array(<ConnectedAppsAuthUrl>, Integer, Hash)> get_connected_app_auth_url_with_http_info(key_code_ref, user_id)
52
+ > <Array(<ConnectedAppsAuthUrl>, Integer, Hash)> get_connected_app_auth_url_with_http_info(key_code_ref, opts)
49
53
 
50
54
  ```ruby
51
55
  begin
52
56
  # Get Connected App URL
53
- data, status_code, headers = api_instance.get_connected_app_auth_url_with_http_info(key_code_ref, user_id)
57
+ data, status_code, headers = api_instance.get_connected_app_auth_url_with_http_info(key_code_ref, opts)
54
58
  p status_code # => 2xx
55
59
  p headers # => { ... }
56
60
  p data # => <ConnectedAppsAuthUrl>
@@ -64,7 +68,9 @@ end
64
68
  | Name | Type | Description | Notes |
65
69
  | ---- | ---- | ----------- | ----- |
66
70
  | **key_code_ref** | **String** | The unique key code reference of the connected app to authenticate against. | |
67
- | **user_id** | **String** | The id of the user that needs to authenticate to the third-party connected app. | |
71
+ | **user_id** | **String** | The id of the user that needs to authenticate to the third-party connected app. | [optional] |
72
+ | **org_code** | **String** | The code of the Kinde organization that needs to authenticate to the third-party connected app. | [optional] |
73
+ | **override_callback_url** | **String** | A URL that overrides the default callback URL setup in your connected app configuration | [optional] |
68
74
 
69
75
  ### Return type
70
76
 
@@ -4,14 +4,20 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | The organization&#39;s name. | [optional] |
7
+ | **name** | **String** | The organization&#39;s name. | |
8
8
  | **feature_flags** | **Hash&lt;String, String&gt;** | The organization&#39;s feature flag settings. | [optional] |
9
9
  | **external_id** | **String** | The organization&#39;s ID. | [optional] |
10
10
  | **background_color** | **String** | The organization&#39;s brand settings - background color. | [optional] |
11
11
  | **button_color** | **String** | The organization&#39;s brand settings - button color. | [optional] |
12
12
  | **button_text_color** | **String** | The organization&#39;s brand settings - button text color. | [optional] |
13
13
  | **link_color** | **String** | The organization&#39;s brand settings - link color. | [optional] |
14
+ | **background_color_dark** | **String** | The organization&#39;s brand settings - dark mode background color. | [optional] |
15
+ | **button_color_dark** | **String** | The organization&#39;s brand settings - dark mode button color. | [optional] |
16
+ | **button_text_color_dark** | **String** | The organization&#39;s brand settings - dark mode button text color. | [optional] |
17
+ | **link_color_dark** | **String** | The organization&#39;s brand settings - dark mode link color. | [optional] |
18
+ | **theme_code** | **String** | The organization&#39;s brand settings - theme/mode &#39;light&#39; | &#39;dark&#39; | &#39;user_preference&#39;. | [optional] |
14
19
  | **handle** | **String** | The organization&#39;s handle. | [optional] |
20
+ | **is_allow_registrations** | **Boolean** | Users can sign up to this organization. | [optional] |
15
21
 
16
22
  ## Example
17
23
 
@@ -26,7 +32,13 @@ instance = KindeApi::CreateOrganizationRequest.new(
26
32
  button_color: null,
27
33
  button_text_color: null,
28
34
  link_color: null,
29
- handle: null
35
+ background_color_dark: null,
36
+ button_color_dark: null,
37
+ button_text_color_dark: null,
38
+ link_color_dark: null,
39
+ theme_code: null,
40
+ handle: null,
41
+ is_allow_registrations: null
30
42
  )
31
43
  ```
32
44
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **profile** | [**CreateUserRequestProfile**](CreateUserRequestProfile.md) | | [optional] |
8
+ | **organization_code** | **String** | The unique code associated with the organization you want the user to join. | [optional] |
8
9
  | **identities** | [**Array&lt;CreateUserRequestIdentitiesInner&gt;**](CreateUserRequestIdentitiesInner.md) | Array of identities to assign to the created user | [optional] |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'kinde_api'
14
15
 
15
16
  instance = KindeApi::CreateUserRequest.new(
16
17
  profile: null,
18
+ organization_code: null,
17
19
  identities: null
18
20
  )
19
21
  ```
@@ -100,7 +100,7 @@ end
100
100
 
101
101
  ## create_organization
102
102
 
103
- > <CreateOrganizationResponse> create_organization(opts)
103
+ > <CreateOrganizationResponse> create_organization(create_organization_request)
104
104
 
105
105
  Create Organization
106
106
 
@@ -118,13 +118,11 @@ KindeApi.configure do |config|
118
118
  end
119
119
 
120
120
  api_instance = KindeApi::OrganizationsApi.new
121
- opts = {
122
- create_organization_request: KindeApi::CreateOrganizationRequest.new # CreateOrganizationRequest | Organization details.
123
- }
121
+ create_organization_request = KindeApi::CreateOrganizationRequest.new({name: 'name_example'}) # CreateOrganizationRequest | Organization details.
124
122
 
125
123
  begin
126
124
  # Create Organization
127
- result = api_instance.create_organization(opts)
125
+ result = api_instance.create_organization(create_organization_request)
128
126
  p result
129
127
  rescue KindeApi::ApiError => e
130
128
  puts "Error when calling OrganizationsApi->create_organization: #{e}"
@@ -135,12 +133,12 @@ end
135
133
 
136
134
  This returns an Array which contains the response data, status code and headers.
137
135
 
138
- > <Array(<CreateOrganizationResponse>, Integer, Hash)> create_organization_with_http_info(opts)
136
+ > <Array(<CreateOrganizationResponse>, Integer, Hash)> create_organization_with_http_info(create_organization_request)
139
137
 
140
138
  ```ruby
141
139
  begin
142
140
  # Create Organization
143
- data, status_code, headers = api_instance.create_organization_with_http_info(opts)
141
+ data, status_code, headers = api_instance.create_organization_with_http_info(create_organization_request)
144
142
  p status_code # => 2xx
145
143
  p headers # => { ... }
146
144
  p data # => <CreateOrganizationResponse>
@@ -153,7 +151,7 @@ end
153
151
 
154
152
  | Name | Type | Description | Notes |
155
153
  | ---- | ---- | ----------- | ----- |
156
- | **create_organization_request** | [**CreateOrganizationRequest**](CreateOrganizationRequest.md) | Organization details. | [optional] |
154
+ | **create_organization_request** | [**CreateOrganizationRequest**](CreateOrganizationRequest.md) | Organization details. | |
157
155
 
158
156
  ### Return type
159
157
 
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | The permission identifier to use in code. | [optional] |
7
+ | **id** | **String** | The permission&#39;s id. | [optional] |
8
+ | **key** | **String** | The permission identifier to use in code. | [optional] |
8
9
  | **name** | **String** | The permission&#39;s name. | [optional] |
9
10
  | **description** | **String** | The permission&#39;s description. | [optional] |
10
11
 
@@ -15,6 +16,7 @@ require 'kinde_api'
15
16
 
16
17
  instance = KindeApi::Permissions.new(
17
18
  id: null,
19
+ key: null,
18
20
  name: null,
19
21
  description: null
20
22
  )
@@ -4,7 +4,7 @@ All URIs are relative to *https://app.kinde.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**create_role**](RolesApi.md#create_role) | **POST** /api/v1/role | Create Role |
7
+ | [**create_role**](RolesApi.md#create_role) | **POST** /api/v1/roles | Create Role |
8
8
  | [**delete_role**](RolesApi.md#delete_role) | **DELETE** /api/v1/roles/{role_id} | Delete Role |
9
9
  | [**get_role_permission**](RolesApi.md#get_role_permission) | **GET** /api/v1/roles/{role_id}/permissions | Get Role Permissions |
10
10
  | [**get_roles**](RolesApi.md#get_roles) | **GET** /api/v1/roles | List Roles |
@@ -81,7 +81,7 @@ end
81
81
  ### HTTP request headers
82
82
 
83
83
  - **Content-Type**: application/json
84
- - **Accept**: application/json; charset=utf-8
84
+ - **Accept**: application/json, application/json; charset=utf-8
85
85
 
86
86
 
87
87
  ## delete_role
@@ -10,7 +10,13 @@
10
10
  | **button_color** | **String** | The organization&#39;s brand settings - button color. | [optional] |
11
11
  | **button_text_color** | **String** | The organization&#39;s brand settings - button text color. | [optional] |
12
12
  | **link_color** | **String** | The organization&#39;s brand settings - link color. | [optional] |
13
+ | **background_color_dark** | **String** | The organization&#39;s brand settings - dark mode background color. | [optional] |
14
+ | **button_color_dark** | **String** | The organization&#39;s brand settings - dark mode button color. | [optional] |
15
+ | **button_text_color_dark** | **String** | The organization&#39;s brand settings - dark mode button text color. | [optional] |
16
+ | **link_color_dark** | **String** | The organization&#39;s brand settings - dark mode link color. | [optional] |
17
+ | **theme_code** | **String** | The organization&#39;s brand settings - theme/mode &#39;light&#39; | &#39;dark&#39; | &#39;user_preference&#39;. | [optional] |
13
18
  | **handle** | **String** | The organization&#39;s handle. | [optional] |
19
+ | **is_allow_registrations** | **Boolean** | Users can sign up to this organization. | [optional] |
14
20
 
15
21
  ## Example
16
22
 
@@ -24,7 +30,13 @@ instance = KindeApi::UpdateOrganizationRequest.new(
24
30
  button_color: null,
25
31
  button_text_color: null,
26
32
  link_color: null,
27
- handle: null
33
+ background_color_dark: null,
34
+ button_color_dark: null,
35
+ button_text_color_dark: null,
36
+ link_color_dark: null,
37
+ theme_code: null,
38
+ handle: null,
39
+ is_allow_registrations: null
28
40
  )
29
41
  ```
30
42
 
@@ -10,6 +10,7 @@ All URIs are relative to *https://app.kinde.com*
10
10
  | [**get_users**](UsersApi.md#get_users) | **GET** /api/v1/users | List Users |
11
11
  | [**refresh_user_claims**](UsersApi.md#refresh_user_claims) | **POST** /api/v1/users/{user_id}/refresh_claims | Refresh User Claims and Invalidate Cache |
12
12
  | [**update_user**](UsersApi.md#update_user) | **PATCH** /api/v1/user | Update User |
13
+ | [**update_user_feature_flag_override**](UsersApi.md#update_user_feature_flag_override) | **PATCH** /api/v1/users/{user_id}/feature_flags/{feature_flag_key} | Update User Feature Flag Override |
13
14
 
14
15
 
15
16
  ## create_user
@@ -250,7 +251,6 @@ end
250
251
 
251
252
  api_instance = KindeApi::UsersApi.new
252
253
  opts = {
253
- sort: 'name_asc', # String | Field and order to sort the result by.
254
254
  page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
255
255
  user_id: 'user_id_example', # String | ID of the user to filter by.
256
256
  next_token: 'next_token_example', # String | A string to get the next page of results if there are more results.
@@ -289,7 +289,6 @@ end
289
289
 
290
290
  | Name | Type | Description | Notes |
291
291
  | ---- | ---- | ----------- | ----- |
292
- | **sort** | **String** | Field and order to sort the result by. | [optional] |
293
292
  | **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
294
293
  | **user_id** | **String** | ID of the user to filter by. | [optional] |
295
294
  | **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
@@ -381,7 +380,7 @@ end
381
380
 
382
381
  ## update_user
383
382
 
384
- > <UpdateUserResponse> update_user(update_user_request, opts)
383
+ > <UpdateUserResponse> update_user(id, update_user_request)
385
384
 
386
385
  Update User
387
386
 
@@ -399,14 +398,12 @@ KindeApi.configure do |config|
399
398
  end
400
399
 
401
400
  api_instance = KindeApi::UsersApi.new
401
+ id = 'id_example' # String | The user's id.
402
402
  update_user_request = KindeApi::UpdateUserRequest.new # UpdateUserRequest | The user to update.
403
- opts = {
404
- id: 'id_example' # String | The user's id.
405
- }
406
403
 
407
404
  begin
408
405
  # Update User
409
- result = api_instance.update_user(update_user_request, opts)
406
+ result = api_instance.update_user(id, update_user_request)
410
407
  p result
411
408
  rescue KindeApi::ApiError => e
412
409
  puts "Error when calling UsersApi->update_user: #{e}"
@@ -417,12 +414,12 @@ end
417
414
 
418
415
  This returns an Array which contains the response data, status code and headers.
419
416
 
420
- > <Array(<UpdateUserResponse>, Integer, Hash)> update_user_with_http_info(update_user_request, opts)
417
+ > <Array(<UpdateUserResponse>, Integer, Hash)> update_user_with_http_info(id, update_user_request)
421
418
 
422
419
  ```ruby
423
420
  begin
424
421
  # Update User
425
- data, status_code, headers = api_instance.update_user_with_http_info(update_user_request, opts)
422
+ data, status_code, headers = api_instance.update_user_with_http_info(id, update_user_request)
426
423
  p status_code # => 2xx
427
424
  p headers # => { ... }
428
425
  p data # => <UpdateUserResponse>
@@ -435,8 +432,8 @@ end
435
432
 
436
433
  | Name | Type | Description | Notes |
437
434
  | ---- | ---- | ----------- | ----- |
435
+ | **id** | **String** | The user&#39;s id. | |
438
436
  | **update_user_request** | [**UpdateUserRequest**](UpdateUserRequest.md) | The user to update. | |
439
- | **id** | **String** | The user&#39;s id. | [optional] |
440
437
 
441
438
  ### Return type
442
439
 
@@ -451,3 +448,76 @@ end
451
448
  - **Content-Type**: application/json
452
449
  - **Accept**: application/json, application/json; charset=utf-8
453
450
 
451
+
452
+ ## update_user_feature_flag_override
453
+
454
+ > <SuccessResponse> update_user_feature_flag_override(user_id, feature_flag_key, value)
455
+
456
+ Update User Feature Flag Override
457
+
458
+ Update user feature flag override.
459
+
460
+ ### Examples
461
+
462
+ ```ruby
463
+ require 'time'
464
+ require 'kinde_api'
465
+ # setup authorization
466
+ KindeApi.configure do |config|
467
+ # Configure Bearer authorization (JWT): kindeBearerAuth
468
+ config.access_token = 'YOUR_BEARER_TOKEN'
469
+ end
470
+
471
+ api_instance = KindeApi::UsersApi.new
472
+ user_id = 'user_id_example' # String | The identifier for the user
473
+ feature_flag_key = 'feature_flag_key_example' # String | The identifier for the feature flag
474
+ value = 'value_example' # String | Override value
475
+
476
+ begin
477
+ # Update User Feature Flag Override
478
+ result = api_instance.update_user_feature_flag_override(user_id, feature_flag_key, value)
479
+ p result
480
+ rescue KindeApi::ApiError => e
481
+ puts "Error when calling UsersApi->update_user_feature_flag_override: #{e}"
482
+ end
483
+ ```
484
+
485
+ #### Using the update_user_feature_flag_override_with_http_info variant
486
+
487
+ This returns an Array which contains the response data, status code and headers.
488
+
489
+ > <Array(<SuccessResponse>, Integer, Hash)> update_user_feature_flag_override_with_http_info(user_id, feature_flag_key, value)
490
+
491
+ ```ruby
492
+ begin
493
+ # Update User Feature Flag Override
494
+ data, status_code, headers = api_instance.update_user_feature_flag_override_with_http_info(user_id, feature_flag_key, value)
495
+ p status_code # => 2xx
496
+ p headers # => { ... }
497
+ p data # => <SuccessResponse>
498
+ rescue KindeApi::ApiError => e
499
+ puts "Error when calling UsersApi->update_user_feature_flag_override_with_http_info: #{e}"
500
+ end
501
+ ```
502
+
503
+ ### Parameters
504
+
505
+ | Name | Type | Description | Notes |
506
+ | ---- | ---- | ----------- | ----- |
507
+ | **user_id** | **String** | The identifier for the user | |
508
+ | **feature_flag_key** | **String** | The identifier for the feature flag | |
509
+ | **value** | **String** | Override value | |
510
+
511
+ ### Return type
512
+
513
+ [**SuccessResponse**](SuccessResponse.md)
514
+
515
+ ### Authorization
516
+
517
+ [kindeBearerAuth](../README.md#kindeBearerAuth)
518
+
519
+ ### HTTP request headers
520
+
521
+ - **Content-Type**: Not defined
522
+ - **Accept**: application/json, application/json; charset=utf-8
523
+