kinde_sdk 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +103 -19
  3. data/kinde_api/README.md +58 -23
  4. data/kinde_api/docs/AddOrganizationUsersRequest.md +1 -1
  5. data/kinde_api/docs/AddOrganizationUsersRequestUsersInner.md +22 -0
  6. data/kinde_api/docs/{AddOrganizationUsers200Response.md → AddOrganizationUsersResponse.md} +2 -2
  7. data/kinde_api/docs/Application.md +20 -0
  8. data/kinde_api/docs/CallbacksApi.md +219 -0
  9. data/kinde_api/docs/ConnectedAppsApi.md +9 -9
  10. data/kinde_api/docs/CreateOrganizationRequest.md +11 -1
  11. data/kinde_api/docs/CreateOrganizationResponse.md +22 -0
  12. data/kinde_api/docs/CreateOrganizationResponseOrganization.md +18 -0
  13. data/kinde_api/docs/CreateOrganizationUserRoleRequest.md +18 -0
  14. data/kinde_api/docs/CreatePermissionRequest.md +22 -0
  15. data/kinde_api/docs/CreateRoleRequest.md +24 -0
  16. data/kinde_api/docs/CreateSubscriberSuccessResponse.md +18 -0
  17. data/kinde_api/docs/CreateSubscriberSuccessResponseSubscriber.md +18 -0
  18. data/kinde_api/docs/{CreateUser200Response.md → CreateUserResponse.md} +2 -2
  19. data/kinde_api/docs/EnvironmentsApi.md +71 -4
  20. data/kinde_api/docs/FeatureFlagsApi.md +9 -11
  21. data/kinde_api/docs/GetApplicationsResponse.md +24 -0
  22. data/kinde_api/docs/GetEnvironmentFeatureFlagsResponse.md +24 -0
  23. data/kinde_api/docs/GetOrganizationFeatureFlagsResponse.md +22 -0
  24. data/kinde_api/docs/GetOrganizationFeatureFlagsResponseFeatureFlagsValue.md +20 -0
  25. data/kinde_api/docs/{GetOrganizations200Response.md → GetOrganizationsResponse.md} +2 -2
  26. data/kinde_api/docs/GetOrganizationsUserRolesResponse.md +24 -0
  27. data/kinde_api/docs/{GetOrganizationUsers200Response.md → GetOrganizationsUsersResponse.md} +2 -2
  28. data/kinde_api/docs/GetRedirectCallbackUrlsResponse.md +18 -0
  29. data/kinde_api/docs/OrganizationUser.md +3 -1
  30. data/kinde_api/docs/OrganizationUserRole.md +22 -0
  31. data/kinde_api/docs/OrganizationsApi.md +494 -59
  32. data/kinde_api/docs/Permissions.md +22 -0
  33. data/kinde_api/docs/PermissionsApi.md +229 -0
  34. data/kinde_api/docs/RedirectCallbackUrls.md +18 -0
  35. data/kinde_api/docs/Roles.md +22 -0
  36. data/kinde_api/docs/RolesApi.md +229 -0
  37. data/kinde_api/docs/SubscribersApi.md +229 -0
  38. data/kinde_api/docs/UpdateOrganizationRequest.md +28 -0
  39. data/kinde_api/docs/UpdateOrganizationUsersRequest.md +18 -0
  40. data/kinde_api/docs/UpdateOrganizationUsersRequestUsersInner.md +24 -0
  41. data/kinde_api/docs/UpdateOrganizationUsersResponse.md +24 -0
  42. data/kinde_api/docs/UpdateUserRequest.md +3 -1
  43. data/kinde_api/docs/User.md +15 -1
  44. data/kinde_api/docs/UserIdentityResult.md +1 -3
  45. data/kinde_api/docs/UserProfile.md +3 -1
  46. data/kinde_api/docs/UserProfileV2.md +6 -2
  47. data/kinde_api/docs/UsersApi.md +31 -259
  48. data/kinde_api/docs/{GetUsers200Response.md → UsersResponse.md} +2 -2
  49. data/kinde_api/lib/kinde_api/api/callbacks_api.rb +221 -0
  50. data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +8 -8
  51. data/kinde_api/lib/kinde_api/api/environments_api.rb +61 -4
  52. data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +8 -15
  53. data/kinde_api/lib/kinde_api/api/organizations_api.rb +492 -57
  54. data/kinde_api/lib/kinde_api/api/permissions_api.rb +226 -0
  55. data/kinde_api/lib/kinde_api/api/roles_api.rb +226 -0
  56. data/kinde_api/lib/kinde_api/api/subscribers_api.rb +228 -0
  57. data/kinde_api/lib/kinde_api/api/users_api.rb +30 -233
  58. data/kinde_api/lib/kinde_api/api_client.rb +1 -13
  59. data/kinde_api/lib/kinde_api/configuration.rb +3 -77
  60. data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +2 -2
  61. data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +242 -0
  62. data/kinde_api/lib/kinde_api/models/{add_organization_users200_response.rb → add_organization_users_response.rb} +3 -3
  63. data/kinde_api/lib/kinde_api/models/application.rb +226 -0
  64. data/kinde_api/lib/kinde_api/models/create_organization_request.rb +54 -4
  65. data/kinde_api/lib/kinde_api/models/{remove_organization_users200_response.rb → create_organization_response.rb} +19 -12
  66. data/kinde_api/lib/kinde_api/models/{create_organization201_response.rb → create_organization_response_organization.rb} +8 -18
  67. data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +218 -0
  68. data/kinde_api/lib/kinde_api/models/create_permission_request.rb +238 -0
  69. data/kinde_api/lib/kinde_api/models/create_role_request.rb +248 -0
  70. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +217 -0
  71. data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +218 -0
  72. data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +34 -0
  73. data/kinde_api/lib/kinde_api/models/{create_user200_response.rb → create_user_response.rb} +3 -3
  74. data/kinde_api/lib/kinde_api/models/get_applications_response.rb +249 -0
  75. data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +250 -0
  76. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +240 -0
  77. data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +260 -0
  78. data/kinde_api/lib/kinde_api/models/{get_organizations200_response.rb → get_organizations_response.rb} +3 -3
  79. data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +249 -0
  80. data/kinde_api/lib/kinde_api/models/{get_organization_users200_response.rb → get_organizations_users_response.rb} +3 -3
  81. data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +220 -0
  82. data/kinde_api/lib/kinde_api/models/organization_user.rb +15 -4
  83. data/kinde_api/lib/kinde_api/models/organization_user_role.rb +235 -0
  84. data/kinde_api/lib/kinde_api/models/permissions.rb +238 -0
  85. data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +220 -0
  86. data/kinde_api/lib/kinde_api/models/roles.rb +238 -0
  87. data/kinde_api/lib/kinde_api/models/update_organization_request.rb +268 -0
  88. data/kinde_api/lib/kinde_api/models/{remove_organization_users_request.rb → update_organization_users_request.rb} +5 -5
  89. data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +252 -0
  90. data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +250 -0
  91. data/kinde_api/lib/kinde_api/models/update_user_request.rb +14 -4
  92. data/kinde_api/lib/kinde_api/models/user.rb +79 -5
  93. data/kinde_api/lib/kinde_api/models/user_identity_result.rb +4 -14
  94. data/kinde_api/lib/kinde_api/models/user_profile.rb +14 -4
  95. data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +25 -5
  96. data/kinde_api/lib/kinde_api/models/{get_users200_response.rb → users_response.rb} +3 -3
  97. data/kinde_api/lib/kinde_api.rb +32 -8
  98. data/kinde_api/spec/api/callbacks_api_spec.rb +73 -0
  99. data/kinde_api/spec/api/connected_apps_api_spec.rb +1 -1
  100. data/kinde_api/spec/api/environments_api_spec.rb +11 -0
  101. data/kinde_api/spec/api/feature_flags_api_spec.rb +1 -2
  102. data/kinde_api/spec/api/organizations_api_spec.rb +93 -14
  103. data/kinde_api/spec/api/permissions_api_spec.rb +74 -0
  104. data/kinde_api/spec/api/roles_api_spec.rb +74 -0
  105. data/kinde_api/spec/api/subscribers_api_spec.rb +76 -0
  106. data/kinde_api/spec/api/users_api_spec.rb +6 -47
  107. data/kinde_api/spec/api_client_spec.rb +0 -12
  108. data/kinde_api/spec/models/add_organization_users_request_users_inner_spec.rb +46 -0
  109. data/kinde_api/spec/models/{add_organization_users200_response_spec.rb → add_organization_users_response_spec.rb} +6 -6
  110. data/kinde_api/spec/models/{remove_organization_users200_response_spec.rb → application_spec.rb} +8 -8
  111. data/kinde_api/spec/models/create_organization_request_spec.rb +30 -0
  112. data/kinde_api/spec/models/create_organization_response_organization_spec.rb +34 -0
  113. data/kinde_api/spec/models/{create_organization201_response_spec.rb → create_organization_response_spec.rb} +13 -7
  114. data/kinde_api/spec/models/create_organization_user_role_request_spec.rb +34 -0
  115. data/kinde_api/spec/models/create_permission_request_spec.rb +46 -0
  116. data/kinde_api/spec/models/create_role_request_spec.rb +52 -0
  117. data/kinde_api/spec/models/create_subscriber_success_response_spec.rb +34 -0
  118. data/kinde_api/spec/models/create_subscriber_success_response_subscriber_spec.rb +34 -0
  119. data/kinde_api/spec/models/create_user_request_identities_inner_spec.rb +4 -0
  120. data/kinde_api/spec/models/{create_user200_response_spec.rb → create_user_response_spec.rb} +6 -6
  121. data/kinde_api/spec/models/get_applications_response_spec.rb +52 -0
  122. data/kinde_api/spec/models/get_environment_feature_flags_response_spec.rb +52 -0
  123. data/kinde_api/spec/models/get_organization_feature_flags_response_feature_flags_value_spec.rb +44 -0
  124. data/kinde_api/spec/models/get_organization_feature_flags_response_spec.rb +46 -0
  125. data/kinde_api/spec/models/{get_organizations200_response_spec.rb → get_organizations_response_spec.rb} +6 -6
  126. data/kinde_api/spec/models/get_organizations_user_roles_response_spec.rb +52 -0
  127. data/kinde_api/spec/models/{get_organization_users200_response_spec.rb → get_organizations_users_response_spec.rb} +6 -6
  128. data/kinde_api/spec/models/get_redirect_callback_urls_response_spec.rb +34 -0
  129. data/kinde_api/spec/models/organization_user_role_spec.rb +46 -0
  130. data/kinde_api/spec/models/organization_user_spec.rb +6 -0
  131. data/kinde_api/spec/models/permissions_spec.rb +46 -0
  132. data/kinde_api/spec/models/redirect_callback_urls_spec.rb +34 -0
  133. data/kinde_api/spec/models/roles_spec.rb +46 -0
  134. data/kinde_api/spec/models/update_organization_request_spec.rb +64 -0
  135. data/kinde_api/spec/models/{remove_organization_users_request_spec.rb → update_organization_users_request_spec.rb} +6 -6
  136. data/kinde_api/spec/models/update_organization_users_request_users_inner_spec.rb +52 -0
  137. data/kinde_api/spec/models/update_organization_users_response_spec.rb +52 -0
  138. data/kinde_api/spec/models/update_user_request_spec.rb +6 -0
  139. data/kinde_api/spec/models/user_identity_result_spec.rb +0 -6
  140. data/kinde_api/spec/models/user_profile_spec.rb +6 -0
  141. data/kinde_api/spec/models/user_profile_v2_spec.rb +12 -0
  142. data/kinde_api/spec/models/user_spec.rb +42 -0
  143. data/kinde_api/spec/models/{get_users200_response_spec.rb → users_response_spec.rb} +6 -6
  144. data/kinde_sdk.gemspec +1 -1
  145. data/lib/kinde_sdk/client/feature_flags.rb +64 -0
  146. data/lib/kinde_sdk/client/permissions.rb +20 -0
  147. data/lib/kinde_sdk/client.rb +33 -18
  148. data/lib/kinde_sdk/configuration.rb +0 -2
  149. data/lib/kinde_sdk/version.rb +1 -1
  150. data/lib/kinde_sdk.rb +27 -12
  151. data/spec/kinde_sdk_spec.rb +131 -5
  152. data/spec/spec_helper.rb +2 -0
  153. metadata +134 -36
  154. data/kinde_api/docs/CreateOrganization201Response.md +0 -20
  155. data/kinde_api/docs/RemoveOrganizationUsers200Response.md +0 -20
  156. data/kinde_api/docs/RemoveOrganizationUsersRequest.md +0 -18
@@ -0,0 +1,229 @@
1
+ # KindeApi::SubscribersApi
2
+
3
+ All URIs are relative to *https://app.kinde.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_subscriber**](SubscribersApi.md#create_subscriber) | **POST** /api/v1/subscribers | Create a new subscriber |
8
+ | [**get_subscriber**](SubscribersApi.md#get_subscriber) | **GET** /api/v1/subscribers/{subscriber_id} | Get Subscriber |
9
+ | [**get_subscribers**](SubscribersApi.md#get_subscribers) | **GET** /api/v1/subscribers | List Subscribers |
10
+
11
+
12
+ ## create_subscriber
13
+
14
+ > <CreateSubscriberSuccessResponse> create_subscriber(first_name, last_name, email)
15
+
16
+ Create a new subscriber
17
+
18
+ Create subscriber.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'kinde_api'
25
+ # setup authorization
26
+ KindeApi.configure do |config|
27
+ # Configure Bearer authorization (JWT): kindeBearerAuth
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = KindeApi::SubscribersApi.new
32
+ first_name = 'first_name_example' # String | Subscriber's first name.
33
+ last_name = 'last_name_example' # String | Subscriber's last name.
34
+ email = 'email_example' # String | The email address of the subscriber.
35
+
36
+ begin
37
+ # Create a new subscriber
38
+ result = api_instance.create_subscriber(first_name, last_name, email)
39
+ p result
40
+ rescue KindeApi::ApiError => e
41
+ puts "Error when calling SubscribersApi->create_subscriber: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the create_subscriber_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
48
+
49
+ > <Array(<CreateSubscriberSuccessResponse>, Integer, Hash)> create_subscriber_with_http_info(first_name, last_name, email)
50
+
51
+ ```ruby
52
+ begin
53
+ # Create a new subscriber
54
+ data, status_code, headers = api_instance.create_subscriber_with_http_info(first_name, last_name, email)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <CreateSubscriberSuccessResponse>
58
+ rescue KindeApi::ApiError => e
59
+ puts "Error when calling SubscribersApi->create_subscriber_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **first_name** | **String** | Subscriber&#39;s first name. | |
68
+ | **last_name** | **String** | Subscriber&#39;s last name. | |
69
+ | **email** | **String** | The email address of the subscriber. | |
70
+
71
+ ### Return type
72
+
73
+ [**CreateSubscriberSuccessResponse**](CreateSubscriberSuccessResponse.md)
74
+
75
+ ### Authorization
76
+
77
+ [kindeBearerAuth](../README.md#kindeBearerAuth)
78
+
79
+ ### HTTP request headers
80
+
81
+ - **Content-Type**: Not defined
82
+ - **Accept**: application/json; charset=utf-8
83
+
84
+
85
+ ## get_subscriber
86
+
87
+ > <SuccessResponse> get_subscriber(subscriber_id)
88
+
89
+ Get Subscriber
90
+
91
+ Retrieve a subscriber record.
92
+
93
+ ### Examples
94
+
95
+ ```ruby
96
+ require 'time'
97
+ require 'kinde_api'
98
+ # setup authorization
99
+ KindeApi.configure do |config|
100
+ # Configure Bearer authorization (JWT): kindeBearerAuth
101
+ config.access_token = 'YOUR_BEARER_TOKEN'
102
+ end
103
+
104
+ api_instance = KindeApi::SubscribersApi.new
105
+ subscriber_id = 'subscriber_id_example' # String | The subscriber's id.
106
+
107
+ begin
108
+ # Get Subscriber
109
+ result = api_instance.get_subscriber(subscriber_id)
110
+ p result
111
+ rescue KindeApi::ApiError => e
112
+ puts "Error when calling SubscribersApi->get_subscriber: #{e}"
113
+ end
114
+ ```
115
+
116
+ #### Using the get_subscriber_with_http_info variant
117
+
118
+ This returns an Array which contains the response data, status code and headers.
119
+
120
+ > <Array(<SuccessResponse>, Integer, Hash)> get_subscriber_with_http_info(subscriber_id)
121
+
122
+ ```ruby
123
+ begin
124
+ # Get Subscriber
125
+ data, status_code, headers = api_instance.get_subscriber_with_http_info(subscriber_id)
126
+ p status_code # => 2xx
127
+ p headers # => { ... }
128
+ p data # => <SuccessResponse>
129
+ rescue KindeApi::ApiError => e
130
+ puts "Error when calling SubscribersApi->get_subscriber_with_http_info: #{e}"
131
+ end
132
+ ```
133
+
134
+ ### Parameters
135
+
136
+ | Name | Type | Description | Notes |
137
+ | ---- | ---- | ----------- | ----- |
138
+ | **subscriber_id** | **String** | The subscriber&#39;s id. | |
139
+
140
+ ### Return type
141
+
142
+ [**SuccessResponse**](SuccessResponse.md)
143
+
144
+ ### Authorization
145
+
146
+ [kindeBearerAuth](../README.md#kindeBearerAuth)
147
+
148
+ ### HTTP request headers
149
+
150
+ - **Content-Type**: Not defined
151
+ - **Accept**: application/json; charset=utf-8
152
+
153
+
154
+ ## get_subscribers
155
+
156
+ > <SuccessResponse> get_subscribers(opts)
157
+
158
+ List Subscribers
159
+
160
+ The returned list can be sorted by full name or email address in ascending or descending order. The number of records to return at a time can also be controlled using the `page_size` query string parameter.
161
+
162
+ ### Examples
163
+
164
+ ```ruby
165
+ require 'time'
166
+ require 'kinde_api'
167
+ # setup authorization
168
+ KindeApi.configure do |config|
169
+ # Configure Bearer authorization (JWT): kindeBearerAuth
170
+ config.access_token = 'YOUR_BEARER_TOKEN'
171
+ end
172
+
173
+ api_instance = KindeApi::SubscribersApi.new
174
+ opts = {
175
+ sort: 'name_asc', # String | Field and order to sort the result by.
176
+ page_size: 56, # Integer | Number of results per page. Defaults to 10 if parameter not sent.
177
+ subscriber_id: 56, # Integer | ID of the subscriber to filter by.
178
+ next_token: 'next_token_example' # String | A string to get the next page of results if there are more results.
179
+ }
180
+
181
+ begin
182
+ # List Subscribers
183
+ result = api_instance.get_subscribers(opts)
184
+ p result
185
+ rescue KindeApi::ApiError => e
186
+ puts "Error when calling SubscribersApi->get_subscribers: #{e}"
187
+ end
188
+ ```
189
+
190
+ #### Using the get_subscribers_with_http_info variant
191
+
192
+ This returns an Array which contains the response data, status code and headers.
193
+
194
+ > <Array(<SuccessResponse>, Integer, Hash)> get_subscribers_with_http_info(opts)
195
+
196
+ ```ruby
197
+ begin
198
+ # List Subscribers
199
+ data, status_code, headers = api_instance.get_subscribers_with_http_info(opts)
200
+ p status_code # => 2xx
201
+ p headers # => { ... }
202
+ p data # => <SuccessResponse>
203
+ rescue KindeApi::ApiError => e
204
+ puts "Error when calling SubscribersApi->get_subscribers_with_http_info: #{e}"
205
+ end
206
+ ```
207
+
208
+ ### Parameters
209
+
210
+ | Name | Type | Description | Notes |
211
+ | ---- | ---- | ----------- | ----- |
212
+ | **sort** | **String** | Field and order to sort the result by. | [optional] |
213
+ | **page_size** | **Integer** | Number of results per page. Defaults to 10 if parameter not sent. | [optional] |
214
+ | **subscriber_id** | **Integer** | ID of the subscriber to filter by. | [optional] |
215
+ | **next_token** | **String** | A string to get the next page of results if there are more results. | [optional] |
216
+
217
+ ### Return type
218
+
219
+ [**SuccessResponse**](SuccessResponse.md)
220
+
221
+ ### Authorization
222
+
223
+ [kindeBearerAuth](../README.md#kindeBearerAuth)
224
+
225
+ ### HTTP request headers
226
+
227
+ - **Content-Type**: Not defined
228
+ - **Accept**: application/json; charset=utf-8
229
+
@@ -0,0 +1,28 @@
1
+ # KindeApi::UpdateOrganizationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The organization&#39;s name. | [optional] |
8
+ | **external_id** | **String** | The organization&#39;s ID. | [optional] |
9
+ | **background_color** | **String** | The organization&#39;s brand settings - background color. | [optional] |
10
+ | **button_color** | **String** | The organization&#39;s brand settings - button color. | [optional] |
11
+ | **button_text_color** | **String** | The organization&#39;s brand settings - button text color. | [optional] |
12
+ | **link_color** | **String** | The organization&#39;s brand settings - link color. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'kinde_api'
18
+
19
+ instance = KindeApi::UpdateOrganizationRequest.new(
20
+ name: null,
21
+ external_id: null,
22
+ background_color: null,
23
+ button_color: null,
24
+ button_text_color: null,
25
+ link_color: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,18 @@
1
+ # KindeApi::UpdateOrganizationUsersRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **users** | [**Array&lt;UpdateOrganizationUsersRequestUsersInner&gt;**](UpdateOrganizationUsersRequestUsersInner.md) | Users to be added to the organization. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'kinde_api'
13
+
14
+ instance = KindeApi::UpdateOrganizationUsersRequest.new(
15
+ users: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,24 @@
1
+ # KindeApi::UpdateOrganizationUsersRequestUsersInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The users id. | [optional] |
8
+ | **operation** | **String** | Optional operation, set to &#39;delete&#39; to remove the user from the organization. | [optional] |
9
+ | **roles** | **Array&lt;String&gt;** | Role keys to assign to the user. | [optional] |
10
+ | **permissions** | **Array&lt;String&gt;** | Permission keys to assign to the user. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'kinde_api'
16
+
17
+ instance = KindeApi::UpdateOrganizationUsersRequestUsersInner.new(
18
+ id: null,
19
+ operation: null,
20
+ roles: null,
21
+ permissions: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # KindeApi::UpdateOrganizationUsersResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message** | **String** | | [optional] |
8
+ | **users_added** | **Array&lt;String&gt;** | | [optional] |
9
+ | **users_updated** | **Array&lt;String&gt;** | | [optional] |
10
+ | **users_removed** | **Array&lt;String&gt;** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'kinde_api'
16
+
17
+ instance = KindeApi::UpdateOrganizationUsersResponse.new(
18
+ message: null,
19
+ users_added: null,
20
+ users_updated: null,
21
+ users_removed: null
22
+ )
23
+ ```
24
+
@@ -7,6 +7,7 @@
7
7
  | **given_name** | **String** | User&#39;s first name. | [optional] |
8
8
  | **family_name** | **String** | User&#39;s last name. | [optional] |
9
9
  | **is_suspended** | **Boolean** | Whether the user is currently suspended or not. | [optional] |
10
+ | **is_password_reset_requested** | **Boolean** | Prompt the user to change their password on next sign in. | [optional] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'kinde_api'
16
17
  instance = KindeApi::UpdateUserRequest.new(
17
18
  given_name: null,
18
19
  family_name: null,
19
- is_suspended: null
20
+ is_suspended: null,
21
+ is_password_reset_requested: null
20
22
  )
21
23
  ```
22
24
 
@@ -5,11 +5,18 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | Unique id of the user in Kinde. | [optional] |
8
+ | **provided_id** | **String** | External id for user. | [optional] |
8
9
  | **email** | **String** | Default email address of the user in Kinde. | [optional] |
9
10
  | **last_name** | **String** | User&#39;s last name. | [optional] |
10
11
  | **first_name** | **String** | User&#39;s first name. | [optional] |
12
+ | **full_name** | **String** | User&#39;s full name. | [optional] |
11
13
  | **is_suspended** | **Boolean** | Whether the user is currently suspended or not. | [optional] |
12
14
  | **picture** | **String** | User&#39;s profile picture URL. | [optional] |
15
+ | **is_password_reset_requested** | **Boolean** | Whether the user has been asked to reset their password. | [optional] |
16
+ | **total_sign_ins** | **Integer** | Total number of user sign ins. | [optional] |
17
+ | **failed_sign_ins** | **Integer** | Number of consecutive failed user sign ins. | [optional] |
18
+ | **last_signed_in** | **String** | Last sign in date in ISO 8601 format. | [optional] |
19
+ | **created_on** | **String** | Date of user creation in ISO 8601 format. | [optional] |
13
20
 
14
21
  ## Example
15
22
 
@@ -18,11 +25,18 @@ require 'kinde_api'
18
25
 
19
26
  instance = KindeApi::User.new(
20
27
  id: null,
28
+ provided_id: null,
21
29
  email: null,
22
30
  last_name: null,
23
31
  first_name: null,
32
+ full_name: null,
24
33
  is_suspended: null,
25
- picture: null
34
+ picture: null,
35
+ is_password_reset_requested: null,
36
+ total_sign_ins: null,
37
+ failed_sign_ins: null,
38
+ last_signed_in: null,
39
+ created_on: null
26
40
  )
27
41
  ```
28
42
 
@@ -5,7 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **created** | **Boolean** | True if the user identity was successfully created. | [optional] |
8
- | **identity_id** | **Integer** | Unique id of the user&#39;s identity in Kinde. | [optional] |
9
8
 
10
9
  ## Example
11
10
 
@@ -13,8 +12,7 @@
13
12
  require 'kinde_api'
14
13
 
15
14
  instance = KindeApi::UserIdentityResult.new(
16
- created: null,
17
- identity_id: null
15
+ created: null
18
16
  )
19
17
  ```
20
18
 
@@ -9,6 +9,7 @@
9
9
  | **provided_id** | **String** | Value of the user&#39;s id in a third-party system when the user is imported into Kinde. | [optional] |
10
10
  | **last_name** | **String** | User&#39;s last name. | [optional] |
11
11
  | **first_name** | **String** | User&#39;s first name. | [optional] |
12
+ | **picture** | **String** | URL that point&#39;s to the user&#39;s picture or avatar | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = KindeApi::UserProfile.new(
20
21
  preferred_email: null,
21
22
  provided_id: null,
22
23
  last_name: null,
23
- first_name: null
24
+ first_name: null,
25
+ picture: null
24
26
  )
25
27
  ```
26
28
 
@@ -4,13 +4,15 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Unique id of the user in Kinde. | [optional] |
7
+ | **id** | **String** | Unique id of the user in Kinde (deprecated). | [optional] |
8
+ | **sub** | **String** | Unique id of the user in Kinde. | [optional] |
8
9
  | **provided_id** | **String** | Value of the user&#39;s id in a third-party system when the user is imported into Kinde. | [optional] |
9
10
  | **name** | **String** | Users&#39;s first and last name separated by a space. | [optional] |
10
11
  | **given_name** | **String** | User&#39;s first name. | [optional] |
11
12
  | **family_name** | **String** | User&#39;s last name. | [optional] |
12
13
  | **updated_at** | **Integer** | Date the user was last updated at (In Unix time). | [optional] |
13
14
  | **email** | **String** | User&#39;s email address if available. | [optional] |
15
+ | **picture** | **String** | URL that point&#39;s to the user&#39;s picture or avatar | [optional] |
14
16
 
15
17
  ## Example
16
18
 
@@ -19,12 +21,14 @@ require 'kinde_api'
19
21
 
20
22
  instance = KindeApi::UserProfileV2.new(
21
23
  id: null,
24
+ sub: null,
22
25
  provided_id: null,
23
26
  name: null,
24
27
  given_name: null,
25
28
  family_name: null,
26
29
  updated_at: null,
27
- email: null
30
+ email: null,
31
+ picture: null
28
32
  )
29
33
  ```
30
34