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.
- checksums.yaml +4 -4
- data/kinde_api/README.md +3 -1
- data/kinde_api/docs/ConnectedAppsApi.md +12 -6
- data/kinde_api/docs/CreateOrganizationRequest.md +14 -2
- data/kinde_api/docs/CreateUserRequest.md +2 -0
- data/kinde_api/docs/OrganizationsApi.md +6 -8
- data/kinde_api/docs/Permissions.md +3 -1
- data/kinde_api/docs/RolesApi.md +2 -2
- data/kinde_api/docs/UpdateOrganizationRequest.md +13 -1
- data/kinde_api/docs/UsersApi.md +80 -10
- data/kinde_api/lib/kinde_api/api/apis_api.rb +95 -96
- data/kinde_api/lib/kinde_api/api/applications_api.rb +95 -85
- data/kinde_api/lib/kinde_api/api/business_api.rb +58 -56
- data/kinde_api/lib/kinde_api/api/callbacks_api.rb +164 -144
- data/kinde_api/lib/kinde_api/api/connected_apps_api.rb +66 -54
- data/kinde_api/lib/kinde_api/api/environments_api.rb +71 -58
- data/kinde_api/lib/kinde_api/api/feature_flags_api.rb +82 -62
- data/kinde_api/lib/kinde_api/api/industries_api.rb +22 -23
- data/kinde_api/lib/kinde_api/api/o_auth_api.rb +63 -72
- data/kinde_api/lib/kinde_api/api/organizations_api.rb +376 -287
- data/kinde_api/lib/kinde_api/api/permissions_api.rb +72 -68
- data/kinde_api/lib/kinde_api/api/roles_api.rb +137 -134
- data/kinde_api/lib/kinde_api/api/subscribers_api.rb +58 -57
- data/kinde_api/lib/kinde_api/api/timezones_api.rb +22 -23
- data/kinde_api/lib/kinde_api/api/users_api.rb +204 -128
- data/kinde_api/lib/kinde_api/api_client.rb +68 -79
- data/kinde_api/lib/kinde_api/api_error.rb +16 -16
- data/kinde_api/lib/kinde_api/configuration.rb +23 -100
- data/kinde_api/lib/kinde_api/models/add_apis_request.rb +49 -52
- data/kinde_api/lib/kinde_api/models/add_organization_users_request.rb +42 -40
- data/kinde_api/lib/kinde_api/models/add_organization_users_request_users_inner.rb +51 -53
- data/kinde_api/lib/kinde_api/models/add_organization_users_response.rb +50 -52
- data/kinde_api/lib/kinde_api/models/api.rb +61 -70
- data/kinde_api/lib/kinde_api/models/api_applications_inner.rb +54 -63
- data/kinde_api/lib/kinde_api/models/api_result.rb +40 -38
- data/kinde_api/lib/kinde_api/models/apis.rb +52 -56
- data/kinde_api/lib/kinde_api/models/applications.rb +50 -55
- data/kinde_api/lib/kinde_api/models/connected_apps_access_token.rb +45 -44
- data/kinde_api/lib/kinde_api/models/connected_apps_auth_url.rb +45 -44
- data/kinde_api/lib/kinde_api/models/create_application_request.rb +51 -49
- data/kinde_api/lib/kinde_api/models/create_application_response.rb +49 -50
- data/kinde_api/lib/kinde_api/models/create_application_response_application.rb +49 -50
- data/kinde_api/lib/kinde_api/models/create_feature_flag_request.rb +77 -87
- data/kinde_api/lib/kinde_api/models/create_organization_request.rb +125 -83
- data/kinde_api/lib/kinde_api/models/create_organization_response.rb +50 -55
- data/kinde_api/lib/kinde_api/models/create_organization_response_organization.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_organization_user_permission_request.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_organization_user_role_request.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_permission_request.rb +49 -50
- data/kinde_api/lib/kinde_api/models/create_role_request.rb +53 -56
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_subscriber_success_response_subscriber.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_user_request.rb +55 -47
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner.rb +51 -49
- data/kinde_api/lib/kinde_api/models/create_user_request_identities_inner_details.rb +41 -38
- data/kinde_api/lib/kinde_api/models/create_user_request_profile.rb +45 -44
- data/kinde_api/lib/kinde_api/models/create_user_response.rb +50 -52
- data/kinde_api/lib/kinde_api/models/error.rb +44 -44
- data/kinde_api/lib/kinde_api/models/error_response.rb +42 -40
- data/kinde_api/lib/kinde_api/models/get_application_response.rb +49 -50
- data/kinde_api/lib/kinde_api/models/get_application_response_application.rb +57 -62
- data/kinde_api/lib/kinde_api/models/get_applications_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_environment_feature_flags_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response.rb +50 -52
- data/kinde_api/lib/kinde_api/models/get_organization_feature_flags_response_feature_flags_value.rb +52 -52
- data/kinde_api/lib/kinde_api/models/get_organization_users_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_organizations_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_organizations_user_permissions_response.rb +50 -52
- data/kinde_api/lib/kinde_api/models/get_organizations_user_roles_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_permissions_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_redirect_callback_urls_response.rb +42 -40
- data/kinde_api/lib/kinde_api/models/get_roles_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/get_subscriber_response.rb +50 -52
- data/kinde_api/lib/kinde_api/models/get_subscribers_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/logout_redirect_urls.rb +42 -40
- data/kinde_api/lib/kinde_api/models/organization.rb +54 -63
- data/kinde_api/lib/kinde_api/models/organization_user.rb +63 -81
- data/kinde_api/lib/kinde_api/models/organization_user_permission.rb +59 -73
- data/kinde_api/lib/kinde_api/models/organization_user_permission_roles_inner.rb +46 -47
- data/kinde_api/lib/kinde_api/models/organization_user_role.rb +50 -55
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions.rb +50 -55
- data/kinde_api/lib/kinde_api/models/organization_user_role_permissions_permissions.rb +41 -38
- data/kinde_api/lib/kinde_api/models/permissions.rb +59 -52
- data/kinde_api/lib/kinde_api/models/redirect_callback_urls.rb +42 -40
- data/kinde_api/lib/kinde_api/models/replace_logout_redirect_urls_request.rb +42 -40
- data/kinde_api/lib/kinde_api/models/replace_redirect_callback_urls_request.rb +42 -40
- data/kinde_api/lib/kinde_api/models/role.rb +53 -63
- data/kinde_api/lib/kinde_api/models/roles.rb +52 -56
- data/kinde_api/lib/kinde_api/models/roles_permission_response_inner.rb +54 -63
- data/kinde_api/lib/kinde_api/models/subscriber.rb +54 -63
- data/kinde_api/lib/kinde_api/models/subscribers_subscriber.rb +58 -71
- data/kinde_api/lib/kinde_api/models/success_response.rb +46 -47
- data/kinde_api/lib/kinde_api/models/token_error_response.rb +45 -44
- data/kinde_api/lib/kinde_api/models/token_introspect.rb +58 -63
- data/kinde_api/lib/kinde_api/models/update_api_applications_request.rb +44 -42
- data/kinde_api/lib/kinde_api/models/update_api_applications_request_applications_inner.rb +47 -46
- data/kinde_api/lib/kinde_api/models/update_application_request.rb +55 -59
- data/kinde_api/lib/kinde_api/models/update_environement_feature_flag_override_request.rb +43 -40
- data/kinde_api/lib/kinde_api/models/update_organization_request.rb +115 -75
- data/kinde_api/lib/kinde_api/models/update_organization_users_request.rb +42 -40
- data/kinde_api/lib/kinde_api/models/update_organization_users_request_users_inner.rb +55 -59
- data/kinde_api/lib/kinde_api/models/update_organization_users_response.rb +57 -67
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request.rb +42 -40
- data/kinde_api/lib/kinde_api/models/update_role_permissions_request_permissions_inner.rb +45 -44
- data/kinde_api/lib/kinde_api/models/update_role_permissions_response.rb +56 -66
- data/kinde_api/lib/kinde_api/models/update_roles_request.rb +56 -61
- data/kinde_api/lib/kinde_api/models/update_user_request.rb +53 -56
- data/kinde_api/lib/kinde_api/models/update_user_response.rb +66 -73
- data/kinde_api/lib/kinde_api/models/user.rb +97 -118
- data/kinde_api/lib/kinde_api/models/user_identities_inner.rb +46 -47
- data/kinde_api/lib/kinde_api/models/user_identity.rb +45 -44
- data/kinde_api/lib/kinde_api/models/user_identity_result.rb +41 -38
- data/kinde_api/lib/kinde_api/models/user_profile.rb +62 -68
- data/kinde_api/lib/kinde_api/models/user_profile_v2.rb +74 -86
- data/kinde_api/lib/kinde_api/models/users_response.rb +54 -57
- data/kinde_api/lib/kinde_api/models/users_response_users_inner.rb +98 -118
- data/kinde_api/lib/kinde_api/version.rb +11 -11
- data/kinde_api/lib/kinde_api.rb +30 -20
- data/kinde_api/spec/api/apis_api_spec.rb +20 -21
- data/kinde_api/spec/api/applications_api_spec.rb +18 -19
- data/kinde_api/spec/api/business_api_spec.rb +12 -13
- data/kinde_api/spec/api/callbacks_api_spec.rb +27 -28
- data/kinde_api/spec/api/connected_apps_api_spec.rb +16 -15
- data/kinde_api/spec/api/environments_api_spec.rb +14 -15
- data/kinde_api/spec/api/feature_flags_api_spec.rb +13 -14
- data/kinde_api/spec/api/industries_api_spec.rb +12 -13
- data/kinde_api/spec/api/o_auth_api_spec.rb +16 -17
- data/kinde_api/spec/api/organizations_api_spec.rb +34 -35
- data/kinde_api/spec/api/permissions_api_spec.rb +15 -16
- data/kinde_api/spec/api/roles_api_spec.rb +20 -21
- data/kinde_api/spec/api/subscribers_api_spec.rb +15 -16
- data/kinde_api/spec/api/timezones_api_spec.rb +12 -13
- data/kinde_api/spec/api/users_api_spec.rb +36 -24
- data/kinde_api/spec/api_client_spec.rb +21 -27
- data/kinde_api/spec/configuration_spec.rb +11 -11
- data/kinde_api/spec/models/add_apis_request_spec.rb +13 -14
- data/kinde_api/spec/models/add_organization_users_request_spec.rb +11 -12
- data/kinde_api/spec/models/add_organization_users_request_users_inner_spec.rb +14 -15
- data/kinde_api/spec/models/add_organization_users_response_spec.rb +14 -15
- data/kinde_api/spec/models/api_applications_inner_spec.rb +15 -16
- data/kinde_api/spec/models/api_result_spec.rb +11 -12
- data/kinde_api/spec/models/api_spec.rb +17 -18
- data/kinde_api/spec/models/apis_spec.rb +15 -16
- data/kinde_api/spec/models/applications_spec.rb +14 -15
- data/kinde_api/spec/models/connected_apps_access_token_spec.rb +13 -14
- data/kinde_api/spec/models/connected_apps_auth_url_spec.rb +13 -14
- data/kinde_api/spec/models/create_application_request_spec.rb +13 -14
- data/kinde_api/spec/models/create_application_response_application_spec.rb +14 -15
- data/kinde_api/spec/models/create_application_response_spec.rb +14 -15
- data/kinde_api/spec/models/create_feature_flag_request_spec.rb +17 -18
- data/kinde_api/spec/models/create_organization_request_spec.rb +53 -18
- data/kinde_api/spec/models/create_organization_response_organization_spec.rb +11 -12
- data/kinde_api/spec/models/create_organization_response_spec.rb +14 -15
- data/kinde_api/spec/models/create_organization_user_permission_request_spec.rb +11 -12
- data/kinde_api/spec/models/create_organization_user_role_request_spec.rb +11 -12
- data/kinde_api/spec/models/create_permission_request_spec.rb +14 -15
- data/kinde_api/spec/models/create_role_request_spec.rb +15 -16
- data/kinde_api/spec/models/create_subscriber_success_response_spec.rb +11 -12
- data/kinde_api/spec/models/create_subscriber_success_response_subscriber_spec.rb +11 -12
- data/kinde_api/spec/models/create_user_request_identities_inner_details_spec.rb +11 -12
- data/kinde_api/spec/models/create_user_request_identities_inner_spec.rb +13 -14
- data/kinde_api/spec/models/create_user_request_profile_spec.rb +13 -14
- data/kinde_api/spec/models/create_user_request_spec.rb +19 -14
- data/kinde_api/spec/models/create_user_response_spec.rb +14 -15
- data/kinde_api/spec/models/error_response_spec.rb +11 -12
- data/kinde_api/spec/models/error_spec.rb +13 -14
- data/kinde_api/spec/models/get_application_response_application_spec.rb +16 -17
- data/kinde_api/spec/models/get_application_response_spec.rb +14 -15
- data/kinde_api/spec/models/get_applications_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_environment_feature_flags_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_organization_feature_flags_response_feature_flags_value_spec.rb +13 -14
- data/kinde_api/spec/models/get_organization_feature_flags_response_spec.rb +14 -15
- data/kinde_api/spec/models/get_organization_users_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_organizations_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_organizations_user_permissions_response_spec.rb +14 -15
- data/kinde_api/spec/models/get_organizations_user_roles_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_permissions_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_redirect_callback_urls_response_spec.rb +11 -12
- data/kinde_api/spec/models/get_roles_response_spec.rb +15 -16
- data/kinde_api/spec/models/get_subscriber_response_spec.rb +14 -15
- data/kinde_api/spec/models/get_subscribers_response_spec.rb +15 -16
- data/kinde_api/spec/models/logout_redirect_urls_spec.rb +11 -12
- data/kinde_api/spec/models/organization_spec.rb +15 -16
- data/kinde_api/spec/models/organization_user_permission_roles_inner_spec.rb +13 -14
- data/kinde_api/spec/models/organization_user_permission_spec.rb +16 -17
- data/kinde_api/spec/models/organization_user_role_permissions_permissions_spec.rb +11 -12
- data/kinde_api/spec/models/organization_user_role_permissions_spec.rb +14 -15
- data/kinde_api/spec/models/organization_user_role_spec.rb +14 -15
- data/kinde_api/spec/models/organization_user_spec.rb +17 -18
- data/kinde_api/spec/models/permissions_spec.rb +20 -15
- data/kinde_api/spec/models/redirect_callback_urls_spec.rb +11 -12
- data/kinde_api/spec/models/replace_logout_redirect_urls_request_spec.rb +11 -12
- data/kinde_api/spec/models/replace_redirect_callback_urls_request_spec.rb +11 -12
- data/kinde_api/spec/models/role_spec.rb +15 -16
- data/kinde_api/spec/models/roles_permission_response_inner_spec.rb +15 -16
- data/kinde_api/spec/models/roles_spec.rb +15 -16
- data/kinde_api/spec/models/subscriber_spec.rb +15 -16
- data/kinde_api/spec/models/subscribers_subscriber_spec.rb +16 -17
- data/kinde_api/spec/models/success_response_spec.rb +13 -14
- data/kinde_api/spec/models/token_error_response_spec.rb +13 -14
- data/kinde_api/spec/models/token_introspect_spec.rb +16 -17
- data/kinde_api/spec/models/update_api_applications_request_applications_inner_spec.rb +13 -14
- data/kinde_api/spec/models/update_api_applications_request_spec.rb +11 -12
- data/kinde_api/spec/models/update_application_request_spec.rb +15 -16
- data/kinde_api/spec/models/update_environement_feature_flag_override_request_spec.rb +11 -12
- data/kinde_api/spec/models/update_organization_request_spec.rb +52 -17
- data/kinde_api/spec/models/update_organization_users_request_spec.rb +11 -12
- data/kinde_api/spec/models/update_organization_users_request_users_inner_spec.rb +15 -16
- data/kinde_api/spec/models/update_organization_users_response_spec.rb +15 -16
- data/kinde_api/spec/models/update_role_permissions_request_permissions_inner_spec.rb +13 -14
- data/kinde_api/spec/models/update_role_permissions_request_spec.rb +11 -12
- data/kinde_api/spec/models/update_role_permissions_response_spec.rb +15 -16
- data/kinde_api/spec/models/update_roles_request_spec.rb +15 -16
- data/kinde_api/spec/models/update_user_request_spec.rb +15 -16
- data/kinde_api/spec/models/update_user_response_spec.rb +17 -18
- data/kinde_api/spec/models/user_identities_inner_spec.rb +13 -14
- data/kinde_api/spec/models/user_identity_result_spec.rb +11 -12
- data/kinde_api/spec/models/user_identity_spec.rb +13 -14
- data/kinde_api/spec/models/user_profile_spec.rb +17 -18
- data/kinde_api/spec/models/user_profile_v2_spec.rb +19 -20
- data/kinde_api/spec/models/user_spec.rb +24 -25
- data/kinde_api/spec/models/users_response_spec.rb +15 -16
- data/kinde_api/spec/models/users_response_users_inner_spec.rb +24 -25
- data/kinde_api/spec/spec_helper.rb +61 -63
- data/lib/kinde_sdk/version.rb +1 -1
- metadata +12 -21
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -128
- data/LICENSE +0 -21
- data/README.md +0 -23
- data/Rakefile +0 -10
- data/kinde_api/.gitignore +0 -39
- data/kinde_api/.rspec +0 -2
- data/kinde_sdk.gemspec +0 -33
- data/openapitools.json +0 -7
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -34,23 +34,23 @@ describe 'OAuthApi' do
|
|
34
34
|
|
35
35
|
# unit tests for get_user
|
36
36
|
# Get User Profile
|
37
|
-
# Contains the id, names and email of the currently logged in user.
|
37
|
+
# Contains the id, names and email of the currently logged in user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [UserProfile]
|
40
40
|
describe 'get_user test' do
|
41
41
|
it 'should work' do
|
42
|
-
# assertion here. ref: https://
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
46
|
# unit tests for get_user_profile_v2
|
47
47
|
# Returns the details of the currently logged in user
|
48
|
-
# Contains the id, names, profile picture URL and email of the currently logged in user.
|
48
|
+
# Contains the id, names, profile picture URL and email of the currently logged in user.
|
49
49
|
# @param [Hash] opts the optional parameters
|
50
50
|
# @return [UserProfileV2]
|
51
51
|
describe 'get_user_profile_v2 test' do
|
52
52
|
it 'should work' do
|
53
|
-
# assertion here. ref: https://
|
53
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
@@ -63,7 +63,7 @@ describe 'OAuthApi' do
|
|
63
63
|
# @return [TokenIntrospect]
|
64
64
|
describe 'token_introspection test' do
|
65
65
|
it 'should work' do
|
66
|
-
# assertion here. ref: https://
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -77,8 +77,7 @@ describe 'OAuthApi' do
|
|
77
77
|
# @return [nil]
|
78
78
|
describe 'token_revocation test' do
|
79
79
|
it 'should work' do
|
80
|
-
# assertion here. ref: https://
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
81
|
end
|
82
82
|
end
|
83
|
-
|
84
83
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -37,23 +37,23 @@ describe 'OrganizationsApi' do
|
|
37
37
|
# Add existing users to an organization.
|
38
38
|
# @param org_code The organization's code.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [AddOrganizationUsersRequest] :add_organization_users_request
|
40
|
+
# @option opts [AddOrganizationUsersRequest] :add_organization_users_request
|
41
41
|
# @return [AddOrganizationUsersResponse]
|
42
42
|
describe 'add_organization_users test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
48
|
# unit tests for create_organization
|
49
49
|
# Create Organization
|
50
50
|
# Create an organization.
|
51
|
+
# @param create_organization_request Organization details.
|
51
52
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [CreateOrganizationRequest] :create_organization_request Organization details.
|
53
53
|
# @return [CreateOrganizationResponse]
|
54
54
|
describe 'create_organization test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -67,7 +67,7 @@ describe 'OrganizationsApi' do
|
|
67
67
|
# @return [SuccessResponse]
|
68
68
|
describe 'create_organization_user_permission test' do
|
69
69
|
it 'should work' do
|
70
|
-
# assertion here. ref: https://
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -81,7 +81,7 @@ describe 'OrganizationsApi' do
|
|
81
81
|
# @return [SuccessResponse]
|
82
82
|
describe 'create_organization_user_role test' do
|
83
83
|
it 'should work' do
|
84
|
-
# assertion here. ref: https://
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
@@ -93,7 +93,7 @@ describe 'OrganizationsApi' do
|
|
93
93
|
# @return [nil]
|
94
94
|
describe 'delete_organization test' do
|
95
95
|
it 'should work' do
|
96
|
-
# assertion here. ref: https://
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
@@ -106,7 +106,7 @@ describe 'OrganizationsApi' do
|
|
106
106
|
# @return [SuccessResponse]
|
107
107
|
describe 'delete_organization_feature_flag_override test' do
|
108
108
|
it 'should work' do
|
109
|
-
# assertion here. ref: https://
|
109
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
@@ -118,7 +118,7 @@ describe 'OrganizationsApi' do
|
|
118
118
|
# @return [SuccessResponse]
|
119
119
|
describe 'delete_organization_feature_flag_overrides test' do
|
120
120
|
it 'should work' do
|
121
|
-
# assertion here. ref: https://
|
121
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
@@ -132,7 +132,7 @@ describe 'OrganizationsApi' do
|
|
132
132
|
# @return [SuccessResponse]
|
133
133
|
describe 'delete_organization_user_permission test' do
|
134
134
|
it 'should work' do
|
135
|
-
# assertion here. ref: https://
|
135
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
@@ -146,19 +146,19 @@ describe 'OrganizationsApi' do
|
|
146
146
|
# @return [SuccessResponse]
|
147
147
|
describe 'delete_organization_user_role test' do
|
148
148
|
it 'should work' do
|
149
|
-
# assertion here. ref: https://
|
149
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
153
|
# unit tests for get_organization
|
154
154
|
# Get Organization
|
155
|
-
# Gets an organization given the organization's code.
|
155
|
+
# Gets an organization given the organization's code.
|
156
156
|
# @param [Hash] opts the optional parameters
|
157
157
|
# @option opts [String] :code The organization's code.
|
158
158
|
# @return [Organization]
|
159
159
|
describe 'get_organization test' do
|
160
160
|
it 'should work' do
|
161
|
-
# assertion here. ref: https://
|
161
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
@@ -170,7 +170,7 @@ describe 'OrganizationsApi' do
|
|
170
170
|
# @return [GetOrganizationFeatureFlagsResponse]
|
171
171
|
describe 'get_organization_feature_flags test' do
|
172
172
|
it 'should work' do
|
173
|
-
# assertion here. ref: https://
|
173
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
@@ -184,7 +184,7 @@ describe 'OrganizationsApi' do
|
|
184
184
|
# @return [GetOrganizationsUserPermissionsResponse]
|
185
185
|
describe 'get_organization_user_permissions test' do
|
186
186
|
it 'should work' do
|
187
|
-
# assertion here. ref: https://
|
187
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
@@ -197,7 +197,7 @@ describe 'OrganizationsApi' do
|
|
197
197
|
# @return [GetOrganizationsUserRolesResponse]
|
198
198
|
describe 'get_organization_user_roles test' do
|
199
199
|
it 'should work' do
|
200
|
-
# assertion here. ref: https://
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
201
|
end
|
202
202
|
end
|
203
203
|
|
@@ -214,13 +214,13 @@ describe 'OrganizationsApi' do
|
|
214
214
|
# @return [GetOrganizationUsersResponse]
|
215
215
|
describe 'get_organization_users test' do
|
216
216
|
it 'should work' do
|
217
|
-
# assertion here. ref: https://
|
217
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
218
218
|
end
|
219
219
|
end
|
220
220
|
|
221
221
|
# unit tests for get_organizations
|
222
222
|
# List Organizations
|
223
|
-
# Get a list of organizations.
|
223
|
+
# Get a list of organizations.
|
224
224
|
# @param [Hash] opts the optional parameters
|
225
225
|
# @option opts [String] :sort Field and order to sort the result by.
|
226
226
|
# @option opts [Integer] :page_size Number of results per page. Defaults to 10 if parameter not sent.
|
@@ -228,7 +228,7 @@ describe 'OrganizationsApi' do
|
|
228
228
|
# @return [GetOrganizationsResponse]
|
229
229
|
describe 'get_organizations test' do
|
230
230
|
it 'should work' do
|
231
|
-
# assertion here. ref: https://
|
231
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
232
232
|
end
|
233
233
|
end
|
234
234
|
|
@@ -241,7 +241,7 @@ describe 'OrganizationsApi' do
|
|
241
241
|
# @return [SuccessResponse]
|
242
242
|
describe 'remove_organization_user test' do
|
243
243
|
it 'should work' do
|
244
|
-
# assertion here. ref: https://
|
244
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
245
245
|
end
|
246
246
|
end
|
247
247
|
|
@@ -254,7 +254,7 @@ describe 'OrganizationsApi' do
|
|
254
254
|
# @return [SuccessResponse]
|
255
255
|
describe 'update_organization test' do
|
256
256
|
it 'should work' do
|
257
|
-
# assertion here. ref: https://
|
257
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
258
258
|
end
|
259
259
|
end
|
260
260
|
|
@@ -268,7 +268,7 @@ describe 'OrganizationsApi' do
|
|
268
268
|
# @return [SuccessResponse]
|
269
269
|
describe 'update_organization_feature_flag_override test' do
|
270
270
|
it 'should work' do
|
271
|
-
# assertion here. ref: https://
|
271
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
272
272
|
end
|
273
273
|
end
|
274
274
|
|
@@ -277,12 +277,11 @@ describe 'OrganizationsApi' do
|
|
277
277
|
# Update users that belong to an organization.
|
278
278
|
# @param org_code The organization's code.
|
279
279
|
# @param [Hash] opts the optional parameters
|
280
|
-
# @option opts [UpdateOrganizationUsersRequest] :update_organization_users_request
|
280
|
+
# @option opts [UpdateOrganizationUsersRequest] :update_organization_users_request
|
281
281
|
# @return [UpdateOrganizationUsersResponse]
|
282
282
|
describe 'update_organization_users test' do
|
283
283
|
it 'should work' do
|
284
|
-
# assertion here. ref: https://
|
284
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
285
285
|
end
|
286
286
|
end
|
287
|
-
|
288
287
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -40,7 +40,7 @@ describe 'PermissionsApi' do
|
|
40
40
|
# @return [SuccessResponse]
|
41
41
|
describe 'create_permission test' do
|
42
42
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -52,13 +52,13 @@ describe 'PermissionsApi' do
|
|
52
52
|
# @return [SuccessResponse]
|
53
53
|
describe 'delete_permission test' do
|
54
54
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
59
|
# unit tests for get_permissions
|
60
60
|
# List Permissions
|
61
|
-
# The returned list can be sorted by permission name or permission ID 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.
|
61
|
+
# The returned list can be sorted by permission name or permission ID 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.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
63
|
# @option opts [String] :sort Field and order to sort the result by.
|
64
64
|
# @option opts [Integer] :page_size Number of results per page. Defaults to 10 if parameter not sent.
|
@@ -66,7 +66,7 @@ describe 'PermissionsApi' do
|
|
66
66
|
# @return [GetPermissionsResponse]
|
67
67
|
describe 'get_permissions test' do
|
68
68
|
it 'should work' do
|
69
|
-
# assertion here. ref: https://
|
69
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
@@ -79,8 +79,7 @@ describe 'PermissionsApi' do
|
|
79
79
|
# @return [SuccessResponse]
|
80
80
|
describe 'update_permissions test' do
|
81
81
|
it 'should work' do
|
82
|
-
# assertion here. ref: https://
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
83
83
|
end
|
84
84
|
end
|
85
|
-
|
86
85
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -40,7 +40,7 @@ describe 'RolesApi' do
|
|
40
40
|
# @return [SuccessResponse]
|
41
41
|
describe 'create_role test' do
|
42
42
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -52,7 +52,7 @@ describe 'RolesApi' do
|
|
52
52
|
# @return [SuccessResponse]
|
53
53
|
describe 'delete_role test' do
|
54
54
|
it 'should work' do
|
55
|
-
# assertion here. ref: https://
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
@@ -67,13 +67,13 @@ describe 'RolesApi' do
|
|
67
67
|
# @return [Array<RolesPermissionResponseInner>]
|
68
68
|
describe 'get_role_permission test' do
|
69
69
|
it 'should work' do
|
70
|
-
# assertion here. ref: https://
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
74
|
# unit tests for get_roles
|
75
75
|
# List Roles
|
76
|
-
# The returned list can be sorted by role name or role ID 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.
|
76
|
+
# The returned list can be sorted by role name or role ID 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.
|
77
77
|
# @param [Hash] opts the optional parameters
|
78
78
|
# @option opts [String] :sort Field and order to sort the result by.
|
79
79
|
# @option opts [Integer] :page_size Number of results per page. Defaults to 10 if parameter not sent.
|
@@ -81,7 +81,7 @@ describe 'RolesApi' do
|
|
81
81
|
# @return [GetRolesResponse]
|
82
82
|
describe 'get_roles test' do
|
83
83
|
it 'should work' do
|
84
|
-
# assertion here. ref: https://
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
@@ -94,20 +94,20 @@ describe 'RolesApi' do
|
|
94
94
|
# @return [SuccessResponse]
|
95
95
|
describe 'remove_role_permission test' do
|
96
96
|
it 'should work' do
|
97
|
-
# assertion here. ref: https://
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# unit tests for update_role_permissions
|
102
102
|
# Update Role Permissions
|
103
|
-
# Update role permissions.
|
103
|
+
# Update role permissions.
|
104
104
|
# @param role_id The identifier for the role.
|
105
|
-
# @param update_role_permissions_request
|
105
|
+
# @param update_role_permissions_request
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
107
|
# @return [UpdateRolePermissionsResponse]
|
108
108
|
describe 'update_role_permissions test' do
|
109
109
|
it 'should work' do
|
110
|
-
# assertion here. ref: https://
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
@@ -120,8 +120,7 @@ describe 'RolesApi' do
|
|
120
120
|
# @return [SuccessResponse]
|
121
121
|
describe 'update_roles test' do
|
122
122
|
it 'should work' do
|
123
|
-
# assertion here. ref: https://
|
123
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
124
124
|
end
|
125
125
|
end
|
126
|
-
|
127
126
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
#Kinde Management API
|
1
|
+
# frozen_string_literal: true
|
3
2
|
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -42,25 +42,25 @@ describe 'SubscribersApi' do
|
|
42
42
|
# @return [CreateSubscriberSuccessResponse]
|
43
43
|
describe 'create_subscriber test' do
|
44
44
|
it 'should work' do
|
45
|
-
# assertion here. ref: https://
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
49
|
# unit tests for get_subscriber
|
50
50
|
# Get Subscriber
|
51
|
-
# Retrieve a subscriber record.
|
51
|
+
# Retrieve a subscriber record.
|
52
52
|
# @param subscriber_id The subscriber's id.
|
53
53
|
# @param [Hash] opts the optional parameters
|
54
54
|
# @return [GetSubscriberResponse]
|
55
55
|
describe 'get_subscriber test' do
|
56
56
|
it 'should work' do
|
57
|
-
# assertion here. ref: https://
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
61
|
# unit tests for get_subscribers
|
62
62
|
# List Subscribers
|
63
|
-
# 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.
|
63
|
+
# 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.
|
64
64
|
# @param [Hash] opts the optional parameters
|
65
65
|
# @option opts [String] :sort Field and order to sort the result by.
|
66
66
|
# @option opts [Integer] :page_size Number of results per page. Defaults to 10 if parameter not sent.
|
@@ -68,8 +68,7 @@ describe 'SubscribersApi' do
|
|
68
68
|
# @return [GetSubscribersResponse]
|
69
69
|
describe 'get_subscribers test' do
|
70
70
|
it 'should work' do
|
71
|
-
# assertion here. ref: https://
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
72
72
|
end
|
73
73
|
end
|
74
|
-
|
75
74
|
end
|
@@ -1,14 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
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
|
require 'spec_helper'
|
14
14
|
require 'json'
|
@@ -41,8 +41,7 @@ describe 'TimezonesApi' do
|
|
41
41
|
# @return [SuccessResponse]
|
42
42
|
describe 'get_timezones test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
|
-
|
48
47
|
end
|