Skip to content

Commit

Permalink
Merge pull request #57 from mxenabled/openapi-generator-0.33.0
Browse files Browse the repository at this point in the history
Generated version 0.33.0
  • Loading branch information
nickitza authored Aug 13, 2024
2 parents f0a76fd + d53e853 commit a558674
Show file tree
Hide file tree
Showing 27 changed files with 3,750 additions and 14 deletions.
18 changes: 18 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ docs/ConnectWidgetResponseBody.md
docs/CredentialRequest.md
docs/CredentialResponse.md
docs/CredentialsResponseBody.md
docs/CreditCardProduct.md
docs/CreditCardProductResponse.md
docs/EnhanceTransactionResponse.md
docs/EnhanceTransactionsRequest.md
docs/EnhanceTransactionsRequestBody.md
Expand Down Expand Up @@ -87,6 +89,10 @@ docs/PaymentProcessorAuthorizationCodeRequest.md
docs/PaymentProcessorAuthorizationCodeRequestBody.md
docs/PaymentProcessorAuthorizationCodeResponse.md
docs/PaymentProcessorAuthorizationCodeResponseBody.md
docs/RewardResponse.md
docs/RewardResponseBody.md
docs/RewardsResponse.md
docs/RewardsResponseBody.md
docs/ScheduledPaymentResponse.md
docs/ScheduledPaymentsResponseBody.md
docs/SpendingPlanAccountResponse.md
Expand Down Expand Up @@ -177,6 +183,8 @@ src/MX.Platform.CSharp.Test/Model/ConnectWidgetResponseTests.cs
src/MX.Platform.CSharp.Test/Model/CredentialRequestTests.cs
src/MX.Platform.CSharp.Test/Model/CredentialResponseTests.cs
src/MX.Platform.CSharp.Test/Model/CredentialsResponseBodyTests.cs
src/MX.Platform.CSharp.Test/Model/CreditCardProductResponseTests.cs
src/MX.Platform.CSharp.Test/Model/CreditCardProductTests.cs
src/MX.Platform.CSharp.Test/Model/EnhanceTransactionResponseTests.cs
src/MX.Platform.CSharp.Test/Model/EnhanceTransactionsRequestBodyTests.cs
src/MX.Platform.CSharp.Test/Model/EnhanceTransactionsRequestTests.cs
Expand Down Expand Up @@ -228,6 +236,10 @@ src/MX.Platform.CSharp.Test/Model/PaymentProcessorAuthorizationCodeRequestBodyTe
src/MX.Platform.CSharp.Test/Model/PaymentProcessorAuthorizationCodeRequestTests.cs
src/MX.Platform.CSharp.Test/Model/PaymentProcessorAuthorizationCodeResponseBodyTests.cs
src/MX.Platform.CSharp.Test/Model/PaymentProcessorAuthorizationCodeResponseTests.cs
src/MX.Platform.CSharp.Test/Model/RewardResponseBodyTests.cs
src/MX.Platform.CSharp.Test/Model/RewardResponseTests.cs
src/MX.Platform.CSharp.Test/Model/RewardsResponseBodyTests.cs
src/MX.Platform.CSharp.Test/Model/RewardsResponseTests.cs
src/MX.Platform.CSharp.Test/Model/ScheduledPaymentResponseTests.cs
src/MX.Platform.CSharp.Test/Model/ScheduledPaymentsResponseBodyTests.cs
src/MX.Platform.CSharp.Test/Model/SpendingPlanAccountResponseTests.cs
Expand Down Expand Up @@ -334,6 +346,8 @@ src/MX.Platform.CSharp/Model/ConnectWidgetResponseBody.cs
src/MX.Platform.CSharp/Model/CredentialRequest.cs
src/MX.Platform.CSharp/Model/CredentialResponse.cs
src/MX.Platform.CSharp/Model/CredentialsResponseBody.cs
src/MX.Platform.CSharp/Model/CreditCardProduct.cs
src/MX.Platform.CSharp/Model/CreditCardProductResponse.cs
src/MX.Platform.CSharp/Model/EnhanceTransactionResponse.cs
src/MX.Platform.CSharp/Model/EnhanceTransactionsRequest.cs
src/MX.Platform.CSharp/Model/EnhanceTransactionsRequestBody.cs
Expand Down Expand Up @@ -385,6 +399,10 @@ src/MX.Platform.CSharp/Model/PaymentProcessorAuthorizationCodeRequest.cs
src/MX.Platform.CSharp/Model/PaymentProcessorAuthorizationCodeRequestBody.cs
src/MX.Platform.CSharp/Model/PaymentProcessorAuthorizationCodeResponse.cs
src/MX.Platform.CSharp/Model/PaymentProcessorAuthorizationCodeResponseBody.cs
src/MX.Platform.CSharp/Model/RewardResponse.cs
src/MX.Platform.CSharp/Model/RewardResponseBody.cs
src/MX.Platform.CSharp/Model/RewardsResponse.cs
src/MX.Platform.CSharp/Model/RewardsResponseBody.cs
src/MX.Platform.CSharp/Model/ScheduledPaymentResponse.cs
src/MX.Platform.CSharp/Model/ScheduledPaymentsResponseBody.cs
src/MX.Platform.CSharp/Model/SpendingPlanAccountResponse.cs
Expand Down
10 changes: 5 additions & 5 deletions MX.Platform.CSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{B79D50A8-D4A1-4B46-980E-63E9FD21A072}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{253E696C-BF2B-4BB4-B8A2-EAB0A813D9CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp.Test", "src\MX.Platform.CSharp.Test\MX.Platform.CSharp.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B79D50A8-D4A1-4B46-980E-63E9FD21A072}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B79D50A8-D4A1-4B46-980E-63E9FD21A072}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B79D50A8-D4A1-4B46-980E-63E9FD21A072}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B79D50A8-D4A1-4B46-980E-63E9FD21A072}.Release|Any CPU.Build.0 = Release|Any CPU
{253E696C-BF2B-4BB4-B8A2-EAB0A813D9CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{253E696C-BF2B-4BB4-B8A2-EAB0A813D9CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{253E696C-BF2B-4BB4-B8A2-EAB0A813D9CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{253E696C-BF2B-4BB4-B8A2-EAB0A813D9CF}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
261 changes: 261 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,32 @@ paths:
summary: Read a default category
tags:
- mx_platform
/credit_card_products/{credit_card_product_guid}:
get:
description: This endpoint returns the specified `credit_card_product` according
to the unique GUID.
operationId: creditCard
parameters:
- description: The required `credit_card_product_guid` can be found on the `account`
object.
example: credit_card_product_guid
explode: false
in: path
name: credit_card_product_guid
required: true
schema:
type: string
style: simple
responses:
"200":
content:
application/vnd.mx.api.v1+json:
schema:
$ref: '#/components/schemas/CreditCardProductResponse'
description: OK
summary: Read a Credit Card Product
tags:
- mx_platform
/institutions:
get:
description: This endpoint returns a list of institutions based on the specified
Expand Down Expand Up @@ -3068,6 +3094,41 @@ paths:
summary: Extend history
tags:
- mx_platform
/users/{user_guid}/members/{member_guid}/fetch_rewards:
post:
description: "Calling this endpoint initiates an aggregation-type event which\
\ will gather the member's rewards information, as well as account and transaction\
\ information. Rewards data is also gathered with daily background aggregations."
operationId: fetchRewards
parameters:
- description: The unique id for a `user`.
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
explode: false
in: path
name: user_guid
required: true
schema:
type: string
style: simple
- description: The unique identifier for the member. Defined by MX.
example: MBR-fa7537f3-48aa-a683-a02a-b18345562f54
explode: false
in: path
name: member_guid
required: true
schema:
type: string
style: simple
responses:
"200":
content:
application/vnd.mx.api.v1+json:
schema:
$ref: '#/components/schemas/MemberResponseBody'
description: OK
summary: Fetch Rewards
tags:
- mx_platform
/users/{user_guid}/members/{member_guid}/fetch_statements:
post:
description: Use this endpoint to fetch the statements associated with a particular
Expand Down Expand Up @@ -3371,6 +3432,83 @@ paths:
summary: Resume aggregation
tags:
- mx_platform
/users/{user_guid}/members/{member_guid}/rewards:
get:
description: Use this endpoint to list all the `rewards` associated with a specified
`member`.
operationId: listRewards
parameters:
- description: The unique id for a `user`.
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
explode: false
in: path
name: user_guid
required: true
schema:
type: string
style: simple
- description: The unique identifier for the member. Defined by MX.
example: MBR-fa7537f3-48aa-a683-a02a-b18345562f54
explode: false
in: path
name: member_guid
required: true
schema:
type: string
style: simple
responses:
"200":
content:
application/vnd.mx.api.v1+json:
schema:
$ref: '#/components/schemas/RewardsResponseBody'
description: OK
summary: List Rewards
tags:
- mx_platform
/users/{user_guid}/members/{member_guid}/rewards/{reward_guid}:
get:
description: Use this endpoint to read a specific `reward` based on its unique
GUID..
operationId: readRewards
parameters:
- description: The unique id for a `user`.
example: USR-fa7537f3-48aa-a683-a02a-b18940482f54
explode: false
in: path
name: user_guid
required: true
schema:
type: string
style: simple
- description: The unique identifier for the member. Defined by MX.
example: MBR-fa7537f3-48aa-a683-a02a-b18345562f54
explode: false
in: path
name: member_guid
required: true
schema:
type: string
style: simple
- description: The unique identifier for the rewards. Defined by MX.
example: RWD-fa7537f3-48aa-a683-a02a-b324322f54
explode: false
in: path
name: reward_guid
required: true
schema:
type: string
style: simple
responses:
"200":
content:
application/vnd.mx.api.v1+json:
schema:
$ref: '#/components/schemas/RewardResponseBody'
description: OK
summary: Read Reward
tags:
- mx_platform
/users/{user_guid}/members/{member_guid}/statements:
get:
description: Use this endpoint to get an array of available statements.
Expand Down Expand Up @@ -6147,6 +6285,51 @@ components:
pagination:
$ref: '#/components/schemas/PaginationResponse'
type: object
CreditCardProduct:
properties:
annual_fee:
example: 45.0
duration_of_introductory_rate_on_balance_transfer:
example: null
duration_of_introductory_rate_on_purchases:
example: null
guid:
example: CCA-b5bcd822-6d01-4e23-b8d6-846a225e714a
has_cashback_rewards:
example: false
type: boolean
has_other_rewards:
example: true
type: boolean
has_travel_rewards:
example: true
type: boolean
has_zero_introductory_annual_fee:
example: true
type: boolean
has_zero_percent_introductory_rate:
example: false
type: boolean
has_zero_percent_introductory_rate_on_balance_transfer:
example: true
type: boolean
financial_institution:
example: true
type: boolean
is_accepting_applications:
example: true
type: boolean
is_small_business_card:
example: true
type: boolean
name:
example: Chase Credit Card
type: string
CreditCardProductResponse:
properties:
reward:
$ref: '#/components/schemas/CreditCardProduct'
type: object
EnhanceTransactionResponse:
properties:
amount:
Expand Down Expand Up @@ -7682,6 +7865,84 @@ components:
payment_processor_authorization_code:
$ref: '#/components/schemas/PaymentProcessorAuthorizationCodeResponse'
type: object
RewardsResponse:
properties:
account_guid:
example: ACT-1234
type: string
balance_type:
example: EXPIRING_BALANCE
type: string
balance:
example: 102
type: integer
created_at:
example: 2020-01-28T21:09:01+0000
type: string
description:
example: A description of the reward.
type: string
expires_on:
example: 2020-02-28
type: string
guid:
example: RWD-1234
type: string
member_guid:
example: MBR-4567
type: string
unit_type:
example: POINTS
type: string
user_guid:
example: USR-1234
type: string
RewardsResponseBody:
properties:
rewards:
items:
$ref: '#/components/schemas/RewardsResponse'
type: array
pagination:
$ref: '#/components/schemas/PaginationResponse'
type: object
RewardResponse:
properties:
account_guid:
example: ACT-1234
type: string
balance_type:
example: EXPIRING_BALANCE
type: string
balance:
example: 102
type: integer
created_at:
example: 2020-01-28T21:09:01+0000
type: string
description:
example: A description of the reward.
type: string
expires_on:
example: 2020-02-28
type: string
guid:
example: RWD-1234
type: string
member_guid:
example: MBR-4567
type: string
unit_type:
example: POINTS
type: string
user_guid:
example: USR-1234
type: string
RewardResponseBody:
properties:
reward:
$ref: '#/components/schemas/RewardResponse'
type: object
SpendingPlanAccountResponse:
properties:
account_guid:
Expand Down
Loading

0 comments on commit a558674

Please sign in to comment.