diff --git a/.konfig/changesets/fancy-kiwis-flow.md b/.konfig/changesets/fancy-kiwis-flow.md deleted file mode 100644 index 0b6cb74..0000000 --- a/.konfig/changesets/fancy-kiwis-flow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -python: major -typescript: minor ---- - -regenerate sdks diff --git a/README.md b/README.md index 60f5bc3..45e2844 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,5 @@ |Language|Version|Package Manager|README|Source| |-|-|-|-|-| -|Python|1.0.1|[PyPI](https://pypi.org/project/leap-workflows-python-sdk/1.0.1)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python)| -|TypeScript|1.0.1|[npm](https://www.npmjs.com/package/@leap-ai/workflows/v/1.0.1)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript)| \ No newline at end of file +|Python|2.0.0|[PyPI](https://pypi.org/project/leap-workflows-python-sdk/2.0.0)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python)| +|TypeScript|1.1.0|[npm](https://www.npmjs.com/package/@leap-ai/workflows/v/1.1.0)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript)| \ No newline at end of file diff --git a/konfig.yaml b/konfig.yaml index c7ba8f1..e0f98fb 100644 --- a/konfig.yaml +++ b/konfig.yaml @@ -10,7 +10,7 @@ readmeHeader: url: https://www.tryleap.ai/ portal: favicon: favicon.jpg - primaryColor: "#008ae6" + primaryColor: '#008ae6' title: Leap logo: light: LightMode-BlackLogo.png @@ -28,7 +28,7 @@ portal: website: https://tryleap.ai/ generators: python: - version: 1.0.1 + version: 2.0.0 packageName: leap_workflows projectName: leap-workflows-python-sdk outputDirectory: sdks/python @@ -38,8 +38,8 @@ generators: userId: leap-ai repoId: workflows-sdks/tree/main/sdks/python typescript: - version: 1.0.1 - npmName: "@leap-ai/workflows" + version: 1.1.0 + npmName: '@leap-ai/workflows' outputDirectory: sdks/typescript clientName: Leap git: diff --git a/sdks/python/.konfig/generate-id.txt b/sdks/python/.konfig/generate-id.txt index 2cd7b8c..04ac590 100644 --- a/sdks/python/.konfig/generate-id.txt +++ b/sdks/python/.konfig/generate-id.txt @@ -1 +1 @@ -4f71f80b-914e-45bb-9c44-75bad0032568 \ No newline at end of file +8acc65ed-7bd7-443e-adcd-5c5c6a9d264b \ No newline at end of file diff --git a/sdks/python/README.md b/sdks/python/README.md index 7456cfa..0b84d96 100644 --- a/sdks/python/README.md +++ b/sdks/python/README.md @@ -7,7 +7,7 @@ The Leap Workflows API allows developers to run workflows, fetch workflow runs, and provide other utility functions related to workflow runs. Please use the X-Api-Key for authenticated requests. -[![PyPI](https://img.shields.io/badge/PyPI-v1.0.1-blue)](https://pypi.org/project/leap-workflows-python-sdk/1.0.1) +[![PyPI](https://img.shields.io/badge/PyPI-v2.0.0-blue)](https://pypi.org/project/leap-workflows-python-sdk/2.0.0) [![README.md](https://img.shields.io/badge/README-Click%20Here-green)](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme) [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://tryleap.ai/) @@ -35,7 +35,7 @@ Python >=3.7 ## Installation ```sh -pip install leap-workflows-python-sdk==1.0.1 +pip install leap-workflows-python-sdk==2.0.0 ``` ## Getting Started diff --git a/sdks/python/leap_workflows/__init__.py b/sdks/python/leap_workflows/__init__.py index 90e8766..5951a1f 100644 --- a/sdks/python/leap_workflows/__init__.py +++ b/sdks/python/leap_workflows/__init__.py @@ -12,7 +12,7 @@ Created by: https://tryleap.ai/ """ -__version__ = "1.0.1" +__version__ = "2.0.0" # import ApiClient from leap_workflows.api_client import ApiClient diff --git a/sdks/python/leap_workflows/api_client.py b/sdks/python/leap_workflows/api_client.py index 3e0a550..1bfeb82 100644 --- a/sdks/python/leap_workflows/api_client.py +++ b/sdks/python/leap_workflows/api_client.py @@ -1238,7 +1238,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Konfig/1.0.1/python' + self.user_agent = 'Konfig/2.0.0/python' def __enter__(self): return self diff --git a/sdks/python/leap_workflows/configuration.py b/sdks/python/leap_workflows/configuration.py index f44797a..a64a0e9 100644 --- a/sdks/python/leap_workflows/configuration.py +++ b/sdks/python/leap_workflows/configuration.py @@ -406,7 +406,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0\n"\ - "SDK Package Version: 1.0.1".\ + "SDK Package Version: 2.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdks/python/pyproject.toml b/sdks/python/pyproject.toml index e208042..9d65251 100644 --- a/sdks/python/pyproject.toml +++ b/sdks/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "leap-workflows-python-sdk" -version = "1.0.1" +version = "2.0.0" description = "Client for Leap Workflows API" authors = ["Leap Support "] license = "MIT" diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 5282d7c..46157d9 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "leap-workflows-python-sdk" -VERSION = "1.0.1" +VERSION = "2.0.0" # To install the library, run the following # # python setup.py install diff --git a/sdks/typescript/.konfig/generate-id.txt b/sdks/typescript/.konfig/generate-id.txt index 2cd7b8c..04ac590 100644 --- a/sdks/typescript/.konfig/generate-id.txt +++ b/sdks/typescript/.konfig/generate-id.txt @@ -1 +1 @@ -4f71f80b-914e-45bb-9c44-75bad0032568 \ No newline at end of file +8acc65ed-7bd7-443e-adcd-5c5c6a9d264b \ No newline at end of file diff --git a/sdks/typescript/README.md b/sdks/typescript/README.md index 41c73a6..772788a 100644 --- a/sdks/typescript/README.md +++ b/sdks/typescript/README.md @@ -6,7 +6,7 @@ The Leap Workflows API allows developers to run workflows, fetch workflow runs, and provide other utility functions related to workflow runs. Please use the X-Api-Key for authenticated requests. -[![npm](https://img.shields.io/badge/npm-v1.0.1-blue)](https://www.npmjs.com/package/@leap-ai/workflows/v/1.0.1) +[![npm](https://img.shields.io/badge/npm-v1.1.0-blue)](https://www.npmjs.com/package/@leap-ai/workflows/v/1.1.0) [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://tryleap.ai/) diff --git a/sdks/typescript/configuration.ts b/sdks/typescript/configuration.ts index cf5973f..75ecbad 100644 --- a/sdks/typescript/configuration.ts +++ b/sdks/typescript/configuration.ts @@ -101,7 +101,7 @@ export class Configuration { this.accessToken = param.accessToken; this.basePath = param.basePath; this.baseOptions = param.baseOptions ?? {}; - this.userAgent = param.userAgent === undefined ? "Konfig/1.0.1/typescript" : param.userAgent; + this.userAgent = param.userAgent === undefined ? "Konfig/1.1.0/typescript" : param.userAgent; this.formDataCtor = param.formDataCtor; } diff --git a/sdks/typescript/package.json b/sdks/typescript/package.json index 14f627e..b8fc45b 100644 --- a/sdks/typescript/package.json +++ b/sdks/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@leap-ai/workflows", - "version": "1.0.1", + "version": "1.1.0", "description": "Client for Leap Workflows API", "author": "Konfig", "engines": {