mx-platform-ruby 0.11.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/docs/CredentialResponse.md +3 -1
  4. data/docs/MxPlatformApi.md +0 -213
  5. data/lib/mx-platform-ruby/api/mx_platform_api.rb +0 -188
  6. data/lib/mx-platform-ruby/configuration.rb +0 -7
  7. data/lib/mx-platform-ruby/models/credential_response.rb +15 -5
  8. data/lib/mx-platform-ruby/version.rb +1 -1
  9. data/lib/mx-platform-ruby.rb +0 -7
  10. data/openapi/config.yml +1 -1
  11. data/spec/api/mx_platform_api_spec.rb +0 -36
  12. data/spec/models/credential_response_spec.rb +6 -0
  13. metadata +90 -118
  14. data/docs/PaymentAccountResponse.md +0 -30
  15. data/docs/PaymentAccountResponseBody.md +0 -18
  16. data/docs/PaymentProcessorAuthorizationCodeRequest.md +0 -22
  17. data/docs/PaymentProcessorAuthorizationCodeRequestBody.md +0 -18
  18. data/docs/PaymentProcessorAuthorizationCodeResponse.md +0 -18
  19. data/docs/PaymentProcessorAuthorizationCodeResponseBody.md +0 -18
  20. data/docs/PaymentProcessorTokenResponseBody.md +0 -22
  21. data/lib/mx-platform-ruby/models/payment_account_response.rb +0 -279
  22. data/lib/mx-platform-ruby/models/payment_account_response_body.rb +0 -218
  23. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb +0 -236
  24. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb +0 -218
  25. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb +0 -219
  26. data/lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb +0 -218
  27. data/lib/mx-platform-ruby/models/payment_processor_token_response_body.rb +0 -239
  28. data/spec/models/payment_account_response_body_spec.rb +0 -34
  29. data/spec/models/payment_account_response_spec.rb +0 -70
  30. data/spec/models/payment_processor_authorization_code_request_body_spec.rb +0 -34
  31. data/spec/models/payment_processor_authorization_code_request_spec.rb +0 -46
  32. data/spec/models/payment_processor_authorization_code_response_body_spec.rb +0 -34
  33. data/spec/models/payment_processor_authorization_code_response_spec.rb +0 -34
  34. data/spec/models/payment_processor_token_response_body_spec.rb +0 -46
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mx-platform-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -131,13 +131,6 @@ files:
131
131
  - docs/OAuthWindowResponseBody.md
132
132
  - docs/OptionResponse.md
133
133
  - docs/PaginationResponse.md
134
- - docs/PaymentAccountResponse.md
135
- - docs/PaymentAccountResponseBody.md
136
- - docs/PaymentProcessorAuthorizationCodeRequest.md
137
- - docs/PaymentProcessorAuthorizationCodeRequestBody.md
138
- - docs/PaymentProcessorAuthorizationCodeResponse.md
139
- - docs/PaymentProcessorAuthorizationCodeResponseBody.md
140
- - docs/PaymentProcessorTokenResponseBody.md
141
134
  - docs/StatementResponse.md
142
135
  - docs/StatementResponseBody.md
143
136
  - docs/StatementsResponseBody.md
@@ -251,13 +244,6 @@ files:
251
244
  - lib/mx-platform-ruby/models/o_auth_window_response_body.rb
252
245
  - lib/mx-platform-ruby/models/option_response.rb
253
246
  - lib/mx-platform-ruby/models/pagination_response.rb
254
- - lib/mx-platform-ruby/models/payment_account_response.rb
255
- - lib/mx-platform-ruby/models/payment_account_response_body.rb
256
- - lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb
257
- - lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb
258
- - lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb
259
- - lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb
260
- - lib/mx-platform-ruby/models/payment_processor_token_response_body.rb
261
247
  - lib/mx-platform-ruby/models/statement_response.rb
262
248
  - lib/mx-platform-ruby/models/statement_response_body.rb
263
249
  - lib/mx-platform-ruby/models/statements_response_body.rb
@@ -374,13 +360,6 @@ files:
374
360
  - spec/models/o_auth_window_response_spec.rb
375
361
  - spec/models/option_response_spec.rb
376
362
  - spec/models/pagination_response_spec.rb
377
- - spec/models/payment_account_response_body_spec.rb
378
- - spec/models/payment_account_response_spec.rb
379
- - spec/models/payment_processor_authorization_code_request_body_spec.rb
380
- - spec/models/payment_processor_authorization_code_request_spec.rb
381
- - spec/models/payment_processor_authorization_code_response_body_spec.rb
382
- - spec/models/payment_processor_authorization_code_response_spec.rb
383
- - spec/models/payment_processor_token_response_body_spec.rb
384
363
  - spec/models/statement_response_body_spec.rb
385
364
  - spec/models/statement_response_spec.rb
386
365
  - spec/models/statements_response_body_spec.rb
@@ -449,119 +428,112 @@ test_files:
449
428
  - spec/api/mx_platform_api_spec.rb
450
429
  - spec/api_client_spec.rb
451
430
  - spec/configuration_spec.rb
452
- - spec/models/payment_processor_token_response_body_spec.rb
453
- - spec/models/category_update_request_spec.rb
431
+ - spec/models/statement_response_spec.rb
432
+ - spec/models/categories_response_body_spec.rb
433
+ - spec/models/managed_transaction_create_request_spec.rb
434
+ - spec/models/tagging_response_body_spec.rb
435
+ - spec/models/account_owner_response_spec.rb
454
436
  - spec/models/member_create_request_spec.rb
455
- - spec/models/category_response_body_spec.rb
456
- - spec/models/category_create_request_spec.rb
457
- - spec/models/transaction_rule_update_request_spec.rb
458
- - spec/models/tagging_update_request_body_spec.rb
459
- - spec/models/credentials_response_body_spec.rb
437
+ - spec/models/member_status_response_spec.rb
438
+ - spec/models/option_response_spec.rb
439
+ - spec/models/tag_update_request_spec.rb
460
440
  - spec/models/account_response_spec.rb
461
- - spec/models/managed_member_update_request_spec.rb
462
- - spec/models/holdings_response_body_spec.rb
463
- - spec/models/transaction_rule_create_request_spec.rb
441
+ - spec/models/managed_account_create_request_spec.rb
442
+ - spec/models/member_update_request_body_spec.rb
443
+ - spec/models/tag_create_request_spec.rb
444
+ - spec/models/managed_account_create_request_body_spec.rb
445
+ - spec/models/institution_response_spec.rb
446
+ - spec/models/connect_widget_response_body_spec.rb
464
447
  - spec/models/enhance_transactions_request_body_spec.rb
465
- - spec/models/challenge_response_spec.rb
466
- - spec/models/category_create_request_body_spec.rb
467
- - spec/models/member_resume_request_body_spec.rb
468
- - spec/models/tag_response_spec.rb
469
- - spec/models/o_auth_window_response_spec.rb
470
- - spec/models/connect_widget_response_spec.rb
471
- - spec/models/account_owners_response_body_spec.rb
472
- - spec/models/merchant_location_response_body_spec.rb
473
- - spec/models/payment_processor_authorization_code_request_spec.rb
474
- - spec/models/transaction_rule_update_request_body_spec.rb
475
- - spec/models/institutions_response_body_spec.rb
476
448
  - spec/models/connect_widget_request_spec.rb
449
+ - spec/models/member_status_response_body_spec.rb
477
450
  - spec/models/tagging_response_spec.rb
478
- - spec/models/transaction_rules_response_body_spec.rb
479
- - spec/models/option_response_spec.rb
480
- - spec/models/connect_widget_response_body_spec.rb
481
- - spec/models/user_update_request_spec.rb
482
- - spec/models/merchant_location_response_spec.rb
483
- - spec/models/tag_response_body_spec.rb
484
- - spec/models/user_response_body_spec.rb
485
- - spec/models/tagging_create_request_body_spec.rb
451
+ - spec/models/category_create_request_spec.rb
452
+ - spec/models/merchant_response_spec.rb
453
+ - spec/models/statements_response_body_spec.rb
454
+ - spec/models/transaction_rule_create_request_body_spec.rb
455
+ - spec/models/user_create_request_spec.rb
456
+ - spec/models/account_number_response_spec.rb
457
+ - spec/models/account_numbers_response_body_spec.rb
458
+ - spec/models/member_create_request_body_spec.rb
486
459
  - spec/models/credential_request_spec.rb
487
- - spec/models/managed_member_create_request_spec.rb
460
+ - spec/models/managed_member_update_request_body_spec.rb
461
+ - spec/models/tagging_create_request_spec.rb
488
462
  - spec/models/taggings_response_body_spec.rb
489
- - spec/models/statements_response_body_spec.rb
490
- - spec/models/managed_account_create_request_body_spec.rb
491
- - spec/models/merchant_response_spec.rb
463
+ - spec/models/enhance_transactions_response_body_spec.rb
464
+ - spec/models/holding_response_spec.rb
465
+ - spec/models/statement_response_body_spec.rb
466
+ - spec/models/category_update_request_body_spec.rb
467
+ - spec/models/transaction_rule_response_body_spec.rb
468
+ - spec/models/managed_account_update_request_body_spec.rb
469
+ - spec/models/transaction_rule_response_spec.rb
470
+ - spec/models/connect_widget_response_spec.rb
471
+ - spec/models/enhance_transaction_response_spec.rb
472
+ - spec/models/transaction_rule_create_request_spec.rb
473
+ - spec/models/transaction_update_request_body_spec.rb
474
+ - spec/models/credential_response_spec.rb
475
+ - spec/models/institution_response_body_spec.rb
476
+ - spec/models/members_response_body_spec.rb
477
+ - spec/models/tagging_create_request_body_spec.rb
478
+ - spec/models/category_response_body_spec.rb
479
+ - spec/models/holdings_response_body_spec.rb
480
+ - spec/models/account_response_body_spec.rb
481
+ - spec/models/tag_response_body_spec.rb
482
+ - spec/models/merchant_location_response_spec.rb
483
+ - spec/models/merchants_response_body_spec.rb
484
+ - spec/models/category_update_request_spec.rb
485
+ - spec/models/managed_transaction_update_request_spec.rb
492
486
  - spec/models/member_response_body_spec.rb
493
- - spec/models/transaction_response_body_spec.rb
494
- - spec/models/member_status_response_body_spec.rb
487
+ - spec/models/widget_request_body_spec.rb
488
+ - spec/models/merchant_location_response_body_spec.rb
489
+ - spec/models/transaction_rules_response_body_spec.rb
490
+ - spec/models/account_update_request_body_spec.rb
491
+ - spec/models/managed_transaction_update_request_body_spec.rb
492
+ - spec/models/o_auth_window_response_spec.rb
493
+ - spec/models/transaction_rule_update_request_body_spec.rb
494
+ - spec/models/widget_response_body_spec.rb
495
495
  - spec/models/challenges_response_body_spec.rb
496
- - spec/models/payment_processor_authorization_code_request_body_spec.rb
496
+ - spec/models/transaction_response_spec.rb
497
497
  - spec/models/tag_create_request_body_spec.rb
498
- - spec/models/account_update_request_spec.rb
499
- - spec/models/payment_processor_authorization_code_response_spec.rb
500
- - spec/models/institution_response_spec.rb
501
- - spec/models/tag_update_request_body_spec.rb
502
- - spec/models/member_response_spec.rb
503
- - spec/models/managed_transaction_create_request_body_spec.rb
504
- - spec/models/categories_response_body_spec.rb
505
- - spec/models/managed_member_create_request_body_spec.rb
506
- - spec/models/widget_request_body_spec.rb
507
- - spec/models/managed_account_create_request_spec.rb
508
- - spec/models/transaction_rule_response_body_spec.rb
509
- - spec/models/members_response_body_spec.rb
510
- - spec/models/tagging_create_request_spec.rb
511
- - spec/models/image_option_response_spec.rb
512
498
  - spec/models/transactions_response_body_spec.rb
513
- - spec/models/user_create_request_spec.rb
514
- - spec/models/member_status_response_spec.rb
515
- - spec/models/tag_create_request_spec.rb
499
+ - spec/models/pagination_response_spec.rb
500
+ - spec/models/user_create_request_body_spec.rb
501
+ - spec/models/image_option_response_spec.rb
502
+ - spec/models/widget_request_spec.rb
503
+ - spec/models/tagging_update_request_spec.rb
516
504
  - spec/models/user_response_spec.rb
505
+ - spec/models/managed_member_create_request_body_spec.rb
506
+ - spec/models/account_update_request_spec.rb
507
+ - spec/models/tag_update_request_body_spec.rb
508
+ - spec/models/user_update_request_body_spec.rb
517
509
  - spec/models/member_update_request_spec.rb
518
- - spec/models/widget_request_spec.rb
519
- - spec/models/tag_update_request_spec.rb
520
- - spec/models/statement_response_spec.rb
521
- - spec/models/managed_transaction_create_request_spec.rb
522
- - spec/models/managed_account_update_request_body_spec.rb
510
+ - spec/models/merchant_response_body_spec.rb
523
511
  - spec/models/transaction_update_request_spec.rb
524
- - spec/models/tagging_response_body_spec.rb
525
- - spec/models/account_number_response_spec.rb
526
- - spec/models/account_numbers_response_body_spec.rb
527
- - spec/models/users_response_body_spec.rb
528
- - spec/models/user_create_request_body_spec.rb
529
512
  - spec/models/managed_account_update_request_spec.rb
530
- - spec/models/member_create_request_body_spec.rb
531
- - spec/models/accounts_response_body_spec.rb
532
- - spec/models/tags_response_body_spec.rb
533
- - spec/models/payment_account_response_spec.rb
513
+ - spec/models/tag_response_spec.rb
534
514
  - spec/models/member_resume_request_spec.rb
535
- - spec/models/managed_transaction_update_request_spec.rb
536
- - spec/models/pagination_response_spec.rb
537
- - spec/models/transaction_rule_response_spec.rb
538
- - spec/models/payment_account_response_body_spec.rb
539
- - spec/models/merchant_response_body_spec.rb
540
- - spec/models/managed_member_update_request_body_spec.rb
541
- - spec/models/account_owner_response_spec.rb
542
- - spec/models/category_response_spec.rb
543
515
  - spec/models/connect_widget_request_body_spec.rb
544
- - spec/models/transaction_response_spec.rb
545
- - spec/models/category_update_request_body_spec.rb
546
- - spec/models/managed_transaction_update_request_body_spec.rb
547
- - spec/models/account_response_body_spec.rb
548
- - spec/models/user_update_request_body_spec.rb
549
- - spec/models/account_update_request_body_spec.rb
550
516
  - spec/models/widget_response_spec.rb
551
- - spec/models/enhance_transactions_response_body_spec.rb
517
+ - spec/models/member_response_spec.rb
518
+ - spec/models/category_response_spec.rb
519
+ - spec/models/account_owners_response_body_spec.rb
520
+ - spec/models/challenge_response_spec.rb
521
+ - spec/models/users_response_body_spec.rb
522
+ - spec/models/user_update_request_spec.rb
523
+ - spec/models/managed_transaction_create_request_body_spec.rb
524
+ - spec/models/category_create_request_body_spec.rb
525
+ - spec/models/credentials_response_body_spec.rb
526
+ - spec/models/transaction_response_body_spec.rb
527
+ - spec/models/transaction_rule_update_request_spec.rb
528
+ - spec/models/holding_response_body_spec.rb
529
+ - spec/models/member_resume_request_body_spec.rb
530
+ - spec/models/tagging_update_request_body_spec.rb
531
+ - spec/models/user_response_body_spec.rb
552
532
  - spec/models/o_auth_window_response_body_spec.rb
553
- - spec/models/widget_response_body_spec.rb
554
- - spec/models/enhance_transaction_response_spec.rb
555
- - spec/models/institution_response_body_spec.rb
556
- - spec/models/tagging_update_request_spec.rb
533
+ - spec/models/managed_member_create_request_spec.rb
534
+ - spec/models/accounts_response_body_spec.rb
535
+ - spec/models/managed_member_update_request_spec.rb
536
+ - spec/models/institutions_response_body_spec.rb
557
537
  - spec/models/enhance_transactions_request_spec.rb
558
- - spec/models/credential_response_spec.rb
559
- - spec/models/statement_response_body_spec.rb
560
- - spec/models/member_update_request_body_spec.rb
561
- - spec/models/merchants_response_body_spec.rb
562
- - spec/models/transaction_rule_create_request_body_spec.rb
563
- - spec/models/payment_processor_authorization_code_response_body_spec.rb
564
- - spec/models/holding_response_body_spec.rb
565
- - spec/models/holding_response_spec.rb
566
- - spec/models/transaction_update_request_body_spec.rb
538
+ - spec/models/tags_response_body_spec.rb
567
539
  - spec/spec_helper.rb
@@ -1,30 +0,0 @@
1
- # MxPlatformRuby::PaymentAccountResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_name** | **String** | | [optional] |
8
- | **account_number** | **String** | | [optional] |
9
- | **account_type** | **String** | | [optional] |
10
- | **available_balance** | **Float** | | [optional] |
11
- | **balance** | **Float** | | [optional] |
12
- | **routing_number** | **String** | | [optional] |
13
- | **transit_number** | **String** | | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'mx-platform-ruby'
19
-
20
- instance = MxPlatformRuby::PaymentAccountResponse.new(
21
- account_name: My Savings,
22
- account_number: 1858091489,
23
- account_type: SAVINGS,
24
- available_balance: 1000.0,
25
- balance: 1000.0,
26
- routing_number: 68899990000000,
27
- transit_number: 12345
28
- )
29
- ```
30
-
@@ -1,18 +0,0 @@
1
- # MxPlatformRuby::PaymentAccountResponseBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **payment_account** | [**PaymentAccountResponse**](PaymentAccountResponse.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mx-platform-ruby'
13
-
14
- instance = MxPlatformRuby::PaymentAccountResponseBody.new(
15
- payment_account: null
16
- )
17
- ```
18
-
@@ -1,22 +0,0 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_guid** | **String** | | [optional] |
8
- | **member_guid** | **String** | | [optional] |
9
- | **user_guid** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'mx-platform-ruby'
15
-
16
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequest.new(
17
- account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
18
- member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
19
- user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
20
- )
21
- ```
22
-
@@ -1,18 +0,0 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **payment_processor_authorization_code** | [**PaymentProcessorAuthorizationCodeRequest**](PaymentProcessorAuthorizationCodeRequest.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mx-platform-ruby'
13
-
14
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeRequestBody.new(
15
- payment_processor_authorization_code: null
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **authorization_code** | **String** | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mx-platform-ruby'
13
-
14
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeResponse.new(
15
- authorization_code: sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM
16
- )
17
- ```
18
-
@@ -1,18 +0,0 @@
1
- # MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **payment_processor_authorization_code** | [**PaymentProcessorAuthorizationCodeResponse**](PaymentProcessorAuthorizationCodeResponse.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mx-platform-ruby'
13
-
14
- instance = MxPlatformRuby::PaymentProcessorAuthorizationCodeResponseBody.new(
15
- payment_processor_authorization_code: null
16
- )
17
- ```
18
-
@@ -1,22 +0,0 @@
1
- # MxPlatformRuby::PaymentProcessorTokenResponseBody
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **access_token** | **String** | | [optional] |
8
- | **scope** | **String** | | [optional] |
9
- | **token_type** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'mx-platform-ruby'
15
-
16
- instance = MxPlatformRuby::PaymentProcessorTokenResponseBody.new(
17
- access_token: jUmJS4AZVdvywAMO_JWKwZ8fvY9ZZQINSBHTKkHMw-c,
18
- scope: payment_accounts,
19
- token_type: bearer
20
- )
21
- ```
22
-