Skip to content

Commit 3e5ffe8

Browse files
author
Erik Räni
authored
1.2.0 (#6)
1 parent 8f1ba08 commit 3e5ffe8

File tree

91 files changed

+2598
-126
lines changed

Some content is hidden

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

91 files changed

+2598
-126
lines changed

README.md

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

3-
- Messente API version: 1.1.0
4-
- Java artifact version: 1.1.0
3+
- Messente API version: 1.2.0
4+
- Java artifact version: 1.2.0
55

6-
[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram 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.
6+
[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

88
## Installation
99

@@ -12,7 +12,7 @@ Install Messente API library via Maven, Gradle, Ivy or manual build.
1212
### Gradle
1313

1414
```groovy
15-
compile "com.messente.api:messente-api:1.1.0"
15+
compile "com.messente.api:messente-api:1.2.0"
1616
```
1717

1818
### Maven
@@ -21,15 +21,15 @@ compile "com.messente.api:messente-api:1.1.0"
2121
<dependency>
2222
<groupId>com.messente.api</groupId>
2323
<artifactId>messente-api</artifactId>
24-
<version>1.1.0</version>
24+
<version>1.2.0</version>
2525
<type>pom</type>
2626
</dependency>
2727
```
2828

2929
### Ivy
3030

3131
```xml
32-
<dependency org='com.messente.api' name='messente-api' rev='1.1.0'>
32+
<dependency org='com.messente.api' name='messente-api' rev='1.2.0'>
3333
<artifact name='messente-api' ext='pom' ></artifact>
3434
</dependency>
3535
```
@@ -44,7 +44,7 @@ mvn clean package
4444

4545
Install
4646

47-
- `target/messente-api-1.1.0.jar`
47+
- `target/messente-api-1.2.0.jar`
4848
- `target/lib/*.jar`
4949

5050
## Features
@@ -86,11 +86,19 @@ Messente API Library provides the operations described below to access the featu
8686
1. Returns all groups [`fetchGroups`](docs/GroupsApi.md#fetchgroups)
8787
1. Updates a group with the provided name [`updateGroup`](docs/GroupsApi.md#updategroup)
8888

89+
### NumberLookupApi
90+
91+
1. Requests info about phone numbers [`fetchInfo`](docs/NumberLookupApi.md#fetchinfo)
92+
8993
### OmnimessageApi
9094

9195
1. Cancels a scheduled Omnimessage [`cancelScheduledMessage`](docs/OmnimessageApi.md#cancelscheduledmessage)
9296
1. Sends an Omnimessage [`sendOmnimessage`](docs/OmnimessageApi.md#sendomnimessage)
9397

98+
### StatisticsApi
99+
100+
1. Requests statistics reports for each country [`createStatisticsReport`](docs/StatisticsApi.md#createstatisticsreport)
101+
94102
## Auth
95103

96104
**Type**: HTTP basic authentication

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.messente.api'
5-
version = '1.1.0'
5+
version = '1.2.0'
66

77
buildscript {
88
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.messente.api",
44
name := "messente-api",
5-
version := "1.1.0",
5+
version := "1.2.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/ErrorCodeStatistics.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# ErrorCodeStatistics
3+
4+
## Enum
5+
6+
7+
* `_100` (value: `"100"`)
8+
9+
* `_103` (value: `"103"`)
10+
11+
* `_104` (value: `"104"`)
12+
13+
* `_105` (value: `"105"`)
14+
15+
16+

docs/ErrorItemNumberLookup.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# ErrorItemNumberLookup
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | |
8+
9+
10+

docs/ErrorItemNumberLookupError.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# ErrorItemNumberLookupError
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**description** | **String** | Error description |
8+
**code** | **Integer** | Matches the following error title. This field is a constant * 101 - Unauthorized * 102 - Invalid arguments or parameters * 103 - Server error * 104 - Crediting error #1 * 105 - Crediting error #2 * 106 - Client error |
9+
10+
11+

docs/ErrorItemStatistics.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# ErrorItemStatistics
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**title** | **String** | Error title |
8+
**details** | **String** | Error details |
9+
**code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | |
10+
11+
12+

docs/ErrorNumberLookup.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# ErrorNumberLookup
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | [**List&lt;ErrorItemNumberLookup&gt;**](ErrorItemNumberLookup.md) | An array of errors |
8+
9+
10+

docs/ErrorStatistics.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# ErrorStatistics
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**errors** | [**List&lt;ErrorItemStatistics&gt;**](ErrorItemStatistics.md) | An array of errors |
8+
9+
10+

docs/MobileNetwork.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# MobileNetwork
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**mccmnc** | **String** | Mobile country and mobile network code | [optional]
8+
**networkName** | **String** | Mobile network name | [optional]
9+
**countryName** | **String** | Country name | [optional]
10+
**countryPrefix** | **String** | Country prefix | [optional]
11+
**countryCode** | **String** | Country code | [optional]
12+
13+
14+

0 commit comments

Comments
 (0)