Class: IntegrationApi::UtilsApi
- Inherits:
-
Object
- Object
- IntegrationApi::UtilsApi
- Defined in:
- lib/integration_api/api/utils_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#create_token_exchange_using_post(exchange_token_co, opts = {}) ⇒ ExchangePublicTokenVO
Retrieve token based on certain vendor specific value Retrieve the token.
-
#create_token_exchange_using_post_with_http_info(exchange_token_co, opts = {}) ⇒ Array<(ExchangePublicTokenVO, Fixnum, Hash)>
Retrieve token based on certain vendor specific value Retrieve the token.
-
#create_user_using_post(create_user_request, opts = {}) ⇒ UserResponseVO
Create user in vendor Create user in vendor.
-
#create_user_using_post_with_http_info(create_user_request, opts = {}) ⇒ Array<(UserResponseVO, Fixnum, Hash)>
Create user in vendor Create user in vendor.
-
#get_audit_log_all_using_get(opts = {}) ⇒ Pageobject
Gel all audit log.
-
#get_audit_log_all_using_get_with_http_info(opts = {}) ⇒ Array<(Pageobject, Fixnum, Hash)>
Gel all audit log.
-
#get_widget_link_using_get(nucleus_id, opts = {}) ⇒ WidgetUrlVO
Retrieve widget link Retrieve the widget link.
-
#get_widget_link_using_get_with_http_info(nucleus_id, opts = {}) ⇒ Array<(WidgetUrlVO, Fixnum, Hash)>
Retrieve widget link Retrieve the widget link.
-
#initialize(api_client = ApiClient.default) ⇒ UtilsApi
constructor
A new instance of UtilsApi.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/integration_api/api/utils_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#create_token_exchange_using_post(exchange_token_co, opts = {}) ⇒ ExchangePublicTokenVO
Retrieve token based on certain vendor specific value Retrieve the token.
27 28 29 30 |
# File 'lib/integration_api/api/utils_api.rb', line 27 def create_token_exchange_using_post(exchange_token_co, opts = {}) data, _status_code, _headers = create_token_exchange_using_post_with_http_info(exchange_token_co, opts) data end |
#create_token_exchange_using_post_with_http_info(exchange_token_co, opts = {}) ⇒ Array<(ExchangePublicTokenVO, Fixnum, Hash)>
Retrieve token based on certain vendor specific value Retrieve the token.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/integration_api/api/utils_api.rb', line 37 def create_token_exchange_using_post_with_http_info(exchange_token_co, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: UtilsApi.create_token_exchange_using_post ...' end # verify the required parameter 'exchange_token_co' is set if @api_client.config.client_side_validation && exchange_token_co.nil? fail ArgumentError, "Missing the required parameter 'exchange_token_co' when calling UtilsApi.create_token_exchange_using_post" end # resource path local_var_path = '/token_exchange' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(exchange_token_co) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'ExchangePublicTokenVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: UtilsApi#create_token_exchange_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#create_user_using_post(create_user_request, opts = {}) ⇒ UserResponseVO
Create user in vendor Create user in vendor.
81 82 83 84 |
# File 'lib/integration_api/api/utils_api.rb', line 81 def create_user_using_post(create_user_request, opts = {}) data, _status_code, _headers = create_user_using_post_with_http_info(create_user_request, opts) data end |
#create_user_using_post_with_http_info(create_user_request, opts = {}) ⇒ Array<(UserResponseVO, Fixnum, Hash)>
Create user in vendor Create user in vendor.
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/integration_api/api/utils_api.rb', line 91 def create_user_using_post_with_http_info(create_user_request, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: UtilsApi.create_user_using_post ...' end # verify the required parameter 'create_user_request' is set if @api_client.config.client_side_validation && create_user_request.nil? fail ArgumentError, "Missing the required parameter 'create_user_request' when calling UtilsApi.create_user_using_post" end # resource path local_var_path = '/user' # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(create_user_request) auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'UserResponseVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: UtilsApi#create_user_using_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_audit_log_all_using_get(opts = {}) ⇒ Pageobject
Gel all audit log
146 147 148 149 |
# File 'lib/integration_api/api/utils_api.rb', line 146 def get_audit_log_all_using_get(opts = {}) data, _status_code, _headers = get_audit_log_all_using_get_with_http_info(opts) data end |
#get_audit_log_all_using_get_with_http_info(opts = {}) ⇒ Array<(Pageobject, Fixnum, Hash)>
Gel all audit log
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/integration_api/api/utils_api.rb', line 167 def get_audit_log_all_using_get_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: UtilsApi.get_audit_log_all_using_get ...' end # resource path local_var_path = '/audit_log' # query parameters query_params = {} query_params[:'ascending'] = opts[:'ascending'] if !opts[:'ascending'].nil? query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil? query_params[:'event'] = opts[:'event'] if !opts[:'event'].nil? query_params[:'integration_type'] = opts[:'integration_type'] if !opts[:'integration_type'].nil? query_params[:'is_request'] = opts[:'is_request'] if !opts[:'is_request'].nil? query_params[:'nucleus_aggregation_account_id'] = opts[:'nucleus_aggregation_account_id'] if !opts[:'nucleus_aggregation_account_id'].nil? query_params[:'nucleus_client_id'] = opts[:'nucleus_client_id'] if !opts[:'nucleus_client_id'].nil? query_params[:'order_by'] = opts[:'order_by'] if !opts[:'order_by'].nil? query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? query_params[:'request_type'] = opts[:'request_type'] if !opts[:'request_type'].nil? query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil? query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil? query_params[:'vendor_name'] = opts[:'vendor_name'] if !opts[:'vendor_name'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'Pageobject') if @api_client.config.debugging @api_client.config.logger.debug "API called: UtilsApi#get_audit_log_all_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_widget_link_using_get(nucleus_id, opts = {}) ⇒ WidgetUrlVO
Retrieve widget link Retrieve the widget link.
228 229 230 231 |
# File 'lib/integration_api/api/utils_api.rb', line 228 def (nucleus_id, opts = {}) data, _status_code, _headers = (nucleus_id, opts) data end |
#get_widget_link_using_get_with_http_info(nucleus_id, opts = {}) ⇒ Array<(WidgetUrlVO, Fixnum, Hash)>
Retrieve widget link Retrieve the widget link.
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/integration_api/api/utils_api.rb', line 248 def (nucleus_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: UtilsApi.get_widget_link_using_get ...' end # verify the required parameter 'nucleus_id' is set if @api_client.config.client_side_validation && nucleus_id.nil? fail ArgumentError, "Missing the required parameter 'nucleus_id' when calling UtilsApi.get_widget_link_using_get" end # resource path local_var_path = '/widget_link/{nucleus_id}'.sub('{' + 'nucleus_id' + '}', nucleus_id.to_s) # query parameters query_params = {} query_params[:'is_business'] = opts[:'is_business'] if !opts[:'is_business'].nil? query_params[:'is_mobile_webview'] = opts[:'is_mobile_webview'] if !opts[:'is_mobile_webview'].nil? query_params[:'member_id'] = opts[:'member_id'] if !opts[:'member_id'].nil? query_params[:'message_version'] = opts[:'message_version'] if !opts[:'message_version'].nil? query_params[:'mode'] = opts[:'mode'] if !opts[:'mode'].nil? query_params[:'nucleus_aggregation_account_id'] = opts[:'nucleus_aggregation_account_id'] if !opts[:'nucleus_aggregation_account_id'].nil? query_params[:'nucleus_bank_link_id'] = opts[:'nucleus_bank_link_id'] if !opts[:'nucleus_bank_link_id'].nil? query_params[:'vendor_name'] = opts[:'vendor_name'] if !opts[:'vendor_name'].nil? query_params[:'wait_for_full_aggregation'] = opts[:'wait_for_full_aggregation'] if !opts[:'wait_for_full_aggregation'].nil? query_params[:'webview_url_scheme'] = opts[:'webview_url_scheme'] if !opts[:'webview_url_scheme'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['*/*']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['oauth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'WidgetUrlVO') if @api_client.config.debugging @api_client.config.logger.debug "API called: UtilsApi#get_widget_link_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |