|
3 | 3 |
|
4 | 4 | use BekoDesign\versioAPI\Contracts\IClient; |
5 | 5 | use BekoDesign\versioAPI\Models\Category; |
| 6 | +use BekoDesign\versioAPI\Models\Contact; |
| 7 | +use BekoDesign\versioAPI\Models\DnsTemplate; |
| 8 | +use BekoDesign\versioAPI\Models\Domain; |
| 9 | +use BekoDesign\versioAPI\Models\Reseller; |
| 10 | +use BekoDesign\versioAPI\Models\ResellerPlan; |
| 11 | +use BekoDesign\versioAPI\Models\SSLApprover; |
| 12 | +use BekoDesign\versioAPI\Models\SSLCertificate; |
| 13 | +use BekoDesign\versioAPI\Models\SSLProduct; |
| 14 | +use BekoDesign\versioAPI\Models\TLD; |
| 15 | +use BekoDesign\versioAPI\Models\Webhosting; |
| 16 | +use BekoDesign\versioAPI\Models\WebhostingPlan; |
6 | 17 | use Http\Discovery\HttpClientDiscovery; |
7 | 18 | use Http\Message\Authentication; |
8 | 19 | use Http\Message\Authentication\BasicAuth; |
@@ -69,6 +80,83 @@ public function categories() : Category { |
69 | 80 | return new Category($this); |
70 | 81 | } |
71 | 82 |
|
| 83 | + /** |
| 84 | + * @return Contact |
| 85 | + */ |
| 86 | + public function contacts() : Contact { |
| 87 | + return new Contact($this); |
| 88 | + } |
| 89 | + |
| 90 | + /** |
| 91 | + * @return DnsTemplate |
| 92 | + */ |
| 93 | + public function dnsTemplates() : DnsTemplate { |
| 94 | + return new DnsTemplate($this); |
| 95 | + } |
| 96 | + |
| 97 | + /** |
| 98 | + * @return Domain |
| 99 | + */ |
| 100 | + public function domains() : Domain { |
| 101 | + return new Domain($this); |
| 102 | + } |
| 103 | + |
| 104 | + /** |
| 105 | + * @return Reseller |
| 106 | + */ |
| 107 | + public function resellers() : Reseller { |
| 108 | + return new Reseller($this); |
| 109 | + } |
| 110 | + |
| 111 | + /** |
| 112 | + * @return ResellerPlan |
| 113 | + */ |
| 114 | + public function resellerPlans() : ResellerPlan { |
| 115 | + return new ResellerPlan($this); |
| 116 | + } |
| 117 | + |
| 118 | + /** |
| 119 | + * @return SSLApprover |
| 120 | + */ |
| 121 | + public function sslApprovers() : SSLApprover { |
| 122 | + return new SSLApprover($this); |
| 123 | + } |
| 124 | + |
| 125 | + /** |
| 126 | + * @return SSLCertificate |
| 127 | + */ |
| 128 | + public function sslCertificates() : SSLCertificate { |
| 129 | + return new SSLCertificate($this); |
| 130 | + } |
| 131 | + |
| 132 | + /** |
| 133 | + * @return SSLProduct |
| 134 | + */ |
| 135 | + public function sslProducts() : SSLProduct { |
| 136 | + return new SSLProduct($this); |
| 137 | + } |
| 138 | + |
| 139 | + /** |
| 140 | + * @return TLD |
| 141 | + */ |
| 142 | + public function tld() : TLD { |
| 143 | + return new TLD($this); |
| 144 | + } |
| 145 | + |
| 146 | + /** |
| 147 | + * @return Webhosting |
| 148 | + */ |
| 149 | + public function webhosting() : Webhosting { |
| 150 | + return new Webhosting($this); |
| 151 | + } |
| 152 | + |
| 153 | + /** |
| 154 | + * @return WebhostingPlan |
| 155 | + */ |
| 156 | + public function webhostingPlans() : WebhostingPlan { |
| 157 | + return new WebhostingPlan($this); |
| 158 | + } |
| 159 | + |
72 | 160 | /** |
73 | 161 | * @param $request RequestInterface |
74 | 162 | * @return ResponseInterface |
|
0 commit comments