From 66eb54548ed87a00389eaf98a02c62a53fb733d1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 00:32:06 +0000 Subject: [PATCH] release: 4.0.0 --- email_security/settingblocksender.go | 14 +++++++------- email_security/settingblocksender_test.go | 8 ++++---- email_security/settingdomain.go | 14 +++++++------- email_security/settingdomain_test.go | 8 ++++---- email_security/settingimpersonationregistry.go | 14 +++++++------- .../settingimpersonationregistry_test.go | 8 ++++---- email_security/settingtrusteddomain.go | 14 +++++++------- email_security/settingtrusteddomain_test.go | 8 ++++---- email_security/submission.go | 12 ++++++------ email_security/submission_test.go | 8 ++++---- field.go | 2 +- filters/aliases.go | 4 ++-- filters/filter.go | 14 +++++++------- filters/filter_test.go | 8 ++++---- firewall/accessrule.go | 14 +++++++------- firewall/accessrule_test.go | 8 ++++---- firewall/aliases.go | 4 ++-- firewall/firewall.go | 2 +- firewall/lockdown.go | 14 +++++++------- firewall/lockdown_test.go | 8 ++++---- firewall/rule.go | 18 +++++++++--------- firewall/rule_test.go | 10 +++++----- firewall/uarule.go | 14 +++++++------- firewall/uarule_test.go | 8 ++++---- firewall/waf.go | 2 +- firewall/wafoverride.go | 14 +++++++------- firewall/wafoverride_test.go | 8 ++++---- firewall/wafpackage.go | 14 +++++++------- firewall/wafpackage_test.go | 8 ++++---- firewall/wafpackagegroup.go | 14 +++++++------- firewall/wafpackagegroup_test.go | 8 ++++---- firewall/wafpackagerule.go | 14 +++++++------- firewall/wafpackagerule_test.go | 8 ++++---- healthchecks/aliases.go | 4 ++-- healthchecks/healthcheck.go | 14 +++++++------- healthchecks/healthcheck_test.go | 8 ++++---- healthchecks/preview.go | 10 +++++----- healthchecks/preview_test.go | 8 ++++---- hostnames/aliases.go | 4 ++-- hostnames/hostname.go | 2 +- hostnames/setting.go | 2 +- hostnames/settingtls.go | 10 +++++----- hostnames/settingtls_test.go | 8 ++++---- hyperdrive/aliases.go | 4 ++-- hyperdrive/config.go | 12 ++++++------ hyperdrive/config_test.go | 8 ++++---- hyperdrive/hyperdrive.go | 6 +++--- iam/aliases.go | 4 ++-- iam/iam.go | 2 +- iam/permissiongroup.go | 12 ++++++------ iam/permissiongroup_test.go | 8 ++++---- iam/resourcegroup.go | 14 +++++++------- iam/resourcegroup_test.go | 8 ++++---- images/aliases.go | 4 ++-- images/image.go | 2 +- images/v1.go | 16 ++++++++-------- images/v1_test.go | 8 ++++---- images/v1blob.go | 6 +++--- images/v1blob_test.go | 6 +++--- images/v1key.go | 10 +++++----- images/v1key_test.go | 8 ++++---- images/v1stat.go | 10 +++++----- images/v1stat_test.go | 8 ++++---- images/v1variant.go | 10 +++++----- images/v1variant_test.go | 8 ++++---- images/v2.go | 12 ++++++------ images/v2_test.go | 8 ++++---- images/v2directupload.go | 12 ++++++------ images/v2directupload_test.go | 8 ++++---- intel/aliases.go | 4 ++-- intel/asn.go | 10 +++++----- intel/asn_test.go | 8 ++++---- intel/asnsubnet.go | 10 +++++----- intel/asnsubnet_test.go | 8 ++++---- intel/attacksurfacereport.go | 2 +- intel/attacksurfacereportissue.go | 14 +++++++------- intel/attacksurfacereportissue_test.go | 8 ++++---- intel/attacksurfacereportissuetype.go | 10 +++++----- intel/attacksurfacereportissuetype_test.go | 8 ++++---- intel/dns.go | 12 ++++++------ intel/dns_test.go | 8 ++++---- intel/domain.go | 12 ++++++------ intel/domain_test.go | 8 ++++---- intel/domainbulk.go | 12 ++++++------ intel/domainbulk_test.go | 8 ++++---- intel/domainhistory.go | 12 ++++++------ intel/domainhistory_test.go | 8 ++++---- intel/indicatorfeed.go | 12 ++++++------ intel/indicatorfeed_test.go | 8 ++++---- intel/indicatorfeeddownload.go | 10 +++++----- intel/indicatorfeeddownload_test.go | 8 ++++---- intel/indicatorfeedpermission.go | 10 +++++----- intel/indicatorfeedpermission_test.go | 8 ++++---- intel/indicatorfeedsnapshot.go | 12 ++++++------ intel/indicatorfeedsnapshot_test.go | 8 ++++---- intel/intel.go | 2 +- intel/ip.go | 12 ++++++------ intel/ip_test.go | 8 ++++---- intel/iplist.go | 10 +++++----- intel/iplist_test.go | 8 ++++---- 100 files changed, 444 insertions(+), 444 deletions(-) diff --git a/email_security/settingblocksender.go b/email_security/settingblocksender.go index b74f478188a..8d095ffb1ec 100644 --- a/email_security/settingblocksender.go +++ b/email_security/settingblocksender.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" ) // SettingBlockSenderService contains methods and other services that help with diff --git a/email_security/settingblocksender_test.go b/email_security/settingblocksender_test.go index 7cc68f94ce4..c73c12412e8 100644 --- a/email_security/settingblocksender_test.go +++ b/email_security/settingblocksender_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 TestSettingBlockSenderNewWithOptionalParams(t *testing.T) { diff --git a/email_security/settingdomain.go b/email_security/settingdomain.go index 71f60f6092b..37e33cdb510 100644 --- a/email_security/settingdomain.go +++ b/email_security/settingdomain.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" ) // SettingDomainService contains methods and other services that help with diff --git a/email_security/settingdomain_test.go b/email_security/settingdomain_test.go index e46630fe0b4..e58889ea945 100644 --- a/email_security/settingdomain_test.go +++ b/email_security/settingdomain_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 TestSettingDomainListWithOptionalParams(t *testing.T) { diff --git a/email_security/settingimpersonationregistry.go b/email_security/settingimpersonationregistry.go index bdb43c4d116..1a9c100ad72 100644 --- a/email_security/settingimpersonationregistry.go +++ b/email_security/settingimpersonationregistry.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" ) // SettingImpersonationRegistryService contains methods and other services that diff --git a/email_security/settingimpersonationregistry_test.go b/email_security/settingimpersonationregistry_test.go index 3bddbb0390b..88047b0b8bb 100644 --- a/email_security/settingimpersonationregistry_test.go +++ b/email_security/settingimpersonationregistry_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 TestSettingImpersonationRegistryNew(t *testing.T) { diff --git a/email_security/settingtrusteddomain.go b/email_security/settingtrusteddomain.go index 20d8e76365c..e3b80e60d9f 100644 --- a/email_security/settingtrusteddomain.go +++ b/email_security/settingtrusteddomain.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/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" "github.com/tidwall/gjson" ) diff --git a/email_security/settingtrusteddomain_test.go b/email_security/settingtrusteddomain_test.go index f553e4d9575..6c1aeb8d7b1 100644 --- a/email_security/settingtrusteddomain_test.go +++ b/email_security/settingtrusteddomain_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 TestSettingTrustedDomainNewWithOptionalParams(t *testing.T) { diff --git a/email_security/submission.go b/email_security/submission.go index 30a2030e57c..f72d92287b0 100644 --- a/email_security/submission.go +++ b/email_security/submission.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/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" ) // SubmissionService contains methods and other services that help with interacting diff --git a/email_security/submission_test.go b/email_security/submission_test.go index b8184c7e968..3f716a34284 100644 --- a/email_security/submission_test.go +++ b/email_security/submission_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 TestSubmissionListWithOptionalParams(t *testing.T) { diff --git a/field.go b/field.go index 1c939a08088..e3d9a89b53e 100644 --- a/field.go +++ b/field.go @@ -1,7 +1,7 @@ package cloudflare import ( - "github.com/cloudflare/cloudflare-go/v3/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/param" "io" ) diff --git a/filters/aliases.go b/filters/aliases.go index 2fb6a31397e..86e17cb6f8a 100644 --- a/filters/aliases.go +++ b/filters/aliases.go @@ -3,8 +3,8 @@ package filters 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/filters/filter.go b/filters/filter.go index 32eb78ff4b5..af179c52fab 100644 --- a/filters/filter.go +++ b/filters/filter.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" ) // FilterService contains methods and other services that help with interacting diff --git a/filters/filter_test.go b/filters/filter_test.go index 11bbc12b8c8..66215589601 100644 --- a/filters/filter_test.go +++ b/filters/filter_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/filters" - "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/filters" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestFilterNew(t *testing.T) { diff --git a/firewall/accessrule.go b/firewall/accessrule.go index a032a00d487..9d7fa3cdd7b 100644 --- a/firewall/accessrule.go +++ b/firewall/accessrule.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/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" "github.com/tidwall/gjson" ) diff --git a/firewall/accessrule_test.go b/firewall/accessrule_test.go index 07e485e44e4..e78d7303de7 100644 --- a/firewall/accessrule_test.go +++ b/firewall/accessrule_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAccessRuleNewWithOptionalParams(t *testing.T) { diff --git a/firewall/aliases.go b/firewall/aliases.go index 0ad5893bae3..2eb050e5b13 100644 --- a/firewall/aliases.go +++ b/firewall/aliases.go @@ -3,8 +3,8 @@ package 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/firewall/firewall.go b/firewall/firewall.go index 4e851401aff..b0a0876adca 100644 --- a/firewall/firewall.go +++ b/firewall/firewall.go @@ -3,7 +3,7 @@ package firewall import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // FirewallService contains methods and other services that help with interacting diff --git a/firewall/lockdown.go b/firewall/lockdown.go index 13432a7ce31..1cff1840512 100644 --- a/firewall/lockdown.go +++ b/firewall/lockdown.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/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" "github.com/tidwall/gjson" ) diff --git a/firewall/lockdown_test.go b/firewall/lockdown_test.go index cc832c14996..aa36c8d91f0 100644 --- a/firewall/lockdown_test.go +++ b/firewall/lockdown_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestLockdownNew(t *testing.T) { diff --git a/firewall/rule.go b/firewall/rule.go index 7d7d7d70954..5ebaa549f28 100644 --- a/firewall/rule.go +++ b/firewall/rule.go @@ -10,15 +10,15 @@ import ( "net/url" "reflect" - "github.com/cloudflare/cloudflare-go/v3/filters" - "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/rate_limits" - "github.com/cloudflare/cloudflare-go/v3/shared" + "github.com/cloudflare/cloudflare-go/v4/filters" + "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/rate_limits" + "github.com/cloudflare/cloudflare-go/v4/shared" "github.com/tidwall/gjson" ) diff --git a/firewall/rule_test.go b/firewall/rule_test.go index c77aa6e2c1d..8e8f45ceea9 100644 --- a/firewall/rule_test.go +++ b/firewall/rule_test.go @@ -8,11 +8,11 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/filters" - "github.com/cloudflare/cloudflare-go/v3/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/filters" + "github.com/cloudflare/cloudflare-go/v4/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestRuleNewWithOptionalParams(t *testing.T) { diff --git a/firewall/uarule.go b/firewall/uarule.go index 72067537219..1ca36dc6ce6 100644 --- a/firewall/uarule.go +++ b/firewall/uarule.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" ) // UARuleService contains methods and other services that help with interacting diff --git a/firewall/uarule_test.go b/firewall/uarule_test.go index 6802510bcd0..8a60b03a8bb 100644 --- a/firewall/uarule_test.go +++ b/firewall/uarule_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestUARuleNewWithOptionalParams(t *testing.T) { diff --git a/firewall/waf.go b/firewall/waf.go index 7ebc850a080..de8fa6ceb43 100644 --- a/firewall/waf.go +++ b/firewall/waf.go @@ -3,7 +3,7 @@ package firewall import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // WAFService contains methods and other services that help with interacting with diff --git a/firewall/wafoverride.go b/firewall/wafoverride.go index 879392ad64b..fbb0261d6f3 100644 --- a/firewall/wafoverride.go +++ b/firewall/wafoverride.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" ) // WAFOverrideService contains methods and other services that help with diff --git a/firewall/wafoverride_test.go b/firewall/wafoverride_test.go index e91f0986d69..2d10000c6a0 100644 --- a/firewall/wafoverride_test.go +++ b/firewall/wafoverride_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestWAFOverrideNew(t *testing.T) { diff --git a/firewall/wafpackage.go b/firewall/wafpackage.go index 2184b1f97ad..79e0d593b52 100644 --- a/firewall/wafpackage.go +++ b/firewall/wafpackage.go @@ -10,13 +10,13 @@ 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/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" "github.com/tidwall/gjson" ) diff --git a/firewall/wafpackage_test.go b/firewall/wafpackage_test.go index fd5b4db0ed1..28631386685 100644 --- a/firewall/wafpackage_test.go +++ b/firewall/wafpackage_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestWAFPackageListWithOptionalParams(t *testing.T) { diff --git a/firewall/wafpackagegroup.go b/firewall/wafpackagegroup.go index 3105e0ab6f3..eb7a3876645 100644 --- a/firewall/wafpackagegroup.go +++ b/firewall/wafpackagegroup.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" ) // WAFPackageGroupService contains methods and other services that help with diff --git a/firewall/wafpackagegroup_test.go b/firewall/wafpackagegroup_test.go index df275148d8f..5bd08ea4c72 100644 --- a/firewall/wafpackagegroup_test.go +++ b/firewall/wafpackagegroup_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestWAFPackageGroupListWithOptionalParams(t *testing.T) { diff --git a/firewall/wafpackagerule.go b/firewall/wafpackagerule.go index 171829b32ab..6b4ffa936ce 100644 --- a/firewall/wafpackagerule.go +++ b/firewall/wafpackagerule.go @@ -10,13 +10,13 @@ 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/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" "github.com/tidwall/gjson" ) diff --git a/firewall/wafpackagerule_test.go b/firewall/wafpackagerule_test.go index fab1edce66c..3d8aafc28e3 100644 --- a/firewall/wafpackagerule_test.go +++ b/firewall/wafpackagerule_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/firewall" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestWAFPackageRuleListWithOptionalParams(t *testing.T) { diff --git a/healthchecks/aliases.go b/healthchecks/aliases.go index e2eae075956..82588dd0002 100644 --- a/healthchecks/aliases.go +++ b/healthchecks/aliases.go @@ -3,8 +3,8 @@ package healthchecks 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/healthchecks/healthcheck.go b/healthchecks/healthcheck.go index f3f2608145f..b2683b38768 100644 --- a/healthchecks/healthcheck.go +++ b/healthchecks/healthcheck.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" ) // HealthcheckService contains methods and other services that help with diff --git a/healthchecks/healthcheck_test.go b/healthchecks/healthcheck_test.go index c6687c6eb48..18d764ee10f 100644 --- a/healthchecks/healthcheck_test.go +++ b/healthchecks/healthcheck_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/healthchecks" - "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/healthchecks" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestHealthcheckNewWithOptionalParams(t *testing.T) { diff --git a/healthchecks/preview.go b/healthchecks/preview.go index 7245a53405c..c0a318f212f 100644 --- a/healthchecks/preview.go +++ b/healthchecks/preview.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" ) // PreviewService contains methods and other services that help with interacting diff --git a/healthchecks/preview_test.go b/healthchecks/preview_test.go index e4056d25a93..eb125e2a45c 100644 --- a/healthchecks/preview_test.go +++ b/healthchecks/preview_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/healthchecks" - "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/healthchecks" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestPreviewNewWithOptionalParams(t *testing.T) { diff --git a/hostnames/aliases.go b/hostnames/aliases.go index af0ded54a38..37266e00dfc 100644 --- a/hostnames/aliases.go +++ b/hostnames/aliases.go @@ -3,8 +3,8 @@ package 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/hostnames/hostname.go b/hostnames/hostname.go index 5f30487569b..ce16135ad69 100644 --- a/hostnames/hostname.go +++ b/hostnames/hostname.go @@ -3,7 +3,7 @@ package hostnames import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // HostnameService contains methods and other services that help with interacting diff --git a/hostnames/setting.go b/hostnames/setting.go index a8b417140f1..3e4fc55a7eb 100644 --- a/hostnames/setting.go +++ b/hostnames/setting.go @@ -3,7 +3,7 @@ package hostnames 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/hostnames/settingtls.go b/hostnames/settingtls.go index 2595b8e0dfe..42d986b8488 100644 --- a/hostnames/settingtls.go +++ b/hostnames/settingtls.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/hostnames/settingtls_test.go b/hostnames/settingtls_test.go index cbc054d7f7b..75c3cae40dd 100644 --- a/hostnames/settingtls_test.go +++ b/hostnames/settingtls_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/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/hostnames" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestSettingTLSUpdate(t *testing.T) { diff --git a/hyperdrive/aliases.go b/hyperdrive/aliases.go index eae934bf865..f17ae78ae68 100644 --- a/hyperdrive/aliases.go +++ b/hyperdrive/aliases.go @@ -3,8 +3,8 @@ package hyperdrive 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/hyperdrive/config.go b/hyperdrive/config.go index 99367734bd1..9425c4152a0 100644 --- a/hyperdrive/config.go +++ b/hyperdrive/config.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" ) // ConfigService contains methods and other services that help with interacting diff --git a/hyperdrive/config_test.go b/hyperdrive/config_test.go index 7e909a4acb0..e5a136e7f8a 100644 --- a/hyperdrive/config_test.go +++ b/hyperdrive/config_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/hyperdrive" - "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/hyperdrive" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestConfigNewWithOptionalParams(t *testing.T) { diff --git a/hyperdrive/hyperdrive.go b/hyperdrive/hyperdrive.go index 5d98048ac4a..a87501dd7bf 100644 --- a/hyperdrive/hyperdrive.go +++ b/hyperdrive/hyperdrive.go @@ -5,9 +5,9 @@ package hyperdrive import ( "reflect" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/option" "github.com/tidwall/gjson" ) diff --git a/iam/aliases.go b/iam/aliases.go index b9ea2f82dbe..2903bbc7f01 100644 --- a/iam/aliases.go +++ b/iam/aliases.go @@ -3,8 +3,8 @@ package iam 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/iam/iam.go b/iam/iam.go index 68486275602..b15c7269e4d 100644 --- a/iam/iam.go +++ b/iam/iam.go @@ -3,7 +3,7 @@ package iam import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // IAMService contains methods and other services that help with interacting with diff --git a/iam/permissiongroup.go b/iam/permissiongroup.go index ca603bc053e..353bfb409d7 100644 --- a/iam/permissiongroup.go +++ b/iam/permissiongroup.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" ) // PermissionGroupService contains methods and other services that help with diff --git a/iam/permissiongroup_test.go b/iam/permissiongroup_test.go index ae81ef01ea4..bdd6fb46e14 100644 --- a/iam/permissiongroup_test.go +++ b/iam/permissiongroup_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/iam" - "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/iam" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestPermissionGroupListWithOptionalParams(t *testing.T) { diff --git a/iam/resourcegroup.go b/iam/resourcegroup.go index be36c03af74..287bca8ef85 100644 --- a/iam/resourcegroup.go +++ b/iam/resourcegroup.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" ) // ResourceGroupService contains methods and other services that help with diff --git a/iam/resourcegroup_test.go b/iam/resourcegroup_test.go index 5323fd07f58..e8aeb6be975 100644 --- a/iam/resourcegroup_test.go +++ b/iam/resourcegroup_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/iam" - "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/iam" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestResourceGroupNewWithOptionalParams(t *testing.T) { diff --git a/images/aliases.go b/images/aliases.go index c312a6a0320..b8176f2151d 100644 --- a/images/aliases.go +++ b/images/aliases.go @@ -3,8 +3,8 @@ package images 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/images/image.go b/images/image.go index 53674a5e4d3..0e98244b766 100644 --- a/images/image.go +++ b/images/image.go @@ -3,7 +3,7 @@ package images import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // ImageService contains methods and other services that help with interacting with diff --git a/images/v1.go b/images/v1.go index 9e22618dfb9..1458d416226 100644 --- a/images/v1.go +++ b/images/v1.go @@ -12,14 +12,14 @@ import ( "net/url" "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" ) // V1Service contains methods and other services that help with interacting with diff --git a/images/v1_test.go b/images/v1_test.go index e77fe94b5d6..d5bf23c842c 100644 --- a/images/v1_test.go +++ b/images/v1_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV1NewWithOptionalParams(t *testing.T) { diff --git a/images/v1blob.go b/images/v1blob.go index f0e4c50969c..e82061ebdba 100644 --- a/images/v1blob.go +++ b/images/v1blob.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" ) // V1BlobService contains methods and other services that help with interacting diff --git a/images/v1blob_test.go b/images/v1blob_test.go index c0e60cb9cb6..29daf227a25 100644 --- a/images/v1blob_test.go +++ b/images/v1blob_test.go @@ -11,9 +11,9 @@ import ( "net/http/httptest" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/images" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV1BlobGet(t *testing.T) { diff --git a/images/v1key.go b/images/v1key.go index aba0849de71..b42622877c5 100644 --- a/images/v1key.go +++ b/images/v1key.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" ) // V1KeyService contains methods and other services that help with interacting with diff --git a/images/v1key_test.go b/images/v1key_test.go index 5779a3aa051..1461d06d053 100644 --- a/images/v1key_test.go +++ b/images/v1key_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV1KeyUpdate(t *testing.T) { diff --git a/images/v1stat.go b/images/v1stat.go index f6ff1959059..72034be00ac 100644 --- a/images/v1stat.go +++ b/images/v1stat.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" ) // V1StatService contains methods and other services that help with interacting diff --git a/images/v1stat_test.go b/images/v1stat_test.go index 1e7f0c5442b..2ea56fb7856 100644 --- a/images/v1stat_test.go +++ b/images/v1stat_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV1StatGet(t *testing.T) { diff --git a/images/v1variant.go b/images/v1variant.go index 576675ec949..ed0d84c4cdd 100644 --- a/images/v1variant.go +++ b/images/v1variant.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" ) // V1VariantService contains methods and other services that help with interacting diff --git a/images/v1variant_test.go b/images/v1variant_test.go index 02c40370416..9b71f310acc 100644 --- a/images/v1variant_test.go +++ b/images/v1variant_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV1VariantNewWithOptionalParams(t *testing.T) { diff --git a/images/v2.go b/images/v2.go index 0726c96df5e..bb998fce091 100644 --- a/images/v2.go +++ b/images/v2.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" ) // V2Service contains methods and other services that help with interacting with diff --git a/images/v2_test.go b/images/v2_test.go index 295adeeb81f..0aeafd87a77 100644 --- a/images/v2_test.go +++ b/images/v2_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV2ListWithOptionalParams(t *testing.T) { diff --git a/images/v2directupload.go b/images/v2directupload.go index 6fe1d2ea0ba..27c3f6c7abf 100644 --- a/images/v2directupload.go +++ b/images/v2directupload.go @@ -11,12 +11,12 @@ import ( "net/http" "time" - "github.com/cloudflare/cloudflare-go/v3/internal/apiform" - "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/apiform" + "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" ) // V2DirectUploadService contains methods and other services that help with diff --git a/images/v2directupload_test.go b/images/v2directupload_test.go index 1a49a6a0c43..74880be8b53 100644 --- a/images/v2directupload_test.go +++ b/images/v2directupload_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/images" - "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/images" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestV2DirectUploadNewWithOptionalParams(t *testing.T) { diff --git a/intel/aliases.go b/intel/aliases.go index e5b9e797a15..4feefc0c4bf 100644 --- a/intel/aliases.go +++ b/intel/aliases.go @@ -3,8 +3,8 @@ package intel 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/intel/asn.go b/intel/asn.go index d5ff00edc94..bdf9402ee72 100644 --- a/intel/asn.go +++ b/intel/asn.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" ) // ASNService contains methods and other services that help with interacting with diff --git a/intel/asn_test.go b/intel/asn_test.go index 2db1db80080..c8b23338cbe 100644 --- a/intel/asn_test.go +++ b/intel/asn_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestASNGet(t *testing.T) { diff --git a/intel/asnsubnet.go b/intel/asnsubnet.go index 1515cea4155..df4eafa9d5e 100644 --- a/intel/asnsubnet.go +++ b/intel/asnsubnet.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" ) // ASNSubnetService contains methods and other services that help with interacting diff --git a/intel/asnsubnet_test.go b/intel/asnsubnet_test.go index 588b94105aa..7c07b39075b 100644 --- a/intel/asnsubnet_test.go +++ b/intel/asnsubnet_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestASNSubnetGet(t *testing.T) { diff --git a/intel/attacksurfacereport.go b/intel/attacksurfacereport.go index a1e1f3649f9..20cb6b12208 100644 --- a/intel/attacksurfacereport.go +++ b/intel/attacksurfacereport.go @@ -3,7 +3,7 @@ package intel import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // AttackSurfaceReportService contains methods and other services that help with diff --git a/intel/attacksurfacereportissue.go b/intel/attacksurfacereportissue.go index e75b236ccec..d218f53e7f7 100644 --- a/intel/attacksurfacereportissue.go +++ b/intel/attacksurfacereportissue.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" ) // AttackSurfaceReportIssueService contains methods and other services that help diff --git a/intel/attacksurfacereportissue_test.go b/intel/attacksurfacereportissue_test.go index 9d1d4910152..d17edba988b 100644 --- a/intel/attacksurfacereportissue_test.go +++ b/intel/attacksurfacereportissue_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAttackSurfaceReportIssueListWithOptionalParams(t *testing.T) { diff --git a/intel/attacksurfacereportissuetype.go b/intel/attacksurfacereportissuetype.go index 690cffdf2d9..3adf3b8dd89 100644 --- a/intel/attacksurfacereportissuetype.go +++ b/intel/attacksurfacereportissuetype.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" ) // AttackSurfaceReportIssueTypeService contains methods and other services that diff --git a/intel/attacksurfacereportissuetype_test.go b/intel/attacksurfacereportissuetype_test.go index 3f9c43079c5..954ae29cf36 100644 --- a/intel/attacksurfacereportissuetype_test.go +++ b/intel/attacksurfacereportissuetype_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestAttackSurfaceReportIssueTypeGet(t *testing.T) { diff --git a/intel/dns.go b/intel/dns.go index 59fe5dcd25a..dcc7c783279 100644 --- a/intel/dns.go +++ b/intel/dns.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/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" ) // DNSService contains methods and other services that help with interacting with diff --git a/intel/dns_test.go b/intel/dns_test.go index 22398e7247c..10fe68f3b94 100644 --- a/intel/dns_test.go +++ b/intel/dns_test.go @@ -9,10 +9,10 @@ import ( "testing" "time" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDNSListWithOptionalParams(t *testing.T) { diff --git a/intel/domain.go b/intel/domain.go index 1cc301cc802..bc1d5bdcf61 100644 --- a/intel/domain.go +++ b/intel/domain.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" ) // DomainService contains methods and other services that help with interacting diff --git a/intel/domain_test.go b/intel/domain_test.go index 45d290bcb14..8ca46c420c0 100644 --- a/intel/domain_test.go +++ b/intel/domain_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDomainGetWithOptionalParams(t *testing.T) { diff --git a/intel/domainbulk.go b/intel/domainbulk.go index 1c8e44c9711..e0fc69b2410 100644 --- a/intel/domainbulk.go +++ b/intel/domainbulk.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" ) // DomainBulkService contains methods and other services that help with interacting diff --git a/intel/domainbulk_test.go b/intel/domainbulk_test.go index 7806c29c9a6..cffb984dc82 100644 --- a/intel/domainbulk_test.go +++ b/intel/domainbulk_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDomainBulkGetWithOptionalParams(t *testing.T) { diff --git a/intel/domainhistory.go b/intel/domainhistory.go index c4fa0b96401..6fecbd819f4 100644 --- a/intel/domainhistory.go +++ b/intel/domainhistory.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" ) // DomainHistoryService contains methods and other services that help with diff --git a/intel/domainhistory_test.go b/intel/domainhistory_test.go index 4c947d0ad34..e2257021c3d 100644 --- a/intel/domainhistory_test.go +++ b/intel/domainhistory_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestDomainHistoryGetWithOptionalParams(t *testing.T) { diff --git a/intel/indicatorfeed.go b/intel/indicatorfeed.go index 0b8cff064b6..fbc2657a637 100644 --- a/intel/indicatorfeed.go +++ b/intel/indicatorfeed.go @@ -9,12 +9,12 @@ 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/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" ) // IndicatorFeedService contains methods and other services that help with diff --git a/intel/indicatorfeed_test.go b/intel/indicatorfeed_test.go index 8d1fd6d492e..6ff64a8ee0e 100644 --- a/intel/indicatorfeed_test.go +++ b/intel/indicatorfeed_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIndicatorFeedNewWithOptionalParams(t *testing.T) { diff --git a/intel/indicatorfeeddownload.go b/intel/indicatorfeeddownload.go index f9d91589f49..143b5ef6d43 100644 --- a/intel/indicatorfeeddownload.go +++ b/intel/indicatorfeeddownload.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" ) // IndicatorFeedDownloadService contains methods and other services that help with diff --git a/intel/indicatorfeeddownload_test.go b/intel/indicatorfeeddownload_test.go index 7376e73b6ef..41033c3f45c 100644 --- a/intel/indicatorfeeddownload_test.go +++ b/intel/indicatorfeeddownload_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIndicatorFeedDownloadGet(t *testing.T) { diff --git a/intel/indicatorfeedpermission.go b/intel/indicatorfeedpermission.go index b2c1feef099..d4cfab5756a 100644 --- a/intel/indicatorfeedpermission.go +++ b/intel/indicatorfeedpermission.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" ) // IndicatorFeedPermissionService contains methods and other services that help diff --git a/intel/indicatorfeedpermission_test.go b/intel/indicatorfeedpermission_test.go index d4815778685..ad9f5383361 100644 --- a/intel/indicatorfeedpermission_test.go +++ b/intel/indicatorfeedpermission_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIndicatorFeedPermissionNewWithOptionalParams(t *testing.T) { diff --git a/intel/indicatorfeedsnapshot.go b/intel/indicatorfeedsnapshot.go index 78f18a19c75..248aec02e4b 100644 --- a/intel/indicatorfeedsnapshot.go +++ b/intel/indicatorfeedsnapshot.go @@ -10,12 +10,12 @@ import ( "mime/multipart" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apiform" - "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/apiform" + "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" ) // IndicatorFeedSnapshotService contains methods and other services that help with diff --git a/intel/indicatorfeedsnapshot_test.go b/intel/indicatorfeedsnapshot_test.go index 210209cdebd..d07caf3720f 100644 --- a/intel/indicatorfeedsnapshot_test.go +++ b/intel/indicatorfeedsnapshot_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIndicatorFeedSnapshotUpdateWithOptionalParams(t *testing.T) { diff --git a/intel/intel.go b/intel/intel.go index 9cbca01f677..6c4e361e426 100644 --- a/intel/intel.go +++ b/intel/intel.go @@ -3,7 +3,7 @@ package intel import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // IntelService contains methods and other services that help with interacting with diff --git a/intel/ip.go b/intel/ip.go index c096351ca69..673e65e769e 100644 --- a/intel/ip.go +++ b/intel/ip.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" ) // IPService contains methods and other services that help with interacting with diff --git a/intel/ip_test.go b/intel/ip_test.go index 3a0f97443ed..e0b624f4545 100644 --- a/intel/ip_test.go +++ b/intel/ip_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIPGetWithOptionalParams(t *testing.T) { diff --git a/intel/iplist.go b/intel/iplist.go index 37d4d221ff6..451a80be9f2 100644 --- a/intel/iplist.go +++ b/intel/iplist.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" ) // IPListService contains methods and other services that help with interacting diff --git a/intel/iplist_test.go b/intel/iplist_test.go index 7896e88935a..7795e4e8ba5 100644 --- a/intel/iplist_test.go +++ b/intel/iplist_test.go @@ -8,10 +8,10 @@ import ( "os" "testing" - "github.com/cloudflare/cloudflare-go/v3" - "github.com/cloudflare/cloudflare-go/v3/intel" - "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/intel" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" ) func TestIPListGet(t *testing.T) {