kinde_sdk 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) 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/version.rb +1 -1
  226. metadata +12 -21
  227. data/Gemfile +0 -15
  228. data/Gemfile.lock +0 -128
  229. data/LICENSE +0 -21
  230. data/README.md +0 -23
  231. data/Rakefile +0 -10
  232. data/kinde_api/.gitignore +0 -39
  233. data/kinde_api/.rspec +0 -2
  234. data/kinde_sdk.gemspec +0 -33
  235. data/openapitools.json +0 -7
@@ -1,14 +1,14 @@
1
- =begin
2
- #Kinde Management API
1
+ # frozen_string_literal: true
3
2
 
4
- #Provides endpoints to manage your Kinde Businesses
5
-
6
- The version of the OpenAPI document: 1
7
- Contact: support@kinde.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.4.0
10
-
11
- =end
3
+ # #Kinde Management API
4
+ #
5
+ # Provides endpoints to manage your Kinde Businesses
6
+ #
7
+ # The version of the OpenAPI document: 1
8
+ # Contact: support@kinde.com
9
+ # Generated by: https://openapi-generator.tech
10
+ # OpenAPI Generator version: 7.0.0-SNAPSHOT
11
+ #
12
12
 
13
13
  # load the gem
14
14
  require 'kinde_api'
@@ -55,57 +55,55 @@ RSpec.configure do |config|
55
55
  mocks.verify_partial_doubles = true
56
56
  end
57
57
 
58
- # The settings below are suggested to provide a good initial experience
59
- # with RSpec, but feel free to customize to your heart's content.
60
- =begin
61
- # These two settings work together to allow you to limit a spec run
62
- # to individual examples or groups you care about by tagging them with
63
- # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
- # get run.
65
- config.filter_run :focus
66
- config.run_all_when_everything_filtered = true
67
-
68
- # Allows RSpec to persist some state between runs in order to support
69
- # the `--only-failures` and `--next-failure` CLI options. We recommend
70
- # you configure your source control system to ignore this file.
71
- config.example_status_persistence_file_path = "spec/examples.txt"
72
-
73
- # Limits the available syntax to the non-monkey patched syntax that is
74
- # recommended. For more details, see:
75
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
- config.disable_monkey_patching!
79
-
80
- # This setting enables warnings. It's recommended, but in some cases may
81
- # be too noisy due to issues in dependencies.
82
- config.warnings = true
83
-
84
- # Many RSpec users commonly either run the entire suite or an individual
85
- # file, and it's useful to allow more verbose output when running an
86
- # individual spec file.
87
- if config.files_to_run.one?
88
- # Use the documentation formatter for detailed output,
89
- # unless a formatter has already been configured
90
- # (e.g. via a command-line flag).
91
- config.default_formatter = 'doc'
92
- end
93
-
94
- # Print the 10 slowest examples and example groups at the
95
- # end of the spec run, to help surface which specs are running
96
- # particularly slow.
97
- config.profile_examples = 10
98
-
99
- # Run specs in random order to surface order dependencies. If you find an
100
- # order dependency and want to debug it, you can fix the order by providing
101
- # the seed, which is printed after each run.
102
- # --seed 1234
103
- config.order = :random
104
-
105
- # Seed global randomization in this process using the `--seed` CLI option.
106
- # Setting this allows you to use `--seed` to deterministically reproduce
107
- # test failures related to randomization by passing the same `--seed` value
108
- # as the one that triggered the failure.
109
- Kernel.srand config.seed
110
- =end
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ # # These two settings work together to allow you to limit a spec run
61
+ # # to individual examples or groups you care about by tagging them with
62
+ # # `:focus` metadata. When nothing is tagged with `:focus`, all examples
63
+ # # get run.
64
+ # config.filter_run :focus
65
+ # config.run_all_when_everything_filtered = true
66
+ #
67
+ # # Allows RSpec to persist some state between runs in order to support
68
+ # # the `--only-failures` and `--next-failure` CLI options. We recommend
69
+ # # you configure your source control system to ignore this file.
70
+ # config.example_status_persistence_file_path = "spec/examples.txt"
71
+ #
72
+ # # Limits the available syntax to the non-monkey patched syntax that is
73
+ # # recommended. For more details, see:
74
+ # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
75
+ # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
76
+ # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
77
+ # config.disable_monkey_patching!
78
+ #
79
+ # # This setting enables warnings. It's recommended, but in some cases may
80
+ # # be too noisy due to issues in dependencies.
81
+ # config.warnings = true
82
+ #
83
+ # # Many RSpec users commonly either run the entire suite or an individual
84
+ # # file, and it's useful to allow more verbose output when running an
85
+ # # individual spec file.
86
+ # if config.files_to_run.one?
87
+ # # Use the documentation formatter for detailed output,
88
+ # # unless a formatter has already been configured
89
+ # # (e.g. via a command-line flag).
90
+ # config.default_formatter = 'doc'
91
+ # end
92
+ #
93
+ # # Print the 10 slowest examples and example groups at the
94
+ # # end of the spec run, to help surface which specs are running
95
+ # # particularly slow.
96
+ # config.profile_examples = 10
97
+ #
98
+ # # Run specs in random order to surface order dependencies. If you find an
99
+ # # order dependency and want to debug it, you can fix the order by providing
100
+ # # the seed, which is printed after each run.
101
+ # # --seed 1234
102
+ # config.order = :random
103
+ #
104
+ # # Seed global randomization in this process using the `--seed` CLI option.
105
+ # # Setting this allows you to use `--seed` to deterministically reproduce
106
+ # # test failures related to randomization by passing the same `--seed` value
107
+ # # as the one that triggered the failure.
108
+ # Kernel.srand config.seed
111
109
  end
@@ -1,3 +1,3 @@
1
1
  module KindeSdk
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinde_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kinde Australia Pty Ltd
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-21 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -76,22 +76,22 @@ dependencies:
76
76
  name: rspec
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '3.6'
82
79
  - - ">="
83
80
  - !ruby/object:Gem::Version
84
81
  version: 3.6.0
82
+ - - "~>"
83
+ - !ruby/object:Gem::Version
84
+ version: '3.6'
85
85
  type: :development
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - "~>"
90
- - !ruby/object:Gem::Version
91
- version: '3.6'
92
89
  - - ">="
93
90
  - !ruby/object:Gem::Version
94
91
  version: 3.6.0
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '3.6'
95
95
  description: Integrate the Kinde API into any ruby-based applications, Rails or non-Rails
96
96
  email:
97
97
  - support@kinde.com
@@ -99,13 +99,6 @@ executables: []
99
99
  extensions: []
100
100
  extra_rdoc_files: []
101
101
  files:
102
- - Gemfile
103
- - Gemfile.lock
104
- - LICENSE
105
- - README.md
106
- - Rakefile
107
- - kinde_api/.gitignore
108
- - kinde_api/.rspec
109
102
  - kinde_api/README.md
110
103
  - kinde_api/docs/APIsApi.md
111
104
  - kinde_api/docs/AddAPIsRequest.md
@@ -424,21 +417,19 @@ files:
424
417
  - kinde_api/spec/models/users_response_spec.rb
425
418
  - kinde_api/spec/models/users_response_users_inner_spec.rb
426
419
  - kinde_api/spec/spec_helper.rb
427
- - kinde_sdk.gemspec
428
420
  - lib/kinde_sdk.rb
429
421
  - lib/kinde_sdk/client.rb
430
422
  - lib/kinde_sdk/client/feature_flags.rb
431
423
  - lib/kinde_sdk/client/permissions.rb
432
424
  - lib/kinde_sdk/configuration.rb
433
425
  - lib/kinde_sdk/version.rb
434
- - openapitools.json
435
426
  - spec/kinde_sdk_spec.rb
436
427
  - spec/spec_helper.rb
437
428
  homepage: https://kinde.com/
438
429
  licenses:
439
430
  - MIT
440
431
  metadata: {}
441
- post_install_message:
432
+ post_install_message:
442
433
  rdoc_options: []
443
434
  require_paths:
444
435
  - lib
@@ -454,8 +445,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
454
445
  - !ruby/object:Gem::Version
455
446
  version: '0'
456
447
  requirements: []
457
- rubygems_version: 3.4.13
458
- signing_key:
448
+ rubygems_version: 3.0.3.1
449
+ signing_key:
459
450
  specification_version: 4
460
451
  summary: Kinde Management API Ruby Gem
461
452
  test_files:
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- group :development, :test do
6
- gem "rake", "~> 13.0.1"
7
- gem "pry-byebug"
8
- gem "rubocop"
9
- gem "rubocop-rake", require: false
10
- gem "rubocop-rspec", require: false
11
- end
12
-
13
- group :test do
14
- gem "webmock"
15
- end
data/Gemfile.lock DELETED
@@ -1,128 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- kinde_sdk (1.2.1)
5
- faraday-follow_redirects
6
- oauth2 (~> 2.0)
7
- pkce_challenge
8
- typhoeus (~> 1.0, >= 1.0.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- addressable (2.8.5)
14
- public_suffix (>= 2.0.2, < 6.0)
15
- ast (2.4.2)
16
- base64 (0.1.1)
17
- byebug (11.1.3)
18
- coderay (1.1.3)
19
- crack (0.4.5)
20
- rexml
21
- diff-lcs (1.5.0)
22
- ethon (0.16.0)
23
- ffi (>= 1.15.0)
24
- faraday (2.7.11)
25
- base64
26
- faraday-net_http (>= 2.0, < 3.1)
27
- ruby2_keywords (>= 0.0.4)
28
- faraday-follow_redirects (0.3.0)
29
- faraday (>= 1, < 3)
30
- faraday-net_http (3.0.2)
31
- ffi (1.16.3)
32
- hashdiff (1.0.1)
33
- hashie (5.0.0)
34
- json (2.6.3)
35
- jwt (2.7.1)
36
- language_server-protocol (3.17.0.3)
37
- method_source (1.0.0)
38
- multi_xml (0.6.0)
39
- oauth2 (2.0.9)
40
- faraday (>= 0.17.3, < 3.0)
41
- jwt (>= 1.0, < 3.0)
42
- multi_xml (~> 0.5)
43
- rack (>= 1.2, < 4)
44
- snaky_hash (~> 2.0)
45
- version_gem (~> 1.1)
46
- parallel (1.23.0)
47
- parser (3.2.2.4)
48
- ast (~> 2.4.1)
49
- racc
50
- pkce_challenge (1.0.0)
51
- pry (0.14.2)
52
- coderay (~> 1.1)
53
- method_source (~> 1.0)
54
- pry-byebug (3.10.1)
55
- byebug (~> 11.0)
56
- pry (>= 0.13, < 0.15)
57
- public_suffix (5.0.3)
58
- racc (1.7.2)
59
- rack (3.0.8)
60
- rainbow (3.1.1)
61
- rake (13.0.6)
62
- regexp_parser (2.8.2)
63
- rexml (3.2.6)
64
- rspec (3.12.0)
65
- rspec-core (~> 3.12.0)
66
- rspec-expectations (~> 3.12.0)
67
- rspec-mocks (~> 3.12.0)
68
- rspec-core (3.12.2)
69
- rspec-support (~> 3.12.0)
70
- rspec-expectations (3.12.3)
71
- diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.12.0)
73
- rspec-mocks (3.12.6)
74
- diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.12.0)
76
- rspec-support (3.12.1)
77
- rubocop (1.57.2)
78
- json (~> 2.3)
79
- language_server-protocol (>= 3.17.0)
80
- parallel (~> 1.10)
81
- parser (>= 3.2.2.4)
82
- rainbow (>= 2.2.2, < 4.0)
83
- regexp_parser (>= 1.8, < 3.0)
84
- rexml (>= 3.2.5, < 4.0)
85
- rubocop-ast (>= 1.28.1, < 2.0)
86
- ruby-progressbar (~> 1.7)
87
- unicode-display_width (>= 2.4.0, < 3.0)
88
- rubocop-ast (1.30.0)
89
- parser (>= 3.2.1.0)
90
- rubocop-capybara (2.19.0)
91
- rubocop (~> 1.41)
92
- rubocop-factory_bot (2.24.0)
93
- rubocop (~> 1.33)
94
- rubocop-rake (0.6.0)
95
- rubocop (~> 1.0)
96
- rubocop-rspec (2.25.0)
97
- rubocop (~> 1.40)
98
- rubocop-capybara (~> 2.17)
99
- rubocop-factory_bot (~> 2.22)
100
- ruby-progressbar (1.13.0)
101
- ruby2_keywords (0.0.5)
102
- snaky_hash (2.0.1)
103
- hashie
104
- version_gem (~> 1.1, >= 1.1.1)
105
- typhoeus (1.4.0)
106
- ethon (>= 0.9.0)
107
- unicode-display_width (2.5.0)
108
- version_gem (1.1.3)
109
- webmock (3.19.1)
110
- addressable (>= 2.8.0)
111
- crack (>= 0.3.2)
112
- hashdiff (>= 0.4.0, < 2.0.0)
113
-
114
- PLATFORMS
115
- arm64-darwin-22
116
-
117
- DEPENDENCIES
118
- kinde_sdk!
119
- pry-byebug
120
- rake (~> 13.0.1)
121
- rspec (~> 3.6, >= 3.6.0)
122
- rubocop
123
- rubocop-rake
124
- rubocop-rspec
125
- webmock
126
-
127
- BUNDLED WITH
128
- 2.4.21
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Kinde
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
data/README.md DELETED
@@ -1,23 +0,0 @@
1
- # Kinde Ruby SDK
2
-
3
- The Kinde SDK for Ruby.
4
-
5
- You can also use the Ruby starter kit [here](https://github.com/kinde-starter-kits/ruby-starter-kit).
6
-
7
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![Kinde Docs](https://img.shields.io/badge/Kinde-Docs-eee?style=flat-square)](https://kinde.com/docs/developer-tools) [![Kinde Community](https://img.shields.io/badge/Kinde-Community-eee?style=flat-square)](https://thekindecommunity.slack.com)
8
-
9
- ## Documentation
10
-
11
- For details on integrating this SDK into your project, head over to the [Kinde docs](https://kinde.com/docs/) and see the [Ruby SDK](https://kinde.com/docs/developer-tools/ruby-sdk) doc 👍🏼.
12
-
13
- ## Publishing
14
-
15
- The core team handles publishing.
16
-
17
- ## Contributing
18
-
19
- Please refer to Kinde’s [contributing guidelines](https://github.com/kinde-oss/.github/blob/489e2ca9c3307c2b2e098a885e22f2239116394a/CONTRIBUTING.md).
20
-
21
- ## License
22
-
23
- By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- begin
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec) do |t|
7
- t.pattern = ['spec/*_spec.rb', 'kinde_api/spec/*_spec.rb', 'kinde_api/spec/*/*_spec.rb']
8
- end
9
- task default: :spec
10
- end
data/kinde_api/.gitignore DELETED
@@ -1,39 +0,0 @@
1
- # Generated by: https://openapi-generator.tech
2
- #
3
-
4
- *.gem
5
- *.rbc
6
- /.config
7
- /coverage/
8
- /InstalledFiles
9
- /pkg/
10
- /spec/reports/
11
- /spec/examples.txt
12
- /test/tmp/
13
- /test/version_tmp/
14
- /tmp/
15
-
16
- ## Specific to RubyMotion:
17
- .dat*
18
- .repl_history
19
- build/
20
-
21
- ## Documentation cache and generated files:
22
- /.yardoc/
23
- /_yardoc/
24
- /doc/
25
- /rdoc/
26
-
27
- ## Environment normalization:
28
- /.bundle/
29
- /vendor/bundle
30
- /lib/bundler/man/
31
-
32
- # for a library or gem, you might want to ignore these files since the code is
33
- # intended to run in multiple environments; otherwise, check them in:
34
- # Gemfile.lock
35
- # .ruby-version
36
- # .ruby-gemset
37
-
38
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
39
- .rvmrc
data/kinde_api/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/kinde_sdk.gemspec DELETED
@@ -1,33 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- SDK_PATH = "kinde_api"
4
-
5
- $LOAD_PATH.push File.expand_path("lib", __dir__)
6
- $LOAD_PATH.push File.expand_path("#{SDK_PATH}/lib", __dir__)
7
-
8
- require "kinde_sdk/version"
9
-
10
- Gem::Specification.new do |s|
11
- s.name = "kinde_sdk"
12
- s.version = KindeSdk::VERSION
13
- s.platform = Gem::Platform::RUBY
14
- s.authors = ["Kinde Australia Pty Ltd"]
15
- s.email = ["support@kinde.com"]
16
- s.homepage = "https://kinde.com/"
17
- s.summary = "Kinde Management API Ruby Gem"
18
- s.description = "Integrate the Kinde API into any ruby-based applications, Rails or non-Rails"
19
- s.license = "MIT"
20
- s.required_ruby_version = ">= 3.0"
21
-
22
- s.add_runtime_dependency "typhoeus", "~> 1.0", ">= 1.0.1"
23
- s.add_runtime_dependency "oauth2", "~> 2.0"
24
- s.add_runtime_dependency "pkce_challenge"
25
- s.add_runtime_dependency "faraday-follow_redirects"
26
-
27
- s.add_development_dependency "rspec", "~> 3.6", ">= 3.6.0"
28
-
29
- s.files = `find *`.split("\n").uniq.sort.reject(&:empty?)
30
- s.test_files = `find spec/* #{SDK_PATH}/spec/*`.split("\n")
31
- s.executables = []
32
- s.require_paths = %W[lib #{SDK_PATH}/lib]
33
- end
data/openapitools.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
- "spaces": 2,
4
- "generator-cli": {
5
- "version": "6.4.0"
6
- }
7
- }