Skip to content

Commit 43034a3

Browse files
committed
Travis update: Mar 2025 (Build 825)
[skip ci]
1 parent 3d81536 commit 43034a3

48 files changed

Lines changed: 331 additions & 747 deletions

Some content is hidden

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

.github/workflows/pypi.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/python.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: messente_api Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
- name: Test with pytest
37+
run: |
38+
pytest

.gitlab-ci.yml

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

17+
pytest-3.7:
18+
extends: .pytest
19+
image: python:3.7-alpine
1720
pytest-3.8:
1821
extends: .pytest
1922
image: python:3.8-alpine
@@ -26,6 +29,3 @@ pytest-3.10:
2629
pytest-3.11:
2730
extends: .pytest
2831
image: python:3.11-alpine
29-
pytest-3.12:
30-
extends: .pytest
31-
image: python:3.12-alpine

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.11.0
1+
7.6.0

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
language: python
2-
python:
3-
- "3.9"
42

53
script:
64
- echo "skipping tests"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

33
- Messente API version: 2.0.0
4-
- Python package version: 2.3.0
4+
- Python package version: 2.4.0
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

docs/Channel.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22

33
Defines the delivery channel
44

5-
## Enum
5+
## Properties
66

7-
* `SMS` (value: `'sms'`)
8-
9-
* `VIBER` (value: `'viber'`)
10-
11-
* `WHATSAPP` (value: `'whatsapp'`)
12-
13-
* `TELEGRAM` (value: `'telegram'`)
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
149

1510
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1611

docs/ErrorCodeOmnichannel.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@
22

33
Matches the following error title. This field is a constant * 101 - Not found * 102 - Forbidden * 103 - Unauthorized * 104 - Internal Server Error * 105 - Invalid data * 106 - Missing data * 107 - Method not allowed
44

5-
## Enum
5+
## Properties
66

7-
* `ENUM_101` (value: `'101'`)
8-
9-
* `ENUM_102` (value: `'102'`)
10-
11-
* `ENUM_103` (value: `'103'`)
12-
13-
* `ENUM_104` (value: `'104'`)
14-
15-
* `ENUM_105` (value: `'105'`)
16-
17-
* `ENUM_106` (value: `'106'`)
18-
19-
* `ENUM_107` (value: `'107'`)
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
209

2110
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2211

docs/ErrorCodeOmnichannelMachine.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,10 @@
22

33
Machine-readable error code, 'null' when the message has not been processed yet Matches the following meanings * 0 - No error * 1 - Delivery failure * 2 - Sending message expired * 3 - Invalid number * 4 - Error crediting account * 5 - Invalid number format * 6 - Too many identical messages * 7 - Sender name not allowed * 8 - Operator blacklisted * 9 - Unroutable * 10 - Seen * 999 - General temporary error
44

5-
## Enum
5+
## Properties
66

7-
* `NUMBER_0` (value: `0`)
8-
9-
* `NUMBER_1` (value: `1`)
10-
11-
* `NUMBER_2` (value: `2`)
12-
13-
* `NUMBER_3` (value: `3`)
14-
15-
* `NUMBER_4` (value: `4`)
16-
17-
* `NUMBER_5` (value: `5`)
18-
19-
* `NUMBER_6` (value: `6`)
20-
21-
* `NUMBER_7` (value: `7`)
22-
23-
* `NUMBER_8` (value: `8`)
24-
25-
* `NUMBER_9` (value: `9`)
26-
27-
* `NUMBER_10` (value: `10`)
28-
29-
* `NUMBER_999` (value: `999`)
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
309

3110
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3211

docs/ErrorCodePhonebook.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,10 @@
22

33
Matches the following error title. This field is a constant * 201 - Invalid data * 202 - Unauthorized * 203 - Missing resource * 204 - Conflict * 244 - Client error * 205 - General error
44

5-
## Enum
5+
## Properties
66

7-
* `ENUM_201` (value: `'201'`)
8-
9-
* `ENUM_202` (value: `'202'`)
10-
11-
* `ENUM_203` (value: `'203'`)
12-
13-
* `ENUM_204` (value: `'204'`)
14-
15-
* `ENUM_244` (value: `'244'`)
16-
17-
* `ENUM_205` (value: `'205'`)
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
189

1910
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2011

0 commit comments

Comments
 (0)