diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e0dc5001b1a..127ac87b532 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.1.0" + ".": "4.0.0" } \ No newline at end of file diff --git a/README.md b/README.md index 8fd280c864d..15bb63d4368 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Or to pin the version: ```sh -go get -u 'github.com/cloudflare/cloudflare-go/v3@v3.1.0' +go get -u 'github.com/cloudflare/cloudflare-go/v3@v4.0.0' ``` diff --git a/zero_trust/gatewayconfiguration_test.go b/zero_trust/gatewayconfiguration_test.go index 927bab59716..ad443e27a28 100644 --- a/zero_trust/gatewayconfiguration_test.go +++ b/zero_trust/gatewayconfiguration_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayConfigurationUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/gatewayconfigurationcustomcertificate.go b/zero_trust/gatewayconfigurationcustomcertificate.go index f20ac1f819f..17914c8216f 100644 --- a/zero_trust/gatewayconfigurationcustomcertificate.go +++ b/zero_trust/gatewayconfigurationcustomcertificate.go @@ -8,9 +8,9 @@ import ( "fmt" "net/http" - "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/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" ) // GatewayConfigurationCustomCertificateService contains methods and other services diff --git a/zero_trust/gatewayconfigurationcustomcertificate_test.go b/zero_trust/gatewayconfigurationcustomcertificate_test.go index b84ee396e25..ecca4f00e8f 100644 --- a/zero_trust/gatewayconfigurationcustomcertificate_test.go +++ b/zero_trust/gatewayconfigurationcustomcertificate_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayConfigurationCustomCertificateGet(t *testing.T) { diff --git a/zero_trust/gatewaylist.go b/zero_trust/gatewaylist.go index 3fdc8840ff6..af0b58fe4a8 100644 --- a/zero_trust/gatewaylist.go +++ b/zero_trust/gatewaylist.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/pagination" - "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/pagination" + "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" ) // GatewayListService contains methods and other services that help with diff --git a/zero_trust/gatewaylist_test.go b/zero_trust/gatewaylist_test.go index 8a3f19549bc..9c3d980d648 100644 --- a/zero_trust/gatewaylist_test.go +++ b/zero_trust/gatewaylist_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayListNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/gatewaylistitem.go b/zero_trust/gatewaylistitem.go index d2fd41e338e..e1da16a5371 100644 --- a/zero_trust/gatewaylistitem.go +++ b/zero_trust/gatewaylistitem.go @@ -8,10 +8,10 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/v4/internal/pagination" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" ) // GatewayListItemService contains methods and other services that help with diff --git a/zero_trust/gatewaylistitem_test.go b/zero_trust/gatewaylistitem_test.go index 0aef6d58a43..ba1ec494c38 100644 --- a/zero_trust/gatewaylistitem_test.go +++ b/zero_trust/gatewaylistitem_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayListItemList(t *testing.T) { diff --git a/zero_trust/gatewaylocation.go b/zero_trust/gatewaylocation.go index e5b12acdb12..24c4f8c8f59 100644 --- a/zero_trust/gatewaylocation.go +++ b/zero_trust/gatewaylocation.go @@ -9,12 +9,12 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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" ) // GatewayLocationService contains methods and other services that help with diff --git a/zero_trust/gatewaylocation_test.go b/zero_trust/gatewaylocation_test.go index 051b0a6edd0..e62f3dc4751 100644 --- a/zero_trust/gatewaylocation_test.go +++ b/zero_trust/gatewaylocation_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayLocationNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/gatewaylogging.go b/zero_trust/gatewaylogging.go index d88cb4f68f6..926382238f9 100644 --- a/zero_trust/gatewaylogging.go +++ b/zero_trust/gatewaylogging.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" ) // GatewayLoggingService contains methods and other services that help with diff --git a/zero_trust/gatewaylogging_test.go b/zero_trust/gatewaylogging_test.go index 84a4f9b66d3..32682bda8c3 100644 --- a/zero_trust/gatewaylogging_test.go +++ b/zero_trust/gatewaylogging_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayLoggingUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/gatewayproxyendpoint.go b/zero_trust/gatewayproxyendpoint.go index f8adea37e3d..c15b1bbc9c1 100644 --- a/zero_trust/gatewayproxyendpoint.go +++ b/zero_trust/gatewayproxyendpoint.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" ) // GatewayProxyEndpointService contains methods and other services that help with diff --git a/zero_trust/gatewayproxyendpoint_test.go b/zero_trust/gatewayproxyendpoint_test.go index c36be3103d2..3ad806588ad 100644 --- a/zero_trust/gatewayproxyendpoint_test.go +++ b/zero_trust/gatewayproxyendpoint_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayProxyEndpointNew(t *testing.T) { diff --git a/zero_trust/gatewayrule.go b/zero_trust/gatewayrule.go index a71b4c3e43b..b4d0a4a2367 100644 --- a/zero_trust/gatewayrule.go +++ b/zero_trust/gatewayrule.go @@ -9,12 +9,12 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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" ) // GatewayRuleService contains methods and other services that help with diff --git a/zero_trust/gatewayrule_test.go b/zero_trust/gatewayrule_test.go index c304e1e61fc..b9bbdca548f 100644 --- a/zero_trust/gatewayrule_test.go +++ b/zero_trust/gatewayrule_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestGatewayRuleNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/identityprovider.go b/zero_trust/identityprovider.go index 11e87cee7de..a0b21dcef7a 100644 --- a/zero_trust/identityprovider.go +++ b/zero_trust/identityprovider.go @@ -9,12 +9,12 @@ import ( "net/http" "reflect" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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/zero_trust/identityprovider_test.go b/zero_trust/identityprovider_test.go index ee88248d56f..5d811378d51 100644 --- a/zero_trust/identityprovider_test.go +++ b/zero_trust/identityprovider_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestIdentityProviderNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/network.go b/zero_trust/network.go index c28ddefe573..458dee8cc0c 100644 --- a/zero_trust/network.go +++ b/zero_trust/network.go @@ -3,7 +3,7 @@ package zero_trust import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // NetworkService contains methods and other services that help with interacting diff --git a/zero_trust/networkroute.go b/zero_trust/networkroute.go index c87d43cd517..8e43e130d4b 100644 --- a/zero_trust/networkroute.go +++ b/zero_trust/networkroute.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/pagination" - "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/pagination" + "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" ) // NetworkRouteService contains methods and other services that help with diff --git a/zero_trust/networkroute_test.go b/zero_trust/networkroute_test.go index 6960306bb6d..27e98dab45a 100644 --- a/zero_trust/networkroute_test.go +++ b/zero_trust/networkroute_test.go @@ -10,9 +10,9 @@ import ( "time" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestNetworkRouteNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/networkrouteip.go b/zero_trust/networkrouteip.go index eee60bac5ba..4c0d8aee53f 100644 --- a/zero_trust/networkrouteip.go +++ b/zero_trust/networkrouteip.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/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" ) // NetworkRouteIPService contains methods and other services that help with diff --git a/zero_trust/networkrouteip_test.go b/zero_trust/networkrouteip_test.go index 080582a2f83..0dcd68fb3b7 100644 --- a/zero_trust/networkrouteip_test.go +++ b/zero_trust/networkrouteip_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestNetworkRouteIPGetWithOptionalParams(t *testing.T) { diff --git a/zero_trust/networkroutenetwork.go b/zero_trust/networkroutenetwork.go index 1261a7a9065..74c7f421daf 100644 --- a/zero_trust/networkroutenetwork.go +++ b/zero_trust/networkroutenetwork.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/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" ) // NetworkRouteNetworkService contains methods and other services that help with diff --git a/zero_trust/networkroutenetwork_test.go b/zero_trust/networkroutenetwork_test.go index f75d109522d..e53f1703b7a 100644 --- a/zero_trust/networkroutenetwork_test.go +++ b/zero_trust/networkroutenetwork_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestNetworkRouteNetworkNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/networkvirtualnetwork.go b/zero_trust/networkvirtualnetwork.go index 8e4ea2a43a1..77dcf05881b 100644 --- a/zero_trust/networkvirtualnetwork.go +++ b/zero_trust/networkvirtualnetwork.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/pagination" - "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/pagination" + "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" ) // NetworkVirtualNetworkService contains methods and other services that help with diff --git a/zero_trust/networkvirtualnetwork_test.go b/zero_trust/networkvirtualnetwork_test.go index 7112316e7cd..ca65f73f933 100644 --- a/zero_trust/networkvirtualnetwork_test.go +++ b/zero_trust/networkvirtualnetwork_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestNetworkVirtualNetworkNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/organization.go b/zero_trust/organization.go index 99d637081c0..dfb4dd12d32 100644 --- a/zero_trust/organization.go +++ b/zero_trust/organization.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" ) // OrganizationService contains methods and other services that help with diff --git a/zero_trust/organization_test.go b/zero_trust/organization_test.go index 47f11cf5f8e..1b4160edc15 100644 --- a/zero_trust/organization_test.go +++ b/zero_trust/organization_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestOrganizationNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/organizationdoh.go b/zero_trust/organizationdoh.go index ff24355891c..77e3038361b 100644 --- a/zero_trust/organizationdoh.go +++ b/zero_trust/organizationdoh.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" ) // OrganizationDOHService contains methods and other services that help with diff --git a/zero_trust/organizationdoh_test.go b/zero_trust/organizationdoh_test.go index b5de0ade24b..4aa31804ce0 100644 --- a/zero_trust/organizationdoh_test.go +++ b/zero_trust/organizationdoh_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestOrganizationDOHUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/riskscoring.go b/zero_trust/riskscoring.go index d492c0f5ee4..46cf69919a9 100644 --- a/zero_trust/riskscoring.go +++ b/zero_trust/riskscoring.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" ) // RiskScoringService contains methods and other services that help with diff --git a/zero_trust/riskscoring_test.go b/zero_trust/riskscoring_test.go index eb7bc4f7486..a2270690c7d 100644 --- a/zero_trust/riskscoring_test.go +++ b/zero_trust/riskscoring_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestRiskScoringGet(t *testing.T) { diff --git a/zero_trust/riskscoringbehaviour.go b/zero_trust/riskscoringbehaviour.go index 89e8b449471..6091f0b97aa 100644 --- a/zero_trust/riskscoringbehaviour.go +++ b/zero_trust/riskscoringbehaviour.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" ) // RiskScoringBehaviourService contains methods and other services that help with diff --git a/zero_trust/riskscoringbehaviour_test.go b/zero_trust/riskscoringbehaviour_test.go index 6e1a3797178..07c0e40d2a0 100644 --- a/zero_trust/riskscoringbehaviour_test.go +++ b/zero_trust/riskscoringbehaviour_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestRiskScoringBehaviourUpdate(t *testing.T) { diff --git a/zero_trust/riskscoringintegration.go b/zero_trust/riskscoringintegration.go index d0553b5f40e..b214fc1622f 100644 --- a/zero_trust/riskscoringintegration.go +++ b/zero_trust/riskscoringintegration.go @@ -9,12 +9,12 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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" ) // RiskScoringIntegrationService contains methods and other services that help with diff --git a/zero_trust/riskscoringintegration_test.go b/zero_trust/riskscoringintegration_test.go index 46ad14a39c0..5cb328bec40 100644 --- a/zero_trust/riskscoringintegration_test.go +++ b/zero_trust/riskscoringintegration_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestRiskScoringIntegrationNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/riskscoringintegrationreference.go b/zero_trust/riskscoringintegrationreference.go index 8a355a9c390..6a8c2496047 100644 --- a/zero_trust/riskscoringintegrationreference.go +++ b/zero_trust/riskscoringintegrationreference.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" ) // RiskScoringIntegrationReferenceService contains methods and other services that diff --git a/zero_trust/riskscoringintegrationreference_test.go b/zero_trust/riskscoringintegrationreference_test.go index 9ea5f6fdecf..76dfbf7a52b 100644 --- a/zero_trust/riskscoringintegrationreference_test.go +++ b/zero_trust/riskscoringintegrationreference_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestRiskScoringIntegrationReferenceGet(t *testing.T) { diff --git a/zero_trust/riskscoringsummary.go b/zero_trust/riskscoringsummary.go index 88151d1d544..f34a0db8c62 100644 --- a/zero_trust/riskscoringsummary.go +++ b/zero_trust/riskscoringsummary.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" ) // RiskScoringSummaryService contains methods and other services that help with diff --git a/zero_trust/riskscoringsummary_test.go b/zero_trust/riskscoringsummary_test.go index 56d9eed8d85..23b62778bea 100644 --- a/zero_trust/riskscoringsummary_test.go +++ b/zero_trust/riskscoringsummary_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestRiskScoringSummaryGet(t *testing.T) { diff --git a/zero_trust/seat.go b/zero_trust/seat.go index 0e4b1383736..d829b7355e1 100644 --- a/zero_trust/seat.go +++ b/zero_trust/seat.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" ) // SeatService contains methods and other services that help with interacting with diff --git a/zero_trust/seat_test.go b/zero_trust/seat_test.go index dfc6fd7293b..3f5ba3d501b 100644 --- a/zero_trust/seat_test.go +++ b/zero_trust/seat_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestSeatEdit(t *testing.T) { diff --git a/zero_trust/tunnel.go b/zero_trust/tunnel.go index 890c9528828..ff6e02359bd 100644 --- a/zero_trust/tunnel.go +++ b/zero_trust/tunnel.go @@ -11,13 +11,13 @@ import ( "reflect" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/apiquery" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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/zero_trust/tunnel_test.go b/zero_trust/tunnel_test.go index cc4e33cdbd8..07e56618df5 100644 --- a/zero_trust/tunnel_test.go +++ b/zero_trust/tunnel_test.go @@ -10,9 +10,9 @@ import ( "time" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/tunnelconfiguration.go b/zero_trust/tunnelconfiguration.go index 81f6c705fcb..078c555182b 100644 --- a/zero_trust/tunnelconfiguration.go +++ b/zero_trust/tunnelconfiguration.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" ) // TunnelConfigurationService contains methods and other services that help with diff --git a/zero_trust/tunnelconfiguration_test.go b/zero_trust/tunnelconfiguration_test.go index 8334bcf8a74..0ee18c08a01 100644 --- a/zero_trust/tunnelconfiguration_test.go +++ b/zero_trust/tunnelconfiguration_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelConfigurationUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/tunnelconnection.go b/zero_trust/tunnelconnection.go index 3f349d0053b..d5d80ea3e2c 100644 --- a/zero_trust/tunnelconnection.go +++ b/zero_trust/tunnelconnection.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" ) // TunnelConnectionService contains methods and other services that help with diff --git a/zero_trust/tunnelconnection_test.go b/zero_trust/tunnelconnection_test.go index 613e04f5859..b275e41dcf7 100644 --- a/zero_trust/tunnelconnection_test.go +++ b/zero_trust/tunnelconnection_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelConnectionDeleteWithOptionalParams(t *testing.T) { diff --git a/zero_trust/tunnelconnector.go b/zero_trust/tunnelconnector.go index 6d6a4b08ee4..7bd42eb48d3 100644 --- a/zero_trust/tunnelconnector.go +++ b/zero_trust/tunnelconnector.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" ) // TunnelConnectorService contains methods and other services that help with diff --git a/zero_trust/tunnelconnector_test.go b/zero_trust/tunnelconnector_test.go index 81a8d10471b..09837691691 100644 --- a/zero_trust/tunnelconnector_test.go +++ b/zero_trust/tunnelconnector_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelConnectorGet(t *testing.T) { diff --git a/zero_trust/tunnelmanagement.go b/zero_trust/tunnelmanagement.go index 106ea22181e..af49b853f73 100644 --- a/zero_trust/tunnelmanagement.go +++ b/zero_trust/tunnelmanagement.go @@ -9,11 +9,11 @@ import ( "net/http" "reflect" - "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" "github.com/tidwall/gjson" ) diff --git a/zero_trust/tunnelmanagement_test.go b/zero_trust/tunnelmanagement_test.go index c4402122c44..e56258335da 100644 --- a/zero_trust/tunnelmanagement_test.go +++ b/zero_trust/tunnelmanagement_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelManagementNew(t *testing.T) { diff --git a/zero_trust/tunneltoken.go b/zero_trust/tunneltoken.go index 6cf55b559a4..764a1f4f8e0 100644 --- a/zero_trust/tunneltoken.go +++ b/zero_trust/tunneltoken.go @@ -9,11 +9,11 @@ import ( "net/http" "reflect" - "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" "github.com/tidwall/gjson" ) diff --git a/zero_trust/tunneltoken_test.go b/zero_trust/tunneltoken_test.go index 710ac2689dc..b43fa6086ed 100644 --- a/zero_trust/tunneltoken_test.go +++ b/zero_trust/tunneltoken_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zero_trust" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestTunnelTokenGet(t *testing.T) { diff --git a/zero_trust/zerotrust.go b/zero_trust/zerotrust.go index adbe9199ef5..6559021f7da 100644 --- a/zero_trust/zerotrust.go +++ b/zero_trust/zerotrust.go @@ -3,7 +3,7 @@ package zero_trust import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // ZeroTrustService contains methods and other services that help with interacting diff --git a/zones/activationcheck.go b/zones/activationcheck.go index dc56f2d6e9d..d4983e70be8 100644 --- a/zones/activationcheck.go +++ b/zones/activationcheck.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" ) // ActivationCheckService contains methods and other services that help with diff --git a/zones/activationcheck_test.go b/zones/activationcheck_test.go index d8e54a8a9f5..408e7e268d9 100644 --- a/zones/activationcheck_test.go +++ b/zones/activationcheck_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestActivationCheckTrigger(t *testing.T) { diff --git a/zones/aliases.go b/zones/aliases.go index af9a912f7b9..a59bb3a3f4c 100644 --- a/zones/aliases.go +++ b/zones/aliases.go @@ -3,8 +3,8 @@ package zones 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/zones/customnameserver.go b/zones/customnameserver.go index 22c02c9e061..84b6d7e3b82 100644 --- a/zones/customnameserver.go +++ b/zones/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/zones/customnameserver_test.go b/zones/customnameserver_test.go index 4a507884c48..971d8678a45 100644 --- a/zones/customnameserver_test.go +++ b/zones/customnameserver_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestCustomNameserverUpdateWithOptionalParams(t *testing.T) { diff --git a/zones/hold.go b/zones/hold.go index 30cc64e4da9..61ea86177ec 100644 --- a/zones/hold.go +++ b/zones/hold.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/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" ) // HoldService contains methods and other services that help with interacting with diff --git a/zones/hold_test.go b/zones/hold_test.go index 26d1db2465c..fef9b1d4e8b 100644 --- a/zones/hold_test.go +++ b/zones/hold_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestHoldNewWithOptionalParams(t *testing.T) { diff --git a/zones/plan.go b/zones/plan.go index 0b71d578db9..73118274658 100644 --- a/zones/plan.go +++ b/zones/plan.go @@ -8,12 +8,12 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/pagination" - "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/pagination" + "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" ) // PlanService contains methods and other services that help with interacting with diff --git a/zones/plan_test.go b/zones/plan_test.go index a8791e02807..43283c73bd0 100644 --- a/zones/plan_test.go +++ b/zones/plan_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestPlanList(t *testing.T) { diff --git a/zones/rateplan.go b/zones/rateplan.go index 4cdaf43e3a6..8c4f95b33d4 100644 --- a/zones/rateplan.go +++ b/zones/rateplan.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" ) // RatePlanService contains methods and other services that help with interacting diff --git a/zones/rateplan_test.go b/zones/rateplan_test.go index 4225610c7f5..124778ec006 100644 --- a/zones/rateplan_test.go +++ b/zones/rateplan_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestRatePlanGet(t *testing.T) { diff --git a/zones/setting.go b/zones/setting.go index 72e07973100..86c477c46a4 100644 --- a/zones/setting.go +++ b/zones/setting.go @@ -10,11 +10,11 @@ import ( "reflect" "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" "github.com/tidwall/gjson" ) diff --git a/zones/setting_test.go b/zones/setting_test.go index dfcaf29f3f8..649105d4063 100644 --- a/zones/setting_test.go +++ b/zones/setting_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestSettingEditWithOptionalParams(t *testing.T) { diff --git a/zones/subscription.go b/zones/subscription.go index 95fed8a3bef..ae051705d96 100644 --- a/zones/subscription.go +++ b/zones/subscription.go @@ -8,10 +8,10 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "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/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" ) // SubscriptionService contains methods and other services that help with diff --git a/zones/subscription_test.go b/zones/subscription_test.go index 7f404fd3992..b4516ec70df 100644 --- a/zones/subscription_test.go +++ b/zones/subscription_test.go @@ -9,10 +9,10 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "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/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/shared" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestSubscriptionNewWithOptionalParams(t *testing.T) { diff --git a/zones/zone.go b/zones/zone.go index 7fb7428bc1d..636a19aedf7 100644 --- a/zones/zone.go +++ b/zones/zone.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/pagination" - "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/pagination" + "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" ) // ZoneService contains methods and other services that help with interacting with diff --git a/zones/zone_test.go b/zones/zone_test.go index 0f35d0c23fa..b1486e39b0f 100644 --- a/zones/zone_test.go +++ b/zones/zone_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/internal/testutil" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/zones" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zones" ) func TestZoneNewWithOptionalParams(t *testing.T) {