mx-platform-ruby 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b936e81b35f1be7e58438403e10793c9288707645830a58687b31297198211f0
4
- data.tar.gz: 4e6242f67b061afbb56ae5dd269f312cfda00ca00e4109abb3b2dfa7484a1b1d
3
+ metadata.gz: 3b6e332d0412f293d118fba4562f2bf1ecf50946e919302aff739e89f892a77b
4
+ data.tar.gz: c9f86aa585e0b4725c85c2b2612ca068b18d53fb32ae52df1f6a73269832d9fd
5
5
  SHA512:
6
- metadata.gz: 387337d17b600182887959e099bb19a10412c5d5c26146fdb0367ba61ea8ffc2c53d45ae3e860f590310be7246323b8edda3c2cdd7f8fde462a21933dd52109e
7
- data.tar.gz: 8e026569511052e4404604a3483aa7636991d642d23835db35ebb72abe08ded9db655f8c0a09e6c10e8d3cc20dfd4e5f4e17777c489dc9ab04cec41c12bcb16e
6
+ metadata.gz: 29a20826335615c90bf6e14d59dd64b301c064cd305dfe3e783a5e44ff6df5bbe4d7f094c4502da7722f9a05ff291ebc060c3abfdeb3684228c270012d5dc3b8
7
+ data.tar.gz: 60ef53441a91a70248d36677ee73839ecc22949b300186810da95b8d8d0a9b6ce59afd14038593b3bfc7e71d4d0143e3b03445abca3137d1583f6e6ba60a6294
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.17.0)
4
+ mx-platform-ruby (0.18.0)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -34,12 +34,13 @@ GEM
34
34
  faraday-patron (1.0.0)
35
35
  faraday-rack (1.0.0)
36
36
  faraday-retry (1.0.3)
37
- jaro_winkler (1.5.4)
37
+ jaro_winkler (1.5.6)
38
38
  method_source (1.0.0)
39
39
  multipart-post (2.3.0)
40
40
  parallel (1.23.0)
41
- parser (3.2.2.1)
41
+ parser (3.2.2.3)
42
42
  ast (~> 2.4.1)
43
+ racc
43
44
  pry (0.13.1)
44
45
  coderay (~> 1.1)
45
46
  method_source (~> 1.0)
@@ -48,6 +49,7 @@ GEM
48
49
  pry (~> 0.13.0)
49
50
  psych (5.1.0)
50
51
  stringio
52
+ racc (1.7.1)
51
53
  rainbow (3.1.1)
52
54
  rake (13.0.6)
53
55
  rspec (3.12.0)
@@ -59,10 +61,10 @@ GEM
59
61
  rspec-expectations (3.12.3)
60
62
  diff-lcs (>= 1.2.0, < 2.0)
61
63
  rspec-support (~> 3.12.0)
62
- rspec-mocks (3.12.5)
64
+ rspec-mocks (3.12.6)
63
65
  diff-lcs (>= 1.2.0, < 2.0)
64
66
  rspec-support (~> 3.12.0)
65
- rspec-support (3.12.0)
67
+ rspec-support (3.12.1)
66
68
  rubocop (0.66.0)
67
69
  jaro_winkler (~> 1.5.1)
68
70
  parallel (~> 1.10)
@@ -87,4 +89,4 @@ DEPENDENCIES
87
89
  rubocop (~> 0.66.0)
88
90
 
89
91
  BUNDLED WITH
90
- 2.4.12
92
+ 2.4.16
@@ -0,0 +1,78 @@
1
+ # MxPlatformRuby::AccountCreateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_number** | **String** | | [optional] |
8
+ | **apr** | **Float** | | [optional] |
9
+ | **apy** | **Float** | | [optional] |
10
+ | **available_balance** | **Float** | | [optional] |
11
+ | **available_credit** | **Float** | | [optional] |
12
+ | **balance** | **Float** | | |
13
+ | **cash_surrender_value** | **Float** | | [optional] |
14
+ | **credit_limit** | **Float** | | [optional] |
15
+ | **currency_code** | **String** | | [optional] |
16
+ | **day_payment_is_due** | **Integer** | | [optional] |
17
+ | **death_benefit** | **Integer** | | [optional] |
18
+ | **id** | **String** | | [optional] |
19
+ | **interest_rate** | **Float** | | [optional] |
20
+ | **is_closed** | **Boolean** | | [optional] |
21
+ | **is_hidden** | **Boolean** | | [optional] |
22
+ | **last_payment** | **Float** | | [optional] |
23
+ | **last_payment_at** | **String** | | [optional] |
24
+ | **loan_amount** | **Float** | | [optional] |
25
+ | **matures_on** | **String** | | [optional] |
26
+ | **metadata** | **String** | | [optional] |
27
+ | **minimum_balance** | **Float** | | [optional] |
28
+ | **minimum_payment** | **Float** | | [optional] |
29
+ | **name** | **String** | | |
30
+ | **nickname** | **String** | | [optional] |
31
+ | **original_balance** | **Float** | | [optional] |
32
+ | **payment_due_at** | **String** | | [optional] |
33
+ | **payoff_balance** | **Float** | | [optional] |
34
+ | **routing_number** | **String** | | [optional] |
35
+ | **started_on** | **String** | | [optional] |
36
+ | **subtype** | **String** | | [optional] |
37
+ | **type** | **String** | | |
38
+
39
+ ## Example
40
+
41
+ ```ruby
42
+ require 'mx-platform-ruby'
43
+
44
+ instance = MxPlatformRuby::AccountCreateRequest.new(
45
+ account_number: 5366,
46
+ apr: 1.0,
47
+ apy: 1.0,
48
+ available_balance: 1000.0,
49
+ available_credit: 1000.0,
50
+ balance: 1000.0,
51
+ cash_surrender_value: 1000.0,
52
+ credit_limit: 100.0,
53
+ currency_code: USD,
54
+ day_payment_is_due: 20,
55
+ death_benefit: 1000,
56
+ id: 1040434698,
57
+ interest_rate: 1.0,
58
+ is_closed: false,
59
+ is_hidden: false,
60
+ last_payment: 100.0,
61
+ last_payment_at: 2015-10-13T17:57:37.000Z,
62
+ loan_amount: 1000.0,
63
+ matures_on: 2015-10-13T17:57:37.000Z,
64
+ metadata: some metadata,
65
+ minimum_balance: 100.0,
66
+ minimum_payment: 10.0,
67
+ name: Test account 2,
68
+ nickname: Swiss Account,
69
+ original_balance: 10.0,
70
+ payment_due_at: 2015-10-13T17:57:37.000Z,
71
+ payoff_balance: 10.0,
72
+ routing_number: 68899990000000,
73
+ started_on: 2015-10-13T17:57:37.000Z,
74
+ subtype: NONE,
75
+ type: SAVINGS
76
+ )
77
+ ```
78
+
@@ -0,0 +1,20 @@
1
+ # MxPlatformRuby::AccountCreateRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **skip_webhook** | **Boolean** | | [optional] |
8
+ | **account** | [**AccountCreateRequest**](AccountCreateRequest.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'mx-platform-ruby'
14
+
15
+ instance = MxPlatformRuby::AccountCreateRequestBody.new(
16
+ skip_webhook: true,
17
+ account: null
18
+ )
19
+ ```
20
+
@@ -24,8 +24,10 @@
24
24
  | **institution_code** | **String** | | [optional] |
25
25
  | **insured_name** | **String** | | [optional] |
26
26
  | **interest_rate** | **Float** | | [optional] |
27
+ | **is_business** | **Boolean** | | [optional] |
27
28
  | **is_closed** | **Boolean** | | [optional] |
28
29
  | **is_hidden** | **Boolean** | | [optional] |
30
+ | **is_manual** | **Boolean** | | [optional] |
29
31
  | **last_payment** | **Float** | | [optional] |
30
32
  | **last_payment_at** | **String** | | [optional] |
31
33
  | **loan_amount** | **Float** | | [optional] |
@@ -43,6 +45,7 @@
43
45
  | **payment_due_at** | **String** | | [optional] |
44
46
  | **payoff_balance** | **Float** | | [optional] |
45
47
  | **premium_amount** | **Float** | | [optional] |
48
+ | **property_type** | **String** | | [optional] |
46
49
  | **routing_number** | **String** | | [optional] |
47
50
  | **started_on** | **String** | | [optional] |
48
51
  | **subtype** | **String** | | [optional] |
@@ -78,8 +81,10 @@ instance = MxPlatformRuby::AccountResponse.new(
78
81
  institution_code: chase,
79
82
  insured_name: Frodo Baggins,
80
83
  interest_rate: 1.0,
84
+ is_business: false,
81
85
  is_closed: false,
82
86
  is_hidden: false,
87
+ is_manual: false,
83
88
  last_payment: 100.0,
84
89
  last_payment_at: 2015-10-13T17:57:37.000Z,
85
90
  loan_amount: 1000.0,
@@ -97,6 +102,7 @@ instance = MxPlatformRuby::AccountResponse.new(
97
102
  payment_due_at: 2015-10-13T17:57:37.000Z,
98
103
  payoff_balance: 10.0,
99
104
  premium_amount: 1.0,
105
+ property_type: 1,
100
106
  routing_number: 68899990000000,
101
107
  started_on: 2015-10-13T17:57:37.000Z,
102
108
  subtype: NONE,
@@ -10,6 +10,7 @@ All URIs are relative to *https://api.mx.com*
10
10
  | [**create_managed_account**](MxPlatformApi.md#create_managed_account) | **POST** /users/{user_guid}/managed_members/{member_guid}/accounts | Create managed account |
11
11
  | [**create_managed_member**](MxPlatformApi.md#create_managed_member) | **POST** /users/{user_guid}/managed_members | Create managed member |
12
12
  | [**create_managed_transaction**](MxPlatformApi.md#create_managed_transaction) | **POST** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions | Create managed transaction |
13
+ | [**create_manual_account**](MxPlatformApi.md#create_manual_account) | **POST** /users/{user_guid}/accounts | Create manual account |
13
14
  | [**create_member**](MxPlatformApi.md#create_member) | **POST** /users/{user_guid}/members | Create member |
14
15
  | [**create_tag**](MxPlatformApi.md#create_tag) | **POST** /users/{user_guid}/tags | Create tag |
15
16
  | [**create_tagging**](MxPlatformApi.md#create_tagging) | **POST** /users/{user_guid}/taggings | Create tagging |
@@ -19,6 +20,7 @@ All URIs are relative to *https://api.mx.com*
19
20
  | [**delete_managed_account**](MxPlatformApi.md#delete_managed_account) | **DELETE** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid} | Delete managed account |
20
21
  | [**delete_managed_member**](MxPlatformApi.md#delete_managed_member) | **DELETE** /users/{user_guid}/managed_members/{member_guid} | Delete managed member |
21
22
  | [**delete_managed_transaction**](MxPlatformApi.md#delete_managed_transaction) | **DELETE** /users/{user_guid}/managed_members/{member_guid}/accounts/{account_guid}/transactions/{transaction_guid} | Delete managed transaction |
23
+ | [**delete_manual_account**](MxPlatformApi.md#delete_manual_account) | **DELETE** /users/{user_guid}/accounts/{account_guid} | Delete manual account |
22
24
  | [**delete_member**](MxPlatformApi.md#delete_member) | **DELETE** /users/{user_guid}/members/{member_guid} | Delete member |
23
25
  | [**delete_tag**](MxPlatformApi.md#delete_tag) | **DELETE** /users/{user_guid}/tags/{tag_guid} | Delete tag |
24
26
  | [**delete_tagging**](MxPlatformApi.md#delete_tagging) | **DELETE** /users/{user_guid}/taggings/{tagging_guid} | Delete tagging |
@@ -541,6 +543,78 @@ end
541
543
  - **Accept**: application/vnd.mx.api.v1+json
542
544
 
543
545
 
546
+ ## create_manual_account
547
+
548
+ > <AccountResponseBody> create_manual_account(user_guid, account_create_request_body)
549
+
550
+ Create manual account
551
+
552
+ This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed..
553
+
554
+ ### Examples
555
+
556
+ ```ruby
557
+ require 'time'
558
+ require 'mx-platform-ruby'
559
+ # setup authorization
560
+ MxPlatformRuby.configure do |config|
561
+ # Configure HTTP basic authorization: basicAuth
562
+ config.username = 'YOUR USERNAME'
563
+ config.password = 'YOUR PASSWORD'
564
+ end
565
+
566
+ api_instance = MxPlatformRuby::MxPlatformApi.new
567
+ user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
568
+ account_create_request_body = MxPlatformRuby::AccountCreateRequestBody.new # AccountCreateRequestBody | Manual account object to be created.
569
+
570
+ begin
571
+ # Create manual account
572
+ result = api_instance.create_manual_account(user_guid, account_create_request_body)
573
+ p result
574
+ rescue MxPlatformRuby::ApiError => e
575
+ puts "Error when calling MxPlatformApi->create_manual_account: #{e}"
576
+ end
577
+ ```
578
+
579
+ #### Using the create_manual_account_with_http_info variant
580
+
581
+ This returns an Array which contains the response data, status code and headers.
582
+
583
+ > <Array(<AccountResponseBody>, Integer, Hash)> create_manual_account_with_http_info(user_guid, account_create_request_body)
584
+
585
+ ```ruby
586
+ begin
587
+ # Create manual account
588
+ data, status_code, headers = api_instance.create_manual_account_with_http_info(user_guid, account_create_request_body)
589
+ p status_code # => 2xx
590
+ p headers # => { ... }
591
+ p data # => <AccountResponseBody>
592
+ rescue MxPlatformRuby::ApiError => e
593
+ puts "Error when calling MxPlatformApi->create_manual_account_with_http_info: #{e}"
594
+ end
595
+ ```
596
+
597
+ ### Parameters
598
+
599
+ | Name | Type | Description | Notes |
600
+ | ---- | ---- | ----------- | ----- |
601
+ | **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
602
+ | **account_create_request_body** | [**AccountCreateRequestBody**](AccountCreateRequestBody.md) | Manual account object to be created. | |
603
+
604
+ ### Return type
605
+
606
+ [**AccountResponseBody**](AccountResponseBody.md)
607
+
608
+ ### Authorization
609
+
610
+ [basicAuth](../README.md#basicAuth)
611
+
612
+ ### HTTP request headers
613
+
614
+ - **Content-Type**: application/json
615
+ - **Accept**: application/vnd.mx.api.v1+json
616
+
617
+
544
618
  ## create_member
545
619
 
546
620
  > <MemberResponseBody> create_member(user_guid, member_create_request_body)
@@ -1189,6 +1263,77 @@ nil (empty response body)
1189
1263
  - **Accept**: Not defined
1190
1264
 
1191
1265
 
1266
+ ## delete_manual_account
1267
+
1268
+ > delete_manual_account(account_guid, user_guid)
1269
+
1270
+ Delete manual account
1271
+
1272
+ This endpoint deletes accounts that were manually created. The API will respond with an empty object and a status of `204 No Content`.
1273
+
1274
+ ### Examples
1275
+
1276
+ ```ruby
1277
+ require 'time'
1278
+ require 'mx-platform-ruby'
1279
+ # setup authorization
1280
+ MxPlatformRuby.configure do |config|
1281
+ # Configure HTTP basic authorization: basicAuth
1282
+ config.username = 'YOUR USERNAME'
1283
+ config.password = 'YOUR PASSWORD'
1284
+ end
1285
+
1286
+ api_instance = MxPlatformRuby::MxPlatformApi.new
1287
+ account_guid = 'ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1' # String | The unique id for an `account`.
1288
+ user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
1289
+
1290
+ begin
1291
+ # Delete manual account
1292
+ api_instance.delete_manual_account(account_guid, user_guid)
1293
+ rescue MxPlatformRuby::ApiError => e
1294
+ puts "Error when calling MxPlatformApi->delete_manual_account: #{e}"
1295
+ end
1296
+ ```
1297
+
1298
+ #### Using the delete_manual_account_with_http_info variant
1299
+
1300
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1301
+
1302
+ > <Array(nil, Integer, Hash)> delete_manual_account_with_http_info(account_guid, user_guid)
1303
+
1304
+ ```ruby
1305
+ begin
1306
+ # Delete manual account
1307
+ data, status_code, headers = api_instance.delete_manual_account_with_http_info(account_guid, user_guid)
1308
+ p status_code # => 2xx
1309
+ p headers # => { ... }
1310
+ p data # => nil
1311
+ rescue MxPlatformRuby::ApiError => e
1312
+ puts "Error when calling MxPlatformApi->delete_manual_account_with_http_info: #{e}"
1313
+ end
1314
+ ```
1315
+
1316
+ ### Parameters
1317
+
1318
+ | Name | Type | Description | Notes |
1319
+ | ---- | ---- | ----------- | ----- |
1320
+ | **account_guid** | **String** | The unique id for an &#x60;account&#x60;. | |
1321
+ | **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
1322
+
1323
+ ### Return type
1324
+
1325
+ nil (empty response body)
1326
+
1327
+ ### Authorization
1328
+
1329
+ [basicAuth](../README.md#basicAuth)
1330
+
1331
+ ### HTTP request headers
1332
+
1333
+ - **Content-Type**: Not defined
1334
+ - **Accept**: Not defined
1335
+
1336
+
1192
1337
  ## delete_member
1193
1338
 
1194
1339
  > delete_member(member_guid, user_guid)
@@ -471,6 +471,80 @@ module MxPlatformRuby
471
471
  return data, status_code, headers
472
472
  end
473
473
 
474
+ # Create manual account
475
+ # This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed..
476
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
477
+ # @param account_create_request_body [AccountCreateRequestBody] Manual account object to be created.
478
+ # @param [Hash] opts the optional parameters
479
+ # @return [AccountResponseBody]
480
+ def create_manual_account(user_guid, account_create_request_body, opts = {})
481
+ data, _status_code, _headers = create_manual_account_with_http_info(user_guid, account_create_request_body, opts)
482
+ data
483
+ end
484
+
485
+ # Create manual account
486
+ # This endpoint can only be used to create manual accounts. Creating a manual account will automatically create it under the Manual Institution member. Since a manual account has no credentials tied to the member, the account will never aggregate or include data from a data feed..
487
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
488
+ # @param account_create_request_body [AccountCreateRequestBody] Manual account object to be created.
489
+ # @param [Hash] opts the optional parameters
490
+ # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
491
+ def create_manual_account_with_http_info(user_guid, account_create_request_body, opts = {})
492
+ if @api_client.config.debugging
493
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.create_manual_account ...'
494
+ end
495
+ # verify the required parameter 'user_guid' is set
496
+ if @api_client.config.client_side_validation && user_guid.nil?
497
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.create_manual_account"
498
+ end
499
+ # verify the required parameter 'account_create_request_body' is set
500
+ if @api_client.config.client_side_validation && account_create_request_body.nil?
501
+ fail ArgumentError, "Missing the required parameter 'account_create_request_body' when calling MxPlatformApi.create_manual_account"
502
+ end
503
+ # resource path
504
+ local_var_path = '/users/{user_guid}/accounts'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
505
+
506
+ # query parameters
507
+ query_params = opts[:query_params] || {}
508
+
509
+ # header parameters
510
+ header_params = opts[:header_params] || {}
511
+ # HTTP header 'Accept' (if needed)
512
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
513
+ # HTTP header 'Content-Type'
514
+ content_type = @api_client.select_header_content_type(['application/json'])
515
+ if !content_type.nil?
516
+ header_params['Content-Type'] = content_type
517
+ end
518
+
519
+ # form parameters
520
+ form_params = opts[:form_params] || {}
521
+
522
+ # http body (model)
523
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(account_create_request_body)
524
+
525
+ # return_type
526
+ return_type = opts[:debug_return_type] || 'AccountResponseBody'
527
+
528
+ # auth_names
529
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
530
+
531
+ new_options = opts.merge(
532
+ :operation => :"MxPlatformApi.create_manual_account",
533
+ :header_params => header_params,
534
+ :query_params => query_params,
535
+ :form_params => form_params,
536
+ :body => post_body,
537
+ :auth_names => auth_names,
538
+ :return_type => return_type
539
+ )
540
+
541
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
542
+ if @api_client.config.debugging
543
+ @api_client.config.logger.debug "API called: MxPlatformApi#create_manual_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
544
+ end
545
+ return data, status_code, headers
546
+ end
547
+
474
548
  # Create member
475
549
  # This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the `/institutions/{institution_code}/credentials` endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
476
550
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -1121,6 +1195,73 @@ module MxPlatformRuby
1121
1195
  return data, status_code, headers
1122
1196
  end
1123
1197
 
1198
+ # Delete manual account
1199
+ # This endpoint deletes accounts that were manually created. The API will respond with an empty object and a status of `204 No Content`.
1200
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
1201
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1202
+ # @param [Hash] opts the optional parameters
1203
+ # @return [nil]
1204
+ def delete_manual_account(account_guid, user_guid, opts = {})
1205
+ delete_manual_account_with_http_info(account_guid, user_guid, opts)
1206
+ nil
1207
+ end
1208
+
1209
+ # Delete manual account
1210
+ # This endpoint deletes accounts that were manually created. The API will respond with an empty object and a status of &#x60;204 No Content&#x60;.
1211
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
1212
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
1213
+ # @param [Hash] opts the optional parameters
1214
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1215
+ def delete_manual_account_with_http_info(account_guid, user_guid, opts = {})
1216
+ if @api_client.config.debugging
1217
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.delete_manual_account ...'
1218
+ end
1219
+ # verify the required parameter 'account_guid' is set
1220
+ if @api_client.config.client_side_validation && account_guid.nil?
1221
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.delete_manual_account"
1222
+ end
1223
+ # verify the required parameter 'user_guid' is set
1224
+ if @api_client.config.client_side_validation && user_guid.nil?
1225
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.delete_manual_account"
1226
+ end
1227
+ # resource path
1228
+ local_var_path = '/users/{user_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
1229
+
1230
+ # query parameters
1231
+ query_params = opts[:query_params] || {}
1232
+
1233
+ # header parameters
1234
+ header_params = opts[:header_params] || {}
1235
+
1236
+ # form parameters
1237
+ form_params = opts[:form_params] || {}
1238
+
1239
+ # http body (model)
1240
+ post_body = opts[:debug_body]
1241
+
1242
+ # return_type
1243
+ return_type = opts[:debug_return_type]
1244
+
1245
+ # auth_names
1246
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
1247
+
1248
+ new_options = opts.merge(
1249
+ :operation => :"MxPlatformApi.delete_manual_account",
1250
+ :header_params => header_params,
1251
+ :query_params => query_params,
1252
+ :form_params => form_params,
1253
+ :body => post_body,
1254
+ :auth_names => auth_names,
1255
+ :return_type => return_type
1256
+ )
1257
+
1258
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
1259
+ if @api_client.config.debugging
1260
+ @api_client.config.logger.debug "API called: MxPlatformApi#delete_manual_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1261
+ end
1262
+ return data, status_code, headers
1263
+ end
1264
+
1124
1265
  # Delete member
1125
1266
  # Accessing this endpoint will permanently delete a member.
1126
1267
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.