diff --git a/custom_certificates/customcertificate_test.go b/custom_certificates/customcertificate_test.go index 36d22e4c991..ce46bfe0ce3 100644 --- a/custom_certificates/customcertificate_test.go +++ b/custom_certificates/customcertificate_test.go @@ -8,11 +8,11 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/custom_certificates" - "github.com/cloudflare/cloudflare-go/v3/custom_hostnames" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/custom_certificates" + "github.com/cloudflare/cloudflare-go/v4/custom_hostnames" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestCustomCertificateNewWithOptionalParams(t *testing.T) { diff --git a/custom_certificates/prioritize.go b/custom_certificates/prioritize.go index 5a1ac97d0b5..2a2f8d0d4f6 100644 --- a/custom_certificates/prioritize.go +++ b/custom_certificates/prioritize.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // PrioritizeService contains methods and other services that help with interacting diff --git a/custom_certificates/prioritize_test.go b/custom_certificates/prioritize_test.go index 61b92c18471..131111eda43 100644 --- a/custom_certificates/prioritize_test.go +++ b/custom_certificates/prioritize_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/custom_certificates" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/custom_certificates" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestPrioritizeUpdate(t *testing.T) { diff --git a/custom_hostnames/aliases.go b/custom_hostnames/aliases.go index 967dbec77d2..61b9fb1ec34 100644 --- a/custom_hostnames/aliases.go +++ b/custom_hostnames/aliases.go @@ -3,8 +3,8 @@ package custom_hostnames import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/custom_hostnames/customhostname.go b/custom_hostnames/customhostname.go index 28f4ba9c20b..812f74da061 100644 --- a/custom_hostnames/customhostname.go +++ b/custom_hostnames/customhostname.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // CustomHostnameService contains methods and other services that help with diff --git a/custom_hostnames/customhostname_test.go b/custom_hostnames/customhostname_test.go index 3ea07223e87..55ba5d2a739 100644 --- a/custom_hostnames/customhostname_test.go +++ b/custom_hostnames/customhostname_test.go @@ -8,11 +8,11 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/custom_hostnames" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/custom_hostnames" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) func TestCustomHostnameNewWithOptionalParams(t *testing.T) { diff --git a/custom_hostnames/fallbackorigin.go b/custom_hostnames/fallbackorigin.go index bb8ee31b8a7..34ad3c139b0 100644 --- a/custom_hostnames/fallbackorigin.go +++ b/custom_hostnames/fallbackorigin.go @@ -9,11 +9,11 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // FallbackOriginService contains methods and other services that help with diff --git a/custom_hostnames/fallbackorigin_test.go b/custom_hostnames/fallbackorigin_test.go index 0469e91e97d..897b77f5b5f 100644 --- a/custom_hostnames/fallbackorigin_test.go +++ b/custom_hostnames/fallbackorigin_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/custom_hostnames" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/custom_hostnames" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestFallbackOriginUpdate(t *testing.T) { diff --git a/custom_nameservers/aliases.go b/custom_nameservers/aliases.go index 69655ef3bc6..ae4daa2acb9 100644 --- a/custom_nameservers/aliases.go +++ b/custom_nameservers/aliases.go @@ -3,8 +3,8 @@ package custom_nameservers import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/custom_nameservers/customnameserver.go b/custom_nameservers/customnameserver.go index c57c9a7528e..bfe3670de23 100644 --- a/custom_nameservers/customnameserver.go +++ b/custom_nameservers/customnameserver.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // CustomNameserverService contains methods and other services that help with diff --git a/custom_nameservers/customnameserver_test.go b/custom_nameservers/customnameserver_test.go index 103a556a5fa..72a2a3f2a32 100644 --- a/custom_nameservers/customnameserver_test.go +++ b/custom_nameservers/customnameserver_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/custom_nameservers" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/custom_nameservers" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestCustomNameserverNewWithOptionalParams(t *testing.T) { diff --git a/d1/aliases.go b/d1/aliases.go index 9f1c83d1bc3..dc34f383064 100644 --- a/d1/aliases.go +++ b/d1/aliases.go @@ -3,8 +3,8 @@ package d1 import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/d1/d1.go b/d1/d1.go index a25820e8c2d..758de19175c 100644 --- a/d1/d1.go +++ b/d1/d1.go @@ -5,8 +5,8 @@ package d1 import ( "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/option" ) // D1Service contains methods and other services that help with interacting with diff --git a/d1/database.go b/d1/database.go index 97bea133063..8c69e76b611 100644 --- a/d1/database.go +++ b/d1/database.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // DatabaseService contains methods and other services that help with interacting diff --git a/d1/database_test.go b/d1/database_test.go index fad2e366f7f..c510dafcb3d 100644 --- a/d1/database_test.go +++ b/d1/database_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/d1" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/d1" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDatabaseNewWithOptionalParams(t *testing.T) { diff --git a/dcv_delegation/aliases.go b/dcv_delegation/aliases.go index 37c2b4f8e80..1649a2b8940 100644 --- a/dcv_delegation/aliases.go +++ b/dcv_delegation/aliases.go @@ -3,8 +3,8 @@ package dcv_delegation import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/dcv_delegation/dcvdelegation.go b/dcv_delegation/dcvdelegation.go index 8497abf65b7..f8104b74f94 100644 --- a/dcv_delegation/dcvdelegation.go +++ b/dcv_delegation/dcvdelegation.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // DCVDelegationService contains methods and other services that help with diff --git a/dcv_delegation/dcvdelegation_test.go b/dcv_delegation/dcvdelegation_test.go index e4725cde508..d1931e90846 100644 --- a/dcv_delegation/dcvdelegation_test.go +++ b/dcv_delegation/dcvdelegation_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dcv_delegation" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dcv_delegation" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDCVDelegationGet(t *testing.T) { diff --git a/diagnostics/aliases.go b/diagnostics/aliases.go index 57430ee8717..af6da1a6cd1 100644 --- a/diagnostics/aliases.go +++ b/diagnostics/aliases.go @@ -3,8 +3,8 @@ package diagnostics import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/diagnostics/diagnostic.go b/diagnostics/diagnostic.go index 0c8c1d6e636..6aa1087ba41 100644 --- a/diagnostics/diagnostic.go +++ b/diagnostics/diagnostic.go @@ -3,7 +3,7 @@ package diagnostics import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // DiagnosticService contains methods and other services that help with interacting diff --git a/diagnostics/traceroute.go b/diagnostics/traceroute.go index 2679e58a32b..49319e6e657 100644 --- a/diagnostics/traceroute.go +++ b/diagnostics/traceroute.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // TracerouteService contains methods and other services that help with interacting diff --git a/diagnostics/traceroute_test.go b/diagnostics/traceroute_test.go index ecefbb6d5a2..59a025e9da6 100644 --- a/diagnostics/traceroute_test.go +++ b/diagnostics/traceroute_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/diagnostics" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/diagnostics" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestTracerouteNewWithOptionalParams(t *testing.T) { diff --git a/dns/aliases.go b/dns/aliases.go index 4c0aa574923..b7cb762ba85 100644 --- a/dns/aliases.go +++ b/dns/aliases.go @@ -3,8 +3,8 @@ package dns import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/dns/analytics.go b/dns/analytics.go index 42e1f76a3d1..d6d1d98b6a8 100644 --- a/dns/analytics.go +++ b/dns/analytics.go @@ -3,7 +3,7 @@ package dns import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // AnalyticsService contains methods and other services that help with interacting diff --git a/dns/analyticsreport.go b/dns/analyticsreport.go index 059cdb7e647..527a08d282d 100644 --- a/dns/analyticsreport.go +++ b/dns/analyticsreport.go @@ -10,12 +10,12 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // AnalyticsReportService contains methods and other services that help with diff --git a/dns/analyticsreport_test.go b/dns/analyticsreport_test.go index 3f395867807..7614104f033 100644 --- a/dns/analyticsreport_test.go +++ b/dns/analyticsreport_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAnalyticsReportGetWithOptionalParams(t *testing.T) { diff --git a/dns/analyticsreportbytime.go b/dns/analyticsreportbytime.go index 24b2a9d2a64..d608e598e18 100644 --- a/dns/analyticsreportbytime.go +++ b/dns/analyticsreportbytime.go @@ -10,12 +10,12 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // AnalyticsReportBytimeService contains methods and other services that help with diff --git a/dns/analyticsreportbytime_test.go b/dns/analyticsreportbytime_test.go index 4ca63fab23f..5908eda26da 100644 --- a/dns/analyticsreportbytime_test.go +++ b/dns/analyticsreportbytime_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAnalyticsReportBytimeGetWithOptionalParams(t *testing.T) { diff --git a/dns/dns.go b/dns/dns.go index 391e6041460..9545d66d881 100644 --- a/dns/dns.go +++ b/dns/dns.go @@ -5,8 +5,8 @@ package dns import ( "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/option" ) // DNSService contains methods and other services that help with interacting with diff --git a/dns/dnssec.go b/dns/dnssec.go index fdf0c4209c2..21e07d321e1 100644 --- a/dns/dnssec.go +++ b/dns/dnssec.go @@ -9,11 +9,11 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // DNSSECService contains methods and other services that help with interacting diff --git a/dns/dnssec_test.go b/dns/dnssec_test.go index c11ce7a2442..57520168e1c 100644 --- a/dns/dnssec_test.go +++ b/dns/dnssec_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDNSSECDelete(t *testing.T) { diff --git a/dns/record.go b/dns/record.go index 60f77e2c47a..34bb046341b 100644 --- a/dns/record.go +++ b/dns/record.go @@ -13,14 +13,14 @@ import ( "reflect" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apiform" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apiform" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" "github.com/tidwall/gjson" ) diff --git a/dns/record_test.go b/dns/record_test.go index 788810f5d85..c38b8114e39 100644 --- a/dns/record_test.go +++ b/dns/record_test.go @@ -8,11 +8,11 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) func TestRecordNewWithOptionalParams(t *testing.T) { diff --git a/dns/setting.go b/dns/setting.go index fffe5db0705..da0a3560aed 100644 --- a/dns/setting.go +++ b/dns/setting.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // SettingService contains methods and other services that help with interacting diff --git a/dns/setting_test.go b/dns/setting_test.go index 4f4ed3727db..60d5dcae9cb 100644 --- a/dns/setting_test.go +++ b/dns/setting_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestSettingEditWithOptionalParams(t *testing.T) { diff --git a/dns/settingview.go b/dns/settingview.go index c9f4b7cfea2..36c2e68098d 100644 --- a/dns/settingview.go +++ b/dns/settingview.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // SettingViewService contains methods and other services that help with diff --git a/dns/settingview_test.go b/dns/settingview_test.go index ae47aa2c6cd..4f3b0f9e574 100644 --- a/dns/settingview_test.go +++ b/dns/settingview_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestSettingViewNew(t *testing.T) { diff --git a/dns/zonetransfer.go b/dns/zonetransfer.go index 8f29b6cebe8..ea7d034f563 100644 --- a/dns/zonetransfer.go +++ b/dns/zonetransfer.go @@ -3,7 +3,7 @@ package dns import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // ZoneTransferService contains methods and other services that help with diff --git a/dns/zonetransferacl.go b/dns/zonetransferacl.go index 5f9d047af39..cc360c5bfc0 100644 --- a/dns/zonetransferacl.go +++ b/dns/zonetransferacl.go @@ -8,12 +8,12 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferACLService contains methods and other services that help with diff --git a/dns/zonetransferacl_test.go b/dns/zonetransferacl_test.go index 376b2bc373a..4b68480c210 100644 --- a/dns/zonetransferacl_test.go +++ b/dns/zonetransferacl_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferACLNew(t *testing.T) { diff --git a/dns/zonetransferforceaxfr.go b/dns/zonetransferforceaxfr.go index b0652bba4d7..b471590d098 100644 --- a/dns/zonetransferforceaxfr.go +++ b/dns/zonetransferforceaxfr.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferForceAXFRService contains methods and other services that help with diff --git a/dns/zonetransferforceaxfr_test.go b/dns/zonetransferforceaxfr_test.go index 5f0edb58dc7..5019728548a 100644 --- a/dns/zonetransferforceaxfr_test.go +++ b/dns/zonetransferforceaxfr_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferForceAXFRNew(t *testing.T) { diff --git a/dns/zonetransferincoming.go b/dns/zonetransferincoming.go index e26b57785a8..30a584d69a0 100644 --- a/dns/zonetransferincoming.go +++ b/dns/zonetransferincoming.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferIncomingService contains methods and other services that help with diff --git a/dns/zonetransferincoming_test.go b/dns/zonetransferincoming_test.go index 69197731f34..ba42616c4c1 100644 --- a/dns/zonetransferincoming_test.go +++ b/dns/zonetransferincoming_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferIncomingNew(t *testing.T) { diff --git a/dns/zonetransferoutgoing.go b/dns/zonetransferoutgoing.go index 04e88972226..0829244b66e 100644 --- a/dns/zonetransferoutgoing.go +++ b/dns/zonetransferoutgoing.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferOutgoingService contains methods and other services that help with diff --git a/dns/zonetransferoutgoing_test.go b/dns/zonetransferoutgoing_test.go index 2c965a31c4f..1d37008ba23 100644 --- a/dns/zonetransferoutgoing_test.go +++ b/dns/zonetransferoutgoing_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferOutgoingNew(t *testing.T) { diff --git a/dns/zonetransferoutgoingstatus.go b/dns/zonetransferoutgoingstatus.go index 95256ae818d..76bae5428df 100644 --- a/dns/zonetransferoutgoingstatus.go +++ b/dns/zonetransferoutgoingstatus.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferOutgoingStatusService contains methods and other services that help diff --git a/dns/zonetransferoutgoingstatus_test.go b/dns/zonetransferoutgoingstatus_test.go index 21ff2eda8eb..e5ed0b75326 100644 --- a/dns/zonetransferoutgoingstatus_test.go +++ b/dns/zonetransferoutgoingstatus_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferOutgoingStatusGet(t *testing.T) { diff --git a/dns/zonetransferpeer.go b/dns/zonetransferpeer.go index 1d3012179d4..af7b5a3b9d3 100644 --- a/dns/zonetransferpeer.go +++ b/dns/zonetransferpeer.go @@ -8,12 +8,12 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferPeerService contains methods and other services that help with diff --git a/dns/zonetransferpeer_test.go b/dns/zonetransferpeer_test.go index 2f4d74e6a48..1ba6a1790e2 100644 --- a/dns/zonetransferpeer_test.go +++ b/dns/zonetransferpeer_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferPeerNew(t *testing.T) { diff --git a/dns/zonetransfertsig.go b/dns/zonetransfertsig.go index 595c1563c76..d22a45462b3 100644 --- a/dns/zonetransfertsig.go +++ b/dns/zonetransfertsig.go @@ -8,12 +8,12 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ZoneTransferTSIGService contains methods and other services that help with diff --git a/dns/zonetransfertsig_test.go b/dns/zonetransfertsig_test.go index ed366756aad..6d1daf0ab09 100644 --- a/dns/zonetransfertsig_test.go +++ b/dns/zonetransfertsig_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestZoneTransferTSIGNew(t *testing.T) { diff --git a/dns_firewall/aliases.go b/dns_firewall/aliases.go index 82a416789aa..910d44f9b27 100644 --- a/dns_firewall/aliases.go +++ b/dns_firewall/aliases.go @@ -3,8 +3,8 @@ package dns_firewall import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/dns_firewall/analytics.go b/dns_firewall/analytics.go index 827e57000ed..3b6b4587701 100644 --- a/dns_firewall/analytics.go +++ b/dns_firewall/analytics.go @@ -3,7 +3,7 @@ package dns_firewall import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // AnalyticsService contains methods and other services that help with interacting diff --git a/dns_firewall/analyticsreport.go b/dns_firewall/analyticsreport.go index eeaa20685b2..1e620dbfbeb 100644 --- a/dns_firewall/analyticsreport.go +++ b/dns_firewall/analyticsreport.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // AnalyticsReportService contains methods and other services that help with diff --git a/dns_firewall/analyticsreport_test.go b/dns_firewall/analyticsreport_test.go index bed03cc4a88..c58c59780cd 100644 --- a/dns_firewall/analyticsreport_test.go +++ b/dns_firewall/analyticsreport_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns_firewall" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns_firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAnalyticsReportGetWithOptionalParams(t *testing.T) { diff --git a/dns_firewall/analyticsreportbytime.go b/dns_firewall/analyticsreportbytime.go index 3b54636e2f2..a683788cd4e 100644 --- a/dns_firewall/analyticsreportbytime.go +++ b/dns_firewall/analyticsreportbytime.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/dns" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/dns" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // AnalyticsReportBytimeService contains methods and other services that help with diff --git a/dns_firewall/analyticsreportbytime_test.go b/dns_firewall/analyticsreportbytime_test.go index 10d3f823d89..754d91a2a79 100644 --- a/dns_firewall/analyticsreportbytime_test.go +++ b/dns_firewall/analyticsreportbytime_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns_firewall" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns_firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAnalyticsReportBytimeGetWithOptionalParams(t *testing.T) { diff --git a/dns_firewall/dnsfirewall.go b/dns_firewall/dnsfirewall.go index 9f22236a61b..b557e785e58 100644 --- a/dns_firewall/dnsfirewall.go +++ b/dns_firewall/dnsfirewall.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // DNSFirewallService contains methods and other services that help with diff --git a/dns_firewall/dnsfirewall_test.go b/dns_firewall/dnsfirewall_test.go index 6c5d9634ee8..49f5a07dc29 100644 --- a/dns_firewall/dnsfirewall_test.go +++ b/dns_firewall/dnsfirewall_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns_firewall" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns_firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDNSFirewallNewWithOptionalParams(t *testing.T) { diff --git a/dns_firewall/reversedns.go b/dns_firewall/reversedns.go index c70c1eb4cef..5f2638018d1 100644 --- a/dns_firewall/reversedns.go +++ b/dns_firewall/reversedns.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // ReverseDNSService contains methods and other services that help with interacting diff --git a/dns_firewall/reversedns_test.go b/dns_firewall/reversedns_test.go index 387970936e1..ef17d3549d0 100644 --- a/dns_firewall/reversedns_test.go +++ b/dns_firewall/reversedns_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/dns_firewall" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/dns_firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestReverseDNSEditWithOptionalParams(t *testing.T) { diff --git a/durable_objects/aliases.go b/durable_objects/aliases.go index 3dc1b759076..90ac2b164f2 100644 --- a/durable_objects/aliases.go +++ b/durable_objects/aliases.go @@ -3,8 +3,8 @@ package durable_objects import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/durable_objects/durableobject.go b/durable_objects/durableobject.go index 8cdb0a9f0c3..636ea85a09a 100644 --- a/durable_objects/durableobject.go +++ b/durable_objects/durableobject.go @@ -3,7 +3,7 @@ package durable_objects import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // DurableObjectService contains methods and other services that help with diff --git a/durable_objects/namespace.go b/durable_objects/namespace.go index e7c773b0919..b752ab0e9b4 100644 --- a/durable_objects/namespace.go +++ b/durable_objects/namespace.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" ) // NamespaceService contains methods and other services that help with interacting diff --git a/durable_objects/namespace_test.go b/durable_objects/namespace_test.go index 59ce2ed7440..9d181a6e5a4 100644 --- a/durable_objects/namespace_test.go +++ b/durable_objects/namespace_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/durable_objects" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/durable_objects" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestNamespaceList(t *testing.T) { diff --git a/durable_objects/namespaceobject.go b/durable_objects/namespaceobject.go index 7569636111f..8e05ea47d71 100644 --- a/durable_objects/namespaceobject.go +++ b/durable_objects/namespaceobject.go @@ -9,12 +9,12 @@ import ( "net/http" "net/url" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" ) // NamespaceObjectService contains methods and other services that help with diff --git a/durable_objects/namespaceobject_test.go b/durable_objects/namespaceobject_test.go index 7dc45ce18cc..a04be04999e 100644 --- a/durable_objects/namespaceobject_test.go +++ b/durable_objects/namespaceobject_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/durable_objects" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/durable_objects" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestNamespaceObjectListWithOptionalParams(t *testing.T) { diff --git a/email_routing/address.go b/email_routing/address.go index 4243cb75458..23e52773862 100644 --- a/email_routing/address.go +++ b/email_routing/address.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // AddressService contains methods and other services that help with interacting diff --git a/email_routing/address_test.go b/email_routing/address_test.go index 31313529f87..d322a7ed4a6 100644 --- a/email_routing/address_test.go +++ b/email_routing/address_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_routing" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_routing" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAddressNew(t *testing.T) { diff --git a/email_routing/aliases.go b/email_routing/aliases.go index 89f4d66534e..cf289d79b81 100644 --- a/email_routing/aliases.go +++ b/email_routing/aliases.go @@ -3,8 +3,8 @@ package email_routing import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/email_routing/dns.go b/email_routing/dns.go index f0974c907bb..b3b2eb028ef 100644 --- a/email_routing/dns.go +++ b/email_routing/dns.go @@ -10,12 +10,12 @@ import ( "net/url" "reflect" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" "github.com/tidwall/gjson" ) diff --git a/email_routing/dns_test.go b/email_routing/dns_test.go index f6a118c3b31..00f3a147e1b 100644 --- a/email_routing/dns_test.go +++ b/email_routing/dns_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_routing" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_routing" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDNSNew(t *testing.T) { diff --git a/email_routing/emailrouting.go b/email_routing/emailrouting.go index b1b00cd3db0..94b702f6c86 100644 --- a/email_routing/emailrouting.go +++ b/email_routing/emailrouting.go @@ -9,11 +9,11 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // EmailRoutingService contains methods and other services that help with diff --git a/email_routing/emailrouting_test.go b/email_routing/emailrouting_test.go index c42da6538d4..ba6827566e6 100644 --- a/email_routing/emailrouting_test.go +++ b/email_routing/emailrouting_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_routing" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_routing" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestEmailRoutingDisable(t *testing.T) { diff --git a/email_routing/rule.go b/email_routing/rule.go index 3dd794bde33..ef75c09d11a 100644 --- a/email_routing/rule.go +++ b/email_routing/rule.go @@ -9,13 +9,13 @@ import ( "net/http" "net/url" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // RuleService contains methods and other services that help with interacting with diff --git a/email_routing/rule_test.go b/email_routing/rule_test.go index eb7493a8bdc..ef7d94c6c16 100644 --- a/email_routing/rule_test.go +++ b/email_routing/rule_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_routing" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_routing" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestRuleNewWithOptionalParams(t *testing.T) { diff --git a/email_routing/rulecatchall.go b/email_routing/rulecatchall.go index da8e3040586..e593805e56a 100644 --- a/email_routing/rulecatchall.go +++ b/email_routing/rulecatchall.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // RuleCatchAllService contains methods and other services that help with diff --git a/email_routing/rulecatchall_test.go b/email_routing/rulecatchall_test.go index 37a4e403ca4..693a285adcb 100644 --- a/email_routing/rulecatchall_test.go +++ b/email_routing/rulecatchall_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_routing" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_routing" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestRuleCatchAllUpdateWithOptionalParams(t *testing.T) { diff --git a/email_security/aliases.go b/email_security/aliases.go index e1f8ef5995d..f788292a9ff 100644 --- a/email_security/aliases.go +++ b/email_security/aliases.go @@ -3,8 +3,8 @@ package email_security import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apierror" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apierror" + "github.com/cloudflare/cloudflare-go/v4/shared" ) type Error = apierror.Error diff --git a/email_security/emailsecurity.go b/email_security/emailsecurity.go index 8c30de7e6e6..58f22c76771 100644 --- a/email_security/emailsecurity.go +++ b/email_security/emailsecurity.go @@ -3,7 +3,7 @@ package email_security import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // EmailSecurityService contains methods and other services that help with diff --git a/email_security/investigate.go b/email_security/investigate.go index 6e5fdd0e892..6f29b01dfd5 100644 --- a/email_security/investigate.go +++ b/email_security/investigate.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateService contains methods and other services that help with diff --git a/email_security/investigate_test.go b/email_security/investigate_test.go index eabd50e7d29..d9618f589db 100644 --- a/email_security/investigate_test.go +++ b/email_security/investigate_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateListWithOptionalParams(t *testing.T) { diff --git a/email_security/investigatedetection.go b/email_security/investigatedetection.go index 0f0f26b0bbe..21e2e6253bd 100644 --- a/email_security/investigatedetection.go +++ b/email_security/investigatedetection.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateDetectionService contains methods and other services that help with diff --git a/email_security/investigatedetection_test.go b/email_security/investigatedetection_test.go index 53ecb3c590e..a935c0fd248 100644 --- a/email_security/investigatedetection_test.go +++ b/email_security/investigatedetection_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateDetectionGet(t *testing.T) { diff --git a/email_security/investigatemove.go b/email_security/investigatemove.go index b6f44697d3f..9d25deddf4c 100644 --- a/email_security/investigatemove.go +++ b/email_security/investigatemove.go @@ -9,11 +9,11 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateMoveService contains methods and other services that help with diff --git a/email_security/investigatemove_test.go b/email_security/investigatemove_test.go index 7d3399b03a5..3b82779dc92 100644 --- a/email_security/investigatemove_test.go +++ b/email_security/investigatemove_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateMoveNew(t *testing.T) { diff --git a/email_security/investigatepreview.go b/email_security/investigatepreview.go index 3df7fb228eb..b5da866f2bd 100644 --- a/email_security/investigatepreview.go +++ b/email_security/investigatepreview.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigatePreviewService contains methods and other services that help with diff --git a/email_security/investigatepreview_test.go b/email_security/investigatepreview_test.go index 4f6568ffa94..7accfef7430 100644 --- a/email_security/investigatepreview_test.go +++ b/email_security/investigatepreview_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigatePreviewNew(t *testing.T) { diff --git a/email_security/investigateraw.go b/email_security/investigateraw.go index f73a512fb4d..1353e7e6c32 100644 --- a/email_security/investigateraw.go +++ b/email_security/investigateraw.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateRawService contains methods and other services that help with diff --git a/email_security/investigateraw_test.go b/email_security/investigateraw_test.go index 44b4a064489..b3a64fa1d75 100644 --- a/email_security/investigateraw_test.go +++ b/email_security/investigateraw_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateRawGet(t *testing.T) { diff --git a/email_security/investigatereclassify.go b/email_security/investigatereclassify.go index 46c00088d3e..d2423c96c01 100644 --- a/email_security/investigatereclassify.go +++ b/email_security/investigatereclassify.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateReclassifyService contains methods and other services that help with diff --git a/email_security/investigatereclassify_test.go b/email_security/investigatereclassify_test.go index f7256c2d766..3ea4d5f48ec 100644 --- a/email_security/investigatereclassify_test.go +++ b/email_security/investigatereclassify_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateReclassifyNewWithOptionalParams(t *testing.T) { diff --git a/email_security/investigaterelease.go b/email_security/investigaterelease.go index 89eb61fcc4b..ae9f439d692 100644 --- a/email_security/investigaterelease.go +++ b/email_security/investigaterelease.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateReleaseService contains methods and other services that help with diff --git a/email_security/investigaterelease_test.go b/email_security/investigaterelease_test.go index d362e1cac6f..13bc3cbb18b 100644 --- a/email_security/investigaterelease_test.go +++ b/email_security/investigaterelease_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateReleaseBulk(t *testing.T) { diff --git a/email_security/investigatetrace.go b/email_security/investigatetrace.go index 969161466c3..33e851d873c 100644 --- a/email_security/investigatetrace.go +++ b/email_security/investigatetrace.go @@ -9,11 +9,11 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // InvestigateTraceService contains methods and other services that help with diff --git a/email_security/investigatetrace_test.go b/email_security/investigatetrace_test.go index dccad31851d..a3cf49fb1be 100644 --- a/email_security/investigatetrace_test.go +++ b/email_security/investigatetrace_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestInvestigateTraceGet(t *testing.T) { diff --git a/email_security/setting.go b/email_security/setting.go index ab742028018..75d943d58f1 100644 --- a/email_security/setting.go +++ b/email_security/setting.go @@ -3,7 +3,7 @@ package email_security import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // SettingService contains methods and other services that help with interacting diff --git a/email_security/settingallowpolicy.go b/email_security/settingallowpolicy.go index 80f8a199e80..b263754e28a 100644 --- a/email_security/settingallowpolicy.go +++ b/email_security/settingallowpolicy.go @@ -10,13 +10,13 @@ import ( "net/url" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/apiquery" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // SettingAllowPolicyService contains methods and other services that help with diff --git a/email_security/settingallowpolicy_test.go b/email_security/settingallowpolicy_test.go index cc76209ac69..145904b8550 100644 --- a/email_security/settingallowpolicy_test.go +++ b/email_security/settingallowpolicy_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/email_security" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/email_security" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestSettingAllowPolicyNewWithOptionalParams(t *testing.T) {