mx-platform-ruby 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +1 -1
  4. data/docs/AccountResponse.md +15 -1
  5. data/docs/ManagedAccountCreateRequest.md +78 -0
  6. data/docs/ManagedAccountCreateRequestBody.md +18 -0
  7. data/docs/ManagedAccountUpdateRequest.md +78 -0
  8. data/docs/ManagedAccountUpdateRequestBody.md +18 -0
  9. data/docs/ManagedMemberCreateRequest.md +24 -0
  10. data/docs/ManagedMemberCreateRequestBody.md +18 -0
  11. data/docs/ManagedMemberUpdateRequest.md +22 -0
  12. data/docs/ManagedMemberUpdateRequestBody.md +18 -0
  13. data/docs/ManagedTransactionCreateRequest.md +56 -0
  14. data/docs/ManagedTransactionCreateRequestBody.md +18 -0
  15. data/docs/ManagedTransactionUpdateRequest.md +56 -0
  16. data/docs/ManagedTransactionUpdateRequestBody.md +18 -0
  17. data/docs/MemberResponse.md +5 -1
  18. data/docs/MerchantLocationResponse.md +40 -0
  19. data/docs/MerchantLocationResponseBody.md +18 -0
  20. data/docs/MxPlatformApi.md +1397 -119
  21. data/docs/TransactionResponse.md +11 -1
  22. data/lib/mx-platform-ruby/api/mx_platform_api.rb +1379 -125
  23. data/lib/mx-platform-ruby/models/account_response.rb +67 -4
  24. data/lib/mx-platform-ruby/models/managed_account_create_request.rb +503 -0
  25. data/lib/mx-platform-ruby/models/managed_account_create_request_body.rb +218 -0
  26. data/lib/mx-platform-ruby/models/managed_account_update_request.rb +488 -0
  27. data/lib/mx-platform-ruby/models/managed_account_update_request_body.rb +218 -0
  28. data/lib/mx-platform-ruby/models/managed_member_create_request.rb +250 -0
  29. data/lib/mx-platform-ruby/models/managed_member_create_request_body.rb +218 -0
  30. data/lib/mx-platform-ruby/models/managed_member_update_request.rb +236 -0
  31. data/lib/mx-platform-ruby/models/managed_member_update_request_body.rb +218 -0
  32. data/lib/mx-platform-ruby/models/managed_transaction_create_request.rb +414 -0
  33. data/lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb +218 -0
  34. data/lib/mx-platform-ruby/models/managed_transaction_update_request.rb +389 -0
  35. data/lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb +218 -0
  36. data/lib/mx-platform-ruby/models/member_response.rb +22 -4
  37. data/lib/mx-platform-ruby/models/merchant_location_response.rb +317 -0
  38. data/lib/mx-platform-ruby/models/merchant_location_response_body.rb +218 -0
  39. data/lib/mx-platform-ruby/models/transaction_response.rb +49 -4
  40. data/lib/mx-platform-ruby/version.rb +1 -1
  41. data/lib/mx-platform-ruby.rb +14 -0
  42. data/openapi/config.yml +1 -1
  43. data/spec/api/mx_platform_api_spec.rb +237 -0
  44. data/spec/models/account_response_spec.rb +42 -0
  45. data/spec/models/managed_account_create_request_body_spec.rb +34 -0
  46. data/spec/models/managed_account_create_request_spec.rb +214 -0
  47. data/spec/models/managed_account_update_request_body_spec.rb +34 -0
  48. data/spec/models/managed_account_update_request_spec.rb +214 -0
  49. data/spec/models/managed_member_create_request_body_spec.rb +34 -0
  50. data/spec/models/managed_member_create_request_spec.rb +52 -0
  51. data/spec/models/managed_member_update_request_body_spec.rb +34 -0
  52. data/spec/models/managed_member_update_request_spec.rb +46 -0
  53. data/spec/models/managed_transaction_create_request_body_spec.rb +34 -0
  54. data/spec/models/managed_transaction_create_request_spec.rb +148 -0
  55. data/spec/models/managed_transaction_update_request_body_spec.rb +34 -0
  56. data/spec/models/managed_transaction_update_request_spec.rb +148 -0
  57. data/spec/models/member_response_spec.rb +12 -0
  58. data/spec/models/merchant_location_response_body_spec.rb +34 -0
  59. data/spec/models/merchant_location_response_spec.rb +100 -0
  60. data/spec/models/transaction_response_spec.rb +30 -0
  61. metadata +136 -80
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.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2021-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -98,6 +98,18 @@ files:
98
98
  - docs/InstitutionResponse.md
99
99
  - docs/InstitutionResponseBody.md
100
100
  - docs/InstitutionsResponseBody.md
101
+ - docs/ManagedAccountCreateRequest.md
102
+ - docs/ManagedAccountCreateRequestBody.md
103
+ - docs/ManagedAccountUpdateRequest.md
104
+ - docs/ManagedAccountUpdateRequestBody.md
105
+ - docs/ManagedMemberCreateRequest.md
106
+ - docs/ManagedMemberCreateRequestBody.md
107
+ - docs/ManagedMemberUpdateRequest.md
108
+ - docs/ManagedMemberUpdateRequestBody.md
109
+ - docs/ManagedTransactionCreateRequest.md
110
+ - docs/ManagedTransactionCreateRequestBody.md
111
+ - docs/ManagedTransactionUpdateRequest.md
112
+ - docs/ManagedTransactionUpdateRequestBody.md
101
113
  - docs/MemberCreateRequest.md
102
114
  - docs/MemberCreateRequestBody.md
103
115
  - docs/MemberResponse.md
@@ -109,6 +121,8 @@ files:
109
121
  - docs/MemberUpdateRequest.md
110
122
  - docs/MemberUpdateRequestBody.md
111
123
  - docs/MembersResponseBody.md
124
+ - docs/MerchantLocationResponse.md
125
+ - docs/MerchantLocationResponseBody.md
112
126
  - docs/MerchantResponse.md
113
127
  - docs/MerchantResponseBody.md
114
128
  - docs/MerchantsResponseBody.md
@@ -198,6 +212,18 @@ files:
198
212
  - lib/mx-platform-ruby/models/institution_response.rb
199
213
  - lib/mx-platform-ruby/models/institution_response_body.rb
200
214
  - lib/mx-platform-ruby/models/institutions_response_body.rb
215
+ - lib/mx-platform-ruby/models/managed_account_create_request.rb
216
+ - lib/mx-platform-ruby/models/managed_account_create_request_body.rb
217
+ - lib/mx-platform-ruby/models/managed_account_update_request.rb
218
+ - lib/mx-platform-ruby/models/managed_account_update_request_body.rb
219
+ - lib/mx-platform-ruby/models/managed_member_create_request.rb
220
+ - lib/mx-platform-ruby/models/managed_member_create_request_body.rb
221
+ - lib/mx-platform-ruby/models/managed_member_update_request.rb
222
+ - lib/mx-platform-ruby/models/managed_member_update_request_body.rb
223
+ - lib/mx-platform-ruby/models/managed_transaction_create_request.rb
224
+ - lib/mx-platform-ruby/models/managed_transaction_create_request_body.rb
225
+ - lib/mx-platform-ruby/models/managed_transaction_update_request.rb
226
+ - lib/mx-platform-ruby/models/managed_transaction_update_request_body.rb
201
227
  - lib/mx-platform-ruby/models/member_create_request.rb
202
228
  - lib/mx-platform-ruby/models/member_create_request_body.rb
203
229
  - lib/mx-platform-ruby/models/member_response.rb
@@ -209,6 +235,8 @@ files:
209
235
  - lib/mx-platform-ruby/models/member_update_request.rb
210
236
  - lib/mx-platform-ruby/models/member_update_request_body.rb
211
237
  - lib/mx-platform-ruby/models/members_response_body.rb
238
+ - lib/mx-platform-ruby/models/merchant_location_response.rb
239
+ - lib/mx-platform-ruby/models/merchant_location_response_body.rb
212
240
  - lib/mx-platform-ruby/models/merchant_response.rb
213
241
  - lib/mx-platform-ruby/models/merchant_response_body.rb
214
242
  - lib/mx-platform-ruby/models/merchants_response_body.rb
@@ -299,6 +327,18 @@ files:
299
327
  - spec/models/institution_response_body_spec.rb
300
328
  - spec/models/institution_response_spec.rb
301
329
  - spec/models/institutions_response_body_spec.rb
330
+ - spec/models/managed_account_create_request_body_spec.rb
331
+ - spec/models/managed_account_create_request_spec.rb
332
+ - spec/models/managed_account_update_request_body_spec.rb
333
+ - spec/models/managed_account_update_request_spec.rb
334
+ - spec/models/managed_member_create_request_body_spec.rb
335
+ - spec/models/managed_member_create_request_spec.rb
336
+ - spec/models/managed_member_update_request_body_spec.rb
337
+ - spec/models/managed_member_update_request_spec.rb
338
+ - spec/models/managed_transaction_create_request_body_spec.rb
339
+ - spec/models/managed_transaction_create_request_spec.rb
340
+ - spec/models/managed_transaction_update_request_body_spec.rb
341
+ - spec/models/managed_transaction_update_request_spec.rb
302
342
  - spec/models/member_create_request_body_spec.rb
303
343
  - spec/models/member_create_request_spec.rb
304
344
  - spec/models/member_response_body_spec.rb
@@ -310,6 +350,8 @@ files:
310
350
  - spec/models/member_update_request_body_spec.rb
311
351
  - spec/models/member_update_request_spec.rb
312
352
  - spec/models/members_response_body_spec.rb
353
+ - spec/models/merchant_location_response_body_spec.rb
354
+ - spec/models/merchant_location_response_spec.rb
313
355
  - spec/models/merchant_response_body_spec.rb
314
356
  - spec/models/merchant_response_spec.rb
315
357
  - spec/models/merchants_response_body_spec.rb
@@ -385,98 +427,112 @@ test_files:
385
427
  - spec/api/mx_platform_api_spec.rb
386
428
  - spec/api_client_spec.rb
387
429
  - spec/configuration_spec.rb
388
- - spec/models/member_response_body_spec.rb
389
- - spec/models/account_update_request_body_spec.rb
390
- - spec/models/connect_widget_response_spec.rb
391
- - spec/models/tagging_update_request_body_spec.rb
392
- - spec/models/tags_response_body_spec.rb
393
- - spec/models/tag_create_request_spec.rb
394
- - spec/models/challenges_response_body_spec.rb
395
- - spec/models/institution_response_spec.rb
396
- - spec/models/transactions_response_body_spec.rb
397
- - spec/models/tagging_response_body_spec.rb
398
- - spec/models/member_create_request_body_spec.rb
399
- - spec/models/member_update_request_spec.rb
400
- - spec/models/statement_response_body_spec.rb
401
- - spec/models/connect_widget_response_body_spec.rb
402
- - spec/models/holdings_response_body_spec.rb
403
- - spec/models/account_response_body_spec.rb
404
- - spec/models/taggings_response_body_spec.rb
405
- - spec/models/transaction_rule_update_request_body_spec.rb
406
- - spec/models/widget_response_spec.rb
407
- - spec/models/member_resume_request_spec.rb
408
- - spec/models/holding_response_body_spec.rb
409
- - spec/models/option_response_spec.rb
410
- - spec/models/categories_response_body_spec.rb
411
- - spec/models/user_create_request_spec.rb
412
- - spec/models/image_option_response_spec.rb
430
+ - spec/models/widget_response_body_spec.rb
431
+ - spec/models/connect_widget_request_body_spec.rb
413
432
  - spec/models/transaction_update_request_spec.rb
414
- - spec/models/institutions_response_body_spec.rb
433
+ - spec/models/tag_create_request_spec.rb
415
434
  - spec/models/widget_request_spec.rb
416
- - spec/models/transaction_response_spec.rb
417
- - spec/models/member_create_request_spec.rb
418
- - spec/models/credential_response_spec.rb
435
+ - spec/models/enhance_transactions_request_body_spec.rb
436
+ - spec/models/tag_create_request_body_spec.rb
437
+ - spec/models/pagination_response_spec.rb
438
+ - spec/models/widget_request_body_spec.rb
439
+ - spec/models/managed_member_create_request_body_spec.rb
440
+ - spec/models/accounts_response_body_spec.rb
441
+ - spec/models/widget_response_spec.rb
419
442
  - spec/models/transaction_rule_create_request_spec.rb
443
+ - spec/models/account_numbers_response_body_spec.rb
444
+ - spec/models/member_update_request_spec.rb
445
+ - spec/models/managed_transaction_update_request_spec.rb
446
+ - spec/models/transaction_response_body_spec.rb
447
+ - spec/models/transaction_update_request_body_spec.rb
448
+ - spec/models/categories_response_body_spec.rb
449
+ - spec/models/option_response_spec.rb
450
+ - spec/models/challenges_response_body_spec.rb
420
451
  - spec/models/enhance_transactions_request_spec.rb
421
- - spec/models/enhance_transactions_response_body_spec.rb
422
- - spec/models/tagging_update_request_spec.rb
452
+ - spec/models/holdings_response_body_spec.rb
453
+ - spec/models/transaction_rules_response_body_spec.rb
454
+ - spec/models/tag_response_body_spec.rb
455
+ - spec/models/tagging_create_request_spec.rb
456
+ - spec/models/institutions_response_body_spec.rb
457
+ - spec/models/transaction_rule_update_request_spec.rb
458
+ - spec/models/user_response_spec.rb
459
+ - spec/models/tag_response_spec.rb
460
+ - spec/models/users_response_body_spec.rb
461
+ - spec/models/category_update_request_spec.rb
462
+ - spec/models/tagging_create_request_body_spec.rb
463
+ - spec/models/user_create_request_spec.rb
464
+ - spec/models/institution_response_body_spec.rb
465
+ - spec/models/category_response_spec.rb
466
+ - spec/models/account_response_body_spec.rb
467
+ - spec/models/account_owner_response_spec.rb
468
+ - spec/models/managed_member_update_request_spec.rb
469
+ - spec/models/merchant_location_response_spec.rb
470
+ - spec/models/merchant_location_response_body_spec.rb
471
+ - spec/models/tags_response_body_spec.rb
472
+ - spec/models/tagging_response_spec.rb
423
473
  - spec/models/category_create_request_spec.rb
424
474
  - spec/models/category_create_request_body_spec.rb
425
- - spec/models/merchant_response_spec.rb
426
- - spec/models/o_auth_window_response_spec.rb
427
- - spec/models/pagination_response_spec.rb
428
475
  - spec/models/account_update_request_spec.rb
429
- - spec/models/account_number_response_spec.rb
476
+ - spec/models/managed_transaction_create_request_spec.rb
477
+ - spec/models/statement_response_body_spec.rb
478
+ - spec/models/user_update_request_body_spec.rb
479
+ - spec/models/tagging_response_body_spec.rb
480
+ - spec/models/managed_transaction_update_request_body_spec.rb
481
+ - spec/models/credential_request_spec.rb
482
+ - spec/models/member_resume_request_body_spec.rb
483
+ - spec/models/merchants_response_body_spec.rb
484
+ - spec/models/member_response_body_spec.rb
430
485
  - spec/models/connect_widget_request_spec.rb
431
- - spec/models/tag_response_body_spec.rb
432
- - spec/models/category_update_request_spec.rb
433
- - spec/models/member_status_response_spec.rb
486
+ - spec/models/transaction_rule_response_body_spec.rb
487
+ - spec/models/statements_response_body_spec.rb
488
+ - spec/models/transaction_rule_create_request_body_spec.rb
434
489
  - spec/models/member_response_spec.rb
435
- - spec/models/user_create_request_body_spec.rb
436
- - spec/models/tagging_create_request_spec.rb
437
- - spec/models/tag_response_spec.rb
490
+ - spec/models/credentials_response_body_spec.rb
438
491
  - spec/models/statement_response_spec.rb
439
- - spec/models/account_numbers_response_body_spec.rb
492
+ - spec/models/user_create_request_body_spec.rb
493
+ - spec/models/category_response_body_spec.rb
494
+ - spec/models/tag_update_request_body_spec.rb
495
+ - spec/models/managed_member_create_request_spec.rb
496
+ - spec/models/user_response_body_spec.rb
440
497
  - spec/models/enhance_transaction_response_spec.rb
441
- - spec/models/user_response_spec.rb
442
- - spec/models/user_update_request_body_spec.rb
443
- - spec/models/transaction_rule_update_request_spec.rb
444
- - spec/models/transaction_rule_response_spec.rb
445
- - spec/models/category_response_spec.rb
446
- - spec/models/tag_create_request_body_spec.rb
447
- - spec/models/member_status_response_body_spec.rb
448
- - spec/models/challenge_response_spec.rb
449
- - spec/models/tagging_create_request_body_spec.rb
498
+ - spec/models/transactions_response_body_spec.rb
499
+ - spec/models/taggings_response_body_spec.rb
500
+ - spec/models/connect_widget_response_spec.rb
501
+ - spec/models/institution_response_spec.rb
502
+ - spec/models/managed_transaction_create_request_body_spec.rb
503
+ - spec/models/transaction_rule_update_request_body_spec.rb
504
+ - spec/models/account_response_spec.rb
450
505
  - spec/models/tag_update_request_spec.rb
451
- - spec/models/widget_response_body_spec.rb
452
- - spec/models/holding_response_spec.rb
453
- - spec/models/accounts_response_body_spec.rb
454
- - spec/models/merchant_response_body_spec.rb
506
+ - spec/models/credential_response_spec.rb
507
+ - spec/models/account_owners_response_body_spec.rb
508
+ - spec/models/account_number_response_spec.rb
509
+ - spec/models/member_status_response_body_spec.rb
510
+ - spec/models/o_auth_window_response_spec.rb
511
+ - spec/models/connect_widget_response_body_spec.rb
512
+ - spec/models/member_create_request_spec.rb
513
+ - spec/models/holding_response_body_spec.rb
455
514
  - spec/models/members_response_body_spec.rb
456
- - spec/models/user_response_body_spec.rb
457
- - spec/models/credential_request_spec.rb
458
- - spec/models/category_response_body_spec.rb
459
- - spec/models/tag_update_request_body_spec.rb
460
- - spec/models/statements_response_body_spec.rb
461
- - spec/models/transaction_rules_response_body_spec.rb
462
- - spec/models/user_update_request_spec.rb
463
515
  - spec/models/o_auth_window_response_body_spec.rb
464
- - spec/models/widget_request_body_spec.rb
465
- - spec/models/transaction_response_body_spec.rb
466
- - spec/models/credentials_response_body_spec.rb
467
- - spec/models/account_owners_response_body_spec.rb
468
- - spec/models/account_response_spec.rb
469
- - spec/models/member_resume_request_body_spec.rb
470
- - spec/models/account_owner_response_spec.rb
471
- - spec/models/institution_response_body_spec.rb
516
+ - spec/models/challenge_response_spec.rb
517
+ - spec/models/managed_member_update_request_body_spec.rb
518
+ - spec/models/merchant_response_body_spec.rb
519
+ - spec/models/transaction_rule_response_spec.rb
520
+ - spec/models/image_option_response_spec.rb
521
+ - spec/models/transaction_response_spec.rb
522
+ - spec/models/account_update_request_body_spec.rb
523
+ - spec/models/managed_account_create_request_spec.rb
472
524
  - spec/models/category_update_request_body_spec.rb
473
- - spec/models/merchants_response_body_spec.rb
474
- - spec/models/tagging_response_spec.rb
475
- - spec/models/transaction_update_request_body_spec.rb
476
- - spec/models/users_response_body_spec.rb
525
+ - spec/models/managed_account_create_request_body_spec.rb
526
+ - spec/models/tagging_update_request_spec.rb
527
+ - spec/models/member_create_request_body_spec.rb
477
528
  - spec/models/member_update_request_body_spec.rb
478
- - spec/models/transaction_rule_create_request_body_spec.rb
479
- - spec/models/transaction_rule_response_body_spec.rb
480
- - spec/models/enhance_transactions_request_body_spec.rb
481
- - spec/models/connect_widget_request_body_spec.rb
529
+ - spec/models/member_resume_request_spec.rb
530
+ - spec/models/merchant_response_spec.rb
531
+ - spec/models/enhance_transactions_response_body_spec.rb
532
+ - spec/models/user_update_request_spec.rb
533
+ - spec/models/tagging_update_request_body_spec.rb
534
+ - spec/models/member_status_response_spec.rb
535
+ - spec/models/managed_account_update_request_body_spec.rb
536
+ - spec/models/holding_response_spec.rb
537
+ - spec/models/managed_account_update_request_spec.rb
482
538
  - spec/spec_helper.rb