authress-sdk 2.0.36.0 → 2.0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/authress-sdk/api/access_records_api.rb +6 -6
  3. data/lib/authress-sdk/api/accounts_api.rb +9 -9
  4. data/lib/authress-sdk/api/metadata_api.rb +6 -6
  5. data/lib/authress-sdk/api/resource_permissions_api.rb +9 -9
  6. data/lib/authress-sdk/api/roles_api.rb +9 -9
  7. data/lib/authress-sdk/api/service_clients_api.rb +15 -15
  8. data/lib/authress-sdk/api/user_permissions_api.rb +9 -9
  9. data/lib/authress-sdk/api/users_api.rb +134 -0
  10. data/lib/authress-sdk/models/{permission_response.rb → permission_collection.rb} +3 -3
  11. data/lib/authress-sdk/models/{v1resourcesresource_uri_permissions.rb → user_identity.rb} +40 -38
  12. data/lib/authress-sdk/models/{inline_response_200_6.rb → user_identity_collection.rb} +5 -5
  13. metadata +6 -28
  14. data/lib/authress-sdk/models/inline_response_200.rb +0 -240
  15. data/lib/authress-sdk/models/inline_response_200_1.rb +0 -229
  16. data/lib/authress-sdk/models/inline_response_200_10.rb +0 -248
  17. data/lib/authress-sdk/models/inline_response_200_11.rb +0 -204
  18. data/lib/authress-sdk/models/inline_response_200_12.rb +0 -206
  19. data/lib/authress-sdk/models/inline_response_200_13.rb +0 -222
  20. data/lib/authress-sdk/models/inline_response_200_14.rb +0 -239
  21. data/lib/authress-sdk/models/inline_response_200_15.rb +0 -235
  22. data/lib/authress-sdk/models/inline_response_200_2.rb +0 -231
  23. data/lib/authress-sdk/models/inline_response_200_3.rb +0 -253
  24. data/lib/authress-sdk/models/inline_response_200_4.rb +0 -221
  25. data/lib/authress-sdk/models/inline_response_200_5.rb +0 -206
  26. data/lib/authress-sdk/models/inline_response_200_7.rb +0 -222
  27. data/lib/authress-sdk/models/inline_response_200_9.rb +0 -261
  28. data/lib/authress-sdk/models/v1clients_options.rb +0 -211
  29. data/lib/authress-sdk/models/v1records_account.rb +0 -204
  30. data/lib/authress-sdk/models/v1records_links.rb +0 -204
  31. data/lib/authress-sdk/models/v1records_links_self.rb +0 -216
  32. data/lib/authress-sdk/models/v1records_users.rb +0 -205
  33. data/lib/authress-sdk/models/v1roles_permissions.rb +0 -251
  34. data/lib/authress-sdk/models/v1usersuser_idresourcesresource_urimetadata_account.rb +0 -199
  35. data/lib/authress-sdk/models/v1usersuser_idtokens_resources.rb +0 -205
  36. data/lib/authress-sdk/models/v1usersuser_idtokens_statements.rb +0 -222
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d53ce37eb3af2b4911e21b2e93c6f77ec7a06232c96e7ed58cbae4edcbdf4647
4
- data.tar.gz: c8792e0d2b46e6f42c1a87377dc58ba83312ca9946ce4506eb88544756867a5a
3
+ metadata.gz: af749c52bd76e5debb79a90f0d47ac20aca712b715262db6afd3db62dbe83444
4
+ data.tar.gz: b85b441f41685942439e5adcc8ec3359c2513c70671c8fb2d366c4c37b75d4a7
5
5
  SHA512:
6
- metadata.gz: 17fcb77f73b4ce14a83b375a672a6103b3811ae86f48c8a048c61899bfd8a705440e4b90d2862663096c333b3965f461d62c9bc2ba37f370858046e9850749a5
7
- data.tar.gz: b13152410a514e8b88bd34e983de8e805c809a30913554116979aaa5ccd486a549385583eaf7650579fbdd2167d092b49914291217ea547db547357d4c6e0ce5
6
+ metadata.gz: 1ea56948469b0b98397c05ff8819b2aa342717194b08dcaef61172259bb4e41494445d055e90eec07191eb55d71c6b3759c9fb9b913fa1504452fa1432b0d52d
7
+ data.tar.gz: ceda5efaf09b495db2fd8247d214040880f1de279c1c32b46427e46777a9f6b63fd4461ec989e0873e861bef807cb73dd767112955d30f5bd9407b67d6402869
@@ -352,7 +352,7 @@ module AuthressSdk
352
352
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
353
353
  # @option opts [String] :filter Filter to search records by. This is a case insensitive search through every text field.
354
354
  # @option opts [String] :status Filter records by their current status.
355
- # @return [InlineResponse2007]
355
+ # @return [AccessRecordCollection]
356
356
  def get_records(opts = {})
357
357
  data, _status_code, _headers = get_records_with_http_info(opts)
358
358
  data
@@ -365,7 +365,7 @@ module AuthressSdk
365
365
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
366
366
  # @option opts [String] :filter Filter to search records by. This is a case insensitive search through every text field.
367
367
  # @option opts [String] :status Filter records by their current status.
368
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
368
+ # @return [Array<(AccessRecordCollection, Integer, Hash)>] AccessRecordCollection data, response status code and response headers
369
369
  def get_records_with_http_info(opts = {})
370
370
  if @authress_client.config[:debugging]
371
371
  @authress_client.config[:logger].debug 'Calling API: AccessRecordsApi.get_records ...'
@@ -394,7 +394,7 @@ module AuthressSdk
394
394
  # http body (model)
395
395
  post_body = opts[:body]
396
396
 
397
- return_type = opts[:return_type] || 'InlineResponse2007'
397
+ return_type = opts[:return_type] || 'AccessRecordCollection'
398
398
 
399
399
  auth_names = opts[:auth_names] || ['oauth2']
400
400
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -414,7 +414,7 @@ module AuthressSdk
414
414
  # Accepts an invite by claiming this invite by this user. The user token used for this request will gain the permissions associated with the invite.
415
415
  # @param invite_id The identifier of the invite.
416
416
  # @param [Hash] opts the optional parameters
417
- # @return [InlineResponse2009]
417
+ # @return [Account]
418
418
  def respond_to_invite(invite_id, opts = {})
419
419
  data, _status_code, _headers = respond_to_invite_with_http_info(invite_id, opts)
420
420
  data
@@ -424,7 +424,7 @@ module AuthressSdk
424
424
  # Accepts an invite by claiming this invite by this user. The user token used for this request will gain the permissions associated with the invite.
425
425
  # @param invite_id The identifier of the invite.
426
426
  # @param [Hash] opts the optional parameters
427
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
427
+ # @return [Array<(Account, Integer, Hash)>] Account data, response status code and response headers
428
428
  def respond_to_invite_with_http_info(invite_id, opts = {})
429
429
  if @authress_client.config[:debugging]
430
430
  @authress_client.config[:logger].debug 'Calling API: AccessRecordsApi.respond_to_invite ...'
@@ -450,7 +450,7 @@ module AuthressSdk
450
450
  # http body (model)
451
451
  post_body = opts[:body]
452
452
 
453
- return_type = opts[:return_type] || 'InlineResponse2009'
453
+ return_type = opts[:return_type] || 'Account'
454
454
 
455
455
  auth_names = opts[:auth_names] || ['oauth2']
456
456
  data, status_code, headers = @authress_client.call_api(:PATCH, local_var_path,
@@ -13,7 +13,7 @@ module AuthressSdk
13
13
  # Includes the original configuration information. <br><span class=\"badge badge-outline-secondary\">READ: Authress:Configuration</span>
14
14
  # @param account_id The unique identifier for the account
15
15
  # @param [Hash] opts the optional parameters
16
- # @return [InlineResponse2009]
16
+ # @return [Account]
17
17
  def get_account(account_id, opts = {})
18
18
  data, _status_code, _headers = get_account_with_http_info(account_id, opts)
19
19
  data
@@ -23,7 +23,7 @@ module AuthressSdk
23
23
  # Includes the original configuration information. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:Configuration&lt;/span&gt;
24
24
  # @param account_id The unique identifier for the account
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
26
+ # @return [Array<(Account, Integer, Hash)>] Account data, response status code and response headers
27
27
  def get_account_with_http_info(account_id, opts = {})
28
28
  if @authress_client.config[:debugging]
29
29
  @authress_client.config[:logger].debug 'Calling API: AccountsApi.get_account ...'
@@ -49,7 +49,7 @@ module AuthressSdk
49
49
  # http body (model)
50
50
  post_body = opts[:body]
51
51
 
52
- return_type = opts[:return_type] || 'InlineResponse2009'
52
+ return_type = opts[:return_type] || 'Account'
53
53
 
54
54
  auth_names = opts[:auth_names] || ['oauth2']
55
55
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -68,7 +68,7 @@ module AuthressSdk
68
68
  # Get all linked identities for this account.
69
69
  # Returns a list of identities linked for this account. <br><span class=\"badge badge-outline-secondary\">READ: Authress:Configuration</span>
70
70
  # @param [Hash] opts the optional parameters
71
- # @return [InlineResponse20012]
71
+ # @return [IdentityCollection]
72
72
  def get_account_identities(opts = {})
73
73
  data, _status_code, _headers = get_account_identities_with_http_info(opts)
74
74
  data
@@ -77,7 +77,7 @@ module AuthressSdk
77
77
  # Get all linked identities for this account.
78
78
  # Returns a list of identities linked for this account. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:Configuration&lt;/span&gt;
79
79
  # @param [Hash] opts the optional parameters
80
- # @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
80
+ # @return [Array<(IdentityCollection, Integer, Hash)>] IdentityCollection data, response status code and response headers
81
81
  def get_account_identities_with_http_info(opts = {})
82
82
  if @authress_client.config[:debugging]
83
83
  @authress_client.config[:logger].debug 'Calling API: AccountsApi.get_account_identities ...'
@@ -99,7 +99,7 @@ module AuthressSdk
99
99
  # http body (model)
100
100
  post_body = opts[:body]
101
101
 
102
- return_type = opts[:return_type] || 'InlineResponse20012'
102
+ return_type = opts[:return_type] || 'IdentityCollection'
103
103
 
104
104
  auth_names = opts[:auth_names] || ['oauth2']
105
105
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -118,7 +118,7 @@ module AuthressSdk
118
118
  # Get all accounts user has access to
119
119
  # Returns a list of accounts that the user has access to. <br><span class=\"badge badge-outline-secondary\">READ: Authress:Configuration</span>
120
120
  # @param [Hash] opts the optional parameters
121
- # @return [InlineResponse20011]
121
+ # @return [AccountCollection]
122
122
  def get_accounts(opts = {})
123
123
  data, _status_code, _headers = get_accounts_with_http_info(opts)
124
124
  data
@@ -127,7 +127,7 @@ module AuthressSdk
127
127
  # Get all accounts user has access to
128
128
  # Returns a list of accounts that the user has access to. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:Configuration&lt;/span&gt;
129
129
  # @param [Hash] opts the optional parameters
130
- # @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
130
+ # @return [Array<(AccountCollection, Integer, Hash)>] AccountCollection data, response status code and response headers
131
131
  def get_accounts_with_http_info(opts = {})
132
132
  if @authress_client.config[:debugging]
133
133
  @authress_client.config[:logger].debug 'Calling API: AccountsApi.get_accounts ...'
@@ -149,7 +149,7 @@ module AuthressSdk
149
149
  # http body (model)
150
150
  post_body = opts[:body]
151
151
 
152
- return_type = opts[:return_type] || 'InlineResponse20011'
152
+ return_type = opts[:return_type] || 'AccountCollection'
153
153
 
154
154
  auth_names = opts[:auth_names] || ['oauth2']
155
155
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -14,7 +14,7 @@ module AuthressSdk
14
14
  # @param user_id The owner of the data.
15
15
  # @param resource_uri The resource the data is attached to.
16
16
  # @param [Hash] opts the optional parameters
17
- # @return [InlineResponse2001]
17
+ # @return [MetadataObject]
18
18
  def get_user_metadata(user_id, resource_uri, opts = {})
19
19
  data, _status_code, _headers = get_user_metadata_with_http_info(user_id, resource_uri, opts)
20
20
  data
@@ -25,7 +25,7 @@ module AuthressSdk
25
25
  # @param user_id The owner of the data.
26
26
  # @param resource_uri The resource the data is attached to.
27
27
  # @param [Hash] opts the optional parameters
28
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
28
+ # @return [Array<(MetadataObject, Integer, Hash)>] MetadataObject data, response status code and response headers
29
29
  def get_user_metadata_with_http_info(user_id, resource_uri, opts = {})
30
30
  if @authress_client.config[:debugging]
31
31
  @authress_client.config[:logger].debug 'Calling API: MetadataApi.get_user_metadata ...'
@@ -55,7 +55,7 @@ module AuthressSdk
55
55
  # http body (model)
56
56
  post_body = opts[:body]
57
57
 
58
- return_type = opts[:return_type] || 'InlineResponse2001'
58
+ return_type = opts[:return_type] || 'MetadataObject'
59
59
 
60
60
  auth_names = opts[:auth_names] || ['oauth2']
61
61
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -77,7 +77,7 @@ module AuthressSdk
77
77
  # @param user_id The owner of the data.
78
78
  # @param resource_uri The resource the data is attached to.
79
79
  # @param [Hash] opts the optional parameters
80
- # @return [InlineResponse2001]
80
+ # @return [MetadataObject]
81
81
  def update_user_metadata(body, user_id, resource_uri, opts = {})
82
82
  data, _status_code, _headers = update_user_metadata_with_http_info(body, user_id, resource_uri, opts)
83
83
  data
@@ -89,7 +89,7 @@ module AuthressSdk
89
89
  # @param user_id The owner of the data.
90
90
  # @param resource_uri The resource the data is attached to.
91
91
  # @param [Hash] opts the optional parameters
92
- # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
92
+ # @return [Array<(MetadataObject, Integer, Hash)>] MetadataObject data, response status code and response headers
93
93
  def update_user_metadata_with_http_info(body, user_id, resource_uri, opts = {})
94
94
  if @authress_client.config[:debugging]
95
95
  @authress_client.config[:logger].debug 'Calling API: MetadataApi.update_user_metadata ...'
@@ -125,7 +125,7 @@ module AuthressSdk
125
125
  # http body (model)
126
126
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
127
127
 
128
- return_type = opts[:return_type] || 'InlineResponse2001'
128
+ return_type = opts[:return_type] || 'MetadataObject'
129
129
 
130
130
  auth_names = opts[:auth_names] || ['oauth2']
131
131
  data, status_code, headers = @authress_client.call_api(:PUT, local_var_path,
@@ -13,7 +13,7 @@ module AuthressSdk
13
13
  # Permissions can be set globally at a resource level. This will apply to all users in an account. <br><span class=\"badge badge-outline-secondary\">GRANT *: Authress:ResourcePermissions/{resourceUri}</span>
14
14
  # @param resource_uri The uri path of a resource to validate, must be URL encoded, uri segments are allowed.
15
15
  # @param [Hash] opts the optional parameters
16
- # @return [InlineResponse2005]
16
+ # @return [ResourcePermission]
17
17
  def get_resource_permissions(resource_uri, opts = {})
18
18
  data, _status_code, _headers = get_resource_permissions_with_http_info(resource_uri, opts)
19
19
  data
@@ -23,7 +23,7 @@ module AuthressSdk
23
23
  # Permissions can be set globally at a resource level. This will apply to all users in an account. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;GRANT *: Authress:ResourcePermissions/{resourceUri}&lt;/span&gt;
24
24
  # @param resource_uri The uri path of a resource to validate, must be URL encoded, uri segments are allowed.
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
26
+ # @return [Array<(ResourcePermission, Integer, Hash)>] ResourcePermission data, response status code and response headers
27
27
  def get_resource_permissions_with_http_info(resource_uri, opts = {})
28
28
  if @authress_client.config[:debugging]
29
29
  @authress_client.config[:logger].debug 'Calling API: ResourcePermissionsApi.get_resource_permissions ...'
@@ -49,7 +49,7 @@ module AuthressSdk
49
49
  # http body (model)
50
50
  post_body = opts[:body]
51
51
 
52
- return_type = opts[:return_type] || 'InlineResponse2005'
52
+ return_type = opts[:return_type] || 'ResourcePermission'
53
53
 
54
54
  auth_names = opts[:auth_names] || ['oauth2']
55
55
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -71,7 +71,7 @@ module AuthressSdk
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @option opts [Integer] :limit Max number of results to return (default to 20)
73
73
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
74
- # @return [InlineResponse2006]
74
+ # @return [ResourceUsersCollection]
75
75
  def get_resource_users(resource_uri, opts = {})
76
76
  data, _status_code, _headers = get_resource_users_with_http_info(resource_uri, opts)
77
77
  data
@@ -83,7 +83,7 @@ module AuthressSdk
83
83
  # @param [Hash] opts the optional parameters
84
84
  # @option opts [Integer] :limit Max number of results to return
85
85
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
86
- # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
86
+ # @return [Array<(ResourceUsersCollection, Integer, Hash)>] ResourceUsersCollection data, response status code and response headers
87
87
  def get_resource_users_with_http_info(resource_uri, opts = {})
88
88
  if @authress_client.config[:debugging]
89
89
  @authress_client.config[:logger].debug 'Calling API: ResourcePermissionsApi.get_resource_users ...'
@@ -111,7 +111,7 @@ module AuthressSdk
111
111
  # http body (model)
112
112
  post_body = opts[:body]
113
113
 
114
- return_type = opts[:return_type] || 'InlineResponse2006'
114
+ return_type = opts[:return_type] || 'ResourceUsersCollection'
115
115
 
116
116
  auth_names = opts[:auth_names] || ['oauth2']
117
117
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -130,7 +130,7 @@ module AuthressSdk
130
130
  # List resource configurations.
131
131
  # Permissions can be set globally at a resource level. Lists any resources with a globally set resource policy. <br><span class=\"badge badge-outline-secondary\">READ: Authress:ResourcePermissions</span>
132
132
  # @param [Hash] opts the optional parameters
133
- # @return [InlineResponse2004]
133
+ # @return [ResourcePermissionCollection]
134
134
  def get_resources(opts = {})
135
135
  data, _status_code, _headers = get_resources_with_http_info(opts)
136
136
  data
@@ -139,7 +139,7 @@ module AuthressSdk
139
139
  # List resource configurations.
140
140
  # Permissions can be set globally at a resource level. Lists any resources with a globally set resource policy. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:ResourcePermissions&lt;/span&gt;
141
141
  # @param [Hash] opts the optional parameters
142
- # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
142
+ # @return [Array<(ResourcePermissionCollection, Integer, Hash)>] ResourcePermissionCollection data, response status code and response headers
143
143
  def get_resources_with_http_info(opts = {})
144
144
  if @authress_client.config[:debugging]
145
145
  @authress_client.config[:logger].debug 'Calling API: ResourcePermissionsApi.get_resources ...'
@@ -161,7 +161,7 @@ module AuthressSdk
161
161
  # http body (model)
162
162
  post_body = opts[:body]
163
163
 
164
- return_type = opts[:return_type] || 'InlineResponse2004'
164
+ return_type = opts[:return_type] || 'ResourcePermissionCollection'
165
165
 
166
166
  auth_names = opts[:auth_names] || ['oauth2']
167
167
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -13,7 +13,7 @@ module AuthressSdk
13
13
  # Creates a role with permissions. <br><span class=\"badge badge-outline-secondary\">CREATE: Authress:Roles</span>
14
14
  # @param body
15
15
  # @param [Hash] opts the optional parameters
16
- # @return [InlineResponse20010]
16
+ # @return [Role]
17
17
  def create_role(body, opts = {})
18
18
  data, _status_code, _headers = create_role_with_http_info(body, opts)
19
19
  data
@@ -23,7 +23,7 @@ module AuthressSdk
23
23
  # Creates a role with permissions. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;CREATE: Authress:Roles&lt;/span&gt;
24
24
  # @param body
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
26
+ # @return [Array<(Role, Integer, Hash)>] Role data, response status code and response headers
27
27
  def create_role_with_http_info(body, opts = {})
28
28
  if @authress_client.config[:debugging]
29
29
  @authress_client.config[:logger].debug 'Calling API: RolesApi.create_role ...'
@@ -51,7 +51,7 @@ module AuthressSdk
51
51
  # http body (model)
52
52
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
53
53
 
54
- return_type = opts[:return_type] || 'InlineResponse20010'
54
+ return_type = opts[:return_type] || 'Role'
55
55
 
56
56
  auth_names = opts[:auth_names] || ['oauth2']
57
57
  data, status_code, headers = @authress_client.call_api(:POST, local_var_path,
@@ -125,7 +125,7 @@ module AuthressSdk
125
125
  # Roles contain a list of permissions that will be applied to any user or resource <br><span class=\"badge badge-outline-secondary\">READ: Authress:Roles/{roleId}</span>
126
126
  # @param role_id The identifier of the role.
127
127
  # @param [Hash] opts the optional parameters
128
- # @return [InlineResponse20010]
128
+ # @return [Role]
129
129
  def get_role(role_id, opts = {})
130
130
  data, _status_code, _headers = get_role_with_http_info(role_id, opts)
131
131
  data
@@ -135,7 +135,7 @@ module AuthressSdk
135
135
  # Roles contain a list of permissions that will be applied to any user or resource &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:Roles/{roleId}&lt;/span&gt;
136
136
  # @param role_id The identifier of the role.
137
137
  # @param [Hash] opts the optional parameters
138
- # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
138
+ # @return [Array<(Role, Integer, Hash)>] Role data, response status code and response headers
139
139
  def get_role_with_http_info(role_id, opts = {})
140
140
  if @authress_client.config[:debugging]
141
141
  @authress_client.config[:logger].debug 'Calling API: RolesApi.get_role ...'
@@ -161,7 +161,7 @@ module AuthressSdk
161
161
  # http body (model)
162
162
  post_body = opts[:body]
163
163
 
164
- return_type = opts[:return_type] || 'InlineResponse20010'
164
+ return_type = opts[:return_type] || 'Role'
165
165
 
166
166
  auth_names = opts[:auth_names] || ['oauth2']
167
167
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -182,7 +182,7 @@ module AuthressSdk
182
182
  # @param body
183
183
  # @param role_id The identifier of the role.
184
184
  # @param [Hash] opts the optional parameters
185
- # @return [InlineResponse20010]
185
+ # @return [Role]
186
186
  def update_role(body, role_id, opts = {})
187
187
  data, _status_code, _headers = update_role_with_http_info(body, role_id, opts)
188
188
  data
@@ -193,7 +193,7 @@ module AuthressSdk
193
193
  # @param body
194
194
  # @param role_id The identifier of the role.
195
195
  # @param [Hash] opts the optional parameters
196
- # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
196
+ # @return [Array<(Role, Integer, Hash)>] Role data, response status code and response headers
197
197
  def update_role_with_http_info(body, role_id, opts = {})
198
198
  if @authress_client.config[:debugging]
199
199
  @authress_client.config[:logger].debug 'Calling API: RolesApi.update_role ...'
@@ -225,7 +225,7 @@ module AuthressSdk
225
225
  # http body (model)
226
226
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
227
227
 
228
- return_type = opts[:return_type] || 'InlineResponse20010'
228
+ return_type = opts[:return_type] || 'Role'
229
229
 
230
230
  auth_names = opts[:auth_names] || ['oauth2']
231
231
  data, status_code, headers = @authress_client.call_api(:PUT, local_var_path,
@@ -13,7 +13,7 @@ module AuthressSdk
13
13
  # Creates a service client to interact with Authress or any other service on behalf of users. Each client has secret private keys used to authenticate with Authress. To use service clients created through other mechanisms, skip creating a client and create access records with the client identifier. <br><span class=\"badge badge-outline-secondary\">CREATE: Authress:ServiceClients</span> or <span class=\"badge badge-outline-secondary\">RESOURCE CLAIM: Authress:ServiceClients</span>
14
14
  # @param body
15
15
  # @param [Hash] opts the optional parameters
16
- # @return [InlineResponse20014]
16
+ # @return [Client]
17
17
  def create_client(body, opts = {})
18
18
  data, _status_code, _headers = create_client_with_http_info(body, opts)
19
19
  data
@@ -23,7 +23,7 @@ module AuthressSdk
23
23
  # Creates a service client to interact with Authress or any other service on behalf of users. Each client has secret private keys used to authenticate with Authress. To use service clients created through other mechanisms, skip creating a client and create access records with the client identifier. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;CREATE: Authress:ServiceClients&lt;/span&gt; or &lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;RESOURCE CLAIM: Authress:ServiceClients&lt;/span&gt;
24
24
  # @param body
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
26
+ # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
27
27
  def create_client_with_http_info(body, opts = {})
28
28
  if @authress_client.config[:debugging]
29
29
  @authress_client.config[:logger].debug 'Calling API: ServiceClientsApi.create_client ...'
@@ -51,7 +51,7 @@ module AuthressSdk
51
51
  # http body (model)
52
52
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
53
53
 
54
- return_type = opts[:return_type] || 'InlineResponse20014'
54
+ return_type = opts[:return_type] || 'Client'
55
55
 
56
56
  auth_names = opts[:auth_names] || ['oauth2']
57
57
  data, status_code, headers = @authress_client.call_api(:POST, local_var_path,
@@ -185,7 +185,7 @@ module AuthressSdk
185
185
  # Returns all information related to client except for the private access keys. <br><span class=\"badge badge-outline-secondary\">READ: Authress:ServiceClients/{clientId}</span>
186
186
  # @param client_id The unique identifier for the client.
187
187
  # @param [Hash] opts the optional parameters
188
- # @return [InlineResponse20014]
188
+ # @return [Client]
189
189
  def get_client(client_id, opts = {})
190
190
  data, _status_code, _headers = get_client_with_http_info(client_id, opts)
191
191
  data
@@ -195,7 +195,7 @@ module AuthressSdk
195
195
  # Returns all information related to client except for the private access keys. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:ServiceClients/{clientId}&lt;/span&gt;
196
196
  # @param client_id The unique identifier for the client.
197
197
  # @param [Hash] opts the optional parameters
198
- # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
198
+ # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
199
199
  def get_client_with_http_info(client_id, opts = {})
200
200
  if @authress_client.config[:debugging]
201
201
  @authress_client.config[:logger].debug 'Calling API: ServiceClientsApi.get_client ...'
@@ -221,7 +221,7 @@ module AuthressSdk
221
221
  # http body (model)
222
222
  post_body = opts[:body]
223
223
 
224
- return_type = opts[:return_type] || 'InlineResponse20014'
224
+ return_type = opts[:return_type] || 'Client'
225
225
 
226
226
  auth_names = opts[:auth_names] || ['oauth2']
227
227
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -240,7 +240,7 @@ module AuthressSdk
240
240
  # Get clients collection.
241
241
  # Returns all clients that the user has access to in the account. <br><span class=\"badge badge-outline-secondary\">READ: Authress:ServiceClients/{clientId}</span>
242
242
  # @param [Hash] opts the optional parameters
243
- # @return [InlineResponse20013]
243
+ # @return [ClientCollection]
244
244
  def get_clients(opts = {})
245
245
  data, _status_code, _headers = get_clients_with_http_info(opts)
246
246
  data
@@ -249,7 +249,7 @@ module AuthressSdk
249
249
  # Get clients collection.
250
250
  # Returns all clients that the user has access to in the account. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;READ: Authress:ServiceClients/{clientId}&lt;/span&gt;
251
251
  # @param [Hash] opts the optional parameters
252
- # @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
252
+ # @return [Array<(ClientCollection, Integer, Hash)>] ClientCollection data, response status code and response headers
253
253
  def get_clients_with_http_info(opts = {})
254
254
  if @authress_client.config[:debugging]
255
255
  @authress_client.config[:logger].debug 'Calling API: ServiceClientsApi.get_clients ...'
@@ -271,7 +271,7 @@ module AuthressSdk
271
271
  # http body (model)
272
272
  post_body = opts[:body]
273
273
 
274
- return_type = opts[:return_type] || 'InlineResponse20013'
274
+ return_type = opts[:return_type] || 'ClientCollection'
275
275
 
276
276
  auth_names = opts[:auth_names] || ['oauth2']
277
277
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -291,7 +291,7 @@ module AuthressSdk
291
291
  # Create a new access key for the client so that a service can authenticate with Authress as that client. Using the client will allow delegation of permission checking of users. <br><span class=\"badge badge-outline-secondary\">UPDATE: Authress:ServiceClients/{clientId}/access-keys</span>
292
292
  # @param client_id The unique identifier of the client.
293
293
  # @param [Hash] opts the optional parameters
294
- # @return [InlineResponse20015]
294
+ # @return [ClientAccessKey]
295
295
  def request_access_key(client_id, opts = {})
296
296
  data, _status_code, _headers = request_access_key_with_http_info(client_id, opts)
297
297
  data
@@ -301,7 +301,7 @@ module AuthressSdk
301
301
  # Create a new access key for the client so that a service can authenticate with Authress as that client. Using the client will allow delegation of permission checking of users. &lt;br&gt;&lt;span class&#x3D;\&quot;badge badge-outline-secondary\&quot;&gt;UPDATE: Authress:ServiceClients/{clientId}/access-keys&lt;/span&gt;
302
302
  # @param client_id The unique identifier of the client.
303
303
  # @param [Hash] opts the optional parameters
304
- # @return [Array<(InlineResponse20015, Integer, Hash)>] InlineResponse20015 data, response status code and response headers
304
+ # @return [Array<(ClientAccessKey, Integer, Hash)>] ClientAccessKey data, response status code and response headers
305
305
  def request_access_key_with_http_info(client_id, opts = {})
306
306
  if @authress_client.config[:debugging]
307
307
  @authress_client.config[:logger].debug 'Calling API: ServiceClientsApi.request_access_key ...'
@@ -327,7 +327,7 @@ module AuthressSdk
327
327
  # http body (model)
328
328
  post_body = opts[:body]
329
329
 
330
- return_type = opts[:return_type] || 'InlineResponse20015'
330
+ return_type = opts[:return_type] || 'ClientAccessKey'
331
331
 
332
332
  auth_names = opts[:auth_names] || ['oauth2']
333
333
  data, status_code, headers = @authress_client.call_api(:POST, local_var_path,
@@ -348,7 +348,7 @@ module AuthressSdk
348
348
  # @param body
349
349
  # @param client_id The unique identifier for the client.
350
350
  # @param [Hash] opts the optional parameters
351
- # @return [InlineResponse20014]
351
+ # @return [Client]
352
352
  def update_client(body, client_id, opts = {})
353
353
  data, _status_code, _headers = update_client_with_http_info(body, client_id, opts)
354
354
  data
@@ -359,7 +359,7 @@ module AuthressSdk
359
359
  # @param body
360
360
  # @param client_id The unique identifier for the client.
361
361
  # @param [Hash] opts the optional parameters
362
- # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
362
+ # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
363
363
  def update_client_with_http_info(body, client_id, opts = {})
364
364
  if @authress_client.config[:debugging]
365
365
  @authress_client.config[:logger].debug 'Calling API: ServiceClientsApi.update_client ...'
@@ -391,7 +391,7 @@ module AuthressSdk
391
391
  # http body (model)
392
392
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
393
393
 
394
- return_type = opts[:return_type] || 'InlineResponse20014'
394
+ return_type = opts[:return_type] || 'Client'
395
395
 
396
396
  auth_names = opts[:auth_names] || ['oauth2']
397
397
  data, status_code, headers = @authress_client.call_api(:PUT, local_var_path,
@@ -140,7 +140,7 @@ module AuthressSdk
140
140
  # @param user_id The user to check permissions on
141
141
  # @param resource_uri The uri path of a resource to validate, must be URL encoded, uri segments are allowed.
142
142
  # @param [Hash] opts the optional parameters
143
- # @return [InlineResponse2002]
143
+ # @return [PermissionCollection]
144
144
  def get_user_permissions_for_resource(user_id, resource_uri, opts = {})
145
145
  data, _status_code, _headers = get_user_permissions_for_resource_with_http_info(user_id, resource_uri, opts)
146
146
  data
@@ -151,7 +151,7 @@ module AuthressSdk
151
151
  # @param user_id The user to check permissions on
152
152
  # @param resource_uri The uri path of a resource to validate, must be URL encoded, uri segments are allowed.
153
153
  # @param [Hash] opts the optional parameters
154
- # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
154
+ # @return [Array<(PermissionCollection, Integer, Hash)>] PermissionCollection data, response status code and response headers
155
155
  def get_user_permissions_for_resource_with_http_info(user_id, resource_uri, opts = {})
156
156
  if @authress_client.config[:debugging]
157
157
  @authress_client.config[:logger].debug 'Calling API: UserPermissionsApi.get_user_permissions_for_resource ...'
@@ -181,7 +181,7 @@ module AuthressSdk
181
181
  # http body (model)
182
182
  post_body = opts[:body]
183
183
 
184
- return_type = opts[:return_type] || 'InlineResponse2002'
184
+ return_type = opts[:return_type] || 'PermissionCollection'
185
185
 
186
186
  auth_names = opts[:auth_names] || ['oauth2']
187
187
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -205,7 +205,7 @@ module AuthressSdk
205
205
  # @option opts [String] :permissions Permission to check, &#x27;*&#x27; and scoped permissions can also be checked here. By default if the user has any permission explicitly to a resource, it will be included in the list.
206
206
  # @option opts [Integer] :limit Max number of results to return (default to 20)
207
207
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
208
- # @return [InlineResponse200]
208
+ # @return [UserResources]
209
209
  def get_user_resources(user_id, opts = {})
210
210
  data, _status_code, _headers = get_user_resources_with_http_info(user_id, opts)
211
211
  data
@@ -219,7 +219,7 @@ module AuthressSdk
219
219
  # @option opts [String] :permissions Permission to check, &#x27;*&#x27; and scoped permissions can also be checked here. By default if the user has any permission explicitly to a resource, it will be included in the list.
220
220
  # @option opts [Integer] :limit Max number of results to return
221
221
  # @option opts [String] :cursor Continuation cursor for paging (will automatically be set)
222
- # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
222
+ # @return [Array<(UserResources, Integer, Hash)>] UserResources data, response status code and response headers
223
223
  def get_user_resources_with_http_info(user_id, opts = {})
224
224
  if @authress_client.config[:debugging]
225
225
  @authress_client.config[:logger].debug 'Calling API: UserPermissionsApi.get_user_resources ...'
@@ -249,7 +249,7 @@ module AuthressSdk
249
249
  # http body (model)
250
250
  post_body = opts[:body]
251
251
 
252
- return_type = opts[:return_type] || 'InlineResponse200'
252
+ return_type = opts[:return_type] || 'UserResources'
253
253
 
254
254
  auth_names = opts[:auth_names] || ['oauth2']
255
255
  data, status_code, headers = @authress_client.call_api(:GET, local_var_path,
@@ -270,7 +270,7 @@ module AuthressSdk
270
270
  # @param body The contents of the permission to set on the token. Will be used instead of the users or clients full permissions. Cannot include permissions that the user or client do not have.
271
271
  # @param user_id The user to create an impersonation token for.
272
272
  # @param [Hash] opts the optional parameters
273
- # @return [InlineResponse2003]
273
+ # @return [UserToken]
274
274
  def request_user_token(body, user_id, opts = {})
275
275
  data, _status_code, _headers = request_user_token_with_http_info(body, user_id, opts)
276
276
  data
@@ -281,7 +281,7 @@ module AuthressSdk
281
281
  # @param body The contents of the permission to set on the token. Will be used instead of the users or clients full permissions. Cannot include permissions that the user or client do not have.
282
282
  # @param user_id The user to create an impersonation token for.
283
283
  # @param [Hash] opts the optional parameters
284
- # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers
284
+ # @return [Array<(UserToken, Integer, Hash)>] UserToken data, response status code and response headers
285
285
  def request_user_token_with_http_info(body, user_id, opts = {})
286
286
  if @authress_client.config[:debugging]
287
287
  @authress_client.config[:logger].debug 'Calling API: UserPermissionsApi.request_user_token ...'
@@ -313,7 +313,7 @@ module AuthressSdk
313
313
  # http body (model)
314
314
  post_body = opts[:body] || @authress_client.object_to_http_body(body)
315
315
 
316
- return_type = opts[:return_type] || 'InlineResponse2003'
316
+ return_type = opts[:return_type] || 'UserToken'
317
317
 
318
318
  auth_names = opts[:auth_names] || ['oauth2']
319
319
  data, status_code, headers = @authress_client.call_api(:POST, local_var_path,