Skip to content

Commit

Permalink
Merge pull request #95 from mxenabled/openapi-generator-0.40.0
Browse files Browse the repository at this point in the history
Generated version 0.40.0
  • Loading branch information
nickitza authored Aug 15, 2024
2 parents f6f8431 + 36347cb commit 2c853fc
Show file tree
Hide file tree
Showing 97 changed files with 10,786 additions and 45 deletions.
78 changes: 78 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ docs/AuthorizationCodeRequest.md
docs/AuthorizationCodeRequestBody.md
docs/AuthorizationCodeResponse.md
docs/AuthorizationCodeResponseBody.md
docs/BudgetCreateRequest.md
docs/BudgetCreateRequestBody.md
docs/BudgetResponse.md
docs/BudgetResponseBody.md
docs/BudgetUpdateRequest.md
docs/BudgetUpdateRequestBody.md
docs/BudgetsApi.md
docs/CategoriesResponseBody.md
docs/CategoryCreateRequest.md
docs/CategoryCreateRequestBody.md
Expand All @@ -41,6 +48,13 @@ docs/EnhanceTransactionResponse.md
docs/EnhanceTransactionsRequest.md
docs/EnhanceTransactionsRequestBody.md
docs/EnhanceTransactionsResponseBody.md
docs/GoalRequest.md
docs/GoalRequestBody.md
docs/GoalResponse.md
docs/GoalResponseBody.md
docs/GoalsApi.md
docs/GoalsResponse.md
docs/GoalsResponseBody.md
docs/HoldingResponse.md
docs/HoldingResponseBody.md
docs/HoldingsResponseBody.md
Expand Down Expand Up @@ -81,6 +95,10 @@ docs/MerchantLocationResponseBody.md
docs/MerchantResponse.md
docs/MerchantResponseBody.md
docs/MerchantsResponseBody.md
docs/MonthlyCashFlowProfileRequest.md
docs/MonthlyCashFlowProfileRequestBody.md
docs/MonthlyCashFlowResponse.md
docs/MonthlyCashFlowResponseBody.md
docs/MxPlatformApi.md
docs/OAuthWindowResponse.md
docs/OAuthWindowResponseBody.md
Expand All @@ -90,6 +108,9 @@ docs/PaymentProcessorAuthorizationCodeRequest.md
docs/PaymentProcessorAuthorizationCodeRequestBody.md
docs/PaymentProcessorAuthorizationCodeResponse.md
docs/PaymentProcessorAuthorizationCodeResponseBody.md
docs/RepositionRequest.md
docs/RepositionRequestBody.md
docs/RepositionResponseBody.md
docs/RewardResponse.md
docs/RewardResponseBody.md
docs/RewardsResponse.md
Expand All @@ -106,6 +127,9 @@ docs/SpendingPlanIterationResponse.md
docs/SpendingPlanIterationsResponse.md
docs/SpendingPlanResponse.md
docs/SpendingPlansResponseBody.md
docs/SplitTransactionRequest.md
docs/SplitTransactionRequestBody.md
docs/SplitTransactionsResponseBody.md
docs/StatementResponse.md
docs/StatementResponseBody.md
docs/StatementsResponseBody.md
Expand Down Expand Up @@ -138,6 +162,8 @@ docs/TransactionRulesResponseBody.md
docs/TransactionUpdateRequest.md
docs/TransactionUpdateRequestBody.md
docs/TransactionsResponseBody.md
docs/UpdateGoalRequest.md
docs/UpdateGoalRequestBody.md
docs/UserCreateRequest.md
docs/UserCreateRequestBody.md
docs/UserResponse.md
Expand All @@ -150,6 +176,8 @@ docs/WidgetRequestBody.md
docs/WidgetResponse.md
docs/WidgetResponseBody.md
lib/mx-platform-ruby.rb
lib/mx-platform-ruby/api/budgets_api.rb
lib/mx-platform-ruby/api/goals_api.rb
lib/mx-platform-ruby/api/insights_api.rb
lib/mx-platform-ruby/api/mx_platform_api.rb
lib/mx-platform-ruby/api/spending_plan_api.rb
Expand All @@ -171,6 +199,12 @@ lib/mx-platform-ruby/models/authorization_code_request.rb
lib/mx-platform-ruby/models/authorization_code_request_body.rb
lib/mx-platform-ruby/models/authorization_code_response.rb
lib/mx-platform-ruby/models/authorization_code_response_body.rb
lib/mx-platform-ruby/models/budget_create_request.rb
lib/mx-platform-ruby/models/budget_create_request_body.rb
lib/mx-platform-ruby/models/budget_response.rb
lib/mx-platform-ruby/models/budget_response_body.rb
lib/mx-platform-ruby/models/budget_update_request.rb
lib/mx-platform-ruby/models/budget_update_request_body.rb
lib/mx-platform-ruby/models/categories_response_body.rb
lib/mx-platform-ruby/models/category_create_request.rb
lib/mx-platform-ruby/models/category_create_request_body.rb
Expand All @@ -193,6 +227,12 @@ lib/mx-platform-ruby/models/enhance_transaction_response.rb
lib/mx-platform-ruby/models/enhance_transactions_request.rb
lib/mx-platform-ruby/models/enhance_transactions_request_body.rb
lib/mx-platform-ruby/models/enhance_transactions_response_body.rb
lib/mx-platform-ruby/models/goal_request.rb
lib/mx-platform-ruby/models/goal_request_body.rb
lib/mx-platform-ruby/models/goal_response.rb
lib/mx-platform-ruby/models/goal_response_body.rb
lib/mx-platform-ruby/models/goals_response.rb
lib/mx-platform-ruby/models/goals_response_body.rb
lib/mx-platform-ruby/models/holding_response.rb
lib/mx-platform-ruby/models/holding_response_body.rb
lib/mx-platform-ruby/models/holdings_response_body.rb
Expand Down Expand Up @@ -232,6 +272,10 @@ lib/mx-platform-ruby/models/merchant_location_response_body.rb
lib/mx-platform-ruby/models/merchant_response.rb
lib/mx-platform-ruby/models/merchant_response_body.rb
lib/mx-platform-ruby/models/merchants_response_body.rb
lib/mx-platform-ruby/models/monthly_cash_flow_profile_request.rb
lib/mx-platform-ruby/models/monthly_cash_flow_profile_request_body.rb
lib/mx-platform-ruby/models/monthly_cash_flow_response.rb
lib/mx-platform-ruby/models/monthly_cash_flow_response_body.rb
lib/mx-platform-ruby/models/o_auth_window_response.rb
lib/mx-platform-ruby/models/o_auth_window_response_body.rb
lib/mx-platform-ruby/models/option_response.rb
Expand All @@ -240,6 +284,9 @@ lib/mx-platform-ruby/models/payment_processor_authorization_code_request.rb
lib/mx-platform-ruby/models/payment_processor_authorization_code_request_body.rb
lib/mx-platform-ruby/models/payment_processor_authorization_code_response.rb
lib/mx-platform-ruby/models/payment_processor_authorization_code_response_body.rb
lib/mx-platform-ruby/models/reposition_request.rb
lib/mx-platform-ruby/models/reposition_request_body.rb
lib/mx-platform-ruby/models/reposition_response_body.rb
lib/mx-platform-ruby/models/reward_response.rb
lib/mx-platform-ruby/models/reward_response_body.rb
lib/mx-platform-ruby/models/rewards_response.rb
Expand All @@ -255,6 +302,9 @@ lib/mx-platform-ruby/models/spending_plan_iteration_response.rb
lib/mx-platform-ruby/models/spending_plan_iterations_response.rb
lib/mx-platform-ruby/models/spending_plan_response.rb
lib/mx-platform-ruby/models/spending_plans_response_body.rb
lib/mx-platform-ruby/models/split_transaction_request.rb
lib/mx-platform-ruby/models/split_transaction_request_body.rb
lib/mx-platform-ruby/models/split_transactions_response_body.rb
lib/mx-platform-ruby/models/statement_response.rb
lib/mx-platform-ruby/models/statement_response_body.rb
lib/mx-platform-ruby/models/statements_response_body.rb
Expand Down Expand Up @@ -287,6 +337,8 @@ lib/mx-platform-ruby/models/transaction_rules_response_body.rb
lib/mx-platform-ruby/models/transaction_update_request.rb
lib/mx-platform-ruby/models/transaction_update_request_body.rb
lib/mx-platform-ruby/models/transactions_response_body.rb
lib/mx-platform-ruby/models/update_goal_request.rb
lib/mx-platform-ruby/models/update_goal_request_body.rb
lib/mx-platform-ruby/models/user_create_request.rb
lib/mx-platform-ruby/models/user_create_request_body.rb
lib/mx-platform-ruby/models/user_response.rb
Expand All @@ -300,6 +352,8 @@ lib/mx-platform-ruby/models/widget_response.rb
lib/mx-platform-ruby/models/widget_response_body.rb
lib/mx-platform-ruby/version.rb
mx-platform-ruby.gemspec
spec/api/budgets_api_spec.rb
spec/api/goals_api_spec.rb
spec/api/insights_api_spec.rb
spec/api/mx_platform_api_spec.rb
spec/api/spending_plan_api_spec.rb
Expand All @@ -320,6 +374,12 @@ spec/models/authorization_code_request_body_spec.rb
spec/models/authorization_code_request_spec.rb
spec/models/authorization_code_response_body_spec.rb
spec/models/authorization_code_response_spec.rb
spec/models/budget_create_request_body_spec.rb
spec/models/budget_create_request_spec.rb
spec/models/budget_response_body_spec.rb
spec/models/budget_response_spec.rb
spec/models/budget_update_request_body_spec.rb
spec/models/budget_update_request_spec.rb
spec/models/categories_response_body_spec.rb
spec/models/category_create_request_body_spec.rb
spec/models/category_create_request_spec.rb
Expand All @@ -342,6 +402,12 @@ spec/models/enhance_transaction_response_spec.rb
spec/models/enhance_transactions_request_body_spec.rb
spec/models/enhance_transactions_request_spec.rb
spec/models/enhance_transactions_response_body_spec.rb
spec/models/goal_request_body_spec.rb
spec/models/goal_request_spec.rb
spec/models/goal_response_body_spec.rb
spec/models/goal_response_spec.rb
spec/models/goals_response_body_spec.rb
spec/models/goals_response_spec.rb
spec/models/holding_response_body_spec.rb
spec/models/holding_response_spec.rb
spec/models/holdings_response_body_spec.rb
Expand Down Expand Up @@ -381,6 +447,10 @@ spec/models/merchant_location_response_spec.rb
spec/models/merchant_response_body_spec.rb
spec/models/merchant_response_spec.rb
spec/models/merchants_response_body_spec.rb
spec/models/monthly_cash_flow_profile_request_body_spec.rb
spec/models/monthly_cash_flow_profile_request_spec.rb
spec/models/monthly_cash_flow_response_body_spec.rb
spec/models/monthly_cash_flow_response_spec.rb
spec/models/o_auth_window_response_body_spec.rb
spec/models/o_auth_window_response_spec.rb
spec/models/option_response_spec.rb
Expand All @@ -389,6 +459,9 @@ spec/models/payment_processor_authorization_code_request_body_spec.rb
spec/models/payment_processor_authorization_code_request_spec.rb
spec/models/payment_processor_authorization_code_response_body_spec.rb
spec/models/payment_processor_authorization_code_response_spec.rb
spec/models/reposition_request_body_spec.rb
spec/models/reposition_request_spec.rb
spec/models/reposition_response_body_spec.rb
spec/models/reward_response_body_spec.rb
spec/models/reward_response_spec.rb
spec/models/rewards_response_body_spec.rb
Expand All @@ -404,6 +477,9 @@ spec/models/spending_plan_iteration_response_spec.rb
spec/models/spending_plan_iterations_response_spec.rb
spec/models/spending_plan_response_spec.rb
spec/models/spending_plans_response_body_spec.rb
spec/models/split_transaction_request_body_spec.rb
spec/models/split_transaction_request_spec.rb
spec/models/split_transactions_response_body_spec.rb
spec/models/statement_response_body_spec.rb
spec/models/statement_response_spec.rb
spec/models/statements_response_body_spec.rb
Expand Down Expand Up @@ -436,6 +512,8 @@ spec/models/transaction_rules_response_body_spec.rb
spec/models/transaction_update_request_body_spec.rb
spec/models/transaction_update_request_spec.rb
spec/models/transactions_response_body_spec.rb
spec/models/update_goal_request_body_spec.rb
spec/models/update_goal_request_spec.rb
spec/models/user_create_request_body_spec.rb
spec/models/user_create_request_spec.rb
spec/models/user_response_body_spec.rb
Expand Down
26 changes: 26 additions & 0 deletions docs/BudgetCreateRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# MxPlatformRuby::BudgetCreateRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **category_guid** | **String** | Unique identifier of the category. | |
| **parent_guid** | **String** | Unique identifier of the parent budget. This is only required when creating a budget on a sub-category. | |
| **amount** | **Integer** | Amount of the budget. | [optional] |
| **metadata** | **String** | Additional information a partner can store on the budget. | [optional] |
| **skip_webhook** | **Boolean** | When set to true, this parameter will prevent a webhook from being triggered by the request. | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetCreateRequest.new(
category_guid: CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a,
parent_guid: BGT-6be44a91-e105-f68a-4770-8c7c0a5c9778,
amount: 1000,
metadata: Additional information,
skip_webhook: true
)
```

18 changes: 18 additions & 0 deletions docs/BudgetCreateRequestBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MxPlatformRuby::BudgetCreateRequestBody

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **budget** | [**BudgetCreateRequest**](BudgetCreateRequest.md) | | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetCreateRequestBody.new(
budget: null
)
```

48 changes: 48 additions & 0 deletions docs/BudgetResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# MxPlatformRuby::BudgetResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **amount** | **Float** | A goal amount set by the user for a category's transaction total during a month. | [optional] |
| **category_guid** | **String** | Unique identifier for the budget category. Defined by MX. | [optional] |
| **created_at** | **String** | Date and time the budget was created, represented in ISO 8601 format with timestamp. | [optional] |
| **guid** | **String** | Unique identifier for the budget. Defined by MX. | [optional] |
| **is_exceeded** | **Boolean** | If the budget has been exceeded, this field will be true. Otherwise, this field will be false. | [optional] |
| **is_off_track** | **Boolean** | If the budget is off track, this field will be true. Otherwise, this field will be false. | [optional] |
| **metadata** | **String** | Additional information a partner can store on the budget. | [optional] |
| **name** | **String** | The name of the budget that is visible to the user (ie \"Food\", \"Bills\", \"Entertainment\", etc). | [optional] |
| **off_track_percentage** | **Float** | The percentage amount of off track spending. (Deprecated). | [optional] |
| **parent_guid** | **String** | Unique identifier for the parent budget. Defined by MX. | [optional] |
| **percent_spent** | **Float** | The percentage of a budget that has been spent during the current calendar month Calculated as the transaction total divided by the amount and then multiplied by 100.A value of zero will be returned when `amount` is zero. | [optional] |
| **projected_spending** | **Float** | The projected amount of spending for the budget. | [optional] |
| **revision** | **Integer** | The revision number of this budget record. | [optional] |
| **transaction_total** | **Object** | The cumulative amount of all transactions under the budget. | [optional] |
| **updated_at** | **Object** | Date and time the budget was updated, represented in ISO 8601 format with timestamp. | [optional] |
| **user_guid** | **Object** | Unique identifier for the user. Defined by MX. | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetResponse.new(
amount: 153.0,
category_guid: CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a,
created_at: 2018-10-18T19:51:26+00:00,
guid: BGT-6ca0e3ef-c65e-4655-8b5a-275a3c19c21d,
is_exceeded: true,
is_off_track: true,
metadata: some metadata,
name: Food & Dining,
off_track_percentage: null,
parent_guid: null,
percent_spent: 1276.34,
projected_spending: 3562.4,
revision: 561,
transaction_total: 1952.8,
updated_at: 2022-06-14T21:17:11+00:00,
user_guid: USR-11141024-90b3-1bce-cac9-c06ced52ab4c
)
```

18 changes: 18 additions & 0 deletions docs/BudgetResponseBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MxPlatformRuby::BudgetResponseBody

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **budget** | [**BudgetResponse**](BudgetResponse.md) | | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetResponseBody.new(
budget: null
)
```

22 changes: 22 additions & 0 deletions docs/BudgetUpdateRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# MxPlatformRuby::BudgetUpdateRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **amount** | **Integer** | Amount of the budget. | [optional] |
| **metadata** | **String** | Additional information a partner can store on the budget. | [optional] |
| **skip_webhook** | **Boolean** | When set to true, this parameter will prevent a webhook from being triggered by the request. | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetUpdateRequest.new(
amount: 1000,
metadata: Additional information,
skip_webhook: true
)
```

18 changes: 18 additions & 0 deletions docs/BudgetUpdateRequestBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# MxPlatformRuby::BudgetUpdateRequestBody

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **budget** | [**BudgetUpdateRequest**](BudgetUpdateRequest.md) | | [optional] |

## Example

```ruby
require 'mx-platform-ruby'

instance = MxPlatformRuby::BudgetUpdateRequestBody.new(
budget: null
)
```

Loading

0 comments on commit 2c853fc

Please sign in to comment.