Skip to content

Commit 3013b7b

Browse files
committed
Generate SDK with OpenAPI generator
Used v6.0.1
1 parent c033efd commit 3013b7b

File tree

260 files changed

+47033
-7
lines changed

Some content is hidden

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

260 files changed

+47033
-7
lines changed

.gitignore

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,66 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
15

2-
.DS_Store
3-
.idea/
4-
*.pyc
5-
.pytest_cache/
6+
# C extensions
7+
*.so
68

7-
# Build files
9+
# Distribution / packaging
10+
.Python
11+
env/
812
build/
9-
bandwidth_sdk.egg-info
10-
pyproject.toml
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
target/
64+
65+
#Ipython Notebook
66+
.ipynb_checkpoints

.gitlab-ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ref: https://docs.gitlab.com/ee/ci/README.html
2+
3+
stages:
4+
- test
5+
6+
.tests:
7+
stage: test
8+
script:
9+
- pip install -r requirements.txt
10+
- pip install -r test-requirements.txt
11+
- pytest --cov=bandwidth
12+
13+
test-3.6:
14+
extends: .tests
15+
image: python:3.6-alpine
16+
test-3.7:
17+
extends: .tests
18+
image: python:3.7-alpine
19+
test-3.8:
20+
extends: .tests
21+
image: python:3.8-alpine
22+
test-3.9:
23+
extends: .tests
24+
image: python:3.9-alpine

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 256 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,256 @@
1+
.gitignore
2+
.gitlab-ci.yml
3+
.openapi-generator-ignore
4+
.travis.yml
5+
README.md
6+
bandwidth/__init__.py
7+
bandwidth/api/__init__.py
8+
bandwidth/api/calls_api.py
9+
bandwidth/api/conferences_api.py
10+
bandwidth/api/media_api.py
11+
bandwidth/api/messages_api.py
12+
bandwidth/api/mfa_api.py
13+
bandwidth/api/participants_api.py
14+
bandwidth/api/phone_number_lookup_api.py
15+
bandwidth/api/recordings_api.py
16+
bandwidth/api/sessions_api.py
17+
bandwidth/api/statistics_api.py
18+
bandwidth/api_client.py
19+
bandwidth/apis/__init__.py
20+
bandwidth/configuration.py
21+
bandwidth/exceptions.py
22+
bandwidth/model/__init__.py
23+
bandwidth/model/account_statistics.py
24+
bandwidth/model/call_callback.py
25+
bandwidth/model/call_direction_enum.py
26+
bandwidth/model/call_recording_metadata.py
27+
bandwidth/model/call_state.py
28+
bandwidth/model/call_state_enum.py
29+
bandwidth/model/callback_method_enum.py
30+
bandwidth/model/code_request.py
31+
bandwidth/model/conference.py
32+
bandwidth/model/conference_callback.py
33+
bandwidth/model/conference_member.py
34+
bandwidth/model/conference_recording_metadata.py
35+
bandwidth/model/conference_state_enum.py
36+
bandwidth/model/create_call.py
37+
bandwidth/model/create_call_response.py
38+
bandwidth/model/create_lookup_response.py
39+
bandwidth/model/create_participant_request.py
40+
bandwidth/model/create_participant_response.py
41+
bandwidth/model/deferred_result.py
42+
bandwidth/model/device_api_version_enum.py
43+
bandwidth/model/diversion.py
44+
bandwidth/model/file_format_enum.py
45+
bandwidth/model/forbidden_request.py
46+
bandwidth/model/list_message_direction_enum.py
47+
bandwidth/model/list_message_item.py
48+
bandwidth/model/lookup_request.py
49+
bandwidth/model/lookup_status.py
50+
bandwidth/model/lookup_status_enum.py
51+
bandwidth/model/lookup_status_result_inner.py
52+
bandwidth/model/machine_detection_configuration.py
53+
bandwidth/model/machine_detection_mode_enum.py
54+
bandwidth/model/media.py
55+
bandwidth/model/message.py
56+
bandwidth/model/message_direction_enum.py
57+
bandwidth/model/message_request.py
58+
bandwidth/model/message_status_enum.py
59+
bandwidth/model/message_type_enum.py
60+
bandwidth/model/messages_list.py
61+
bandwidth/model/messaging_code_response.py
62+
bandwidth/model/messaging_request_error.py
63+
bandwidth/model/mfa_forbidden_request_error.py
64+
bandwidth/model/mfa_request_error.py
65+
bandwidth/model/mfa_unauthorized_request_error.py
66+
bandwidth/model/page_info.py
67+
bandwidth/model/participant.py
68+
bandwidth/model/participant_subscription.py
69+
bandwidth/model/priority_enum.py
70+
bandwidth/model/publish_permissions_enum.py
71+
bandwidth/model/recording_state_enum.py
72+
bandwidth/model/redirect_method_enum.py
73+
bandwidth/model/request_error.py
74+
bandwidth/model/session.py
75+
bandwidth/model/subscriptions.py
76+
bandwidth/model/tag.py
77+
bandwidth/model/tn_lookup_request_error.py
78+
bandwidth/model/transcribe_recording.py
79+
bandwidth/model/transcription.py
80+
bandwidth/model/transcription_list.py
81+
bandwidth/model/transcription_metadata.py
82+
bandwidth/model/unauthorized_request.py
83+
bandwidth/model/update_call.py
84+
bandwidth/model/update_call_recording.py
85+
bandwidth/model/update_conference.py
86+
bandwidth/model/update_conference_member.py
87+
bandwidth/model/verify_code_request.py
88+
bandwidth/model/verify_code_response.py
89+
bandwidth/model/voice_api_error.py
90+
bandwidth/model/voice_code_response.py
91+
bandwidth/model_utils.py
92+
bandwidth/models/__init__.py
93+
bandwidth/rest.py
94+
docs/AccountStatistics.md
95+
docs/CallCallback.md
96+
docs/CallDirectionEnum.md
97+
docs/CallRecordingMetadata.md
98+
docs/CallState.md
99+
docs/CallStateEnum.md
100+
docs/CallbackMethodEnum.md
101+
docs/CallsApi.md
102+
docs/CodeRequest.md
103+
docs/Conference.md
104+
docs/ConferenceCallback.md
105+
docs/ConferenceMember.md
106+
docs/ConferenceRecordingMetadata.md
107+
docs/ConferenceStateEnum.md
108+
docs/ConferencesApi.md
109+
docs/CreateCall.md
110+
docs/CreateCallResponse.md
111+
docs/CreateLookupResponse.md
112+
docs/CreateParticipantRequest.md
113+
docs/CreateParticipantResponse.md
114+
docs/DeferredResult.md
115+
docs/DeviceApiVersionEnum.md
116+
docs/Diversion.md
117+
docs/FileFormatEnum.md
118+
docs/ForbiddenRequest.md
119+
docs/ListMessageDirectionEnum.md
120+
docs/ListMessageItem.md
121+
docs/LookupRequest.md
122+
docs/LookupStatus.md
123+
docs/LookupStatusEnum.md
124+
docs/LookupStatusResultInner.md
125+
docs/MFAApi.md
126+
docs/MachineDetectionConfiguration.md
127+
docs/MachineDetectionModeEnum.md
128+
docs/Media.md
129+
docs/MediaApi.md
130+
docs/Message.md
131+
docs/MessageDirectionEnum.md
132+
docs/MessageRequest.md
133+
docs/MessageStatusEnum.md
134+
docs/MessageTypeEnum.md
135+
docs/MessagesApi.md
136+
docs/MessagesList.md
137+
docs/MessagingCodeResponse.md
138+
docs/MessagingRequestError.md
139+
docs/MfaForbiddenRequestError.md
140+
docs/MfaRequestError.md
141+
docs/MfaUnauthorizedRequestError.md
142+
docs/PageInfo.md
143+
docs/Participant.md
144+
docs/ParticipantSubscription.md
145+
docs/ParticipantsApi.md
146+
docs/PhoneNumberLookupApi.md
147+
docs/PriorityEnum.md
148+
docs/PublishPermissionsEnum.md
149+
docs/RecordingStateEnum.md
150+
docs/RecordingsApi.md
151+
docs/RedirectMethodEnum.md
152+
docs/RequestError.md
153+
docs/Session.md
154+
docs/SessionsApi.md
155+
docs/StatisticsApi.md
156+
docs/Subscriptions.md
157+
docs/Tag.md
158+
docs/TnLookupRequestError.md
159+
docs/TranscribeRecording.md
160+
docs/Transcription.md
161+
docs/TranscriptionList.md
162+
docs/TranscriptionMetadata.md
163+
docs/UnauthorizedRequest.md
164+
docs/UpdateCall.md
165+
docs/UpdateCallRecording.md
166+
docs/UpdateConference.md
167+
docs/UpdateConferenceMember.md
168+
docs/VerifyCodeRequest.md
169+
docs/VerifyCodeResponse.md
170+
docs/VoiceApiError.md
171+
docs/VoiceCodeResponse.md
172+
git_push.sh
173+
requirements.txt
174+
setup.cfg
175+
setup.py
176+
test-requirements.txt
177+
test/__init__.py
178+
test/test_account_statistics.py
179+
test/test_call_callback.py
180+
test/test_call_direction_enum.py
181+
test/test_call_recording_metadata.py
182+
test/test_call_state.py
183+
test/test_call_state_enum.py
184+
test/test_callback_method_enum.py
185+
test/test_calls_api.py
186+
test/test_code_request.py
187+
test/test_conference.py
188+
test/test_conference_callback.py
189+
test/test_conference_member.py
190+
test/test_conference_recording_metadata.py
191+
test/test_conference_state_enum.py
192+
test/test_conferences_api.py
193+
test/test_create_call.py
194+
test/test_create_call_response.py
195+
test/test_create_lookup_response.py
196+
test/test_create_participant_request.py
197+
test/test_create_participant_response.py
198+
test/test_deferred_result.py
199+
test/test_device_api_version_enum.py
200+
test/test_diversion.py
201+
test/test_file_format_enum.py
202+
test/test_forbidden_request.py
203+
test/test_list_message_direction_enum.py
204+
test/test_list_message_item.py
205+
test/test_lookup_request.py
206+
test/test_lookup_status.py
207+
test/test_lookup_status_enum.py
208+
test/test_lookup_status_result_inner.py
209+
test/test_machine_detection_configuration.py
210+
test/test_machine_detection_mode_enum.py
211+
test/test_media.py
212+
test/test_media_api.py
213+
test/test_message.py
214+
test/test_message_direction_enum.py
215+
test/test_message_request.py
216+
test/test_message_status_enum.py
217+
test/test_message_type_enum.py
218+
test/test_messages_api.py
219+
test/test_messages_list.py
220+
test/test_messaging_code_response.py
221+
test/test_messaging_request_error.py
222+
test/test_mfa_api.py
223+
test/test_mfa_forbidden_request_error.py
224+
test/test_mfa_request_error.py
225+
test/test_mfa_unauthorized_request_error.py
226+
test/test_page_info.py
227+
test/test_participant.py
228+
test/test_participant_subscription.py
229+
test/test_participants_api.py
230+
test/test_phone_number_lookup_api.py
231+
test/test_priority_enum.py
232+
test/test_publish_permissions_enum.py
233+
test/test_recording_state_enum.py
234+
test/test_recordings_api.py
235+
test/test_redirect_method_enum.py
236+
test/test_request_error.py
237+
test/test_session.py
238+
test/test_sessions_api.py
239+
test/test_statistics_api.py
240+
test/test_subscriptions.py
241+
test/test_tag.py
242+
test/test_tn_lookup_request_error.py
243+
test/test_transcribe_recording.py
244+
test/test_transcription.py
245+
test/test_transcription_list.py
246+
test/test_transcription_metadata.py
247+
test/test_unauthorized_request.py
248+
test/test_update_call.py
249+
test/test_update_call_recording.py
250+
test/test_update_conference.py
251+
test/test_update_conference_member.py
252+
test/test_verify_code_request.py
253+
test/test_verify_code_response.py
254+
test/test_voice_api_error.py
255+
test/test_voice_code_response.py
256+
tox.ini

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.0.1

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "3.6"
5+
- "3.7"
6+
- "3.8"
7+
- "3.9"
8+
# command to install dependencies
9+
install:
10+
- "pip install -r requirements.txt"
11+
- "pip install -r test-requirements.txt"
12+
# command to run tests
13+
script: pytest --cov=bandwidth

0 commit comments

Comments
 (0)