Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated SDK #96 #66

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/auto-reply-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Auto Reply On New Issues
on:
issues:
types: [opened]

jobs:
auto-reply:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Choose random reply message
id: choose_message
run: |
reply_messages=(
"Thank you for raising this issue! We will look into it shortly."
"We appreciate your feedback. Our team will investigate this issue shortly."
"Your issue has been noted. We'll get back to you soon."
"Thanks for raising this issue. We'll review it and provide updates soon."
"Thank you for letting us know about this issue. We'll investigate and get back to you soon."
"Acknowledged. We'll review the issue and respond soon."
"Thanks for bringing this to our attention. We'll review it and provide updates soon."
"We've received your issue. Thanks for your patience."
"Noted. Expect updates on your issue shortly."
"Your issue is important to us. We will look into it shortly."
)
random_index=$((RANDOM % ${#reply_messages[@]}))
echo "::set-output name=message::${reply_messages[$random_index]}"

- name: Reply to issue
run: |
gh issue comment ${{ github.event.issue.number }} --body "${{ steps.choose_message.outputs.message }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 36 additions & 0 deletions .github/workflows/auto-reply-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Auto Reply On New Pull Requests
on:
pull_request:
types: [opened]

jobs:
auto-reply:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Choose random reply message
id: choose_message
run: |
reply_messages=(
"Thank you for raising this! We will review it shortly. (Note that this SDK code is auto generated)"
"We appreciate your contribution. Our team will investigate this request shortly. (Note that this SDK code is auto generated)"
"Your request has been noted. We'll get back to you soon. (Note that this SDK code is auto generated)"
"Thanks for submitting this request. We'll review it and provide updates soon. (Note that this SDK code is auto generated)"
"Thank you for letting us know about this request. We'll investigate and get back to you soon. (Note that this SDK code is auto generated)"
"Acknowledged. We'll review and respond soon. (Note that this SDK code is auto generated)"
"Thanks for bringing this request to our attention. We'll review and provide updates soon. (Note that this SDK code is auto generated)"
"We've received your request. Thanks for your patience. (Note that this SDK code is auto generated)"
"Noted. Expect updates shortly. (Note that this SDK code is auto generated)"
"Your request is important to us. We will look into it shortly. (Note that this SDK code is auto generated)"
)
random_index=$((RANDOM % ${#reply_messages[@]}))
echo "::set-output name=message::${reply_messages[$random_index]}"

- name: Reply to pull request
if: (!contains(fromJSON('["github-actions"]'), github.event.pull_request.user.login))
run: |
gh pr comment ${{ github.event.number }} --body "${{ steps.choose_message.outputs.message }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ docs/AssetForbiddenErrorResponse.md
docs/AssetInternalServerErrorResponse.md
docs/AssetMetadataDto.md
docs/AssetNotFoundErrorResponse.md
docs/AssetPriceForbiddenErrorResponse.md
docs/AssetPriceNotFoundErrorResponse.md
docs/AssetPriceResponse.md
docs/AssetResponse.md
docs/AssetResponseMetadata.md
docs/AssetResponseOnchain.md
Expand Down Expand Up @@ -328,6 +331,7 @@ docs/SessionDTO.md
docs/SessionMetadata.md
docs/SetAdminQuorumThresholdRequest.md
docs/SetAdminQuorumThresholdResponse.md
docs/SetAssetPriceRequest.md
docs/SetAutoFuelRequest.md
docs/SetConfirmationsThresholdRequest.md
docs/SetConfirmationsThresholdResponse.md
Expand Down Expand Up @@ -577,6 +581,9 @@ src/main/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponse.java
src/main/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponse.java
src/main/java/com/fireblocks/sdk/model/AssetMetadataDto.java
src/main/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponse.java
src/main/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponse.java
src/main/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponse.java
src/main/java/com/fireblocks/sdk/model/AssetPriceResponse.java
src/main/java/com/fireblocks/sdk/model/AssetResponse.java
src/main/java/com/fireblocks/sdk/model/AssetResponseMetadata.java
src/main/java/com/fireblocks/sdk/model/AssetResponseOnchain.java
Expand Down Expand Up @@ -841,6 +848,7 @@ src/main/java/com/fireblocks/sdk/model/SessionDTO.java
src/main/java/com/fireblocks/sdk/model/SessionMetadata.java
src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequest.java
src/main/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponse.java
src/main/java/com/fireblocks/sdk/model/SetAssetPriceRequest.java
src/main/java/com/fireblocks/sdk/model/SetAutoFuelRequest.java
src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequest.java
src/main/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponse.java
Expand Down Expand Up @@ -1058,6 +1066,9 @@ src/test/java/com/fireblocks/sdk/model/AssetForbiddenErrorResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetInternalServerErrorResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetMetadataDtoTest.java
src/test/java/com/fireblocks/sdk/model/AssetNotFoundErrorResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetPriceForbiddenErrorResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetPriceNotFoundErrorResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetPriceResponseTest.java
src/test/java/com/fireblocks/sdk/model/AssetResponseMetadataTest.java
src/test/java/com/fireblocks/sdk/model/AssetResponseOnchainTest.java
src/test/java/com/fireblocks/sdk/model/AssetResponseTest.java
Expand Down Expand Up @@ -1322,6 +1333,7 @@ src/test/java/com/fireblocks/sdk/model/SessionDTOTest.java
src/test/java/com/fireblocks/sdk/model/SessionMetadataTest.java
src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdRequestTest.java
src/test/java/com/fireblocks/sdk/model/SetAdminQuorumThresholdResponseTest.java
src/test/java/com/fireblocks/sdk/model/SetAssetPriceRequestTest.java
src/test/java/com/fireblocks/sdk/model/SetAutoFuelRequestTest.java
src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdRequestTest.java
src/test/java/com/fireblocks/sdk/model/SetConfirmationsThresholdResponseTest.java
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fireblocks.sdk</groupId>
<artifactId>fireblocks-sdk</artifactId>
<version>3.0.0</version>
<version>0.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -42,7 +42,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.fireblocks.sdk:fireblocks-sdk:3.0.0"
compile "com.fireblocks.sdk:fireblocks-sdk:0.0.0"
```

### Others
Expand All @@ -55,7 +55,7 @@ mvn clean package

Then manually install the following JARs:

- `target/fireblocks-sdk-3.0.0.jar`
- `target/fireblocks-sdk-0.0.0.jar`
- `target/lib/*.jar`


Expand Down Expand Up @@ -148,6 +148,7 @@ Class | Method | HTTP request | Description
*AuditLogsApi* | [**getAudits**](docs/AuditLogsApi.md#getAudits) | **GET** /audits | Get audit logs
*BlockchainsAssetsApi* | [**getSupportedAssets**](docs/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks
*BlockchainsAssetsApi* | [**registerNewAsset**](docs/BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset
*BlockchainsAssetsApi* | [**setAssetPrice**](docs/BlockchainsAssetsApi.md#setAssetPrice) | **POST** /assets/prices/{id} | Set asset price
*ComplianceApi* | [**getAmlPostScreeningPolicy**](docs/ComplianceApi.md#getAmlPostScreeningPolicy) | **GET** /screening/aml/post_screening_policy | AML - View Post-Screening Policy
*ComplianceApi* | [**getAmlScreeningPolicy**](docs/ComplianceApi.md#getAmlScreeningPolicy) | **GET** /screening/aml/screening_policy | AML - View Screening Policy
*ComplianceApi* | [**getPostScreeningPolicy**](docs/ComplianceApi.md#getPostScreeningPolicy) | **GET** /screening/travel_rule/post_screening_policy | Travel Rule - View Post-Screening Policy
Expand Down Expand Up @@ -389,6 +390,9 @@ Class | Method | HTTP request | Description
- [AssetInternalServerErrorResponse](docs/AssetInternalServerErrorResponse.md)
- [AssetMetadataDto](docs/AssetMetadataDto.md)
- [AssetNotFoundErrorResponse](docs/AssetNotFoundErrorResponse.md)
- [AssetPriceForbiddenErrorResponse](docs/AssetPriceForbiddenErrorResponse.md)
- [AssetPriceNotFoundErrorResponse](docs/AssetPriceNotFoundErrorResponse.md)
- [AssetPriceResponse](docs/AssetPriceResponse.md)
- [AssetResponse](docs/AssetResponse.md)
- [AssetResponseMetadata](docs/AssetResponseMetadata.md)
- [AssetResponseOnchain](docs/AssetResponseOnchain.md)
Expand Down Expand Up @@ -653,6 +657,7 @@ Class | Method | HTTP request | Description
- [SessionMetadata](docs/SessionMetadata.md)
- [SetAdminQuorumThresholdRequest](docs/SetAdminQuorumThresholdRequest.md)
- [SetAdminQuorumThresholdResponse](docs/SetAdminQuorumThresholdResponse.md)
- [SetAssetPriceRequest](docs/SetAssetPriceRequest.md)
- [SetAutoFuelRequest](docs/SetAutoFuelRequest.md)
- [SetConfirmationsThresholdRequest](docs/SetConfirmationsThresholdRequest.md)
- [SetConfirmationsThresholdResponse](docs/SetConfirmationsThresholdResponse.md)
Expand Down
Loading