@@ -63,6 +63,8 @@ def user(self):
6363 self ._add_with_auth (base , "user/invites" ))
6464 setattr (branch , "virtual_dns" ,
6565 self ._add_with_auth (base , "user/virtual_dns" ))
66+ setattr (branch , "subscriptions" ,
67+ self ._add_with_auth (base , "user/subscriptions" ))
6668
6769def zones (self ):
6870 """ API core commands for Cloudflare API"""
@@ -98,6 +100,11 @@ def zones(self):
98100 branch = getattr (getattr (self , "zones" ), "railguns" )
99101 setattr (branch , "diagnose" ,
100102 self ._add_with_auth (base , "zones" , "railguns" , "diagnose" ))
103+ branch = getattr (self , "zones" )
104+ setattr (branch , "subscription" ,
105+ self ._add_with_auth (base , "zones" , "subscription" ))
106+ setattr (branch , "subscriptions" ,
107+ self ._add_with_auth (base , "zones" , "subscriptions" ))
101108
102109def zones_settings (self ):
103110 """ API core commands for Cloudflare API"""
@@ -175,6 +182,10 @@ def zones_settings(self):
175182 self ._add_with_auth (base , "zones" , "settings/http2" ))
176183 setattr (branch , "pseudo_ipv4" ,
177184 self ._add_with_auth (base , "zones" , "settings/pseudo_ipv4" ))
185+ setattr (branch , "opportunistic_encryption" ,
186+ self ._add_with_auth (base , "zones" , "settings/opportunistic_encryption" ))
187+ setattr (branch , "automatic_https_rewrites" ,
188+ self ._add_with_auth (base , "zones" , "settings/automatic_https_rewrites" ))
178189
179190def zones_analytics (self ):
180191 """ API core commands for Cloudflare API"""
0 commit comments