mx-platform-ruby 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +40 -41
- data/docs/AccountNumberResponse.md +32 -0
- data/docs/AccountNumbersResponseBody.md +2 -2
- data/docs/AccountOwnerResponse.md +40 -0
- data/docs/AccountOwnersResponseBody.md +2 -2
- data/docs/AccountResponse.md +96 -0
- data/docs/AccountResponseBody.md +1 -1
- data/docs/AccountsResponseBody.md +2 -2
- data/docs/CategoriesResponseBody.md +2 -2
- data/docs/CategoryResponse.md +32 -0
- data/docs/CategoryResponseBody.md +1 -1
- data/docs/ChallengeResponse.md +30 -0
- data/docs/ChallengeResponseImageOptions.md +22 -0
- data/docs/ChallengeResponseOptions.md +20 -0
- data/docs/ChallengesResponseBody.md +2 -2
- data/docs/ConnectWidgetResponse.md +20 -0
- data/docs/ConnectWidgetResponseBody.md +1 -1
- data/docs/CredentialResponse.md +26 -0
- data/docs/CredentialsResponseBody.md +2 -2
- data/docs/EnhanceTransactionResponse.md +48 -0
- data/docs/EnhanceTransactionsResponseBody.md +1 -1
- data/docs/HoldingResponse.md +52 -0
- data/docs/HoldingResponseBody.md +1 -1
- data/docs/HoldingsResponseBody.md +2 -2
- data/docs/InstitutionResponse.md +36 -0
- data/docs/InstitutionResponseBody.md +1 -1
- data/docs/InstitutionsResponseBody.md +2 -2
- data/docs/MemberResponse.md +40 -0
- data/docs/MemberResponseBody.md +1 -1
- data/docs/MemberStatusResponse.md +34 -0
- data/docs/MemberStatusResponseBody.md +1 -1
- data/docs/MembersResponseBody.md +2 -2
- data/docs/MerchantResponse.md +28 -0
- data/docs/MerchantResponseBody.md +1 -1
- data/docs/MerchantsResponseBody.md +2 -2
- data/docs/MxPlatformApi.md +196 -196
- data/docs/OAuthWindowResponse.md +20 -0
- data/docs/OAuthWindowResponseBody.md +1 -1
- data/docs/PaginationResponse.md +24 -0
- data/docs/StatementResponse.md +32 -0
- data/docs/StatementResponseBody.md +1 -1
- data/docs/StatementsResponseBody.md +2 -2
- data/docs/TagResponse.md +22 -0
- data/docs/TagResponseBody.md +1 -1
- data/docs/TaggingResponse.md +26 -0
- data/docs/TaggingResponseBody.md +1 -1
- data/docs/TaggingsResponseBody.md +2 -2
- data/docs/TagsResponseBody.md +2 -2
- data/docs/TransactionResponse.md +88 -0
- data/docs/TransactionResponseBody.md +1 -1
- data/docs/TransactionRuleResponse.md +30 -0
- data/docs/TransactionRuleResponseBody.md +1 -1
- data/docs/TransactionRulesResponseBody.md +2 -2
- data/docs/TransactionsResponseBody.md +2 -2
- data/docs/UserResponse.md +26 -0
- data/docs/UserResponseBody.md +1 -1
- data/docs/UsersResponseBody.md +2 -2
- data/docs/WidgetResponse.md +22 -0
- data/docs/WidgetResponseBody.md +1 -1
- data/lib/mx-platform-ruby.rb +24 -25
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +185 -185
- data/lib/mx-platform-ruby/models/account_number_response.rb +281 -0
- data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_owner_response.rb +317 -0
- data/lib/mx-platform-ruby/models/account_owners_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response.rb +569 -0
- data/lib/mx-platform-ruby/models/account_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/accounts_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/categories_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/category_response.rb +281 -0
- data/lib/mx-platform-ruby/models/category_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/challenge_response.rb +276 -0
- data/lib/mx-platform-ruby/models/challenge_response_image_options.rb +236 -0
- data/lib/mx-platform-ruby/models/challenge_response_options.rb +227 -0
- data/lib/mx-platform-ruby/models/challenges_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/connect_widget_response.rb +227 -0
- data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/credential_response.rb +254 -0
- data/lib/mx-platform-ruby/models/credentials_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/enhance_transaction_response.rb +353 -0
- data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holding_response.rb +371 -0
- data/lib/mx-platform-ruby/models/holding_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/holdings_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/institution_response.rb +299 -0
- data/lib/mx-platform-ruby/models/institution_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/institutions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/member_response.rb +317 -0
- data/lib/mx-platform-ruby/models/member_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/member_status_response.rb +292 -0
- data/lib/mx-platform-ruby/models/member_status_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/members_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/merchant_response.rb +263 -0
- data/lib/mx-platform-ruby/models/merchant_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/merchants_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/o_auth_window_response.rb +227 -0
- data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/pagination_response.rb +245 -0
- data/lib/mx-platform-ruby/models/statement_response.rb +281 -0
- data/lib/mx-platform-ruby/models/statement_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/statements_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tag_response.rb +236 -0
- data/lib/mx-platform-ruby/models/tag_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/tagging_response.rb +254 -0
- data/lib/mx-platform-ruby/models/tagging_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/taggings_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/tags_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transaction_response.rb +533 -0
- data/lib/mx-platform-ruby/models/transaction_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rule_response.rb +272 -0
- data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/transactions_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/user_response.rb +254 -0
- data/lib/mx-platform-ruby/models/user_response_body.rb +1 -1
- data/lib/mx-platform-ruby/models/users_response_body.rb +2 -2
- data/lib/mx-platform-ruby/models/widget_response.rb +236 -0
- data/lib/mx-platform-ruby/models/widget_response_body.rb +1 -1
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +11 -0
- data/pkg/mx-platform-ruby-0.2.1.gem +0 -0
- data/spec/api/mx_platform_api_spec.rb +51 -51
- data/spec/models/account_number_response_spec.rb +76 -0
- data/spec/models/account_owner_response_spec.rb +100 -0
- data/spec/models/account_response_spec.rb +268 -0
- data/spec/models/category_response_spec.rb +76 -0
- data/spec/models/challenge_response_image_options_spec.rb +46 -0
- data/spec/models/challenge_response_options_spec.rb +40 -0
- data/spec/models/challenge_response_spec.rb +70 -0
- data/spec/models/connect_widget_response_spec.rb +40 -0
- data/spec/models/credential_response_spec.rb +58 -0
- data/spec/models/enhance_transaction_response_spec.rb +124 -0
- data/spec/models/holding_response_spec.rb +136 -0
- data/spec/models/institution_response_spec.rb +88 -0
- data/spec/models/member_response_spec.rb +100 -0
- data/spec/models/member_status_response_spec.rb +82 -0
- data/spec/models/merchant_response_spec.rb +64 -0
- data/spec/models/o_auth_window_response_spec.rb +40 -0
- data/spec/models/pagination_response_spec.rb +52 -0
- data/spec/models/statement_response_spec.rb +76 -0
- data/spec/models/tag_response_spec.rb +46 -0
- data/spec/models/tagging_response_spec.rb +58 -0
- data/spec/models/transaction_response_spec.rb +244 -0
- data/spec/models/transaction_rule_response_spec.rb +70 -0
- data/spec/models/user_response_spec.rb +58 -0
- data/spec/models/widget_response_spec.rb +46 -0
- metadata +100 -2
data/docs/WidgetResponseBody.md
CHANGED
data/lib/mx-platform-ruby.rb
CHANGED
@@ -17,83 +17,82 @@ require 'mx-platform-ruby/version'
|
|
17
17
|
require 'mx-platform-ruby/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
-
require 'mx-platform-ruby/models/
|
21
|
-
require 'mx-platform-ruby/models/account_number'
|
20
|
+
require 'mx-platform-ruby/models/account_number_response'
|
22
21
|
require 'mx-platform-ruby/models/account_numbers_response_body'
|
23
|
-
require 'mx-platform-ruby/models/
|
22
|
+
require 'mx-platform-ruby/models/account_owner_response'
|
24
23
|
require 'mx-platform-ruby/models/account_owners_response_body'
|
24
|
+
require 'mx-platform-ruby/models/account_response'
|
25
25
|
require 'mx-platform-ruby/models/account_response_body'
|
26
26
|
require 'mx-platform-ruby/models/account_update_request'
|
27
27
|
require 'mx-platform-ruby/models/account_update_request_body'
|
28
28
|
require 'mx-platform-ruby/models/accounts_response_body'
|
29
29
|
require 'mx-platform-ruby/models/categories_response_body'
|
30
|
-
require 'mx-platform-ruby/models/category'
|
31
30
|
require 'mx-platform-ruby/models/category_create_request'
|
32
31
|
require 'mx-platform-ruby/models/category_create_request_body'
|
32
|
+
require 'mx-platform-ruby/models/category_response'
|
33
33
|
require 'mx-platform-ruby/models/category_response_body'
|
34
34
|
require 'mx-platform-ruby/models/category_update_request'
|
35
35
|
require 'mx-platform-ruby/models/category_update_request_body'
|
36
|
-
require 'mx-platform-ruby/models/
|
37
|
-
require 'mx-platform-ruby/models/
|
38
|
-
require 'mx-platform-ruby/models/
|
36
|
+
require 'mx-platform-ruby/models/challenge_response'
|
37
|
+
require 'mx-platform-ruby/models/challenge_response_image_options'
|
38
|
+
require 'mx-platform-ruby/models/challenge_response_options'
|
39
39
|
require 'mx-platform-ruby/models/challenges_response_body'
|
40
|
-
require 'mx-platform-ruby/models/connect_widget'
|
41
40
|
require 'mx-platform-ruby/models/connect_widget_request'
|
42
41
|
require 'mx-platform-ruby/models/connect_widget_request_body'
|
42
|
+
require 'mx-platform-ruby/models/connect_widget_response'
|
43
43
|
require 'mx-platform-ruby/models/connect_widget_response_body'
|
44
|
-
require 'mx-platform-ruby/models/credential'
|
45
44
|
require 'mx-platform-ruby/models/credential_request'
|
45
|
+
require 'mx-platform-ruby/models/credential_response'
|
46
46
|
require 'mx-platform-ruby/models/credentials_response_body'
|
47
|
-
require 'mx-platform-ruby/models/
|
47
|
+
require 'mx-platform-ruby/models/enhance_transaction_response'
|
48
48
|
require 'mx-platform-ruby/models/enhance_transactions_request'
|
49
49
|
require 'mx-platform-ruby/models/enhance_transactions_request_body'
|
50
50
|
require 'mx-platform-ruby/models/enhance_transactions_response_body'
|
51
|
-
require 'mx-platform-ruby/models/
|
51
|
+
require 'mx-platform-ruby/models/holding_response'
|
52
52
|
require 'mx-platform-ruby/models/holding_response_body'
|
53
53
|
require 'mx-platform-ruby/models/holdings_response_body'
|
54
|
-
require 'mx-platform-ruby/models/
|
55
|
-
require 'mx-platform-ruby/models/institution'
|
54
|
+
require 'mx-platform-ruby/models/institution_response'
|
56
55
|
require 'mx-platform-ruby/models/institution_response_body'
|
57
56
|
require 'mx-platform-ruby/models/institutions_response_body'
|
58
|
-
require 'mx-platform-ruby/models/member'
|
59
57
|
require 'mx-platform-ruby/models/member_create_request'
|
60
58
|
require 'mx-platform-ruby/models/member_create_request_body'
|
59
|
+
require 'mx-platform-ruby/models/member_response'
|
61
60
|
require 'mx-platform-ruby/models/member_response_body'
|
62
61
|
require 'mx-platform-ruby/models/member_resume_request'
|
63
62
|
require 'mx-platform-ruby/models/member_resume_request_body'
|
64
|
-
require 'mx-platform-ruby/models/
|
63
|
+
require 'mx-platform-ruby/models/member_status_response'
|
65
64
|
require 'mx-platform-ruby/models/member_status_response_body'
|
66
65
|
require 'mx-platform-ruby/models/member_update_request'
|
67
66
|
require 'mx-platform-ruby/models/member_update_request_body'
|
68
67
|
require 'mx-platform-ruby/models/members_response_body'
|
69
|
-
require 'mx-platform-ruby/models/
|
68
|
+
require 'mx-platform-ruby/models/merchant_response'
|
70
69
|
require 'mx-platform-ruby/models/merchant_response_body'
|
71
70
|
require 'mx-platform-ruby/models/merchants_response_body'
|
72
|
-
require 'mx-platform-ruby/models/
|
71
|
+
require 'mx-platform-ruby/models/o_auth_window_response'
|
73
72
|
require 'mx-platform-ruby/models/o_auth_window_response_body'
|
74
|
-
require 'mx-platform-ruby/models/
|
75
|
-
require 'mx-platform-ruby/models/
|
73
|
+
require 'mx-platform-ruby/models/pagination_response'
|
74
|
+
require 'mx-platform-ruby/models/statement_response'
|
76
75
|
require 'mx-platform-ruby/models/statement_response_body'
|
77
76
|
require 'mx-platform-ruby/models/statements_response_body'
|
78
|
-
require 'mx-platform-ruby/models/tag'
|
79
77
|
require 'mx-platform-ruby/models/tag_create_request'
|
80
78
|
require 'mx-platform-ruby/models/tag_create_request_body'
|
79
|
+
require 'mx-platform-ruby/models/tag_response'
|
81
80
|
require 'mx-platform-ruby/models/tag_response_body'
|
82
81
|
require 'mx-platform-ruby/models/tag_update_request'
|
83
82
|
require 'mx-platform-ruby/models/tag_update_request_body'
|
84
|
-
require 'mx-platform-ruby/models/tagging'
|
85
83
|
require 'mx-platform-ruby/models/tagging_create_request'
|
86
84
|
require 'mx-platform-ruby/models/tagging_create_request_body'
|
85
|
+
require 'mx-platform-ruby/models/tagging_response'
|
87
86
|
require 'mx-platform-ruby/models/tagging_response_body'
|
88
87
|
require 'mx-platform-ruby/models/tagging_update_request'
|
89
88
|
require 'mx-platform-ruby/models/tagging_update_request_body'
|
90
89
|
require 'mx-platform-ruby/models/taggings_response_body'
|
91
90
|
require 'mx-platform-ruby/models/tags_response_body'
|
92
|
-
require 'mx-platform-ruby/models/
|
91
|
+
require 'mx-platform-ruby/models/transaction_response'
|
93
92
|
require 'mx-platform-ruby/models/transaction_response_body'
|
94
|
-
require 'mx-platform-ruby/models/transaction_rule'
|
95
93
|
require 'mx-platform-ruby/models/transaction_rule_create_request'
|
96
94
|
require 'mx-platform-ruby/models/transaction_rule_create_request_body'
|
95
|
+
require 'mx-platform-ruby/models/transaction_rule_response'
|
97
96
|
require 'mx-platform-ruby/models/transaction_rule_response_body'
|
98
97
|
require 'mx-platform-ruby/models/transaction_rule_update_request'
|
99
98
|
require 'mx-platform-ruby/models/transaction_rule_update_request_body'
|
@@ -101,16 +100,16 @@ require 'mx-platform-ruby/models/transaction_rules_response_body'
|
|
101
100
|
require 'mx-platform-ruby/models/transaction_update_request'
|
102
101
|
require 'mx-platform-ruby/models/transaction_update_request_body'
|
103
102
|
require 'mx-platform-ruby/models/transactions_response_body'
|
104
|
-
require 'mx-platform-ruby/models/user'
|
105
103
|
require 'mx-platform-ruby/models/user_create_request'
|
106
104
|
require 'mx-platform-ruby/models/user_create_request_body'
|
105
|
+
require 'mx-platform-ruby/models/user_response'
|
107
106
|
require 'mx-platform-ruby/models/user_response_body'
|
108
107
|
require 'mx-platform-ruby/models/user_update_request'
|
109
108
|
require 'mx-platform-ruby/models/user_update_request_body'
|
110
109
|
require 'mx-platform-ruby/models/users_response_body'
|
111
|
-
require 'mx-platform-ruby/models/widget'
|
112
110
|
require 'mx-platform-ruby/models/widget_request'
|
113
111
|
require 'mx-platform-ruby/models/widget_request_body'
|
112
|
+
require 'mx-platform-ruby/models/widget_response'
|
114
113
|
require 'mx-platform-ruby/models/widget_response_body'
|
115
114
|
|
116
115
|
# APIs
|
@@ -304,7 +304,7 @@ module MxPlatformRuby
|
|
304
304
|
# @param user_guid [String] The unique id for a `user`.
|
305
305
|
# @param tag_create_request_body [TagCreateRequestBody] Tag object to be created with required parameters (tag_guid)
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
|
-
# @return [
|
307
|
+
# @return [TagResponseBody]
|
308
308
|
def create_tag(user_guid, tag_create_request_body, opts = {})
|
309
309
|
data, _status_code, _headers = create_tag_with_http_info(user_guid, tag_create_request_body, opts)
|
310
310
|
data
|
@@ -315,7 +315,7 @@ module MxPlatformRuby
|
|
315
315
|
# @param user_guid [String] The unique id for a `user`.
|
316
316
|
# @param tag_create_request_body [TagCreateRequestBody] Tag object to be created with required parameters (tag_guid)
|
317
317
|
# @param [Hash] opts the optional parameters
|
318
|
-
# @return [Array<(
|
318
|
+
# @return [Array<(TagResponseBody, Integer, Hash)>] TagResponseBody data, response status code and response headers
|
319
319
|
def create_tag_with_http_info(user_guid, tag_create_request_body, opts = {})
|
320
320
|
if @api_client.config.debugging
|
321
321
|
@api_client.config.logger.debug 'Calling API: MxPlatformApi.create_tag ...'
|
@@ -348,7 +348,7 @@ module MxPlatformRuby
|
|
348
348
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_create_request_body)
|
349
349
|
|
350
350
|
# return_type
|
351
|
-
return_type = opts[:debug_return_type] || '
|
351
|
+
return_type = opts[:debug_return_type] || 'TagResponseBody'
|
352
352
|
|
353
353
|
# auth_names
|
354
354
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
@@ -985,7 +985,7 @@ module MxPlatformRuby
|
|
985
985
|
return data, status_code, headers
|
986
986
|
end
|
987
987
|
|
988
|
-
# Download statement
|
988
|
+
# Download statement pdf
|
989
989
|
# Use this endpoint to download a specified statement PDF.
|
990
990
|
# @param member_guid [String] The unique id for a `member`.
|
991
991
|
# @param statement_guid [String] The unique id for a `statement`.
|
@@ -997,7 +997,7 @@ module MxPlatformRuby
|
|
997
997
|
data
|
998
998
|
end
|
999
999
|
|
1000
|
-
# Download statement
|
1000
|
+
# Download statement pdf
|
1001
1001
|
# Use this endpoint to download a specified statement PDF.
|
1002
1002
|
# @param member_guid [String] The unique id for a `member`.
|
1003
1003
|
# @param statement_guid [String] The unique id for a `statement`.
|
@@ -1194,34 +1194,34 @@ module MxPlatformRuby
|
|
1194
1194
|
return data, status_code, headers
|
1195
1195
|
end
|
1196
1196
|
|
1197
|
-
# Fetch statements
|
1197
|
+
# Fetch statements
|
1198
1198
|
# Use this endpoint to fetch the statements associated with a particular member.
|
1199
1199
|
# @param member_guid [String] The unique id for a `member`.
|
1200
1200
|
# @param user_guid [String] The unique id for a `user`.
|
1201
1201
|
# @param [Hash] opts the optional parameters
|
1202
1202
|
# @return [MemberResponseBody]
|
1203
|
-
def
|
1204
|
-
data, _status_code, _headers =
|
1203
|
+
def fetch_statements(member_guid, user_guid, opts = {})
|
1204
|
+
data, _status_code, _headers = fetch_statements_with_http_info(member_guid, user_guid, opts)
|
1205
1205
|
data
|
1206
1206
|
end
|
1207
1207
|
|
1208
|
-
# Fetch statements
|
1208
|
+
# Fetch statements
|
1209
1209
|
# Use this endpoint to fetch the statements associated with a particular member.
|
1210
1210
|
# @param member_guid [String] The unique id for a `member`.
|
1211
1211
|
# @param user_guid [String] The unique id for a `user`.
|
1212
1212
|
# @param [Hash] opts the optional parameters
|
1213
1213
|
# @return [Array<(MemberResponseBody, Integer, Hash)>] MemberResponseBody data, response status code and response headers
|
1214
|
-
def
|
1214
|
+
def fetch_statements_with_http_info(member_guid, user_guid, opts = {})
|
1215
1215
|
if @api_client.config.debugging
|
1216
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1216
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.fetch_statements ...'
|
1217
1217
|
end
|
1218
1218
|
# verify the required parameter 'member_guid' is set
|
1219
1219
|
if @api_client.config.client_side_validation && member_guid.nil?
|
1220
|
-
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.
|
1220
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.fetch_statements"
|
1221
1221
|
end
|
1222
1222
|
# verify the required parameter 'user_guid' is set
|
1223
1223
|
if @api_client.config.client_side_validation && user_guid.nil?
|
1224
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
1224
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.fetch_statements"
|
1225
1225
|
end
|
1226
1226
|
# resource path
|
1227
1227
|
local_var_path = '/users/{user_guid}/members/{member_guid}/fetch_statements'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
@@ -1247,7 +1247,7 @@ module MxPlatformRuby
|
|
1247
1247
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1248
1248
|
|
1249
1249
|
new_options = opts.merge(
|
1250
|
-
:operation => :"MxPlatformApi.
|
1250
|
+
:operation => :"MxPlatformApi.fetch_statements",
|
1251
1251
|
:header_params => header_params,
|
1252
1252
|
:query_params => query_params,
|
1253
1253
|
:form_params => form_params,
|
@@ -1258,7 +1258,7 @@ module MxPlatformRuby
|
|
1258
1258
|
|
1259
1259
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1260
1260
|
if @api_client.config.debugging
|
1261
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1261
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#fetch_statements\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1262
1262
|
end
|
1263
1263
|
return data, status_code, headers
|
1264
1264
|
end
|
@@ -1482,7 +1482,7 @@ module MxPlatformRuby
|
|
1482
1482
|
return data, status_code, headers
|
1483
1483
|
end
|
1484
1484
|
|
1485
|
-
# List account owners
|
1485
|
+
# List account owners by member
|
1486
1486
|
# This endpoint returns an array with information about every account associated with a particular member.
|
1487
1487
|
# @param member_guid [String] The unique id for a `member`.
|
1488
1488
|
# @param user_guid [String] The unique id for a `user`.
|
@@ -1490,12 +1490,12 @@ module MxPlatformRuby
|
|
1490
1490
|
# @option opts [Integer] :page Specify current page.
|
1491
1491
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1492
1492
|
# @return [AccountOwnersResponseBody]
|
1493
|
-
def
|
1494
|
-
data, _status_code, _headers =
|
1493
|
+
def list_account_owners_by_member(member_guid, user_guid, opts = {})
|
1494
|
+
data, _status_code, _headers = list_account_owners_by_member_with_http_info(member_guid, user_guid, opts)
|
1495
1495
|
data
|
1496
1496
|
end
|
1497
1497
|
|
1498
|
-
# List account owners
|
1498
|
+
# List account owners by member
|
1499
1499
|
# This endpoint returns an array with information about every account associated with a particular member.
|
1500
1500
|
# @param member_guid [String] The unique id for a `member`.
|
1501
1501
|
# @param user_guid [String] The unique id for a `user`.
|
@@ -1503,17 +1503,17 @@ module MxPlatformRuby
|
|
1503
1503
|
# @option opts [Integer] :page Specify current page.
|
1504
1504
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1505
1505
|
# @return [Array<(AccountOwnersResponseBody, Integer, Hash)>] AccountOwnersResponseBody data, response status code and response headers
|
1506
|
-
def
|
1506
|
+
def list_account_owners_by_member_with_http_info(member_guid, user_guid, opts = {})
|
1507
1507
|
if @api_client.config.debugging
|
1508
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1508
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_account_owners_by_member ...'
|
1509
1509
|
end
|
1510
1510
|
# verify the required parameter 'member_guid' is set
|
1511
1511
|
if @api_client.config.client_side_validation && member_guid.nil?
|
1512
|
-
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.
|
1512
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_account_owners_by_member"
|
1513
1513
|
end
|
1514
1514
|
# verify the required parameter 'user_guid' is set
|
1515
1515
|
if @api_client.config.client_side_validation && user_guid.nil?
|
1516
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
1516
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_account_owners_by_member"
|
1517
1517
|
end
|
1518
1518
|
# resource path
|
1519
1519
|
local_var_path = '/users/{user_guid}/members/{member_guid}/account_owners'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
@@ -1541,7 +1541,7 @@ module MxPlatformRuby
|
|
1541
1541
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1542
1542
|
|
1543
1543
|
new_options = opts.merge(
|
1544
|
-
:operation => :"MxPlatformApi.
|
1544
|
+
:operation => :"MxPlatformApi.list_account_owners_by_member",
|
1545
1545
|
:header_params => header_params,
|
1546
1546
|
:query_params => query_params,
|
1547
1547
|
:form_params => form_params,
|
@@ -1552,7 +1552,7 @@ module MxPlatformRuby
|
|
1552
1552
|
|
1553
1553
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1554
1554
|
if @api_client.config.debugging
|
1555
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1555
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_account_owners_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1556
1556
|
end
|
1557
1557
|
return data, status_code, headers
|
1558
1558
|
end
|
@@ -1689,26 +1689,26 @@ module MxPlatformRuby
|
|
1689
1689
|
return data, status_code, headers
|
1690
1690
|
end
|
1691
1691
|
|
1692
|
-
# List
|
1692
|
+
# List favorite institutions
|
1693
1693
|
# This endpoint returns a paginated list containing institutions that have been set as the partner’s favorites, sorted by popularity. Please contact MX to set a list of favorites.
|
1694
1694
|
# @param [Hash] opts the optional parameters
|
1695
1695
|
# @option opts [Integer] :page Specify current page.
|
1696
1696
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1697
1697
|
# @return [InstitutionsResponseBody]
|
1698
|
-
def
|
1699
|
-
data, _status_code, _headers =
|
1698
|
+
def list_favorite_institutions(opts = {})
|
1699
|
+
data, _status_code, _headers = list_favorite_institutions_with_http_info(opts)
|
1700
1700
|
data
|
1701
1701
|
end
|
1702
1702
|
|
1703
|
-
# List
|
1703
|
+
# List favorite institutions
|
1704
1704
|
# This endpoint returns a paginated list containing institutions that have been set as the partner’s favorites, sorted by popularity. Please contact MX to set a list of favorites.
|
1705
1705
|
# @param [Hash] opts the optional parameters
|
1706
1706
|
# @option opts [Integer] :page Specify current page.
|
1707
1707
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1708
1708
|
# @return [Array<(InstitutionsResponseBody, Integer, Hash)>] InstitutionsResponseBody data, response status code and response headers
|
1709
|
-
def
|
1709
|
+
def list_favorite_institutions_with_http_info(opts = {})
|
1710
1710
|
if @api_client.config.debugging
|
1711
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1711
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_favorite_institutions ...'
|
1712
1712
|
end
|
1713
1713
|
# resource path
|
1714
1714
|
local_var_path = '/institutions/favorites'
|
@@ -1736,7 +1736,7 @@ module MxPlatformRuby
|
|
1736
1736
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1737
1737
|
|
1738
1738
|
new_options = opts.merge(
|
1739
|
-
:operation => :"MxPlatformApi.
|
1739
|
+
:operation => :"MxPlatformApi.list_favorite_institutions",
|
1740
1740
|
:header_params => header_params,
|
1741
1741
|
:query_params => query_params,
|
1742
1742
|
:form_params => form_params,
|
@@ -1747,14 +1747,13 @@ module MxPlatformRuby
|
|
1747
1747
|
|
1748
1748
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1749
1749
|
if @api_client.config.debugging
|
1750
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1750
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_favorite_institutions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1751
1751
|
end
|
1752
1752
|
return data, status_code, headers
|
1753
1753
|
end
|
1754
1754
|
|
1755
|
-
# List holdings
|
1756
|
-
# This endpoint returns all holdings associated with the specified `
|
1757
|
-
# @param member_guid [String] The unique id for a `member`.
|
1755
|
+
# List holdings
|
1756
|
+
# This endpoint returns all holdings associated with the specified `user` across all accounts and members.
|
1758
1757
|
# @param user_guid [String] The unique id for a `user`.
|
1759
1758
|
# @param [Hash] opts the optional parameters
|
1760
1759
|
# @option opts [String] :from_date Filter holdings from this date.
|
@@ -1762,14 +1761,13 @@ module MxPlatformRuby
|
|
1762
1761
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1763
1762
|
# @option opts [String] :to_date Filter holdings to this date.
|
1764
1763
|
# @return [HoldingsResponseBody]
|
1765
|
-
def
|
1766
|
-
data, _status_code, _headers =
|
1764
|
+
def list_holdings(user_guid, opts = {})
|
1765
|
+
data, _status_code, _headers = list_holdings_with_http_info(user_guid, opts)
|
1767
1766
|
data
|
1768
1767
|
end
|
1769
1768
|
|
1770
|
-
# List holdings
|
1771
|
-
# This endpoint returns all holdings associated with the specified `
|
1772
|
-
# @param member_guid [String] The unique id for a `member`.
|
1769
|
+
# List holdings
|
1770
|
+
# This endpoint returns all holdings associated with the specified `user` across all accounts and members.
|
1773
1771
|
# @param user_guid [String] The unique id for a `user`.
|
1774
1772
|
# @param [Hash] opts the optional parameters
|
1775
1773
|
# @option opts [String] :from_date Filter holdings from this date.
|
@@ -1777,20 +1775,16 @@ module MxPlatformRuby
|
|
1777
1775
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1778
1776
|
# @option opts [String] :to_date Filter holdings to this date.
|
1779
1777
|
# @return [Array<(HoldingsResponseBody, Integer, Hash)>] HoldingsResponseBody data, response status code and response headers
|
1780
|
-
def
|
1778
|
+
def list_holdings_with_http_info(user_guid, opts = {})
|
1781
1779
|
if @api_client.config.debugging
|
1782
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1783
|
-
end
|
1784
|
-
# verify the required parameter 'member_guid' is set
|
1785
|
-
if @api_client.config.client_side_validation && member_guid.nil?
|
1786
|
-
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_holdings_by_member"
|
1780
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings ...'
|
1787
1781
|
end
|
1788
1782
|
# verify the required parameter 'user_guid' is set
|
1789
1783
|
if @api_client.config.client_side_validation && user_guid.nil?
|
1790
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
1784
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings"
|
1791
1785
|
end
|
1792
1786
|
# resource path
|
1793
|
-
local_var_path = '/users/{user_guid}/
|
1787
|
+
local_var_path = '/users/{user_guid}/holdings'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
1794
1788
|
|
1795
1789
|
# query parameters
|
1796
1790
|
query_params = opts[:query_params] || {}
|
@@ -1817,7 +1811,7 @@ module MxPlatformRuby
|
|
1817
1811
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1818
1812
|
|
1819
1813
|
new_options = opts.merge(
|
1820
|
-
:operation => :"MxPlatformApi.
|
1814
|
+
:operation => :"MxPlatformApi.list_holdings",
|
1821
1815
|
:header_params => header_params,
|
1822
1816
|
:query_params => query_params,
|
1823
1817
|
:form_params => form_params,
|
@@ -1828,13 +1822,14 @@ module MxPlatformRuby
|
|
1828
1822
|
|
1829
1823
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1830
1824
|
if @api_client.config.debugging
|
1831
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1825
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_holdings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1832
1826
|
end
|
1833
1827
|
return data, status_code, headers
|
1834
1828
|
end
|
1835
1829
|
|
1836
|
-
# List holdings by
|
1837
|
-
# This endpoint returns all holdings associated with the specified `
|
1830
|
+
# List holdings by member
|
1831
|
+
# This endpoint returns all holdings associated with the specified `member` across all accounts.
|
1832
|
+
# @param member_guid [String] The unique id for a `member`.
|
1838
1833
|
# @param user_guid [String] The unique id for a `user`.
|
1839
1834
|
# @param [Hash] opts the optional parameters
|
1840
1835
|
# @option opts [String] :from_date Filter holdings from this date.
|
@@ -1842,13 +1837,14 @@ module MxPlatformRuby
|
|
1842
1837
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1843
1838
|
# @option opts [String] :to_date Filter holdings to this date.
|
1844
1839
|
# @return [HoldingsResponseBody]
|
1845
|
-
def
|
1846
|
-
data, _status_code, _headers =
|
1840
|
+
def list_holdings_by_member(member_guid, user_guid, opts = {})
|
1841
|
+
data, _status_code, _headers = list_holdings_by_member_with_http_info(member_guid, user_guid, opts)
|
1847
1842
|
data
|
1848
1843
|
end
|
1849
1844
|
|
1850
|
-
# List holdings by
|
1851
|
-
# This endpoint returns all holdings associated with the specified `
|
1845
|
+
# List holdings by member
|
1846
|
+
# This endpoint returns all holdings associated with the specified `member` across all accounts.
|
1847
|
+
# @param member_guid [String] The unique id for a `member`.
|
1852
1848
|
# @param user_guid [String] The unique id for a `user`.
|
1853
1849
|
# @param [Hash] opts the optional parameters
|
1854
1850
|
# @option opts [String] :from_date Filter holdings from this date.
|
@@ -1856,16 +1852,20 @@ module MxPlatformRuby
|
|
1856
1852
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1857
1853
|
# @option opts [String] :to_date Filter holdings to this date.
|
1858
1854
|
# @return [Array<(HoldingsResponseBody, Integer, Hash)>] HoldingsResponseBody data, response status code and response headers
|
1859
|
-
def
|
1855
|
+
def list_holdings_by_member_with_http_info(member_guid, user_guid, opts = {})
|
1860
1856
|
if @api_client.config.debugging
|
1861
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1857
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_holdings_by_member ...'
|
1858
|
+
end
|
1859
|
+
# verify the required parameter 'member_guid' is set
|
1860
|
+
if @api_client.config.client_side_validation && member_guid.nil?
|
1861
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_holdings_by_member"
|
1862
1862
|
end
|
1863
1863
|
# verify the required parameter 'user_guid' is set
|
1864
1864
|
if @api_client.config.client_side_validation && user_guid.nil?
|
1865
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
1865
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_holdings_by_member"
|
1866
1866
|
end
|
1867
1867
|
# resource path
|
1868
|
-
local_var_path = '/users/{user_guid}/holdings'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
1868
|
+
local_var_path = '/users/{user_guid}/members/{member_guid}/holdings'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
1869
1869
|
|
1870
1870
|
# query parameters
|
1871
1871
|
query_params = opts[:query_params] || {}
|
@@ -1892,7 +1892,7 @@ module MxPlatformRuby
|
|
1892
1892
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1893
1893
|
|
1894
1894
|
new_options = opts.merge(
|
1895
|
-
:operation => :"MxPlatformApi.
|
1895
|
+
:operation => :"MxPlatformApi.list_holdings_by_member",
|
1896
1896
|
:header_params => header_params,
|
1897
1897
|
:query_params => query_params,
|
1898
1898
|
:form_params => form_params,
|
@@ -1903,37 +1903,37 @@ module MxPlatformRuby
|
|
1903
1903
|
|
1904
1904
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1905
1905
|
if @api_client.config.debugging
|
1906
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1906
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_holdings_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1907
1907
|
end
|
1908
1908
|
return data, status_code, headers
|
1909
1909
|
end
|
1910
1910
|
|
1911
|
-
# List institution
|
1911
|
+
# List institution credentials
|
1912
1912
|
# Use this endpoint to see which credentials will be needed to create a member for a specific institution.
|
1913
1913
|
# @param institution_code [String] The institution_code of the institution.
|
1914
1914
|
# @param [Hash] opts the optional parameters
|
1915
1915
|
# @option opts [Integer] :page Specify current page.
|
1916
1916
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1917
1917
|
# @return [CredentialsResponseBody]
|
1918
|
-
def
|
1919
|
-
data, _status_code, _headers =
|
1918
|
+
def list_institution_credentials(institution_code, opts = {})
|
1919
|
+
data, _status_code, _headers = list_institution_credentials_with_http_info(institution_code, opts)
|
1920
1920
|
data
|
1921
1921
|
end
|
1922
1922
|
|
1923
|
-
# List institution
|
1923
|
+
# List institution credentials
|
1924
1924
|
# Use this endpoint to see which credentials will be needed to create a member for a specific institution.
|
1925
1925
|
# @param institution_code [String] The institution_code of the institution.
|
1926
1926
|
# @param [Hash] opts the optional parameters
|
1927
1927
|
# @option opts [Integer] :page Specify current page.
|
1928
1928
|
# @option opts [Integer] :records_per_page Specify records per page.
|
1929
1929
|
# @return [Array<(CredentialsResponseBody, Integer, Hash)>] CredentialsResponseBody data, response status code and response headers
|
1930
|
-
def
|
1930
|
+
def list_institution_credentials_with_http_info(institution_code, opts = {})
|
1931
1931
|
if @api_client.config.debugging
|
1932
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
1932
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_institution_credentials ...'
|
1933
1933
|
end
|
1934
1934
|
# verify the required parameter 'institution_code' is set
|
1935
1935
|
if @api_client.config.client_side_validation && institution_code.nil?
|
1936
|
-
fail ArgumentError, "Missing the required parameter 'institution_code' when calling MxPlatformApi.
|
1936
|
+
fail ArgumentError, "Missing the required parameter 'institution_code' when calling MxPlatformApi.list_institution_credentials"
|
1937
1937
|
end
|
1938
1938
|
# resource path
|
1939
1939
|
local_var_path = '/institutions/{institution_code}/credentials'.sub('{' + 'institution_code' + '}', CGI.escape(institution_code.to_s))
|
@@ -1961,7 +1961,7 @@ module MxPlatformRuby
|
|
1961
1961
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
1962
1962
|
|
1963
1963
|
new_options = opts.merge(
|
1964
|
-
:operation => :"MxPlatformApi.
|
1964
|
+
:operation => :"MxPlatformApi.list_institution_credentials",
|
1965
1965
|
:header_params => header_params,
|
1966
1966
|
:query_params => query_params,
|
1967
1967
|
:form_params => form_params,
|
@@ -1972,7 +1972,7 @@ module MxPlatformRuby
|
|
1972
1972
|
|
1973
1973
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1974
1974
|
if @api_client.config.debugging
|
1975
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
1975
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_institution_credentials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1976
1976
|
end
|
1977
1977
|
return data, status_code, headers
|
1978
1978
|
end
|
@@ -2544,32 +2544,32 @@ module MxPlatformRuby
|
|
2544
2544
|
return data, status_code, headers
|
2545
2545
|
end
|
2546
2546
|
|
2547
|
-
# List transaction rules
|
2547
|
+
# List transaction rules
|
2548
2548
|
# Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
|
2549
2549
|
# @param user_guid [String] The unique id for a `user`.
|
2550
2550
|
# @param [Hash] opts the optional parameters
|
2551
2551
|
# @option opts [Integer] :page Specify current page.
|
2552
2552
|
# @option opts [Integer] :records_per_page Specify records per page.
|
2553
2553
|
# @return [TransactionRulesResponseBody]
|
2554
|
-
def
|
2555
|
-
data, _status_code, _headers =
|
2554
|
+
def list_transaction_rules(user_guid, opts = {})
|
2555
|
+
data, _status_code, _headers = list_transaction_rules_with_http_info(user_guid, opts)
|
2556
2556
|
data
|
2557
2557
|
end
|
2558
2558
|
|
2559
|
-
# List transaction rules
|
2559
|
+
# List transaction rules
|
2560
2560
|
# Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
|
2561
2561
|
# @param user_guid [String] The unique id for a `user`.
|
2562
2562
|
# @param [Hash] opts the optional parameters
|
2563
2563
|
# @option opts [Integer] :page Specify current page.
|
2564
2564
|
# @option opts [Integer] :records_per_page Specify records per page.
|
2565
2565
|
# @return [Array<(TransactionRulesResponseBody, Integer, Hash)>] TransactionRulesResponseBody data, response status code and response headers
|
2566
|
-
def
|
2566
|
+
def list_transaction_rules_with_http_info(user_guid, opts = {})
|
2567
2567
|
if @api_client.config.debugging
|
2568
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
2568
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transaction_rules ...'
|
2569
2569
|
end
|
2570
2570
|
# verify the required parameter 'user_guid' is set
|
2571
2571
|
if @api_client.config.client_side_validation && user_guid.nil?
|
2572
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
2572
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transaction_rules"
|
2573
2573
|
end
|
2574
2574
|
# resource path
|
2575
2575
|
local_var_path = '/users/{user_guid}/transaction_rules'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
@@ -2597,7 +2597,82 @@ module MxPlatformRuby
|
|
2597
2597
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
2598
2598
|
|
2599
2599
|
new_options = opts.merge(
|
2600
|
-
:operation => :"MxPlatformApi.
|
2600
|
+
:operation => :"MxPlatformApi.list_transaction_rules",
|
2601
|
+
:header_params => header_params,
|
2602
|
+
:query_params => query_params,
|
2603
|
+
:form_params => form_params,
|
2604
|
+
:body => post_body,
|
2605
|
+
:auth_names => auth_names,
|
2606
|
+
:return_type => return_type
|
2607
|
+
)
|
2608
|
+
|
2609
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2610
|
+
if @api_client.config.debugging
|
2611
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_transaction_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2612
|
+
end
|
2613
|
+
return data, status_code, headers
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
# List transactions
|
2617
|
+
# Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
|
2618
|
+
# @param user_guid [String] The unique id for a `user`.
|
2619
|
+
# @param [Hash] opts the optional parameters
|
2620
|
+
# @option opts [String] :from_date Filter transactions from this date.
|
2621
|
+
# @option opts [Integer] :page Specify current page.
|
2622
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
2623
|
+
# @option opts [String] :to_date Filter transactions to this date.
|
2624
|
+
# @return [TransactionsResponseBody]
|
2625
|
+
def list_transactions(user_guid, opts = {})
|
2626
|
+
data, _status_code, _headers = list_transactions_with_http_info(user_guid, opts)
|
2627
|
+
data
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# List transactions
|
2631
|
+
# Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
|
2632
|
+
# @param user_guid [String] The unique id for a `user`.
|
2633
|
+
# @param [Hash] opts the optional parameters
|
2634
|
+
# @option opts [String] :from_date Filter transactions from this date.
|
2635
|
+
# @option opts [Integer] :page Specify current page.
|
2636
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
2637
|
+
# @option opts [String] :to_date Filter transactions to this date.
|
2638
|
+
# @return [Array<(TransactionsResponseBody, Integer, Hash)>] TransactionsResponseBody data, response status code and response headers
|
2639
|
+
def list_transactions_with_http_info(user_guid, opts = {})
|
2640
|
+
if @api_client.config.debugging
|
2641
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transactions ...'
|
2642
|
+
end
|
2643
|
+
# verify the required parameter 'user_guid' is set
|
2644
|
+
if @api_client.config.client_side_validation && user_guid.nil?
|
2645
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transactions"
|
2646
|
+
end
|
2647
|
+
# resource path
|
2648
|
+
local_var_path = '/users/{user_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
2649
|
+
|
2650
|
+
# query parameters
|
2651
|
+
query_params = opts[:query_params] || {}
|
2652
|
+
query_params[:'from_date'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
2653
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
2654
|
+
query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
|
2655
|
+
query_params[:'to_date'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
2656
|
+
|
2657
|
+
# header parameters
|
2658
|
+
header_params = opts[:header_params] || {}
|
2659
|
+
# HTTP header 'Accept' (if needed)
|
2660
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
|
2661
|
+
|
2662
|
+
# form parameters
|
2663
|
+
form_params = opts[:form_params] || {}
|
2664
|
+
|
2665
|
+
# http body (model)
|
2666
|
+
post_body = opts[:debug_body]
|
2667
|
+
|
2668
|
+
# return_type
|
2669
|
+
return_type = opts[:debug_return_type] || 'TransactionsResponseBody'
|
2670
|
+
|
2671
|
+
# auth_names
|
2672
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
2673
|
+
|
2674
|
+
new_options = opts.merge(
|
2675
|
+
:operation => :"MxPlatformApi.list_transactions",
|
2601
2676
|
:header_params => header_params,
|
2602
2677
|
:query_params => query_params,
|
2603
2678
|
:form_params => form_params,
|
@@ -2608,7 +2683,7 @@ module MxPlatformRuby
|
|
2608
2683
|
|
2609
2684
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2610
2685
|
if @api_client.config.debugging
|
2611
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
2686
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#list_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2612
2687
|
end
|
2613
2688
|
return data, status_code, headers
|
2614
2689
|
end
|
@@ -2844,81 +2919,6 @@ module MxPlatformRuby
|
|
2844
2919
|
return data, status_code, headers
|
2845
2920
|
end
|
2846
2921
|
|
2847
|
-
# List transactions by user
|
2848
|
-
# Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
|
2849
|
-
# @param user_guid [String] The unique id for a `user`.
|
2850
|
-
# @param [Hash] opts the optional parameters
|
2851
|
-
# @option opts [String] :from_date Filter transactions from this date.
|
2852
|
-
# @option opts [Integer] :page Specify current page.
|
2853
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
2854
|
-
# @option opts [String] :to_date Filter transactions to this date.
|
2855
|
-
# @return [TransactionsResponseBody]
|
2856
|
-
def list_transactions_by_user(user_guid, opts = {})
|
2857
|
-
data, _status_code, _headers = list_transactions_by_user_with_http_info(user_guid, opts)
|
2858
|
-
data
|
2859
|
-
end
|
2860
|
-
|
2861
|
-
# List transactions by user
|
2862
|
-
# Requests to this endpoint return a list of transactions associated with the specified `user`, accross all members and accounts associated with that `user`.
|
2863
|
-
# @param user_guid [String] The unique id for a `user`.
|
2864
|
-
# @param [Hash] opts the optional parameters
|
2865
|
-
# @option opts [String] :from_date Filter transactions from this date.
|
2866
|
-
# @option opts [Integer] :page Specify current page.
|
2867
|
-
# @option opts [Integer] :records_per_page Specify records per page.
|
2868
|
-
# @option opts [String] :to_date Filter transactions to this date.
|
2869
|
-
# @return [Array<(TransactionsResponseBody, Integer, Hash)>] TransactionsResponseBody data, response status code and response headers
|
2870
|
-
def list_transactions_by_user_with_http_info(user_guid, opts = {})
|
2871
|
-
if @api_client.config.debugging
|
2872
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.list_transactions_by_user ...'
|
2873
|
-
end
|
2874
|
-
# verify the required parameter 'user_guid' is set
|
2875
|
-
if @api_client.config.client_side_validation && user_guid.nil?
|
2876
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_transactions_by_user"
|
2877
|
-
end
|
2878
|
-
# resource path
|
2879
|
-
local_var_path = '/users/{user_guid}/transactions'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
2880
|
-
|
2881
|
-
# query parameters
|
2882
|
-
query_params = opts[:query_params] || {}
|
2883
|
-
query_params[:'from_date'] = opts[:'from_date'] if !opts[:'from_date'].nil?
|
2884
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
2885
|
-
query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
|
2886
|
-
query_params[:'to_date'] = opts[:'to_date'] if !opts[:'to_date'].nil?
|
2887
|
-
|
2888
|
-
# header parameters
|
2889
|
-
header_params = opts[:header_params] || {}
|
2890
|
-
# HTTP header 'Accept' (if needed)
|
2891
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
|
2892
|
-
|
2893
|
-
# form parameters
|
2894
|
-
form_params = opts[:form_params] || {}
|
2895
|
-
|
2896
|
-
# http body (model)
|
2897
|
-
post_body = opts[:debug_body]
|
2898
|
-
|
2899
|
-
# return_type
|
2900
|
-
return_type = opts[:debug_return_type] || 'TransactionsResponseBody'
|
2901
|
-
|
2902
|
-
# auth_names
|
2903
|
-
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
2904
|
-
|
2905
|
-
new_options = opts.merge(
|
2906
|
-
:operation => :"MxPlatformApi.list_transactions_by_user",
|
2907
|
-
:header_params => header_params,
|
2908
|
-
:query_params => query_params,
|
2909
|
-
:form_params => form_params,
|
2910
|
-
:body => post_body,
|
2911
|
-
:auth_names => auth_names,
|
2912
|
-
:return_type => return_type
|
2913
|
-
)
|
2914
|
-
|
2915
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2916
|
-
if @api_client.config.debugging
|
2917
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#list_transactions_by_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2918
|
-
end
|
2919
|
-
return data, status_code, headers
|
2920
|
-
end
|
2921
|
-
|
2922
2922
|
# List accounts
|
2923
2923
|
# This endpoint returns a list of all the accounts associated with the specified `user`.
|
2924
2924
|
# @param user_guid [String] The unique id for a `user`.
|
@@ -3936,7 +3936,7 @@ module MxPlatformRuby
|
|
3936
3936
|
return data, status_code, headers
|
3937
3937
|
end
|
3938
3938
|
|
3939
|
-
# Request connect widget
|
3939
|
+
# Request connect widget url
|
3940
3940
|
# This endpoint will return a URL for an embeddable version of MX Connect.
|
3941
3941
|
# @param user_guid [String] The unique id for a `user`.
|
3942
3942
|
# @param [Hash] opts the optional parameters
|
@@ -3947,7 +3947,7 @@ module MxPlatformRuby
|
|
3947
3947
|
data
|
3948
3948
|
end
|
3949
3949
|
|
3950
|
-
# Request connect widget
|
3950
|
+
# Request connect widget url
|
3951
3951
|
# This endpoint will return a URL for an embeddable version of MX Connect.
|
3952
3952
|
# @param user_guid [String] The unique id for a `user`.
|
3953
3953
|
# @param [Hash] opts the optional parameters
|
@@ -4003,7 +4003,7 @@ module MxPlatformRuby
|
|
4003
4003
|
return data, status_code, headers
|
4004
4004
|
end
|
4005
4005
|
|
4006
|
-
#
|
4006
|
+
# Request oauth window uri
|
4007
4007
|
# This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
4008
4008
|
# @param member_guid [String] The unique id for a `member`.
|
4009
4009
|
# @param user_guid [String] The unique id for a `user`.
|
@@ -4011,12 +4011,12 @@ module MxPlatformRuby
|
|
4011
4011
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
4012
4012
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
4013
4013
|
# @return [OAuthWindowResponseBody]
|
4014
|
-
def
|
4015
|
-
data, _status_code, _headers =
|
4014
|
+
def request_o_auth_window_uri(member_guid, user_guid, opts = {})
|
4015
|
+
data, _status_code, _headers = request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
|
4016
4016
|
data
|
4017
4017
|
end
|
4018
4018
|
|
4019
|
-
#
|
4019
|
+
# Request oauth window uri
|
4020
4020
|
# This endpoint will generate an `oauth_window_uri` for the specified `member`.
|
4021
4021
|
# @param member_guid [String] The unique id for a `member`.
|
4022
4022
|
# @param user_guid [String] The unique id for a `user`.
|
@@ -4024,17 +4024,17 @@ module MxPlatformRuby
|
|
4024
4024
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
4025
4025
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
|
4026
4026
|
# @return [Array<(OAuthWindowResponseBody, Integer, Hash)>] OAuthWindowResponseBody data, response status code and response headers
|
4027
|
-
def
|
4027
|
+
def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
|
4028
4028
|
if @api_client.config.debugging
|
4029
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
4029
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.request_o_auth_window_uri ...'
|
4030
4030
|
end
|
4031
4031
|
# verify the required parameter 'member_guid' is set
|
4032
4032
|
if @api_client.config.client_side_validation && member_guid.nil?
|
4033
|
-
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.
|
4033
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.request_o_auth_window_uri"
|
4034
4034
|
end
|
4035
4035
|
# verify the required parameter 'user_guid' is set
|
4036
4036
|
if @api_client.config.client_side_validation && user_guid.nil?
|
4037
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
4037
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.request_o_auth_window_uri"
|
4038
4038
|
end
|
4039
4039
|
# resource path
|
4040
4040
|
local_var_path = '/users/{user_guid}/members/{member_guid}/oauth_window_uri'.sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
|
@@ -4062,7 +4062,7 @@ module MxPlatformRuby
|
|
4062
4062
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
4063
4063
|
|
4064
4064
|
new_options = opts.merge(
|
4065
|
-
:operation => :"MxPlatformApi.
|
4065
|
+
:operation => :"MxPlatformApi.request_o_auth_window_uri",
|
4066
4066
|
:header_params => header_params,
|
4067
4067
|
:query_params => query_params,
|
4068
4068
|
:form_params => form_params,
|
@@ -4073,12 +4073,12 @@ module MxPlatformRuby
|
|
4073
4073
|
|
4074
4074
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
4075
4075
|
if @api_client.config.debugging
|
4076
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
4076
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#request_o_auth_window_uri\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4077
4077
|
end
|
4078
4078
|
return data, status_code, headers
|
4079
4079
|
end
|
4080
4080
|
|
4081
|
-
# Request
|
4081
|
+
# Request widget url
|
4082
4082
|
# This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
|
4083
4083
|
# @param user_guid [String] The unique id for a `user`.
|
4084
4084
|
# @param widget_request_body [WidgetRequestBody] The widget url configuration options.
|
@@ -4090,7 +4090,7 @@ module MxPlatformRuby
|
|
4090
4090
|
data
|
4091
4091
|
end
|
4092
4092
|
|
4093
|
-
# Request
|
4093
|
+
# Request widget url
|
4094
4094
|
# This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
|
4095
4095
|
# @param user_guid [String] The unique id for a `user`.
|
4096
4096
|
# @param widget_request_body [WidgetRequestBody] The widget url configuration options.
|
@@ -4229,7 +4229,7 @@ module MxPlatformRuby
|
|
4229
4229
|
return data, status_code, headers
|
4230
4230
|
end
|
4231
4231
|
|
4232
|
-
# Update account
|
4232
|
+
# Update account by member
|
4233
4233
|
# This endpoint allows you to update certain attributes of an `account` resource.
|
4234
4234
|
# @param user_guid [String] The unique id for a `user`.
|
4235
4235
|
# @param member_guid [String] The unique id for a `member`.
|
@@ -4237,12 +4237,12 @@ module MxPlatformRuby
|
|
4237
4237
|
# @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
|
4238
4238
|
# @param [Hash] opts the optional parameters
|
4239
4239
|
# @return [AccountResponseBody]
|
4240
|
-
def
|
4241
|
-
data, _status_code, _headers =
|
4240
|
+
def update_account_by_member(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
|
4241
|
+
data, _status_code, _headers = update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts)
|
4242
4242
|
data
|
4243
4243
|
end
|
4244
4244
|
|
4245
|
-
# Update account
|
4245
|
+
# Update account by member
|
4246
4246
|
# This endpoint allows you to update certain attributes of an `account` resource.
|
4247
4247
|
# @param user_guid [String] The unique id for a `user`.
|
4248
4248
|
# @param member_guid [String] The unique id for a `member`.
|
@@ -4250,25 +4250,25 @@ module MxPlatformRuby
|
|
4250
4250
|
# @param account_update_request_body [AccountUpdateRequestBody] Account object to be created with optional parameters (is_hidden)
|
4251
4251
|
# @param [Hash] opts the optional parameters
|
4252
4252
|
# @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
|
4253
|
-
def
|
4253
|
+
def update_account_by_member_with_http_info(user_guid, member_guid, account_guid, account_update_request_body, opts = {})
|
4254
4254
|
if @api_client.config.debugging
|
4255
|
-
@api_client.config.logger.debug 'Calling API: MxPlatformApi.
|
4255
|
+
@api_client.config.logger.debug 'Calling API: MxPlatformApi.update_account_by_member ...'
|
4256
4256
|
end
|
4257
4257
|
# verify the required parameter 'user_guid' is set
|
4258
4258
|
if @api_client.config.client_side_validation && user_guid.nil?
|
4259
|
-
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.
|
4259
|
+
fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.update_account_by_member"
|
4260
4260
|
end
|
4261
4261
|
# verify the required parameter 'member_guid' is set
|
4262
4262
|
if @api_client.config.client_side_validation && member_guid.nil?
|
4263
|
-
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.
|
4263
|
+
fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.update_account_by_member"
|
4264
4264
|
end
|
4265
4265
|
# verify the required parameter 'account_guid' is set
|
4266
4266
|
if @api_client.config.client_side_validation && account_guid.nil?
|
4267
|
-
fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.
|
4267
|
+
fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.update_account_by_member"
|
4268
4268
|
end
|
4269
4269
|
# verify the required parameter 'account_update_request_body' is set
|
4270
4270
|
if @api_client.config.client_side_validation && account_update_request_body.nil?
|
4271
|
-
fail ArgumentError, "Missing the required parameter 'account_update_request_body' when calling MxPlatformApi.
|
4271
|
+
fail ArgumentError, "Missing the required parameter 'account_update_request_body' when calling MxPlatformApi.update_account_by_member"
|
4272
4272
|
end
|
4273
4273
|
# resource path
|
4274
4274
|
local_var_path = '/users/{user_guid}/members/{member_guid}/accounts/{account_guid}'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s))
|
@@ -4296,7 +4296,7 @@ module MxPlatformRuby
|
|
4296
4296
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
4297
4297
|
|
4298
4298
|
new_options = opts.merge(
|
4299
|
-
:operation => :"MxPlatformApi.
|
4299
|
+
:operation => :"MxPlatformApi.update_account_by_member",
|
4300
4300
|
:header_params => header_params,
|
4301
4301
|
:query_params => query_params,
|
4302
4302
|
:form_params => form_params,
|
@@ -4307,7 +4307,7 @@ module MxPlatformRuby
|
|
4307
4307
|
|
4308
4308
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
4309
4309
|
if @api_client.config.debugging
|
4310
|
-
@api_client.config.logger.debug "API called: MxPlatformApi#
|
4310
|
+
@api_client.config.logger.debug "API called: MxPlatformApi#update_account_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4311
4311
|
end
|
4312
4312
|
return data, status_code, headers
|
4313
4313
|
end
|
@@ -4472,7 +4472,7 @@ module MxPlatformRuby
|
|
4472
4472
|
# @param user_guid [String] The unique id for a `user`.
|
4473
4473
|
# @param tag_update_request_body [TagUpdateRequestBody] Tag object to be updated with required parameter (tag_guid)
|
4474
4474
|
# @param [Hash] opts the optional parameters
|
4475
|
-
# @return [
|
4475
|
+
# @return [TagResponseBody]
|
4476
4476
|
def update_tag(tag_guid, user_guid, tag_update_request_body, opts = {})
|
4477
4477
|
data, _status_code, _headers = update_tag_with_http_info(tag_guid, user_guid, tag_update_request_body, opts)
|
4478
4478
|
data
|
@@ -4484,7 +4484,7 @@ module MxPlatformRuby
|
|
4484
4484
|
# @param user_guid [String] The unique id for a `user`.
|
4485
4485
|
# @param tag_update_request_body [TagUpdateRequestBody] Tag object to be updated with required parameter (tag_guid)
|
4486
4486
|
# @param [Hash] opts the optional parameters
|
4487
|
-
# @return [Array<(
|
4487
|
+
# @return [Array<(TagResponseBody, Integer, Hash)>] TagResponseBody data, response status code and response headers
|
4488
4488
|
def update_tag_with_http_info(tag_guid, user_guid, tag_update_request_body, opts = {})
|
4489
4489
|
if @api_client.config.debugging
|
4490
4490
|
@api_client.config.logger.debug 'Calling API: MxPlatformApi.update_tag ...'
|
@@ -4521,7 +4521,7 @@ module MxPlatformRuby
|
|
4521
4521
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(tag_update_request_body)
|
4522
4522
|
|
4523
4523
|
# return_type
|
4524
|
-
return_type = opts[:debug_return_type] || '
|
4524
|
+
return_type = opts[:debug_return_type] || 'TagResponseBody'
|
4525
4525
|
|
4526
4526
|
# auth_names
|
4527
4527
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|