Skip to content

Commit 3313458

Browse files
committed
1 parent 78db8a5 commit 3313458

84 files changed

Lines changed: 1530 additions & 70 deletions

File tree

Some content is hidden

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

.openapi-generator/FILES

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ docs/CreateLink429Response.md
1010
docs/CreateLink500Response.md
1111
docs/CreateLinkRequest.md
1212
docs/CreateLinkRequestMetatag.md
13+
docs/CreateLinkRequestQrcode.md
14+
docs/CreateQrCodeRequest.md
15+
docs/CreateQrCodeRequestOneOf.md
16+
docs/CreateQrCodeRequestOneOf1.md
1317
docs/FoldersApi.md
1418
docs/GetFolders200Response.md
1519
docs/GetFolders200ResponseFoldersInner.md
1620
docs/GetLink200Response.md
1721
docs/GetLink200ResponseGeolinksInner.md
1822
docs/GetLink200ResponseMetatag.md
23+
docs/GetLink200ResponseQrcode.md
1924
docs/GetLink401Response.md
2025
docs/GetLink404Response.md
2126
docs/GetLink422Response.md
@@ -24,6 +29,7 @@ docs/GetStatisticsRequest.md
2429
docs/GetTeams200Response.md
2530
docs/GetTeams200ResponseTeamsInner.md
2631
docs/LinksApi.md
32+
docs/QRCodesApi.md
2733
docs/RefreshAccessToken401Response.md
2834
docs/RefreshAccessTokenRequest.md
2935
docs/StatisticsApi.md
@@ -42,12 +48,17 @@ test/test_create_link429_response.py
4248
test/test_create_link500_response.py
4349
test/test_create_link_request.py
4450
test/test_create_link_request_metatag.py
51+
test/test_create_link_request_qrcode.py
52+
test/test_create_qr_code_request.py
53+
test/test_create_qr_code_request_one_of.py
54+
test/test_create_qr_code_request_one_of1.py
4555
test/test_folders_api.py
4656
test/test_get_folders200_response.py
4757
test/test_get_folders200_response_folders_inner.py
4858
test/test_get_link200_response.py
4959
test/test_get_link200_response_geolinks_inner.py
5060
test/test_get_link200_response_metatag.py
61+
test/test_get_link200_response_qrcode.py
5162
test/test_get_link401_response.py
5263
test/test_get_link404_response.py
5364
test/test_get_link422_response.py
@@ -56,6 +67,7 @@ test/test_get_statistics_request.py
5667
test/test_get_teams200_response.py
5768
test/test_get_teams200_response_teams_inner.py
5869
test/test_links_api.py
70+
test/test_qr_codes_api.py
5971
test/test_refresh_access_token401_response.py
6072
test/test_refresh_access_token_request.py
6173
test/test_statistics_api.py
@@ -66,6 +78,7 @@ urlr/api/__init__.py
6678
urlr/api/access_tokens_api.py
6779
urlr/api/folders_api.py
6880
urlr/api/links_api.py
81+
urlr/api/qr_codes_api.py
6982
urlr/api/statistics_api.py
7083
urlr/api/teams_api.py
7184
urlr/api_client.py
@@ -80,11 +93,16 @@ urlr/models/create_link429_response.py
8093
urlr/models/create_link500_response.py
8194
urlr/models/create_link_request.py
8295
urlr/models/create_link_request_metatag.py
96+
urlr/models/create_link_request_qrcode.py
97+
urlr/models/create_qr_code_request.py
98+
urlr/models/create_qr_code_request_one_of.py
99+
urlr/models/create_qr_code_request_one_of1.py
83100
urlr/models/get_folders200_response.py
84101
urlr/models/get_folders200_response_folders_inner.py
85102
urlr/models/get_link200_response.py
86103
urlr/models/get_link200_response_geolinks_inner.py
87104
urlr/models/get_link200_response_metatag.py
105+
urlr/models/get_link200_response_qrcode.py
88106
urlr/models/get_link401_response.py
89107
urlr/models/get_link404_response.py
90108
urlr/models/get_link422_response.py

CHANGELOG.md

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

3+
## [2.2.0] - 2024-06-16
4+
5+
- Updated URLR API version to 1.2
6+
37
## [2.1.0] - 2024-06-07
48

59
- Updated URLR API version to 1.1

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.1.0
1+
# urlr@2.2.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.1
8-
- Package version: 2.1.0
7+
- API version: 1.2
8+
- Package version: 2.2.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
9898
*FoldersApi* | [**get_folders**](docs/FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of team
9999
*LinksApi* | [**create_link**](docs/LinksApi.md#create_link) | **POST** /links/create | Create a link
100100
*LinksApi* | [**get_link**](docs/LinksApi.md#get_link) | **GET** /links/{link_id} | Get a link
101+
*QRCodesApi* | [**create_qr_code**](docs/QRCodesApi.md#create_qr_code) | **POST** /qrcodes/create | Create a QR Code
101102
*StatisticsApi* | [**get_statistics**](docs/StatisticsApi.md#get_statistics) | **POST** /statistics | Get statistics of a link
102103
*TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /teams | Get teams of user
103104

@@ -111,11 +112,16 @@ Class | Method | HTTP request | Description
111112
- [CreateLink500Response](docs/CreateLink500Response.md)
112113
- [CreateLinkRequest](docs/CreateLinkRequest.md)
113114
- [CreateLinkRequestMetatag](docs/CreateLinkRequestMetatag.md)
115+
- [CreateLinkRequestQrcode](docs/CreateLinkRequestQrcode.md)
116+
- [CreateQrCodeRequest](docs/CreateQrCodeRequest.md)
117+
- [CreateQrCodeRequestOneOf](docs/CreateQrCodeRequestOneOf.md)
118+
- [CreateQrCodeRequestOneOf1](docs/CreateQrCodeRequestOneOf1.md)
114119
- [GetFolders200Response](docs/GetFolders200Response.md)
115120
- [GetFolders200ResponseFoldersInner](docs/GetFolders200ResponseFoldersInner.md)
116121
- [GetLink200Response](docs/GetLink200Response.md)
117122
- [GetLink200ResponseGeolinksInner](docs/GetLink200ResponseGeolinksInner.md)
118123
- [GetLink200ResponseMetatag](docs/GetLink200ResponseMetatag.md)
124+
- [GetLink200ResponseQrcode](docs/GetLink200ResponseQrcode.md)
119125
- [GetLink401Response](docs/GetLink401Response.md)
120126
- [GetLink404Response](docs/GetLink404Response.md)
121127
- [GetLink422Response](docs/GetLink422Response.md)

docs/CreateLinkRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**code** | **str** | Custom short code | [optional]
1212
**label** | **str** | Label | [optional]
1313
**password** | **str** | Password | [optional]
14+
**qrcode** | [**CreateLinkRequestQrcode**](CreateLinkRequestQrcode.md) | | [optional]
1415
**metatag** | [**CreateLinkRequestMetatag**](CreateLinkRequestMetatag.md) | | [optional]
1516
**expired_at** | **datetime** | Expiration date | [optional]
1617

docs/CreateLinkRequestQrcode.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# CreateLinkRequestQrcode
2+
3+
QR Code
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**size** | **int** | The size of the QR code (px) | [optional] [default to 600]
10+
**format** | **str** | The format of the QR code | [optional] [default to 'png']
11+
**margin** | **int** | The margin around the QR code (px) | [optional] [default to 0]
12+
**background_color** | **str** | The background color of the QR code (hexadecimal) | [optional] [default to '#ffffff']
13+
**foreground_color** | **str** | The foreground color of the QR code (hexadecimal) | [optional] [default to '#000000']
14+
15+
## Example
16+
17+
```python
18+
from urlr.models.create_link_request_qrcode import CreateLinkRequestQrcode
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of CreateLinkRequestQrcode from a JSON string
23+
create_link_request_qrcode_instance = CreateLinkRequestQrcode.from_json(json)
24+
# print the JSON string representation of the object
25+
print(CreateLinkRequestQrcode.to_json())
26+
27+
# convert the object into a dict
28+
create_link_request_qrcode_dict = create_link_request_qrcode_instance.to_dict()
29+
# create an instance of CreateLinkRequestQrcode from a dict
30+
create_link_request_qrcode_from_dict = CreateLinkRequestQrcode.from_dict(create_link_request_qrcode_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

docs/CreateQrCodeRequest.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# CreateQrCodeRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**size** | **int** | The size of the QR code (px) | [optional] [default to 600]
9+
**format** | **str** | The format of the QR code | [optional] [default to 'png']
10+
**margin** | **int** | The margin around the QR code (px) | [optional] [default to 0]
11+
**background_color** | **str** | The background color of the QR code (hexadecimal) | [optional] [default to '#ffffff']
12+
**foreground_color** | **str** | The foreground color of the QR code (hexadecimal) | [optional] [default to '#000000']
13+
**url** | **str** | URL of the QR Code |
14+
**team_id** | **str** | Team API ID |
15+
**link_id** | **str** | Link API ID of the QR Code |
16+
17+
## Example
18+
19+
```python
20+
from urlr.models.create_qr_code_request import CreateQrCodeRequest
21+
22+
# TODO update the JSON string below
23+
json = "{}"
24+
# create an instance of CreateQrCodeRequest from a JSON string
25+
create_qr_code_request_instance = CreateQrCodeRequest.from_json(json)
26+
# print the JSON string representation of the object
27+
print(CreateQrCodeRequest.to_json())
28+
29+
# convert the object into a dict
30+
create_qr_code_request_dict = create_qr_code_request_instance.to_dict()
31+
# create an instance of CreateQrCodeRequest from a dict
32+
create_qr_code_request_from_dict = CreateQrCodeRequest.from_dict(create_qr_code_request_dict)
33+
```
34+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35+
36+

docs/CreateQrCodeRequestOneOf.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CreateQrCodeRequestOneOf
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**url** | **str** | URL of the QR Code |
9+
**team_id** | **str** | Team API ID |
10+
11+
## Example
12+
13+
```python
14+
from urlr.models.create_qr_code_request_one_of import CreateQrCodeRequestOneOf
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CreateQrCodeRequestOneOf from a JSON string
19+
create_qr_code_request_one_of_instance = CreateQrCodeRequestOneOf.from_json(json)
20+
# print the JSON string representation of the object
21+
print(CreateQrCodeRequestOneOf.to_json())
22+
23+
# convert the object into a dict
24+
create_qr_code_request_one_of_dict = create_qr_code_request_one_of_instance.to_dict()
25+
# create an instance of CreateQrCodeRequestOneOf from a dict
26+
create_qr_code_request_one_of_from_dict = CreateQrCodeRequestOneOf.from_dict(create_qr_code_request_one_of_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/CreateQrCodeRequestOneOf1.md

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

docs/GetLink200Response.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**domain** | **str** | Domain | [optional]
1313
**code** | **str** | Short code | [optional]
1414
**label** | **str** | Label | [optional]
15+
**qrcode** | [**GetLink200ResponseQrcode**](GetLink200ResponseQrcode.md) | | [optional]
1516
**metatag** | [**GetLink200ResponseMetatag**](GetLink200ResponseMetatag.md) | | [optional]
1617
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Geographical targeting links | [optional]
1718
**created_at** | **datetime** | Creation date | [optional]

docs/GetLink200ResponseQrcode.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GetLink200ResponseQrcode
2+
3+
QR Code associated to the short link
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**data** | **str** | QR Code Data URL | [optional]
10+
11+
## Example
12+
13+
```python
14+
from urlr.models.get_link200_response_qrcode import GetLink200ResponseQrcode
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of GetLink200ResponseQrcode from a JSON string
19+
get_link200_response_qrcode_instance = GetLink200ResponseQrcode.from_json(json)
20+
# print the JSON string representation of the object
21+
print(GetLink200ResponseQrcode.to_json())
22+
23+
# convert the object into a dict
24+
get_link200_response_qrcode_dict = get_link200_response_qrcode_instance.to_dict()
25+
# create an instance of GetLink200ResponseQrcode from a dict
26+
get_link200_response_qrcode_from_dict = GetLink200ResponseQrcode.from_dict(get_link200_response_qrcode_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+

0 commit comments

Comments
 (0)