Skip to content

Commit

Permalink
Generated Xendit python SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
xendit-devx-bot committed Sep 27, 2023
1 parent 022f047 commit 42b0295
Show file tree
Hide file tree
Showing 247 changed files with 4,440 additions and 1,658 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
id: parse-changelog
run: |
echo "changelog<<EOF" >> "$GITHUB_OUTPUT"
echo "${{ github.event.client_payload.changelog }}" | tr -s '%0A' '\n' >> "$GITHUB_OUTPUT"
echo "${{ github.event.client_payload.changelog }}" | sed -e 's/%0A/\n/g' >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Create Release
id: create-release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
with:
tag_name: v${{ github.event.client_payload.version }}
release_name: v${{ github.event.client_payload.version }}
tag_name: ${{ github.event.client_payload.version }}
release_name: ${{ github.event.client_payload.version }}
body: ${{ steps.parse-changelog.outputs.changelog }}
draft: false
prerelease: false
282 changes: 142 additions & 140 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,121 +3,121 @@
.gitignore
LICENSE
README.md
docs/Capture.md
docs/CaptureList.md
docs/CaptureListResponse.md
docs/CaptureParameters.md
docs/BillingInformation.md
docs/Card.md
docs/CardChannelProperties.md
docs/CardInformation.md
docs/CardParameters.md
docs/CardParametersCardInformation.md
docs/CardVerificationResults.md
docs/CardVerificationResultsThreeDSecure.md
docs/ChannelAmountLimits.md
docs/ChannelAmountLimitsAllOf.md
docs/ChannelProperty.md
docs/ChannelPropertyAllOf.md
docs/CreatePaymentMethod409Response.md
docs/CreatePaymentMethod503Response.md
docs/DirectDebit.md
docs/DirectDebitAllOf.md
docs/DirectDebitBankAccount.md
docs/DirectDebitChannelCode.md
docs/DirectDebitChannelProperties.md
docs/DirectDebitChannelPropertiesBankAccount.md
docs/DirectDebitChannelPropertiesBankRedirect.md
docs/DirectDebitChannelPropertiesDebitCard.md
docs/DirectDebitDebitCard.md
docs/DirectDebitParameters.md
docs/DirectDebitType.md
docs/EWallet.md
docs/EWalletAccount.md
docs/EWalletAllOf.md
docs/EWalletChannelCode.md
docs/EWalletChannelProperties.md
docs/EWalletParameters.md
docs/Error.md
docs/GetAllPaymentMethods400Response.md
docs/GetAllPaymentMethods403Response.md
docs/GetAllPaymentMethods404Response.md
docs/GetAllPaymentMethodsDefaultResponse.md
docs/OverTheCounter.md
docs/OverTheCounterChannelCode.md
docs/OverTheCounterChannelProperties.md
docs/OverTheCounterChannelPropertiesUpdate.md
docs/OverTheCounterParameters.md
docs/OverTheCounterUpdateParameters.md
docs/PaymentChannel.md
docs/PaymentChannelAllOf.md
docs/PaymentChannelList.md
docs/PaymentChannelListLinksInner.md
docs/PaymentChannelListLinksInnerAllOf.md
docs/PaymentMethod.md
docs/PaymentMethodAction.md
docs/PaymentMethodApi.md
docs/PaymentMethodAuthParameters.md
docs/PaymentMethodCountry.md
docs/PaymentMethodExpireParameters.md
docs/PaymentMethodList.md
docs/PaymentMethodParameters.md
docs/PaymentMethodReusability.md
docs/PaymentMethodStatus.md
docs/PaymentMethodType.md
docs/PaymentRequest.md
docs/PaymentRequestAction.md
docs/PaymentRequestApi.md
docs/PaymentRequestAuthParameters.md
docs/PaymentRequestBasket.md
docs/PaymentRequestBasketItem.md
docs/PaymentRequestCaptureMethod.md
docs/PaymentRequestCardVerificationResults.md
docs/PaymentRequestCardVerificationResultsThreeDeeSecure.md
docs/PaymentRequestChannelProperties.md
docs/PaymentRequestCountry.md
docs/PaymentRequestCurrency.md
docs/PaymentRequestInitiator.md
docs/PaymentRequestListResponse.md
docs/PaymentRequestParameters.md
docs/PaymentRequestParametersChannelProperties.md
docs/PaymentRequestParametersChannelPropertiesAllOf.md
docs/PaymentRequestShippingInformation.md
docs/PaymentRequestStatus.md
docs/PaymentMethodUpdateParameters.md
docs/QRCode.md
docs/QRCodeChannelCode.md
docs/QRCodeChannelProperties.md
docs/QRCodeParameters.md
docs/SimulatePaymentRequest.md
docs/TokenizedCardInformation.md
docs/VirtualAccount.md
docs/VirtualAccountAllOf.md
docs/VirtualAccountAlternativeDisplay.md
docs/VirtualAccountChannelCode.md
docs/VirtualAccountChannelProperties.md
docs/VirtualAccountChannelPropertiesPatch.md
docs/VirtualAccountParameters.md
docs/VirtualAccountUpdateParameters.md
docs/header.jpg
requirements.txt
setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_capture.py
test/test_capture_list.py
test/test_capture_list_response.py
test/test_capture_parameters.py
test/test_card_information.py
test/test_direct_debit_all_of.py
test/test_direct_debit_bank_account.py
test/test_direct_debit_channel_code.py
test/test_direct_debit_channel_properties.py
test/test_direct_debit_channel_properties_bank_account.py
test/test_direct_debit_channel_properties_bank_redirect.py
test/test_direct_debit_channel_properties_debit_card.py
test/test_e_wallet_all_of.py
test/test_error.py
test/test_over_the_counter.py
test/test_over_the_counter_channel_code.py
test/test_over_the_counter_channel_properties.py
test/test_over_the_counter_parameters.py
test/test_payment_method.py
test/test_payment_method_parameters.py
test/test_payment_method_reusability.py
test/test_payment_method_status.py
test/test_payment_method_type.py
test/test_payment_request.py
test/test_payment_request_action.py
test/test_payment_request_api.py
test/test_payment_request_auth_parameters.py
test/test_payment_request_basket.py
test/test_payment_request_basket_item.py
test/test_payment_request_capture_method.py
test/test_payment_request_card_verification_results.py
test/test_payment_request_card_verification_results_three_dee_secure.py
test/test_payment_request_channel_properties.py
test/test_payment_request_country.py
test/test_payment_request_currency.py
test/test_payment_request_initiator.py
test/test_payment_request_list_response.py
test/test_payment_request_parameters.py
test/test_payment_request_parameters_channel_properties.py
test/test_payment_request_parameters_channel_properties_all_of.py
test/test_payment_request_shipping_information.py
test/test_payment_request_status.py
tmp/payment_request.api.py
tmp/payment_request.model.py
test/test_billing_information.py
test/test_card.py
test/test_card_channel_properties.py
test/test_card_parameters.py
test/test_card_parameters_card_information.py
test/test_card_verification_results_three_d_secure.py
test/test_channel_amount_limits.py
test/test_channel_amount_limits_all_of.py
test/test_channel_property.py
test/test_channel_property_all_of.py
test/test_create_payment_method409_response.py
test/test_create_payment_method503_response.py
test/test_e_wallet_channel_code.py
test/test_e_wallet_channel_properties.py
test/test_e_wallet_parameters.py
test/test_get_all_payment_methods400_response.py
test/test_get_all_payment_methods403_response.py
test/test_get_all_payment_methods404_response.py
test/test_get_all_payment_methods_default_response.py
test/test_over_the_counter_channel_properties_update.py
test/test_over_the_counter_update_parameters.py
test/test_payment_channel.py
test/test_payment_channel_all_of.py
test/test_payment_channel_list.py
test/test_payment_channel_list_links_inner.py
test/test_payment_channel_list_links_inner_all_of.py
test/test_payment_method_action.py
test/test_payment_method_api.py
test/test_payment_method_auth_parameters.py
test/test_payment_method_country.py
test/test_payment_method_expire_parameters.py
test/test_payment_method_list.py
test/test_payment_method_update_parameters.py
test/test_qr_code_channel_code.py
test/test_qr_code_channel_properties.py
test/test_qr_code_parameters.py
test/test_simulate_payment_request.py
test/test_tokenized_card_information.py
test/test_virtual_account_channel_properties_patch.py
test/test_virtual_account_update_parameters.py
tmp/payment_method.api.py
tmp/payment_method.model.py
tox.ini
xendit/__init__.py
xendit/api_client.py
Expand All @@ -126,71 +126,73 @@ xendit/configuration.py
xendit/exceptions.py
xendit/model_utils.py
xendit/models/__init__.py
xendit/payment_request/__init__.py
xendit/payment_request/model/__init__.py
xendit/payment_request/model/capture.py
xendit/payment_request/model/capture_list.py
xendit/payment_request/model/capture_list_response.py
xendit/payment_request/model/capture_parameters.py
xendit/payment_request/model/card.py
xendit/payment_request/model/card_channel_properties.py
xendit/payment_request/model/card_information.py
xendit/payment_request/model/card_verification_results.py
xendit/payment_request/model/card_verification_results_three_d_secure.py
xendit/payment_request/model/direct_debit.py
xendit/payment_request/model/direct_debit_all_of.py
xendit/payment_request/model/direct_debit_bank_account.py
xendit/payment_request/model/direct_debit_channel_code.py
xendit/payment_request/model/direct_debit_channel_properties.py
xendit/payment_request/model/direct_debit_channel_properties_bank_account.py
xendit/payment_request/model/direct_debit_channel_properties_bank_redirect.py
xendit/payment_request/model/direct_debit_channel_properties_debit_card.py
xendit/payment_request/model/direct_debit_debit_card.py
xendit/payment_request/model/direct_debit_parameters.py
xendit/payment_request/model/direct_debit_type.py
xendit/payment_request/model/e_wallet.py
xendit/payment_request/model/e_wallet_account.py
xendit/payment_request/model/e_wallet_all_of.py
xendit/payment_request/model/e_wallet_channel_code.py
xendit/payment_request/model/e_wallet_channel_properties.py
xendit/payment_request/model/e_wallet_parameters.py
xendit/payment_request/model/error.py
xendit/payment_request/model/over_the_counter.py
xendit/payment_request/model/over_the_counter_channel_code.py
xendit/payment_request/model/over_the_counter_channel_properties.py
xendit/payment_request/model/over_the_counter_parameters.py
xendit/payment_request/model/payment_method.py
xendit/payment_request/model/payment_method_parameters.py
xendit/payment_request/model/payment_method_reusability.py
xendit/payment_request/model/payment_method_status.py
xendit/payment_request/model/payment_method_type.py
xendit/payment_request/model/payment_request.py
xendit/payment_request/model/payment_request_action.py
xendit/payment_request/model/payment_request_auth_parameters.py
xendit/payment_request/model/payment_request_basket.py
xendit/payment_request/model/payment_request_basket_item.py
xendit/payment_request/model/payment_request_capture_method.py
xendit/payment_request/model/payment_request_card_verification_results.py
xendit/payment_request/model/payment_request_card_verification_results_three_dee_secure.py
xendit/payment_request/model/payment_request_channel_properties.py
xendit/payment_request/model/payment_request_country.py
xendit/payment_request/model/payment_request_currency.py
xendit/payment_request/model/payment_request_initiator.py
xendit/payment_request/model/payment_request_list_response.py
xendit/payment_request/model/payment_request_parameters.py
xendit/payment_request/model/payment_request_parameters_channel_properties.py
xendit/payment_request/model/payment_request_parameters_channel_properties_all_of.py
xendit/payment_request/model/payment_request_shipping_information.py
xendit/payment_request/model/payment_request_status.py
xendit/payment_request/model/qr_code.py
xendit/payment_request/model/qr_code_channel_code.py
xendit/payment_request/model/qr_code_channel_properties.py
xendit/payment_request/model/qr_code_parameters.py
xendit/payment_request/model/virtual_account.py
xendit/payment_request/model/virtual_account_all_of.py
xendit/payment_request/model/virtual_account_alternative_display.py
xendit/payment_request/model/virtual_account_channel_code.py
xendit/payment_request/model/virtual_account_channel_properties.py
xendit/payment_request/model/virtual_account_parameters.py
xendit/payment_request/payment_request_api.py
xendit/payment_method/__init__.py
xendit/payment_method/model/__init__.py
xendit/payment_method/model/billing_information.py
xendit/payment_method/model/card.py
xendit/payment_method/model/card_channel_properties.py
xendit/payment_method/model/card_parameters.py
xendit/payment_method/model/card_parameters_card_information.py
xendit/payment_method/model/card_verification_results.py
xendit/payment_method/model/card_verification_results_three_d_secure.py
xendit/payment_method/model/channel_amount_limits.py
xendit/payment_method/model/channel_amount_limits_all_of.py
xendit/payment_method/model/channel_property.py
xendit/payment_method/model/channel_property_all_of.py
xendit/payment_method/model/create_payment_method409_response.py
xendit/payment_method/model/create_payment_method503_response.py
xendit/payment_method/model/direct_debit.py
xendit/payment_method/model/direct_debit_all_of.py
xendit/payment_method/model/direct_debit_bank_account.py
xendit/payment_method/model/direct_debit_channel_code.py
xendit/payment_method/model/direct_debit_channel_properties.py
xendit/payment_method/model/direct_debit_debit_card.py
xendit/payment_method/model/direct_debit_parameters.py
xendit/payment_method/model/direct_debit_type.py
xendit/payment_method/model/e_wallet.py
xendit/payment_method/model/e_wallet_account.py
xendit/payment_method/model/e_wallet_channel_code.py
xendit/payment_method/model/e_wallet_channel_properties.py
xendit/payment_method/model/e_wallet_parameters.py
xendit/payment_method/model/get_all_payment_methods400_response.py
xendit/payment_method/model/get_all_payment_methods403_response.py
xendit/payment_method/model/get_all_payment_methods404_response.py
xendit/payment_method/model/get_all_payment_methods_default_response.py
xendit/payment_method/model/over_the_counter.py
xendit/payment_method/model/over_the_counter_channel_code.py
xendit/payment_method/model/over_the_counter_channel_properties.py
xendit/payment_method/model/over_the_counter_channel_properties_update.py
xendit/payment_method/model/over_the_counter_parameters.py
xendit/payment_method/model/over_the_counter_update_parameters.py
xendit/payment_method/model/payment_channel.py
xendit/payment_method/model/payment_channel_all_of.py
xendit/payment_method/model/payment_channel_list.py
xendit/payment_method/model/payment_channel_list_links_inner.py
xendit/payment_method/model/payment_channel_list_links_inner_all_of.py
xendit/payment_method/model/payment_method.py
xendit/payment_method/model/payment_method_action.py
xendit/payment_method/model/payment_method_auth_parameters.py
xendit/payment_method/model/payment_method_country.py
xendit/payment_method/model/payment_method_expire_parameters.py
xendit/payment_method/model/payment_method_list.py
xendit/payment_method/model/payment_method_parameters.py
xendit/payment_method/model/payment_method_reusability.py
xendit/payment_method/model/payment_method_status.py
xendit/payment_method/model/payment_method_type.py
xendit/payment_method/model/payment_method_update_parameters.py
xendit/payment_method/model/qr_code.py
xendit/payment_method/model/qr_code_channel_code.py
xendit/payment_method/model/qr_code_channel_properties.py
xendit/payment_method/model/qr_code_parameters.py
xendit/payment_method/model/simulate_payment_request.py
xendit/payment_method/model/tokenized_card_information.py
xendit/payment_method/model/virtual_account.py
xendit/payment_method/model/virtual_account_all_of.py
xendit/payment_method/model/virtual_account_alternative_display.py
xendit/payment_method/model/virtual_account_channel_code.py
xendit/payment_method/model/virtual_account_channel_properties.py
xendit/payment_method/model/virtual_account_channel_properties_patch.py
xendit/payment_method/model/virtual_account_parameters.py
xendit/payment_method/model/virtual_account_update_parameters.py
xendit/payment_method/payment_method_api.py
xendit/rest.py
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The official Xendit Python SDK provides a simple and convenient way to call Xendit's REST API
in applications written in Python.

* Package version: 3.1.0
* Package version: 3.2.0

## Requirements.

Expand Down Expand Up @@ -58,7 +58,7 @@ client = xendit.ApiClient()
try:
response = BalancesApi(client).get_balance('CASH')
pprint(response)
except xendit.ApiException as e:
except xendit.XenditSdkException as e:
print("Exception when calling BalancesApi->get_balance: %s\n" % e)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/BalanceApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ try:
# Retrieves balances for a business, default to CASH type
api_response = api_instance.get_balance(account_type=account_type, currency=currency, for_user_id=for_user_id)
pprint(api_response)
except xendit.ApiException as e:
except xendit.XenditSdkException as e:
print("Exception when calling BalanceApi->get_balance: %s\n" % e)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/BankCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Representing the available bank channels used for invoice-related transactions.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | Representing the available bank channels used for invoice-related transactions. | must be one of ["BCA", "BNI", "BRI", "MANDIRI", "PERMATA", "BSI", "BJB", ]
**value** | **str** | Representing the available bank channels used for invoice-related transactions. | must be one of ["BCA", "BNI", "BRI", "MANDIRI", "PERMATA", "BSI", "BJB", "SAHABAT_SAMPOERNA", "CIMB", "BNC", ]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit 42b0295

Please sign in to comment.