From b9ab6857c0129cc09843a6dff989fadb2d8fbf04 Mon Sep 17 00:00:00 2001 From: xendit-devx-bot Date: Fri, 1 Dec 2023 06:24:44 +0000 Subject: [PATCH] Generated Xendit python SDK --- README.md | 2 +- pyproject.toml | 2 +- setup.py | 2 +- xendit/__init__.py | 2 +- xendit/api_client.py | 4 ++-- xendit/configuration.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a1c60b0..7792092 100644 --- a/README.md +++ b/README.md @@ -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.7.0 +* Package version: 4.0.0 ## Requirements diff --git a/pyproject.toml b/pyproject.toml index 2cf20a9..e35dc6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "xendit-python" -version = "3.7.0" +version = "4.0.0" description = "Xendit REST API Client for Python - Invoice, Payment Request, Payment Method, Refund, Balance, Transaction, Customer, and Payout Services https://xendit.github.io/apireference/" authors = ["DevX Team "] license = "MIT" diff --git a/setup.py b/setup.py index 7e9556a..8d7ac65 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "xendit" -VERSION = "3.7.0" +VERSION = "4.0.0" # To install the library, run the following # # python setup.py install diff --git a/xendit/__init__.py b/xendit/__init__.py index 9111d00..4a99cc6 100644 --- a/xendit/__init__.py +++ b/xendit/__init__.py @@ -5,7 +5,7 @@ """ -__version__ = "3.7.0" +__version__ = "4.0.0" # import ApiClient from xendit.api_client import ApiClient diff --git a/xendit/api_client.py b/xendit/api_client.py index 9956f13..6c7c1a2 100644 --- a/xendit/api_client.py +++ b/xendit/api_client.py @@ -74,11 +74,11 @@ def __init__(self, configuration=None, header_name=None, header_value=None, # XENDIT headers self.default_headers['xendit-lib'] = 'python' - self.default_headers['xendit-lib-ver'] = '3.7.0' + self.default_headers['xendit-lib-ver'] = '4.0.0' self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/3.7.0/python' + self.user_agent = 'OpenAPI-Generator/4.0.0/python' def __enter__(self): return self diff --git a/xendit/configuration.py b/xendit/configuration.py index fe7facf..c667e32 100644 --- a/xendit/configuration.py +++ b/xendit/configuration.py @@ -365,7 +365,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.45.2\n"\ - "SDK Package Version: 3.7.0".\ + "SDK Package Version: 4.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self):