Skip to content

Commit 4e6258b

Browse files
committed
1 parent 0f00ae8 commit 4e6258b

File tree

103 files changed

+1471
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1471
-172
lines changed

.github/workflows/python.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ name: urlr Python package
77

88
on: [push, pull_request]
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
build:
1215

1316
runs-on: ubuntu-latest
1417
strategy:
1518
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1720

1821
steps:
1922
- uses: actions/checkout@v4

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=urlr
1616

17-
pytest-3.8:
18-
extends: .pytest
19-
image: python:3.8-alpine
2017
pytest-3.9:
2118
extends: .pytest
2219
image: python:3.9-alpine
@@ -29,3 +26,6 @@ pytest-3.11:
2926
pytest-3.12:
3027
extends: .pytest
3128
image: python:3.12-alpine
29+
pytest-3.13:
30+
extends: .pytest
31+
image: python:3.13-alpine

.openapi-generator/FILES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ docs/AccessTokensApi.md
66
docs/CreateAccessToken200Response.md
77
docs/CreateAccessToken401Response.md
88
docs/CreateAccessTokenRequest.md
9+
docs/CreateDomain200Response.md
10+
docs/CreateDomain409Response.md
11+
docs/CreateDomainRequest.md
912
docs/CreateLink429Response.md
1013
docs/CreateLink500Response.md
1114
docs/CreateLinkRequest.md
@@ -14,11 +17,13 @@ docs/CreateLinkRequestQrcode.md
1417
docs/CreateQrCodeRequest.md
1518
docs/CreateQrCodeRequestOneOf.md
1619
docs/CreateQrCodeRequestOneOf1.md
20+
docs/DomainsApi.md
1721
docs/FoldersApi.md
1822
docs/GetFolders200Response.md
1923
docs/GetFolders200ResponseFoldersInner.md
2024
docs/GetLink200Response.md
2125
docs/GetLink200ResponseGeolinksInner.md
26+
docs/GetLink200ResponseGeolinksInnerConditionsInner.md
2227
docs/GetLink200ResponseMetatag.md
2328
docs/GetLink200ResponseQrcode.md
2429
docs/GetLink200ResponseTagsInner.md
@@ -46,6 +51,9 @@ test/test_access_tokens_api.py
4651
test/test_create_access_token200_response.py
4752
test/test_create_access_token401_response.py
4853
test/test_create_access_token_request.py
54+
test/test_create_domain200_response.py
55+
test/test_create_domain409_response.py
56+
test/test_create_domain_request.py
4957
test/test_create_link429_response.py
5058
test/test_create_link500_response.py
5159
test/test_create_link_request.py
@@ -54,11 +62,13 @@ test/test_create_link_request_qrcode.py
5462
test/test_create_qr_code_request.py
5563
test/test_create_qr_code_request_one_of.py
5664
test/test_create_qr_code_request_one_of1.py
65+
test/test_domains_api.py
5766
test/test_folders_api.py
5867
test/test_get_folders200_response.py
5968
test/test_get_folders200_response_folders_inner.py
6069
test/test_get_link200_response.py
6170
test/test_get_link200_response_geolinks_inner.py
71+
test/test_get_link200_response_geolinks_inner_conditions_inner.py
6272
test/test_get_link200_response_metatag.py
6373
test/test_get_link200_response_qrcode.py
6474
test/test_get_link200_response_tags_inner.py
@@ -80,6 +90,7 @@ tox.ini
8090
urlr/__init__.py
8191
urlr/api/__init__.py
8292
urlr/api/access_tokens_api.py
93+
urlr/api/domains_api.py
8394
urlr/api/folders_api.py
8495
urlr/api/links_api.py
8596
urlr/api/qr_codes_api.py
@@ -93,6 +104,9 @@ urlr/models/__init__.py
93104
urlr/models/create_access_token200_response.py
94105
urlr/models/create_access_token401_response.py
95106
urlr/models/create_access_token_request.py
107+
urlr/models/create_domain200_response.py
108+
urlr/models/create_domain409_response.py
109+
urlr/models/create_domain_request.py
96110
urlr/models/create_link429_response.py
97111
urlr/models/create_link500_response.py
98112
urlr/models/create_link_request.py
@@ -105,6 +119,7 @@ urlr/models/get_folders200_response.py
105119
urlr/models/get_folders200_response_folders_inner.py
106120
urlr/models/get_link200_response.py
107121
urlr/models/get_link200_response_geolinks_inner.py
122+
urlr/models/get_link200_response_geolinks_inner_conditions_inner.py
108123
urlr/models/get_link200_response_metatag.py
109124
urlr/models/get_link200_response_qrcode.py
110125
urlr/models/get_link200_response_tags_inner.py

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.12.0
1+
7.14.0

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [2.9.0] - 2025-06-30
4+
5+
- Updated URLR API version to 1.9
6+
- Updated to OpenAPI Generator 7.14.0
7+
38
## [2.8.1] - 2025-04-07
49

510
- Fix missing property.

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.8.1
1+
# urlr@2.9.0
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

7-
- API version: 1.7
8-
- Package version: 2.8.1
7+
- API version: 1.9
8+
- Package version: 2.9.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)
@@ -14,7 +14,7 @@ For more information, please visit [https://urlr.me/en](https://urlr.me/en)
1414

1515
## Requirements
1616

17-
Python 3.8+
17+
Python 3.9+
1818

1919
### pip install
2020

@@ -95,6 +95,7 @@ Class | Method | HTTP request | Description
9595
------------ | ------------- | ------------- | -------------
9696
*AccessTokensApi* | [**create_access_token**](docs/AccessTokensApi.md#create_access_token) | **POST** /access_tokens/create | Get an access token
9797
*AccessTokensApi* | [**refresh_access_token**](docs/AccessTokensApi.md#refresh_access_token) | **POST** /access_tokens/refresh | Refresh an access token
98+
*DomainsApi* | [**create_domain**](docs/DomainsApi.md#create_domain) | **POST** /domains/create | Create a domain
9899
*FoldersApi* | [**get_folders**](docs/FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of team
99100
*LinksApi* | [**create_link**](docs/LinksApi.md#create_link) | **POST** /links/create | Create a link
100101
*LinksApi* | [**get_link**](docs/LinksApi.md#get_link) | **GET** /links/{link_id} | Get a link
@@ -108,6 +109,9 @@ Class | Method | HTTP request | Description
108109
- [CreateAccessToken200Response](docs/CreateAccessToken200Response.md)
109110
- [CreateAccessToken401Response](docs/CreateAccessToken401Response.md)
110111
- [CreateAccessTokenRequest](docs/CreateAccessTokenRequest.md)
112+
- [CreateDomain200Response](docs/CreateDomain200Response.md)
113+
- [CreateDomain409Response](docs/CreateDomain409Response.md)
114+
- [CreateDomainRequest](docs/CreateDomainRequest.md)
111115
- [CreateLink429Response](docs/CreateLink429Response.md)
112116
- [CreateLink500Response](docs/CreateLink500Response.md)
113117
- [CreateLinkRequest](docs/CreateLinkRequest.md)
@@ -120,6 +124,7 @@ Class | Method | HTTP request | Description
120124
- [GetFolders200ResponseFoldersInner](docs/GetFolders200ResponseFoldersInner.md)
121125
- [GetLink200Response](docs/GetLink200Response.md)
122126
- [GetLink200ResponseGeolinksInner](docs/GetLink200ResponseGeolinksInner.md)
127+
- [GetLink200ResponseGeolinksInnerConditionsInner](docs/GetLink200ResponseGeolinksInnerConditionsInner.md)
123128
- [GetLink200ResponseMetatag](docs/GetLink200ResponseMetatag.md)
124129
- [GetLink200ResponseQrcode](docs/GetLink200ResponseQrcode.md)
125130
- [GetLink200ResponseTagsInner](docs/GetLink200ResponseTagsInner.md)

docs/CreateDomain200Response.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CreateDomain200Response
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**domain** | **str** | Domain | [optional]
9+
**root_url** | **str** | Redirect URL for the root of the domain | [optional]
10+
11+
## Example
12+
13+
```python
14+
from urlr.models.create_domain200_response import CreateDomain200Response
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CreateDomain200Response from a JSON string
19+
create_domain200_response_instance = CreateDomain200Response.from_json(json)
20+
# print the JSON string representation of the object
21+
print(CreateDomain200Response.to_json())
22+
23+
# convert the object into a dict
24+
create_domain200_response_dict = create_domain200_response_instance.to_dict()
25+
# create an instance of CreateDomain200Response from a dict
26+
create_domain200_response_from_dict = CreateDomain200Response.from_dict(create_domain200_response_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/CreateDomain409Response.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# CreateDomain409Response
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**type** | **str** | | [optional]
9+
**title** | **str** | | [optional]
10+
**status** | **int** | | [optional]
11+
**detail** | **str** | | [optional]
12+
13+
## Example
14+
15+
```python
16+
from urlr.models.create_domain409_response import CreateDomain409Response
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of CreateDomain409Response from a JSON string
21+
create_domain409_response_instance = CreateDomain409Response.from_json(json)
22+
# print the JSON string representation of the object
23+
print(CreateDomain409Response.to_json())
24+
25+
# convert the object into a dict
26+
create_domain409_response_dict = create_domain409_response_instance.to_dict()
27+
# create an instance of CreateDomain409Response from a dict
28+
create_domain409_response_from_dict = CreateDomain409Response.from_dict(create_domain409_response_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/CreateDomainRequest.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CreateDomainRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**team_id** | **str** | Team API ID |
9+
**domain** | **str** | Domain |
10+
**root_url** | **str** | Redirect URL for the root of the domain | [optional]
11+
12+
## Example
13+
14+
```python
15+
from urlr.models.create_domain_request import CreateDomainRequest
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of CreateDomainRequest from a JSON string
20+
create_domain_request_instance = CreateDomainRequest.from_json(json)
21+
# print the JSON string representation of the object
22+
print(CreateDomainRequest.to_json())
23+
24+
# convert the object into a dict
25+
create_domain_request_dict = create_domain_request_instance.to_dict()
26+
# create an instance of CreateDomainRequest from a dict
27+
create_domain_request_from_dict = CreateDomainRequest.from_dict(create_domain_request_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/CreateLinkRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**qrcode** | [**CreateLinkRequestQrcode**](CreateLinkRequestQrcode.md) | | [optional]
1717
**utm** | [**GetLink200ResponseUtm**](GetLink200ResponseUtm.md) | | [optional]
1818
**metatag** | [**CreateLinkRequestMetatag**](CreateLinkRequestMetatag.md) | | [optional]
19+
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Dynamic routing conditions | [optional]
1920
**delete_at** | **datetime** | Scheduled deletion date | [optional]
2021
**expired_at** | **datetime** | Scheduled expiration date | [optional]
2122
**expired_url** | **str** | Expiration URL | [optional]

0 commit comments

Comments
 (0)