Skip to content

Commit 80b10c6

Browse files
committed
1 parent f656a03 commit 80b10c6

27 files changed

+239
-229
lines changed

.openapi-generator/FILES

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,23 @@
33
.gitlab-ci.yml
44
README.md
55
docs/AccessTokensApi.md
6+
docs/BaseLinkRequest.md
7+
docs/BaseLinkRequestMetatag.md
8+
docs/BaseLinkRequestQrcode.md
69
docs/CreateAccessToken200Response.md
710
docs/CreateAccessToken401Response.md
811
docs/CreateAccessTokenRequest.md
912
docs/CreateDomain200Response.md
1013
docs/CreateDomain409Response.md
1114
docs/CreateDomainRequest.md
1215
docs/CreateLink429Response.md
16+
docs/CreateLinkRequest.md
1317
docs/CreateQrCodeRequest.md
1418
docs/CreateQrCodeRequestOneOf.md
1519
docs/CreateQrCodeRequestOneOf1.md
1620
docs/DomainsApi.md
1721
docs/EditLink500Response.md
22+
docs/EditLinkRequest.md
1823
docs/FoldersApi.md
1924
docs/GetFolders200Response.md
2025
docs/GetFolders200ResponseFoldersInner.md
@@ -32,11 +37,6 @@ docs/GetStatistics200Response.md
3237
docs/GetStatisticsRequest.md
3338
docs/GetTeams200Response.md
3439
docs/GetTeams200ResponseTeamsInner.md
35-
docs/LinkBaseRequest.md
36-
docs/LinkBaseRequestMetatag.md
37-
docs/LinkBaseRequestQrcode.md
38-
docs/LinkCreateRequest.md
39-
docs/LinkEditRequest.md
4040
docs/LinksApi.md
4141
docs/QRCodesApi.md
4242
docs/RefreshAccessToken401Response.md
@@ -50,18 +50,23 @@ setup.py
5050
test-requirements.txt
5151
test/__init__.py
5252
test/test_access_tokens_api.py
53+
test/test_base_link_request.py
54+
test/test_base_link_request_metatag.py
55+
test/test_base_link_request_qrcode.py
5356
test/test_create_access_token200_response.py
5457
test/test_create_access_token401_response.py
5558
test/test_create_access_token_request.py
5659
test/test_create_domain200_response.py
5760
test/test_create_domain409_response.py
5861
test/test_create_domain_request.py
5962
test/test_create_link429_response.py
63+
test/test_create_link_request.py
6064
test/test_create_qr_code_request.py
6165
test/test_create_qr_code_request_one_of.py
6266
test/test_create_qr_code_request_one_of1.py
6367
test/test_domains_api.py
6468
test/test_edit_link500_response.py
69+
test/test_edit_link_request.py
6570
test/test_folders_api.py
6671
test/test_get_folders200_response.py
6772
test/test_get_folders200_response_folders_inner.py
@@ -79,11 +84,6 @@ test/test_get_statistics200_response.py
7984
test/test_get_statistics_request.py
8085
test/test_get_teams200_response.py
8186
test/test_get_teams200_response_teams_inner.py
82-
test/test_link_base_request.py
83-
test/test_link_base_request_metatag.py
84-
test/test_link_base_request_qrcode.py
85-
test/test_link_create_request.py
86-
test/test_link_edit_request.py
8787
test/test_links_api.py
8888
test/test_qr_codes_api.py
8989
test/test_refresh_access_token401_response.py
@@ -105,17 +105,22 @@ urlr/api_response.py
105105
urlr/configuration.py
106106
urlr/exceptions.py
107107
urlr/models/__init__.py
108+
urlr/models/base_link_request.py
109+
urlr/models/base_link_request_metatag.py
110+
urlr/models/base_link_request_qrcode.py
108111
urlr/models/create_access_token200_response.py
109112
urlr/models/create_access_token401_response.py
110113
urlr/models/create_access_token_request.py
111114
urlr/models/create_domain200_response.py
112115
urlr/models/create_domain409_response.py
113116
urlr/models/create_domain_request.py
114117
urlr/models/create_link429_response.py
118+
urlr/models/create_link_request.py
115119
urlr/models/create_qr_code_request.py
116120
urlr/models/create_qr_code_request_one_of.py
117121
urlr/models/create_qr_code_request_one_of1.py
118122
urlr/models/edit_link500_response.py
123+
urlr/models/edit_link_request.py
119124
urlr/models/get_folders200_response.py
120125
urlr/models/get_folders200_response_folders_inner.py
121126
urlr/models/get_link200_response.py
@@ -132,11 +137,6 @@ urlr/models/get_statistics200_response.py
132137
urlr/models/get_statistics_request.py
133138
urlr/models/get_teams200_response.py
134139
urlr/models/get_teams200_response_teams_inner.py
135-
urlr/models/link_base_request.py
136-
urlr/models/link_base_request_metatag.py
137-
urlr/models/link_base_request_qrcode.py
138-
urlr/models/link_create_request.py
139-
urlr/models/link_edit_request.py
140140
urlr/models/refresh_access_token401_response.py
141141
urlr/models/refresh_access_token_request.py
142142
urlr/py.typed

CHANGELOG.md

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

3+
## [2.11.0] - 2025-08-07
4+
5+
### Changed
6+
- Fixed method names and updated documentation for clarity and consistency.
7+
8+
### ⚠️ Breaking Change
9+
- **`linkCreateRequest` renamed to `createLinkRequest`**
10+
This change restores the intended naming convention and corrects an **unintended renaming introduced in version 2.10.0**.
11+
If you were using `linkCreateRequest`, please update your code to use `createLinkRequest`.
12+
313
## [2.10.0] - 2025-07-23
414

515
- Updated URLR API version to 1.10

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.10.3
1+
# urlr@2.11.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

77
- API version: 1.10
8-
- Package version: 2.10.3
8+
- Package version: 2.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)
@@ -107,17 +107,22 @@ Class | Method | HTTP request | Description
107107

108108
## Models
109109

110+
- [BaseLinkRequest](docs/BaseLinkRequest.md)
111+
- [BaseLinkRequestMetatag](docs/BaseLinkRequestMetatag.md)
112+
- [BaseLinkRequestQrcode](docs/BaseLinkRequestQrcode.md)
110113
- [CreateAccessToken200Response](docs/CreateAccessToken200Response.md)
111114
- [CreateAccessToken401Response](docs/CreateAccessToken401Response.md)
112115
- [CreateAccessTokenRequest](docs/CreateAccessTokenRequest.md)
113116
- [CreateDomain200Response](docs/CreateDomain200Response.md)
114117
- [CreateDomain409Response](docs/CreateDomain409Response.md)
115118
- [CreateDomainRequest](docs/CreateDomainRequest.md)
116119
- [CreateLink429Response](docs/CreateLink429Response.md)
120+
- [CreateLinkRequest](docs/CreateLinkRequest.md)
117121
- [CreateQrCodeRequest](docs/CreateQrCodeRequest.md)
118122
- [CreateQrCodeRequestOneOf](docs/CreateQrCodeRequestOneOf.md)
119123
- [CreateQrCodeRequestOneOf1](docs/CreateQrCodeRequestOneOf1.md)
120124
- [EditLink500Response](docs/EditLink500Response.md)
125+
- [EditLinkRequest](docs/EditLinkRequest.md)
121126
- [GetFolders200Response](docs/GetFolders200Response.md)
122127
- [GetFolders200ResponseFoldersInner](docs/GetFolders200ResponseFoldersInner.md)
123128
- [GetLink200Response](docs/GetLink200Response.md)
@@ -134,11 +139,6 @@ Class | Method | HTTP request | Description
134139
- [GetStatisticsRequest](docs/GetStatisticsRequest.md)
135140
- [GetTeams200Response](docs/GetTeams200Response.md)
136141
- [GetTeams200ResponseTeamsInner](docs/GetTeams200ResponseTeamsInner.md)
137-
- [LinkBaseRequest](docs/LinkBaseRequest.md)
138-
- [LinkBaseRequestMetatag](docs/LinkBaseRequestMetatag.md)
139-
- [LinkBaseRequestQrcode](docs/LinkBaseRequestQrcode.md)
140-
- [LinkCreateRequest](docs/LinkCreateRequest.md)
141-
- [LinkEditRequest](docs/LinkEditRequest.md)
142142
- [RefreshAccessToken401Response](docs/RefreshAccessToken401Response.md)
143143
- [RefreshAccessTokenRequest](docs/RefreshAccessTokenRequest.md)
144144

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinkBaseRequest
1+
# BaseLinkRequest
22

33

44
## Properties
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
1212
**label** | **str** | Label | [optional]
1313
**tags** | **List[str]** | Tags | [optional]
1414
**password** | **str** | Password | [optional]
15-
**qrcode** | [**LinkBaseRequestQrcode**](LinkBaseRequestQrcode.md) | | [optional]
15+
**qrcode** | [**BaseLinkRequestQrcode**](BaseLinkRequestQrcode.md) | | [optional]
1616
**utm** | [**GetLink200ResponseUtm**](GetLink200ResponseUtm.md) | | [optional]
17-
**metatag** | [**LinkBaseRequestMetatag**](LinkBaseRequestMetatag.md) | | [optional]
17+
**metatag** | [**BaseLinkRequestMetatag**](BaseLinkRequestMetatag.md) | | [optional]
1818
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Dynamic routing conditions | [optional]
1919
**delete_at** | **datetime** | Scheduled deletion date | [optional]
2020
**expired_at** | **datetime** | Scheduled expiration date | [optional]
@@ -24,19 +24,19 @@ Name | Type | Description | Notes
2424
## Example
2525

2626
```python
27-
from urlr.models.link_base_request import LinkBaseRequest
27+
from urlr.models.base_link_request import BaseLinkRequest
2828

2929
# TODO update the JSON string below
3030
json = "{}"
31-
# create an instance of LinkBaseRequest from a JSON string
32-
link_base_request_instance = LinkBaseRequest.from_json(json)
31+
# create an instance of BaseLinkRequest from a JSON string
32+
base_link_request_instance = BaseLinkRequest.from_json(json)
3333
# print the JSON string representation of the object
34-
print(LinkBaseRequest.to_json())
34+
print(BaseLinkRequest.to_json())
3535

3636
# convert the object into a dict
37-
link_base_request_dict = link_base_request_instance.to_dict()
38-
# create an instance of LinkBaseRequest from a dict
39-
link_base_request_from_dict = LinkBaseRequest.from_dict(link_base_request_dict)
37+
base_link_request_dict = base_link_request_instance.to_dict()
38+
# create an instance of BaseLinkRequest from a dict
39+
base_link_request_from_dict = BaseLinkRequest.from_dict(base_link_request_dict)
4040
```
4141
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4242

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinkBaseRequestMetatag
1+
# BaseLinkRequestMetatag
22

33
Custom metadata for social previews
44

@@ -13,19 +13,19 @@ Name | Type | Description | Notes
1313
## Example
1414

1515
```python
16-
from urlr.models.link_base_request_metatag import LinkBaseRequestMetatag
16+
from urlr.models.base_link_request_metatag import BaseLinkRequestMetatag
1717

1818
# TODO update the JSON string below
1919
json = "{}"
20-
# create an instance of LinkBaseRequestMetatag from a JSON string
21-
link_base_request_metatag_instance = LinkBaseRequestMetatag.from_json(json)
20+
# create an instance of BaseLinkRequestMetatag from a JSON string
21+
base_link_request_metatag_instance = BaseLinkRequestMetatag.from_json(json)
2222
# print the JSON string representation of the object
23-
print(LinkBaseRequestMetatag.to_json())
23+
print(BaseLinkRequestMetatag.to_json())
2424

2525
# convert the object into a dict
26-
link_base_request_metatag_dict = link_base_request_metatag_instance.to_dict()
27-
# create an instance of LinkBaseRequestMetatag from a dict
28-
link_base_request_metatag_from_dict = LinkBaseRequestMetatag.from_dict(link_base_request_metatag_dict)
26+
base_link_request_metatag_dict = base_link_request_metatag_instance.to_dict()
27+
# create an instance of BaseLinkRequestMetatag from a dict
28+
base_link_request_metatag_from_dict = BaseLinkRequestMetatag.from_dict(base_link_request_metatag_dict)
2929
```
3030
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3131

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinkBaseRequestQrcode
1+
# BaseLinkRequestQrcode
22

33
QR Code
44

@@ -15,19 +15,19 @@ Name | Type | Description | Notes
1515
## Example
1616

1717
```python
18-
from urlr.models.link_base_request_qrcode import LinkBaseRequestQrcode
18+
from urlr.models.base_link_request_qrcode import BaseLinkRequestQrcode
1919

2020
# TODO update the JSON string below
2121
json = "{}"
22-
# create an instance of LinkBaseRequestQrcode from a JSON string
23-
link_base_request_qrcode_instance = LinkBaseRequestQrcode.from_json(json)
22+
# create an instance of BaseLinkRequestQrcode from a JSON string
23+
base_link_request_qrcode_instance = BaseLinkRequestQrcode.from_json(json)
2424
# print the JSON string representation of the object
25-
print(LinkBaseRequestQrcode.to_json())
25+
print(BaseLinkRequestQrcode.to_json())
2626

2727
# convert the object into a dict
28-
link_base_request_qrcode_dict = link_base_request_qrcode_instance.to_dict()
29-
# create an instance of LinkBaseRequestQrcode from a dict
30-
link_base_request_qrcode_from_dict = LinkBaseRequestQrcode.from_dict(link_base_request_qrcode_dict)
28+
base_link_request_qrcode_dict = base_link_request_qrcode_instance.to_dict()
29+
# create an instance of BaseLinkRequestQrcode from a dict
30+
base_link_request_qrcode_from_dict = BaseLinkRequestQrcode.from_dict(base_link_request_qrcode_dict)
3131
```
3232
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3333

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinkCreateRequest
1+
# CreateLinkRequest
22

33

44
## Properties
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
1212
**label** | **str** | Label | [optional]
1313
**tags** | **List[str]** | Tags | [optional]
1414
**password** | **str** | Password | [optional]
15-
**qrcode** | [**LinkBaseRequestQrcode**](LinkBaseRequestQrcode.md) | | [optional]
15+
**qrcode** | [**BaseLinkRequestQrcode**](BaseLinkRequestQrcode.md) | | [optional]
1616
**utm** | [**GetLink200ResponseUtm**](GetLink200ResponseUtm.md) | | [optional]
17-
**metatag** | [**LinkBaseRequestMetatag**](LinkBaseRequestMetatag.md) | | [optional]
17+
**metatag** | [**BaseLinkRequestMetatag**](BaseLinkRequestMetatag.md) | | [optional]
1818
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Dynamic routing conditions | [optional]
1919
**delete_at** | **datetime** | Scheduled deletion date | [optional]
2020
**expired_at** | **datetime** | Scheduled expiration date | [optional]
@@ -25,19 +25,19 @@ Name | Type | Description | Notes
2525
## Example
2626

2727
```python
28-
from urlr.models.link_create_request import LinkCreateRequest
28+
from urlr.models.create_link_request import CreateLinkRequest
2929

3030
# TODO update the JSON string below
3131
json = "{}"
32-
# create an instance of LinkCreateRequest from a JSON string
33-
link_create_request_instance = LinkCreateRequest.from_json(json)
32+
# create an instance of CreateLinkRequest from a JSON string
33+
create_link_request_instance = CreateLinkRequest.from_json(json)
3434
# print the JSON string representation of the object
35-
print(LinkCreateRequest.to_json())
35+
print(CreateLinkRequest.to_json())
3636

3737
# convert the object into a dict
38-
link_create_request_dict = link_create_request_instance.to_dict()
39-
# create an instance of LinkCreateRequest from a dict
40-
link_create_request_from_dict = LinkCreateRequest.from_dict(link_create_request_dict)
38+
create_link_request_dict = create_link_request_instance.to_dict()
39+
# create an instance of CreateLinkRequest from a dict
40+
create_link_request_from_dict = CreateLinkRequest.from_dict(create_link_request_dict)
4141
```
4242
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4343

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LinkEditRequest
1+
# EditLinkRequest
22

33

44
## Properties
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
1212
**label** | **str** | Label | [optional]
1313
**tags** | **List[str]** | Tags | [optional]
1414
**password** | **str** | Password | [optional]
15-
**qrcode** | [**LinkBaseRequestQrcode**](LinkBaseRequestQrcode.md) | | [optional]
15+
**qrcode** | [**BaseLinkRequestQrcode**](BaseLinkRequestQrcode.md) | | [optional]
1616
**utm** | [**GetLink200ResponseUtm**](GetLink200ResponseUtm.md) | | [optional]
17-
**metatag** | [**LinkBaseRequestMetatag**](LinkBaseRequestMetatag.md) | | [optional]
17+
**metatag** | [**BaseLinkRequestMetatag**](BaseLinkRequestMetatag.md) | | [optional]
1818
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Dynamic routing conditions | [optional]
1919
**delete_at** | **datetime** | Scheduled deletion date | [optional]
2020
**expired_at** | **datetime** | Scheduled expiration date | [optional]
@@ -24,19 +24,19 @@ Name | Type | Description | Notes
2424
## Example
2525

2626
```python
27-
from urlr.models.link_edit_request import LinkEditRequest
27+
from urlr.models.edit_link_request import EditLinkRequest
2828

2929
# TODO update the JSON string below
3030
json = "{}"
31-
# create an instance of LinkEditRequest from a JSON string
32-
link_edit_request_instance = LinkEditRequest.from_json(json)
31+
# create an instance of EditLinkRequest from a JSON string
32+
edit_link_request_instance = EditLinkRequest.from_json(json)
3333
# print the JSON string representation of the object
34-
print(LinkEditRequest.to_json())
34+
print(EditLinkRequest.to_json())
3535

3636
# convert the object into a dict
37-
link_edit_request_dict = link_edit_request_instance.to_dict()
38-
# create an instance of LinkEditRequest from a dict
39-
link_edit_request_from_dict = LinkEditRequest.from_dict(link_edit_request_dict)
37+
edit_link_request_dict = edit_link_request_instance.to_dict()
38+
# create an instance of EditLinkRequest from a dict
39+
edit_link_request_from_dict = EditLinkRequest.from_dict(edit_link_request_dict)
4040
```
4141
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4242

0 commit comments

Comments
 (0)