mx-platform-ruby 0.20.0 → 0.22.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 +4 -4
- data/Gemfile.lock +2 -2
- data/docs/MemberCreateRequestBody.md +2 -0
- data/docs/MxPlatformApi.md +1588 -507
- data/docs/SpendingPlanAccountResponse.md +30 -0
- data/docs/SpendingPlanAccountsResponse.md +20 -0
- data/docs/SpendingPlanIterationItemCreateRequestBody.md +26 -0
- data/docs/SpendingPlanIterationItemResponse.md +40 -0
- data/docs/SpendingPlanIterationItemsResponseBody.md +20 -0
- data/docs/SpendingPlanIterationResponse.md +32 -0
- data/docs/SpendingPlanIterationsResponse.md +20 -0
- data/docs/SpendingPlanResponse.md +26 -0
- data/docs/SpendingPlansResponseBody.md +20 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +1065 -8
- data/lib/mx-platform-ruby/models/member_create_request_body.rb +10 -1
- data/lib/mx-platform-ruby/models/spending_plan_account_response.rb +272 -0
- data/lib/mx-platform-ruby/models/spending_plan_accounts_response.rb +229 -0
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_create_request_body.rb +259 -0
- data/lib/mx-platform-ruby/models/spending_plan_iteration_item_response.rb +330 -0
- data/lib/mx-platform-ruby/models/spending_plan_iteration_items_response_body.rb +229 -0
- data/lib/mx-platform-ruby/models/spending_plan_iteration_response.rb +289 -0
- data/lib/mx-platform-ruby/models/spending_plan_iterations_response.rb +229 -0
- data/lib/mx-platform-ruby/models/spending_plan_response.rb +259 -0
- data/lib/mx-platform-ruby/models/spending_plans_response_body.rb +229 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +9 -0
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +205 -0
- data/spec/models/member_create_request_body_spec.rb +6 -0
- data/spec/models/spending_plan_account_response_spec.rb +70 -0
- data/spec/models/spending_plan_accounts_response_spec.rb +40 -0
- data/spec/models/spending_plan_iteration_item_create_request_body_spec.rb +58 -0
- data/spec/models/spending_plan_iteration_item_response_spec.rb +100 -0
- data/spec/models/spending_plan_iteration_items_response_body_spec.rb +40 -0
- data/spec/models/spending_plan_iteration_response_spec.rb +76 -0
- data/spec/models/spending_plan_iterations_response_spec.rb +40 -0
- data/spec/models/spending_plan_response_spec.rb +58 -0
- data/spec/models/spending_plans_response_body_spec.rb +40 -0
- metadata +142 -106
data/lib/mx-platform-ruby.rb
CHANGED
@@ -95,6 +95,15 @@ require 'mx-platform-ruby/models/payment_processor_authorization_code_request'
|
|
95
95
|
require 'mx-platform-ruby/models/payment_processor_authorization_code_request_body'
|
96
96
|
require 'mx-platform-ruby/models/payment_processor_authorization_code_response'
|
97
97
|
require 'mx-platform-ruby/models/payment_processor_authorization_code_response_body'
|
98
|
+
require 'mx-platform-ruby/models/spending_plan_account_response'
|
99
|
+
require 'mx-platform-ruby/models/spending_plan_accounts_response'
|
100
|
+
require 'mx-platform-ruby/models/spending_plan_iteration_item_create_request_body'
|
101
|
+
require 'mx-platform-ruby/models/spending_plan_iteration_item_response'
|
102
|
+
require 'mx-platform-ruby/models/spending_plan_iteration_items_response_body'
|
103
|
+
require 'mx-platform-ruby/models/spending_plan_iteration_response'
|
104
|
+
require 'mx-platform-ruby/models/spending_plan_iterations_response'
|
105
|
+
require 'mx-platform-ruby/models/spending_plan_response'
|
106
|
+
require 'mx-platform-ruby/models/spending_plans_response_body'
|
98
107
|
require 'mx-platform-ruby/models/statement_response'
|
99
108
|
require 'mx-platform-ruby/models/statement_response_body'
|
100
109
|
require 'mx-platform-ruby/models/statements_response_body'
|
data/openapi/config.yml
CHANGED
@@ -139,6 +139,32 @@ describe 'MxPlatformApi' do
|
|
139
139
|
end
|
140
140
|
end
|
141
141
|
|
142
|
+
# unit tests for create_spending_plan
|
143
|
+
# Create spending plan
|
144
|
+
# This endpoint creates a new `spending_plan` for the user.
|
145
|
+
# @param user_guid The unique id for a `user`.
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @return [SpendingPlanResponse]
|
148
|
+
describe 'create_spending_plan test' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# unit tests for create_spending_plan_iteration_item
|
155
|
+
# Create spending plan iteration item
|
156
|
+
# This endpoint creates a new `spending_plan_iteration_item`.
|
157
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
158
|
+
# @param user_guid The unique id for a `user`.
|
159
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameters (planned_amount)
|
160
|
+
# @param [Hash] opts the optional parameters
|
161
|
+
# @return [SpendingPlanIterationItemResponse]
|
162
|
+
describe 'create_spending_plan_iteration_item test' do
|
163
|
+
it 'should work' do
|
164
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
142
168
|
# unit tests for create_tag
|
143
169
|
# Create tag
|
144
170
|
# Use this endpoint to create a new custom tag.
|
@@ -271,6 +297,47 @@ describe 'MxPlatformApi' do
|
|
271
297
|
end
|
272
298
|
end
|
273
299
|
|
300
|
+
# unit tests for delete_spending_plan
|
301
|
+
# Delete spending plan
|
302
|
+
# Use this endpoint to delete a user's `spending_plan`.
|
303
|
+
# @param user_guid The unique ID for a `user`.
|
304
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @return [nil]
|
307
|
+
describe 'delete_spending_plan test' do
|
308
|
+
it 'should work' do
|
309
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# unit tests for delete_spending_plan_account
|
314
|
+
# Delete spending plan account
|
315
|
+
# Use this endpoint to delete a `spending_plan_account`.
|
316
|
+
# @param user_guid The unique ID for a `user`.
|
317
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
318
|
+
# @param spending_plan_account_guid The unique ID for the specified account.
|
319
|
+
# @param [Hash] opts the optional parameters
|
320
|
+
# @return [nil]
|
321
|
+
describe 'delete_spending_plan_account test' do
|
322
|
+
it 'should work' do
|
323
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# unit tests for delete_spending_plan_iteration_item
|
328
|
+
# Delete spending plan iteration item
|
329
|
+
# Use this endpoint to delete a spending plan `iteration_item`.
|
330
|
+
# @param user_guid The unique ID for a `user`.
|
331
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
332
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
333
|
+
# @param [Hash] opts the optional parameters
|
334
|
+
# @return [nil]
|
335
|
+
describe 'delete_spending_plan_iteration_item test' do
|
336
|
+
it 'should work' do
|
337
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
274
341
|
# unit tests for delete_tag
|
275
342
|
# Delete tag
|
276
343
|
# Use this endpoint to permanently delete a specific tag based on its unique GUID. If successful, the API will respond with status of `204 No Content`.
|
@@ -738,6 +805,65 @@ describe 'MxPlatformApi' do
|
|
738
805
|
end
|
739
806
|
end
|
740
807
|
|
808
|
+
# unit tests for list_spending_plan_accounts
|
809
|
+
# List spending plan accounts
|
810
|
+
# Use this endpoint to list all the spending plan accounts associated with the spending plan.
|
811
|
+
# @param user_guid The unique id for a `user`.
|
812
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
813
|
+
# @param [Hash] opts the optional parameters
|
814
|
+
# @option opts [Integer] :page Specify current page.
|
815
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
816
|
+
# @return [SpendingPlanAccountsResponse]
|
817
|
+
describe 'list_spending_plan_accounts test' do
|
818
|
+
it 'should work' do
|
819
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
# unit tests for list_spending_plan_iteration_items
|
824
|
+
# List spending plan iteration items
|
825
|
+
# Use this endpoint to list all the spending plan `iteration_items` associated with the `iteration`.
|
826
|
+
# @param user_guid The unique id for a `user`.
|
827
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
828
|
+
# @param [Hash] opts the optional parameters
|
829
|
+
# @option opts [Integer] :page Specify current page.
|
830
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
831
|
+
# @return [SpendingPlanIterationItemsResponseBody]
|
832
|
+
describe 'list_spending_plan_iteration_items test' do
|
833
|
+
it 'should work' do
|
834
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
# unit tests for list_spending_plan_iterations
|
839
|
+
# List spending plan iterations
|
840
|
+
# Use this endpoint to list all the spending plan `iterations` associated with the `spending_plan`.
|
841
|
+
# @param user_guid The unique id for a `user`.
|
842
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
843
|
+
# @param [Hash] opts the optional parameters
|
844
|
+
# @option opts [Integer] :page Specify current page.
|
845
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
846
|
+
# @return [SpendingPlanIterationsResponse]
|
847
|
+
describe 'list_spending_plan_iterations test' do
|
848
|
+
it 'should work' do
|
849
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
850
|
+
end
|
851
|
+
end
|
852
|
+
|
853
|
+
# unit tests for list_spending_plans
|
854
|
+
# List spending plans
|
855
|
+
# Use this endpoint to list all the spending plans associated with the user.
|
856
|
+
# @param user_guid The unique id for a `user`.
|
857
|
+
# @param [Hash] opts the optional parameters
|
858
|
+
# @option opts [Integer] :page Specify current page.
|
859
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
860
|
+
# @return [SpendingPlansResponseBody]
|
861
|
+
describe 'list_spending_plans test' do
|
862
|
+
it 'should work' do
|
863
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
741
867
|
# unit tests for list_statements_by_member
|
742
868
|
# List statements by member
|
743
869
|
# Use this endpoint to get an array of available statements.
|
@@ -1078,6 +1204,69 @@ describe 'MxPlatformApi' do
|
|
1078
1204
|
end
|
1079
1205
|
end
|
1080
1206
|
|
1207
|
+
# unit tests for read_spending_plan_account
|
1208
|
+
# Read spending plan account
|
1209
|
+
# Use this endpoint to read the attributes of a specific spending plan account according to its unique GUID.
|
1210
|
+
# @param user_guid The unique id for a `user`.
|
1211
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1212
|
+
# @param spending_plan_account_guid The unique ID for the specified account.
|
1213
|
+
# @param [Hash] opts the optional parameters
|
1214
|
+
# @option opts [Integer] :page Specify current page.
|
1215
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
1216
|
+
# @return [SpendingPlanAccountResponse]
|
1217
|
+
describe 'read_spending_plan_account test' do
|
1218
|
+
it 'should work' do
|
1219
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
# unit tests for read_spending_plan_iteration
|
1224
|
+
# Read a spending plan iteration
|
1225
|
+
# Use this endpoint to read the attributes of a specific spending plan `iteration` according to its `iteration_number`.
|
1226
|
+
# @param user_guid The unique id for a `user`.
|
1227
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1228
|
+
# @param iteration_number The current iteration number for the spending plan `iteration``.
|
1229
|
+
# @param [Hash] opts the optional parameters
|
1230
|
+
# @option opts [Integer] :page Specify current page.
|
1231
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
1232
|
+
# @return [SpendingPlanIterationResponse]
|
1233
|
+
describe 'read_spending_plan_iteration test' do
|
1234
|
+
it 'should work' do
|
1235
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1236
|
+
end
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# unit tests for read_spending_plan_iteration_item
|
1240
|
+
# Read a spending plan iteration item
|
1241
|
+
# Use this endpoint to read the attributes of a specific spending plan `iteration_item` according to its unique GUID.
|
1242
|
+
# @param user_guid The unique id for a `user`.
|
1243
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1244
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
1245
|
+
# @param [Hash] opts the optional parameters
|
1246
|
+
# @option opts [Integer] :page Specify current page.
|
1247
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
1248
|
+
# @return [SpendingPlanIterationItemResponse]
|
1249
|
+
describe 'read_spending_plan_iteration_item test' do
|
1250
|
+
it 'should work' do
|
1251
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
# unit tests for read_spending_plan_user
|
1256
|
+
# Read a spending plan for a user
|
1257
|
+
# Use this endpoint to read the attributes of a specific spending plan according to its unique GUID.
|
1258
|
+
# @param user_guid The unique id for a `user`.
|
1259
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1260
|
+
# @param [Hash] opts the optional parameters
|
1261
|
+
# @option opts [Integer] :page Specify current page.
|
1262
|
+
# @option opts [Integer] :records_per_page Specify records per page.
|
1263
|
+
# @return [SpendingPlanResponse]
|
1264
|
+
describe 'read_spending_plan_user test' do
|
1265
|
+
it 'should work' do
|
1266
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1081
1270
|
# unit tests for read_statement_by_member
|
1082
1271
|
# Read statement by member
|
1083
1272
|
# Use this endpoint to read a JSON representation of the statement.
|
@@ -1202,6 +1391,7 @@ describe 'MxPlatformApi' do
|
|
1202
1391
|
# @param user_guid The unique id for a `user`.
|
1203
1392
|
# @param [Hash] opts the optional parameters
|
1204
1393
|
# @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
|
1394
|
+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
|
1205
1395
|
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
|
1206
1396
|
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
|
1207
1397
|
# @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
|
@@ -1328,6 +1518,21 @@ describe 'MxPlatformApi' do
|
|
1328
1518
|
end
|
1329
1519
|
end
|
1330
1520
|
|
1521
|
+
# unit tests for update_spending_plan_iteration_item
|
1522
|
+
# Update a spending plan iteration item
|
1523
|
+
# Use this endpoint to update an existing `spending_plan_iteration_item`.
|
1524
|
+
# @param user_guid The unique id for a `user`.
|
1525
|
+
# @param spending_plan_guid The unique ID for the `spending_plan`.
|
1526
|
+
# @param iteration_item_guid The unique ID for the `iteration_item`.
|
1527
|
+
# @param spending_plan_iteration_item_create_request_body Iteration item object to be updated with required parameter (iteration_item_guid)
|
1528
|
+
# @param [Hash] opts the optional parameters
|
1529
|
+
# @return [SpendingPlanIterationItemResponse]
|
1530
|
+
describe 'update_spending_plan_iteration_item test' do
|
1531
|
+
it 'should work' do
|
1532
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1533
|
+
end
|
1534
|
+
end
|
1535
|
+
|
1331
1536
|
# unit tests for update_tag
|
1332
1537
|
# Update tag
|
1333
1538
|
# Use this endpoint to update the name of a specific tag according to its unique GUID.
|
@@ -31,6 +31,12 @@ describe MxPlatformRuby::MemberCreateRequestBody do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
+
describe 'test attribute "enable_app2app"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
34
40
|
describe 'test attribute "member"' do
|
35
41
|
it 'should work' do
|
36
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,70 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::SpendingPlanAccountResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::SpendingPlanAccountResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::SpendingPlanAccountResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendingPlanAccountResponse' do
|
24
|
+
it 'should create an instance of SpendingPlanAccountResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlanAccountResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "account_guid"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "client_guid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "created_at"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "guid"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "spending_plan_guid"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "updated_at"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "user_guid"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::SpendingPlanAccountsResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::SpendingPlanAccountsResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::SpendingPlanAccountsResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendingPlanAccountsResponse' do
|
24
|
+
it 'should create an instance of SpendingPlanAccountsResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlanAccountsResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "spending_plan_accounts"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "pagination"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody do
|
21
|
+
let(:instance) { MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendingPlanIterationItemCreateRequestBody' do
|
24
|
+
it 'should create an instance of SpendingPlanIterationItemCreateRequestBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlanIterationItemCreateRequestBody)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "category_guid"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "item_type"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "planned_amount"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "scheduled_payment_guid"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "top_level_category_guid"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::SpendingPlanIterationItemResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::SpendingPlanIterationItemResponse do
|
21
|
+
let(:instance) { MxPlatformRuby::SpendingPlanIterationItemResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendingPlanIterationItemResponse' do
|
24
|
+
it 'should create an instance of SpendingPlanIterationItemResponse' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlanIterationItemResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "actual_amount"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "category_guid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "created_at"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "guid"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "item_type"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "planned_amount"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "scheduled_payment_guid"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "spending_plan_iteration_guid"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "top_level_category_guid"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "transaction_guids"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "updated_at"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "user_guid"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#MX Platform API
|
3
|
+
|
4
|
+
#The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MxPlatformRuby::SpendingPlanIterationItemsResponseBody
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MxPlatformRuby::SpendingPlanIterationItemsResponseBody do
|
21
|
+
let(:instance) { MxPlatformRuby::SpendingPlanIterationItemsResponseBody.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SpendingPlanIterationItemsResponseBody' do
|
24
|
+
it 'should create an instance of SpendingPlanIterationItemsResponseBody' do
|
25
|
+
expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlanIterationItemsResponseBody)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "iteration_items"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "pagination"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|