Skip to content

Commit 0ef0179

Browse files
committed
Updated python API Client
1 parent 733821b commit 0ef0179

106 files changed

Lines changed: 6991 additions & 3762 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.

.github/workflows/python.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,28 @@ name: openapi_client 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.7", "3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1720

1821
steps:
19-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2023
- name: Set up Python ${{ matrix.python-version }}
2124
uses: actions/setup-python@v4
2225
with:
2326
python-version: ${{ matrix.python-version }}
2427
- name: Install dependencies
2528
run: |
2629
python -m pip install --upgrade pip
27-
pip install flake8 pytest
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
- name: Lint with flake8
30-
run: |
31-
# stop the build if there are Python syntax errors or undefined names
32-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
30+
pip install -r requirements.txt
31+
pip install -r test-requirements.txt
3532
- name: Test with pytest
3633
run: |
37-
pytest
34+
pytest --cov=openapi_client

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ docs/_build/
6262
# PyBuilder
6363
target/
6464

65-
#Ipython Notebook
65+
# Ipython Notebook
6666
.ipynb_checkpoints

.gitlab-ci.yml

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

17-
pytest-3.7:
17+
pytest-3.9:
1818
extends: .pytest
19-
image: python:3.7-alpine
20-
pytest-3.8:
19+
image: python:3.9-alpine
20+
pytest-3.10:
2121
extends: .pytest
22-
image: python:3.8-alpine
23-
pytest-3.9:
22+
image: python:3.10-alpine
23+
pytest-3.11:
24+
extends: .pytest
25+
image: python:3.11-alpine
26+
pytest-3.12:
27+
extends: .pytest
28+
image: python:3.12-alpine
29+
pytest-3.13:
2430
extends: .pytest
25-
image: python:3.9-alpine
31+
image: python:3.13-alpine

.openapi-generator/FILES

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ README.md
77
docs/BlockingApi.md
88
docs/DenyRuleNew.md
99
docs/DenyRuleRecord.md
10-
docs/EmailAddress.md
1110
docs/EmailAddressName.md
11+
docs/EmailAddressTypes.md
12+
docs/EmailAddressesTypes.md
13+
docs/ErrorMessage.md
1214
docs/GenericResponse.md
13-
docs/GetMailOrders401Response.md
14-
docs/GetStats200ResponseInner.md
1515
docs/HistoryApi.md
1616
docs/MailAttachment.md
1717
docs/MailBlockClickHouse.md
@@ -20,8 +20,14 @@ docs/MailBlocks.md
2020
docs/MailLog.md
2121
docs/MailLogEntry.md
2222
docs/MailOrder.md
23+
docs/MailStatsType.md
24+
docs/MailStatsTypeVolume.md
25+
docs/MailStatsTypeVolumeFrom.md
26+
docs/MailStatsTypeVolumeIp.md
27+
docs/MailStatsTypeVolumeTo.md
2328
docs/SendMail.md
2429
docs/SendMailAdv.md
30+
docs/SendMailRaw.md
2531
docs/SendingApi.md
2632
docs/ServicesApi.md
2733
docs/StatusApi.md
@@ -40,20 +46,26 @@ openapi_client/exceptions.py
4046
openapi_client/models/__init__.py
4147
openapi_client/models/deny_rule_new.py
4248
openapi_client/models/deny_rule_record.py
43-
openapi_client/models/email_address.py
4449
openapi_client/models/email_address_name.py
50+
openapi_client/models/email_address_types.py
51+
openapi_client/models/email_addresses_types.py
52+
openapi_client/models/error_message.py
4553
openapi_client/models/generic_response.py
46-
openapi_client/models/get_mail_orders401_response.py
47-
openapi_client/models/get_stats200_response_inner.py
4854
openapi_client/models/mail_attachment.py
4955
openapi_client/models/mail_block_click_house.py
5056
openapi_client/models/mail_block_rspamd.py
5157
openapi_client/models/mail_blocks.py
5258
openapi_client/models/mail_log.py
5359
openapi_client/models/mail_log_entry.py
5460
openapi_client/models/mail_order.py
61+
openapi_client/models/mail_stats_type.py
62+
openapi_client/models/mail_stats_type_volume.py
63+
openapi_client/models/mail_stats_type_volume_from.py
64+
openapi_client/models/mail_stats_type_volume_ip.py
65+
openapi_client/models/mail_stats_type_volume_to.py
5566
openapi_client/models/send_mail.py
5667
openapi_client/models/send_mail_adv.py
68+
openapi_client/models/send_mail_raw.py
5769
openapi_client/py.typed
5870
openapi_client/rest.py
5971
pyproject.toml
@@ -65,11 +77,11 @@ test/__init__.py
6577
test/test_blocking_api.py
6678
test/test_deny_rule_new.py
6779
test/test_deny_rule_record.py
68-
test/test_email_address.py
6980
test/test_email_address_name.py
81+
test/test_email_address_types.py
82+
test/test_email_addresses_types.py
83+
test/test_error_message.py
7084
test/test_generic_response.py
71-
test/test_get_mail_orders401_response.py
72-
test/test_get_stats200_response_inner.py
7385
test/test_history_api.py
7486
test/test_mail_attachment.py
7587
test/test_mail_block_click_house.py
@@ -78,8 +90,14 @@ test/test_mail_blocks.py
7890
test/test_mail_log.py
7991
test/test_mail_log_entry.py
8092
test/test_mail_order.py
93+
test/test_mail_stats_type.py
94+
test/test_mail_stats_type_volume.py
95+
test/test_mail_stats_type_volume_from.py
96+
test/test_mail_stats_type_volume_ip.py
97+
test/test_mail_stats_type_volume_to.py
8198
test/test_send_mail.py
8299
test/test_send_mail_adv.py
100+
test/test_send_mail_raw.py
83101
test/test_sending_api.py
84102
test/test_services_api.py
85103
test/test_status_api.py

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.0-SNAPSHOT
1+
7.20.0

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4-
- "3.7"
5-
- "3.8"
64
- "3.9"
75
- "3.10"
86
- "3.11"
7+
- "3.12"
8+
- "3.13"
99
# uncomment the following if needed
10-
#- "3.11-dev" # 3.11 development branch
10+
#- "3.13-dev" # 3.13 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

0 commit comments

Comments
 (0)