Commit Graph

350 Commits

Author SHA1 Message Date
Artem Bondarenko
75627515f4 added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
6d9a7c42fd added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
1044a648f0 removed optional 2020-11-16 16:52:49 +00:00
Artem Bondarenko
9fd5ae16dc Suppression Whitelists 2020-11-16 16:52:49 +00:00
Tony Thomas
1fd018d61c
fix(#642) HttpApi: Expect client to be of type ClientInterface|PluginClient (#660)
* HttpApi: Expect client to be of type ClientInterface|PluginClient

* Format with pretty

* pretty-fix run on the whole repo

* User is_a instead of instance_of for php-stan

* Use the namespaced classname in instanceof checks

* Fix param documentation for MessageBuilder::parseAddress

* Use ClassName::class approach in is_a
2020-10-16 16:46:06 +01:00
Artem Bondarenko
6e372e1e33 mailing list validation 2020-10-15 22:00:38 +01:00
Artem Bondarenko
0a9562e73c mailing list validation 2020-10-15 22:00:38 +01:00
Artem Bondarenko
87c59dc386 comments fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
c48f246942 fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
db5c577267 fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
20385fe70c fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
ab8324a178 domain tracking implementation fix active param, fix tests 2020-10-15 22:00:13 +01:00
Artem Bondarenko
4f8888daed domain tracking implementation fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
2d8283ea29 domain tracking implementation 2020-10-15 22:00:13 +01:00
David Garcia
b6d0ace9f3 Code Style fixes 2020-10-08 13:20:23 +01:00
Joseph Shanak
90028dc6a1 Add mapping for assignable_to_pools property of ips index response 2020-10-07 22:04:54 +01:00
Joseph Shanak
a91f5f6185 Change Ip::index() default to return all ips instead of shared ips 2020-10-07 22:04:54 +01:00
Joseph Shanak
3bc8dac64d Require ips passed to Domain::create are strings 2020-10-07 17:58:45 +01:00
Joseph Shanak
086afb49b7 Allow assigning a domain to a list of ips during creation 2020-10-07 17:58:45 +01:00
Joseph Shanak
ff8c9c31b7 Fix assigning Ip 2020-10-07 17:53:19 +01:00
Artem Bondarenko
3354ac3514 added unmapped proeprty logLevel to Event model 2020-10-07 17:47:06 +01:00
Artem Bondarenko
b56b7dd81d removed unused method 2020-10-07 17:43:44 +01:00
Martin San Juan
562cda2504 feat: add array support to webhook handling
Change webhook create() $url parameter from string to array to support
multiple URLs
Change webhook update() $url parameter from string to array yo support
multiple URLs
2020-09-25 19:05:33 +01:00
lvdhoorn
2eb93f2931 Bug fix with getContentIdMap return type 2020-08-20 20:02:47 +01:00
Vasilii Zolotukhin
0d1958d8b6 Replace passing “by value” with “by reference” 2020-08-20 19:54:37 +01:00
Vasilii Zolotukhin
f64acb148b Check for name existence in parameters before checking 2020-08-20 19:54:37 +01:00
Vasilii Zolotukhin
cc0809f9bc Pass json encoded vars array into parameters 2020-08-20 19:54:37 +01:00
Vasilii Zolotukhin
4a65f16f63 Fixed errors on member adding with nullable name 2020-08-20 19:54:37 +01:00
Tom Schlick
e7c913a17b fix /v3/domains/{domain}/ips endpoint 2020-08-20 19:42:02 +01:00
Justin Sims
e5ff7d84ec Added support for the new mailing list property 'reply_preference' 2020-08-14 01:06:45 +01:00
Tibor Hercz
b91979b1b6 added param to force DKIM authority 2020-08-14 01:06:22 +01:00
Martin San Juan
3fc2f8e227 build: fix style and phpstan 2020-08-14 00:49:39 +01:00
iwahara
5975310f0e fix. 2019-10-15 18:50:34 +01:00
iwahara
aeb82f7ac1 fix code format 2019-10-15 18:50:34 +01:00
iwahara
58c03ac34b fix code format error. 2019-10-15 18:50:34 +01:00
iwahara
14346359f1 format doc comment. 2019-10-15 18:50:34 +01:00
iwahara
c086ea8b6f format doc comment. 2019-10-15 18:50:34 +01:00
iwahara
8390bdd803 add unsubscribe delete parameter. 2019-10-15 18:50:34 +01:00
Littlesqx
e0cb8023a7 Update forbidden response, set message from response body content. 2019-08-30 19:49:02 +01:00
徐哈哈
c88f1bc174 Add Forbidden response 2019-08-30 19:49:02 +01:00
Nathan Perkins
2db0619d8a Revise domain creation assertions and add tests
Based on feedback from @DavidGarciaCat.
2019-08-29 22:25:39 +01:00
Nathan Perkins
c9bbf8e45f Revise domain creation to allow select arguments
Previously, passing `$spamAction` only worked if an SMTP password (`$smtpPass`) was provided. This revision de-couples those two arguments.

In addition, it adds support for the `$wildcard` arguments (which appeared to not be used before).

Finally, this revision adds SMTP password validation (the same used in the `credentials` method).
2019-08-29 22:25:39 +01:00
Kevin Pohl
ae9a549e7f sort api methods by name 2019-05-18 01:34:42 +01:00
Kevin Pohl
4d77573ae6 add missing mailingList method 2019-05-18 01:34:42 +01:00
Tobias Nyholm
f30985c925 Added return types 2019-04-19 21:37:48 +01:00
Tobias Nyholm
c3ea40c94e
Fixed a few PRs and some cleanup (#589)
* fix for #581

* fix for #582

* Remove final

This will fix #584

* Type cast to string properly

* Convert to json string if needed

* cs
2019-04-09 20:37:32 +02:00
Tobias Nyholm
ad67b4179c
Make sure Attachment::show always return ResponseInterface (#590) 2019-04-09 20:10:33 +02:00
Louis Coulet
7705cb7666 Fix attachment and inline image renaming (#571)
* Fix file renaming

* Fix file renaming
2019-04-09 19:12:50 +02:00
David Garcia
abf2a0ae55 Mailgun-461: Validate limits (#565)
* Check limit for paginated domains

* Check limit for paginated events

* Check limit for paginated rotues

* Check limit for paginated tags

* Check limit for paginated mailing lists

* Replace unexpected Assert
2019-02-18 16:43:59 +01:00
Ilya Chekalskiy
7e438f4b4e Fixes #573 (#574)
because `\Http\Client\Common\HttpMethodsClientInterface` is an interface, not a class
2019-02-18 16:41:38 +01:00