Skip to content

Commit 585d2dc

Browse files
author
Erik Räni
authored
1.0.3 (#3)
- Fix some URLs where "/phonebook/" was missing - Improve documentation
1 parent 8d94b9f commit 585d2dc

File tree

110 files changed

+410
-350
lines changed

Some content is hidden

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

110 files changed

+410
-350
lines changed

README.md

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

3-
- Messente API version: 1.0.1
4-
- Python package version: 1.0.2
3+
- Messente API version: 1.0.2
4+
- Python package version: 1.0.3
55

66
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
77

@@ -20,38 +20,38 @@ Messente API Library provides the operations described below to access the featu
2020

2121
### BlacklistApi
2222

23-
1. Adds a phone number to the blacklist. [`add_to_blacklist`](docs/BlacklistApi.md#add_to_blacklist)
24-
1. Deletes a phone number from the blacklist. [`delete_from_blacklist`](docs/BlacklistApi.md#delete_from_blacklist)
25-
1. Returns all blacklisted phone numbers. [`fetch_blacklist`](docs/BlacklistApi.md#fetch_blacklist)
26-
1. Checks if a phone number is blacklisted. [`is_blacklisted`](docs/BlacklistApi.md#is_blacklisted)
23+
1. Adds a phone number to the blacklist [`add_to_blacklist`](docs/BlacklistApi.md#add_to_blacklist)
24+
1. Deletes a phone number from the blacklist [`delete_from_blacklist`](docs/BlacklistApi.md#delete_from_blacklist)
25+
1. Returns all blacklisted phone numbers [`fetch_blacklist`](docs/BlacklistApi.md#fetch_blacklist)
26+
1. Checks if a phone number is blacklisted [`is_blacklisted`](docs/BlacklistApi.md#is_blacklisted)
2727

2828
### ContactsApi
2929

30-
1. Adds a contact to a group. [`add_contact_to_group`](docs/ContactsApi.md#add_contact_to_group)
31-
1. Creates a new contact. [`create_contact`](docs/ContactsApi.md#create_contact)
32-
1. Deletes a contact. [`delete_contact`](docs/ContactsApi.md#delete_contact)
33-
1. Lists a contact. [`fetch_contact`](docs/ContactsApi.md#fetch_contact)
34-
1. Lists groups of a contact. [`fetch_contact_groups`](docs/ContactsApi.md#fetch_contact_groups)
35-
1. Returns all contacts. [`fetch_contacts`](docs/ContactsApi.md#fetch_contacts)
36-
1. Removes a contact from a group. [`remove_contact_from_group`](docs/ContactsApi.md#remove_contact_from_group)
37-
1. Updates a contact. [`update_contact`](docs/ContactsApi.md#update_contact)
30+
1. Adds a contact to a group [`add_contact_to_group`](docs/ContactsApi.md#add_contact_to_group)
31+
1. Creates a new contact [`create_contact`](docs/ContactsApi.md#create_contact)
32+
1. Deletes a contact [`delete_contact`](docs/ContactsApi.md#delete_contact)
33+
1. Lists a contact [`fetch_contact`](docs/ContactsApi.md#fetch_contact)
34+
1. Lists groups of a contact [`fetch_contact_groups`](docs/ContactsApi.md#fetch_contact_groups)
35+
1. Returns all contacts [`fetch_contacts`](docs/ContactsApi.md#fetch_contacts)
36+
1. Removes a contact from a group [`remove_contact_from_group`](docs/ContactsApi.md#remove_contact_from_group)
37+
1. Updates a contact [`update_contact`](docs/ContactsApi.md#update_contact)
3838

3939
### DeliveryReportApi
4040

41-
1. Retrieves the delivery report for the Omnimessage. [`retrieve_delivery_report`](docs/DeliveryReportApi.md#retrieve_delivery_report)
41+
1. Retrieves the delivery report for the Omnimessage [`retrieve_delivery_report`](docs/DeliveryReportApi.md#retrieve_delivery_report)
4242

4343
### GroupsApi
4444

45-
1. Creates a new group with the provided name. [`create_group`](docs/GroupsApi.md#create_group)
46-
1. Deletes a group. [`delete_group`](docs/GroupsApi.md#delete_group)
47-
1. Lists a group. [`fetch_group`](docs/GroupsApi.md#fetch_group)
48-
1. Returns all groups. [`fetch_groups`](docs/GroupsApi.md#fetch_groups)
49-
1. Updates a group with the provided name. [`update_group`](docs/GroupsApi.md#update_group)
45+
1. Creates a new group with the provided name [`create_group`](docs/GroupsApi.md#create_group)
46+
1. Deletes a group [`delete_group`](docs/GroupsApi.md#delete_group)
47+
1. Lists a group [`fetch_group`](docs/GroupsApi.md#fetch_group)
48+
1. Returns all groups [`fetch_groups`](docs/GroupsApi.md#fetch_groups)
49+
1. Updates a group with the provided name [`update_group`](docs/GroupsApi.md#update_group)
5050

5151
### OmnimessageApi
5252

53-
1. Cancels a scheduled Omnimessage. [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message)
54-
1. Sends an Omnimessage. [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage)
53+
1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message)
54+
1. Sends an Omnimessage [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage)
5555

5656
## Auth
5757

docs/BlacklistApi.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ All URIs are relative to *https://api.messente.com/v1*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**add_to_blacklist**](BlacklistApi.md#add_to_blacklist) | **POST** /phonebook/blacklist | Adds a phone number to the blacklist.
8-
[**delete_from_blacklist**](BlacklistApi.md#delete_from_blacklist) | **DELETE** /blacklist/{phone} | Deletes a phone number from the blacklist.
9-
[**fetch_blacklist**](BlacklistApi.md#fetch_blacklist) | **GET** /phonebook/blacklist | Returns all blacklisted phone numbers.
10-
[**is_blacklisted**](BlacklistApi.md#is_blacklisted) | **GET** /blacklist/{phone} | Checks if a phone number is blacklisted.
7+
[**add_to_blacklist**](BlacklistApi.md#add_to_blacklist) | **POST** /phonebook/blacklist | Adds a phone number to the blacklist
8+
[**delete_from_blacklist**](BlacklistApi.md#delete_from_blacklist) | **DELETE** /phonebook/blacklist/{phone} | Deletes a phone number from the blacklist
9+
[**fetch_blacklist**](BlacklistApi.md#fetch_blacklist) | **GET** /phonebook/blacklist | Returns all blacklisted phone numbers
10+
[**is_blacklisted**](BlacklistApi.md#is_blacklisted) | **GET** /phonebook/blacklist/{phone} | Checks if a phone number is blacklisted
1111

1212

1313
# **add_to_blacklist**
1414
> add_to_blacklist(number_to_blacklist)
1515
16-
Adds a phone number to the blacklist.
16+
Adds a phone number to the blacklist
1717

1818
### Example
1919

@@ -34,7 +34,7 @@ api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration))
3434
number_to_blacklist = messente_api.NumberToBlacklist() # NumberToBlacklist | Phone number to be blacklisted
3535

3636
try:
37-
# Adds a phone number to the blacklist.
37+
# Adds a phone number to the blacklist
3838
api_instance.add_to_blacklist(number_to_blacklist)
3939
except ApiException as e:
4040
print("Exception when calling BlacklistApi->add_to_blacklist: %s\n" % e)
@@ -64,7 +64,7 @@ void (empty response body)
6464
# **delete_from_blacklist**
6565
> delete_from_blacklist(phone)
6666
67-
Deletes a phone number from the blacklist.
67+
Deletes a phone number from the blacklist
6868

6969
### Example
7070

@@ -85,7 +85,7 @@ api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration))
8585
phone = 'phone_example' # str | A phone number
8686

8787
try:
88-
# Deletes a phone number from the blacklist.
88+
# Deletes a phone number from the blacklist
8989
api_instance.delete_from_blacklist(phone)
9090
except ApiException as e:
9191
print("Exception when calling BlacklistApi->delete_from_blacklist: %s\n" % e)
@@ -115,7 +115,7 @@ void (empty response body)
115115
# **fetch_blacklist**
116116
> FetchBlacklistSuccess fetch_blacklist()
117117
118-
Returns all blacklisted phone numbers.
118+
Returns all blacklisted phone numbers
119119

120120
### Example
121121

@@ -135,7 +135,7 @@ configuration.password = 'YOUR_PASSWORD'
135135
api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration))
136136

137137
try:
138-
# Returns all blacklisted phone numbers.
138+
# Returns all blacklisted phone numbers
139139
api_response = api_instance.fetch_blacklist()
140140
pprint(api_response)
141141
except ApiException as e:
@@ -163,7 +163,7 @@ This endpoint does not need any parameter.
163163
# **is_blacklisted**
164164
> is_blacklisted(phone)
165165
166-
Checks if a phone number is blacklisted.
166+
Checks if a phone number is blacklisted
167167

168168
### Example
169169

@@ -184,7 +184,7 @@ api_instance = messente_api.BlacklistApi(messente_api.ApiClient(configuration))
184184
phone = 'phone_example' # str | A phone number
185185

186186
try:
187-
# Checks if a phone number is blacklisted.
187+
# Checks if a phone number is blacklisted
188188
api_instance.is_blacklisted(phone)
189189
except ApiException as e:
190190
print("Exception when calling BlacklistApi->is_blacklisted: %s\n" % e)

docs/ContactFields.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**phone_number** | **str** | Phone number in e.164 format |
7-
**email** | **str** | | [optional]
8-
**first_name** | **str** | | [optional]
9-
**last_name** | **str** | | [optional]
10-
**company** | **str** | | [optional]
11-
**title** | **str** | | [optional]
12-
**custom** | **str** | | [optional]
13-
**custom2** | **str** | | [optional]
14-
**custom3** | **str** | | [optional]
15-
**custom4** | **str** | | [optional]
7+
**email** | **str** | The email of the contact | [optional]
8+
**first_name** | **str** | The first name of the contact | [optional]
9+
**last_name** | **str** | The last name of the contact | [optional]
10+
**company** | **str** | The company of the contact | [optional]
11+
**title** | **str** | The title of the contact | [optional]
12+
**custom** | **str** | The first custom field | [optional]
13+
**custom2** | **str** | The second custom field | [optional]
14+
**custom3** | **str** | The third custom field | [optional]
15+
**custom4** | **str** | The fourth custom field | [optional]
1616

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

docs/ContactListEnvelope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**contacts** | [**list[ContactFields]**](ContactFields.md) | | [optional]
6+
**contacts** | [**list[ContactFields]**](ContactFields.md) | An array of contacts | [optional]
77

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

docs/ContactUpdateFields.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**email** | **str** | | [optional]
7-
**first_name** | **str** | | [optional]
8-
**last_name** | **str** | | [optional]
9-
**company** | **str** | | [optional]
10-
**title** | **str** | | [optional]
11-
**custom** | **str** | | [optional]
12-
**custom2** | **str** | | [optional]
13-
**custom3** | **str** | | [optional]
14-
**custom4** | **str** | | [optional]
6+
**email** | **str** | The email of the contact | [optional]
7+
**first_name** | **str** | The first name of the contact | [optional]
8+
**last_name** | **str** | The last name of the contact | [optional]
9+
**company** | **str** | The company of the contact | [optional]
10+
**title** | **str** | The title of the contact | [optional]
11+
**custom** | **str** | The first custom field | [optional]
12+
**custom2** | **str** | The second custom field | [optional]
13+
**custom3** | **str** | The third custom field | [optional]
14+
**custom4** | **str** | The fourth custom field | [optional]
1515

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

0 commit comments

Comments
 (0)