From a48927beb0e6bcfec1a8b86948e79781bec39df5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 01:23:03 +0000 Subject: [PATCH] release: 4.0.0 --- workflows/instancestatus.go | 8 ++++---- workflows/instancestatus_test.go | 8 ++++---- workflows/version.go | 12 ++++++------ workflows/version_test.go | 8 ++++---- workflows/workflow.go | 12 ++++++------ workflows/workflow_test.go | 8 ++++---- zero_trust/access.go | 6 +++--- zero_trust/accessapplication.go | 14 +++++++------- zero_trust/accessapplication_test.go | 8 ++++---- zero_trust/accessapplicationca.go | 12 ++++++------ zero_trust/accessapplicationca_test.go | 8 ++++---- zero_trust/accessapplicationpolicy.go | 12 ++++++------ zero_trust/accessapplicationpolicy_test.go | 8 ++++---- zero_trust/accessapplicationpolicytest.go | 8 ++++---- zero_trust/accessapplicationpolicytest_test.go | 8 ++++---- zero_trust/accessapplicationpolicytestuser.go | 8 ++++---- zero_trust/accessapplicationpolicytestuser_test.go | 8 ++++---- zero_trust/accessapplicationuserpolicycheck.go | 10 +++++----- .../accessapplicationuserpolicycheck_test.go | 8 ++++---- zero_trust/accessbookmark.go | 12 ++++++------ zero_trust/accessbookmark_test.go | 8 ++++---- zero_trust/accesscertificate.go | 12 ++++++------ zero_trust/accesscertificate_test.go | 8 ++++---- zero_trust/accesscertificatesetting.go | 10 +++++----- zero_trust/accesscertificatesetting_test.go | 8 ++++---- zero_trust/accesscustompage.go | 12 ++++++------ zero_trust/accesscustompage_test.go | 8 ++++---- zero_trust/accessgroup.go | 14 +++++++------- zero_trust/accessgroup_test.go | 8 ++++---- zero_trust/accessinfrastructure.go | 2 +- zero_trust/accessinfrastructuretarget.go | 14 +++++++------- zero_trust/accessinfrastructuretarget_test.go | 8 ++++---- zero_trust/accesskey.go | 10 +++++----- zero_trust/accesskey_test.go | 8 ++++---- zero_trust/accesslog.go | 2 +- zero_trust/accesslogaccessrequest.go | 12 ++++++------ zero_trust/accesslogaccessrequest_test.go | 8 ++++---- zero_trust/accesspolicy.go | 12 ++++++------ zero_trust/accesspolicy_test.go | 8 ++++---- zero_trust/accessservicetoken.go | 14 +++++++------- zero_trust/accessservicetoken_test.go | 8 ++++---- zero_trust/accesstag.go | 12 ++++++------ zero_trust/accesstag_test.go | 8 ++++---- zero_trust/accessuser.go | 12 ++++++------ zero_trust/accessuser_test.go | 8 ++++---- zero_trust/accessuseractivesession.go | 12 ++++++------ zero_trust/accessuseractivesession_test.go | 8 ++++---- zero_trust/accessuserfailedlogin.go | 10 +++++----- zero_trust/accessuserfailedlogin_test.go | 8 ++++---- zero_trust/accessuserlastseenidentity.go | 10 +++++----- zero_trust/accessuserlastseenidentity_test.go | 8 ++++---- zero_trust/aliases.go | 4 ++-- zero_trust/connectivitysetting.go | 10 +++++----- zero_trust/connectivitysetting_test.go | 8 ++++---- zero_trust/device.go | 12 ++++++------ zero_trust/device_test.go | 8 ++++---- zero_trust/devicedextest.go | 12 ++++++------ zero_trust/devicedextest_test.go | 8 ++++---- zero_trust/devicefleetstatus.go | 10 +++++----- zero_trust/devicefleetstatus_test.go | 8 ++++---- zero_trust/devicenetwork.go | 12 ++++++------ zero_trust/devicenetwork_test.go | 8 ++++---- zero_trust/deviceoverridecode.go | 10 +++++----- zero_trust/deviceoverridecode_test.go | 8 ++++---- zero_trust/devicepolicy.go | 6 +++--- zero_trust/devicepolicycustom.go | 12 ++++++------ zero_trust/devicepolicycustom_test.go | 8 ++++---- zero_trust/devicepolicycustomexclude.go | 10 +++++----- zero_trust/devicepolicycustomexclude_test.go | 8 ++++---- zero_trust/devicepolicycustomfallbackdomain.go | 10 +++++----- .../devicepolicycustomfallbackdomain_test.go | 8 ++++---- zero_trust/devicepolicycustominclude.go | 10 +++++----- zero_trust/devicepolicycustominclude_test.go | 8 ++++---- zero_trust/devicepolicydefault.go | 10 +++++----- zero_trust/devicepolicydefault_test.go | 8 ++++---- zero_trust/devicepolicydefaultcertificate.go | 10 +++++----- zero_trust/devicepolicydefaultcertificate_test.go | 8 ++++---- zero_trust/devicepolicydefaultexclude.go | 10 +++++----- zero_trust/devicepolicydefaultexclude_test.go | 8 ++++---- zero_trust/devicepolicydefaultfallbackdomain.go | 10 +++++----- .../devicepolicydefaultfallbackdomain_test.go | 8 ++++---- zero_trust/devicepolicydefaultinclude.go | 10 +++++----- zero_trust/devicepolicydefaultinclude_test.go | 8 ++++---- zero_trust/deviceposture.go | 12 ++++++------ zero_trust/deviceposture_test.go | 8 ++++---- zero_trust/devicepostureintegration.go | 12 ++++++------ zero_trust/devicepostureintegration_test.go | 8 ++++---- zero_trust/devicerevoke.go | 10 +++++----- zero_trust/devicerevoke_test.go | 8 ++++---- zero_trust/devicesetting.go | 10 +++++----- zero_trust/devicesetting_test.go | 8 ++++---- zero_trust/deviceunrevoke.go | 10 +++++----- zero_trust/deviceunrevoke_test.go | 8 ++++---- zero_trust/dex.go | 4 ++-- zero_trust/dexcolo.go | 10 +++++----- zero_trust/dexcolo_test.go | 8 ++++---- zero_trust/dexfleetstatus.go | 12 ++++++------ zero_trust/dexfleetstatus_test.go | 8 ++++---- zero_trust/dexfleetstatusdevice.go | 12 ++++++------ zero_trust/dexfleetstatusdevice_test.go | 8 ++++---- 100 files changed, 460 insertions(+), 460 deletions(-) diff --git a/workflows/instancestatus.go b/workflows/instancestatus.go index 7b710874b3d..34da7ffe61f 100644 --- a/workflows/instancestatus.go +++ b/workflows/instancestatus.go @@ -9,10 +9,10 @@ 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/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" ) // InstanceStatusService contains methods and other services that help with diff --git a/workflows/instancestatus_test.go b/workflows/instancestatus_test.go index 24b6416caca..f009255f4ad 100644 --- a/workflows/instancestatus_test.go +++ b/workflows/instancestatus_test.go @@ -8,10 +8,10 @@ import ( "os" "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/workflows" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/workflows" ) func TestInstanceStatusEdit(t *testing.T) { diff --git a/workflows/version.go b/workflows/version.go index 7facdcdd6a3..35c7fa70e75 100644 --- a/workflows/version.go +++ b/workflows/version.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" ) // VersionService contains methods and other services that help with interacting diff --git a/workflows/version_test.go b/workflows/version_test.go index 6725a3893db..68185c9f002 100644 --- a/workflows/version_test.go +++ b/workflows/version_test.go @@ -8,10 +8,10 @@ import ( "os" "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/workflows" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/workflows" ) func TestVersionListWithOptionalParams(t *testing.T) { diff --git a/workflows/workflow.go b/workflows/workflow.go index 795d05bfbdf..9ec5ab52254 100644 --- a/workflows/workflow.go +++ b/workflows/workflow.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" ) // WorkflowService contains methods and other services that help with interacting diff --git a/workflows/workflow_test.go b/workflows/workflow_test.go index cd2cd5d524b..29a6650bb57 100644 --- a/workflows/workflow_test.go +++ b/workflows/workflow_test.go @@ -8,10 +8,10 @@ import ( "os" "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/workflows" + "github.com/cloudflare/cloudflare-go/v4" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/workflows" ) func TestWorkflowUpdate(t *testing.T) { diff --git a/zero_trust/access.go b/zero_trust/access.go index b04c369139b..51aae8a65bb 100644 --- a/zero_trust/access.go +++ b/zero_trust/access.go @@ -5,9 +5,9 @@ package zero_trust 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/zero_trust/accessapplication.go b/zero_trust/accessapplication.go index dc809807907..9b73b45365f 100644 --- a/zero_trust/accessapplication.go +++ b/zero_trust/accessapplication.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/zero_trust/accessapplication_test.go b/zero_trust/accessapplication_test.go index 41c42c7115a..f7e4e25e51a 100644 --- a/zero_trust/accessapplication_test.go +++ b/zero_trust/accessapplication_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessapplicationca.go b/zero_trust/accessapplicationca.go index d794b95c9bf..6d97ec23675 100644 --- a/zero_trust/accessapplicationca.go +++ b/zero_trust/accessapplicationca.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" ) // AccessApplicationCAService contains methods and other services that help with diff --git a/zero_trust/accessapplicationca_test.go b/zero_trust/accessapplicationca_test.go index b77ad79f444..3421bfcd8ff 100644 --- a/zero_trust/accessapplicationca_test.go +++ b/zero_trust/accessapplicationca_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationCANewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessapplicationpolicy.go b/zero_trust/accessapplicationpolicy.go index 1cf324dd223..6c89c4c1179 100644 --- a/zero_trust/accessapplicationpolicy.go +++ b/zero_trust/accessapplicationpolicy.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" ) // AccessApplicationPolicyService contains methods and other services that help diff --git a/zero_trust/accessapplicationpolicy_test.go b/zero_trust/accessapplicationpolicy_test.go index 5515f854565..6fbb1a3c2f3 100644 --- a/zero_trust/accessapplicationpolicy_test.go +++ b/zero_trust/accessapplicationpolicy_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationPolicyNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessapplicationpolicytest.go b/zero_trust/accessapplicationpolicytest.go index 9dc424d5541..f40d57b56f8 100644 --- a/zero_trust/accessapplicationpolicytest.go +++ b/zero_trust/accessapplicationpolicytest.go @@ -8,10 +8,10 @@ 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/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" ) // AccessApplicationPolicyTestService contains methods and other services that help diff --git a/zero_trust/accessapplicationpolicytest_test.go b/zero_trust/accessapplicationpolicytest_test.go index 19a9472204f..24dffe1df2f 100644 --- a/zero_trust/accessapplicationpolicytest_test.go +++ b/zero_trust/accessapplicationpolicytest_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationPolicyTestNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessapplicationpolicytestuser.go b/zero_trust/accessapplicationpolicytestuser.go index 05a93986135..3b1936b1771 100644 --- a/zero_trust/accessapplicationpolicytestuser.go +++ b/zero_trust/accessapplicationpolicytestuser.go @@ -8,10 +8,10 @@ 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/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" ) // AccessApplicationPolicyTestUserService contains methods and other services that diff --git a/zero_trust/accessapplicationpolicytestuser_test.go b/zero_trust/accessapplicationpolicytestuser_test.go index 022ae802127..1aa57d1d82e 100644 --- a/zero_trust/accessapplicationpolicytestuser_test.go +++ b/zero_trust/accessapplicationpolicytestuser_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationPolicyTestUserList(t *testing.T) { diff --git a/zero_trust/accessapplicationuserpolicycheck.go b/zero_trust/accessapplicationuserpolicycheck.go index 9cae0b542fb..03934d032aa 100644 --- a/zero_trust/accessapplicationuserpolicycheck.go +++ b/zero_trust/accessapplicationuserpolicycheck.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" ) // AccessApplicationUserPolicyCheckService contains methods and other services that diff --git a/zero_trust/accessapplicationuserpolicycheck_test.go b/zero_trust/accessapplicationuserpolicycheck_test.go index f634ed746a6..5b105b60a75 100644 --- a/zero_trust/accessapplicationuserpolicycheck_test.go +++ b/zero_trust/accessapplicationuserpolicycheck_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessApplicationUserPolicyCheckListWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessbookmark.go b/zero_trust/accessbookmark.go index c126b3b16c2..5386aa0c311 100644 --- a/zero_trust/accessbookmark.go +++ b/zero_trust/accessbookmark.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" ) // AccessBookmarkService contains methods and other services that help with diff --git a/zero_trust/accessbookmark_test.go b/zero_trust/accessbookmark_test.go index ff0e8b9ce32..099a703eb7c 100644 --- a/zero_trust/accessbookmark_test.go +++ b/zero_trust/accessbookmark_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessBookmarkNew(t *testing.T) { diff --git a/zero_trust/accesscertificate.go b/zero_trust/accesscertificate.go index 9243a39824a..3014f5d9b4b 100644 --- a/zero_trust/accesscertificate.go +++ b/zero_trust/accesscertificate.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" ) // AccessCertificateService contains methods and other services that help with diff --git a/zero_trust/accesscertificate_test.go b/zero_trust/accesscertificate_test.go index 7fb43521367..9c1ad272723 100644 --- a/zero_trust/accesscertificate_test.go +++ b/zero_trust/accesscertificate_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessCertificateNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accesscertificatesetting.go b/zero_trust/accesscertificatesetting.go index 97848709ded..b087b31ee23 100644 --- a/zero_trust/accesscertificatesetting.go +++ b/zero_trust/accesscertificatesetting.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" ) // AccessCertificateSettingService contains methods and other services that help diff --git a/zero_trust/accesscertificatesetting_test.go b/zero_trust/accesscertificatesetting_test.go index 3c24ec274b1..1ce15f7e43b 100644 --- a/zero_trust/accesscertificatesetting_test.go +++ b/zero_trust/accesscertificatesetting_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessCertificateSettingUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accesscustompage.go b/zero_trust/accesscustompage.go index ce214e219e8..7ecd1a428e9 100644 --- a/zero_trust/accesscustompage.go +++ b/zero_trust/accesscustompage.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" ) // AccessCustomPageService contains methods and other services that help with diff --git a/zero_trust/accesscustompage_test.go b/zero_trust/accesscustompage_test.go index ac73d3b6e28..7c8746b86a7 100644 --- a/zero_trust/accesscustompage_test.go +++ b/zero_trust/accesscustompage_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessCustomPageNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessgroup.go b/zero_trust/accessgroup.go index 41d7dc842c9..68262a5487d 100644 --- a/zero_trust/accessgroup.go +++ b/zero_trust/accessgroup.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" ) // AccessGroupService contains methods and other services that help with diff --git a/zero_trust/accessgroup_test.go b/zero_trust/accessgroup_test.go index 64248f746e3..130eb6ee653 100644 --- a/zero_trust/accessgroup_test.go +++ b/zero_trust/accessgroup_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessGroupNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessinfrastructure.go b/zero_trust/accessinfrastructure.go index 7be9bc639ea..a2aae4930bc 100644 --- a/zero_trust/accessinfrastructure.go +++ b/zero_trust/accessinfrastructure.go @@ -3,7 +3,7 @@ package zero_trust import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // AccessInfrastructureService contains methods and other services that help with diff --git a/zero_trust/accessinfrastructuretarget.go b/zero_trust/accessinfrastructuretarget.go index 0b7e7bcde8e..37c397aabd5 100644 --- a/zero_trust/accessinfrastructuretarget.go +++ b/zero_trust/accessinfrastructuretarget.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" ) // AccessInfrastructureTargetService contains methods and other services that help diff --git a/zero_trust/accessinfrastructuretarget_test.go b/zero_trust/accessinfrastructuretarget_test.go index 804a43d7659..924c4ab3f12 100644 --- a/zero_trust/accessinfrastructuretarget_test.go +++ b/zero_trust/accessinfrastructuretarget_test.go @@ -9,10 +9,10 @@ import ( "testing" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessInfrastructureTargetNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accesskey.go b/zero_trust/accesskey.go index 290b161b33c..cc3dca4e460 100644 --- a/zero_trust/accesskey.go +++ b/zero_trust/accesskey.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" ) // AccessKeyService contains methods and other services that help with interacting diff --git a/zero_trust/accesskey_test.go b/zero_trust/accesskey_test.go index b91e38ade9d..c399d68b9ad 100644 --- a/zero_trust/accesskey_test.go +++ b/zero_trust/accesskey_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessKeyUpdate(t *testing.T) { diff --git a/zero_trust/accesslog.go b/zero_trust/accesslog.go index 40bbc16d855..25df63199e7 100644 --- a/zero_trust/accesslog.go +++ b/zero_trust/accesslog.go @@ -3,7 +3,7 @@ package zero_trust import ( - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/option" ) // AccessLogService contains methods and other services that help with interacting diff --git a/zero_trust/accesslogaccessrequest.go b/zero_trust/accesslogaccessrequest.go index 8daa237dd06..675df08d70b 100644 --- a/zero_trust/accesslogaccessrequest.go +++ b/zero_trust/accesslogaccessrequest.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" ) // AccessLogAccessRequestService contains methods and other services that help with diff --git a/zero_trust/accesslogaccessrequest_test.go b/zero_trust/accesslogaccessrequest_test.go index 73ecc1952d6..5565707b01e 100644 --- a/zero_trust/accesslogaccessrequest_test.go +++ b/zero_trust/accesslogaccessrequest_test.go @@ -9,10 +9,10 @@ import ( "testing" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessLogAccessRequestListWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accesspolicy.go b/zero_trust/accesspolicy.go index 6bee9bf97be..b1c43108145 100644 --- a/zero_trust/accesspolicy.go +++ b/zero_trust/accesspolicy.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" ) // AccessPolicyService contains methods and other services that help with diff --git a/zero_trust/accesspolicy_test.go b/zero_trust/accesspolicy_test.go index 9aa7ad4d65e..0987d581515 100644 --- a/zero_trust/accesspolicy_test.go +++ b/zero_trust/accesspolicy_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessPolicyNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessservicetoken.go b/zero_trust/accessservicetoken.go index aa3c39a7e9e..ddff0e8b82f 100644 --- a/zero_trust/accessservicetoken.go +++ b/zero_trust/accessservicetoken.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" ) // AccessServiceTokenService contains methods and other services that help with diff --git a/zero_trust/accessservicetoken_test.go b/zero_trust/accessservicetoken_test.go index 88082f8a123..f23a6125cec 100644 --- a/zero_trust/accessservicetoken_test.go +++ b/zero_trust/accessservicetoken_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessServiceTokenNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accesstag.go b/zero_trust/accesstag.go index a681681187a..81cfaac4ccb 100644 --- a/zero_trust/accesstag.go +++ b/zero_trust/accesstag.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" ) // AccessTagService contains methods and other services that help with interacting diff --git a/zero_trust/accesstag_test.go b/zero_trust/accesstag_test.go index 3ddd3504683..eb9a4a33f32 100644 --- a/zero_trust/accesstag_test.go +++ b/zero_trust/accesstag_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessTagNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessuser.go b/zero_trust/accessuser.go index 2a1e3d00c74..06afee1686f 100644 --- a/zero_trust/accessuser.go +++ b/zero_trust/accessuser.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" ) // AccessUserService contains methods and other services that help with interacting diff --git a/zero_trust/accessuser_test.go b/zero_trust/accessuser_test.go index 30cbec16294..8f3432db85e 100644 --- a/zero_trust/accessuser_test.go +++ b/zero_trust/accessuser_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessUserListWithOptionalParams(t *testing.T) { diff --git a/zero_trust/accessuseractivesession.go b/zero_trust/accessuseractivesession.go index 1bad0e2d5cb..f144915b690 100644 --- a/zero_trust/accessuseractivesession.go +++ b/zero_trust/accessuseractivesession.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" ) // AccessUserActiveSessionService contains methods and other services that help diff --git a/zero_trust/accessuseractivesession_test.go b/zero_trust/accessuseractivesession_test.go index 3698e97edfe..8074fbfbd62 100644 --- a/zero_trust/accessuseractivesession_test.go +++ b/zero_trust/accessuseractivesession_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessUserActiveSessionList(t *testing.T) { diff --git a/zero_trust/accessuserfailedlogin.go b/zero_trust/accessuserfailedlogin.go index 8b9a4e97a80..8c956edbcf3 100644 --- a/zero_trust/accessuserfailedlogin.go +++ b/zero_trust/accessuserfailedlogin.go @@ -8,11 +8,11 @@ import ( "fmt" "net/http" - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/internal/param" - "github.com/cloudflare/cloudflare-go/v3/internal/requestconfig" - "github.com/cloudflare/cloudflare-go/v3/option" - "github.com/cloudflare/cloudflare-go/v3/packages/pagination" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/internal/param" + "github.com/cloudflare/cloudflare-go/v4/internal/requestconfig" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/packages/pagination" ) // AccessUserFailedLoginService contains methods and other services that help with diff --git a/zero_trust/accessuserfailedlogin_test.go b/zero_trust/accessuserfailedlogin_test.go index a7a197a5c92..71d5b2608b6 100644 --- a/zero_trust/accessuserfailedlogin_test.go +++ b/zero_trust/accessuserfailedlogin_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessUserFailedLoginList(t *testing.T) { diff --git a/zero_trust/accessuserlastseenidentity.go b/zero_trust/accessuserlastseenidentity.go index 0975ab0d93f..5fcc4da4f52 100644 --- a/zero_trust/accessuserlastseenidentity.go +++ b/zero_trust/accessuserlastseenidentity.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" ) // AccessUserLastSeenIdentityService contains methods and other services that help diff --git a/zero_trust/accessuserlastseenidentity_test.go b/zero_trust/accessuserlastseenidentity_test.go index a8b6ed534bf..75e13f0599e 100644 --- a/zero_trust/accessuserlastseenidentity_test.go +++ b/zero_trust/accessuserlastseenidentity_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestAccessUserLastSeenIdentityGet(t *testing.T) { diff --git a/zero_trust/aliases.go b/zero_trust/aliases.go index 29f44a8bdb9..a287fa0f2ab 100644 --- a/zero_trust/aliases.go +++ b/zero_trust/aliases.go @@ -3,8 +3,8 @@ package zero_trust 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/zero_trust/connectivitysetting.go b/zero_trust/connectivitysetting.go index fad9203ef5c..9b2961b2126 100644 --- a/zero_trust/connectivitysetting.go +++ b/zero_trust/connectivitysetting.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" ) // ConnectivitySettingService contains methods and other services that help with diff --git a/zero_trust/connectivitysetting_test.go b/zero_trust/connectivitysetting_test.go index d9ea9dadabf..d0e064509f1 100644 --- a/zero_trust/connectivitysetting_test.go +++ b/zero_trust/connectivitysetting_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestConnectivitySettingEditWithOptionalParams(t *testing.T) { diff --git a/zero_trust/device.go b/zero_trust/device.go index 76445ef632c..950d2116c5f 100644 --- a/zero_trust/device.go +++ b/zero_trust/device.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" ) // DeviceService contains methods and other services that help with interacting diff --git a/zero_trust/device_test.go b/zero_trust/device_test.go index 3e658a6265b..a26cd016fde 100644 --- a/zero_trust/device_test.go +++ b/zero_trust/device_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceList(t *testing.T) { diff --git a/zero_trust/devicedextest.go b/zero_trust/devicedextest.go index 19acd46be46..9b029bc7911 100644 --- a/zero_trust/devicedextest.go +++ b/zero_trust/devicedextest.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" ) // DeviceDEXTestService contains methods and other services that help with diff --git a/zero_trust/devicedextest_test.go b/zero_trust/devicedextest_test.go index 06edd077174..ef72e3f841f 100644 --- a/zero_trust/devicedextest_test.go +++ b/zero_trust/devicedextest_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceDEXTestNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicefleetstatus.go b/zero_trust/devicefleetstatus.go index 4ee0bb74e7f..965e1e63d24 100644 --- a/zero_trust/devicefleetstatus.go +++ b/zero_trust/devicefleetstatus.go @@ -9,11 +9,11 @@ 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/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" ) // DeviceFleetStatusService contains methods and other services that help with diff --git a/zero_trust/devicefleetstatus_test.go b/zero_trust/devicefleetstatus_test.go index 18d193c50a7..5b8c35ddc35 100644 --- a/zero_trust/devicefleetstatus_test.go +++ b/zero_trust/devicefleetstatus_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceFleetStatusGetWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicenetwork.go b/zero_trust/devicenetwork.go index 1255c87114a..d17f36d76cb 100644 --- a/zero_trust/devicenetwork.go +++ b/zero_trust/devicenetwork.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" ) // DeviceNetworkService contains methods and other services that help with diff --git a/zero_trust/devicenetwork_test.go b/zero_trust/devicenetwork_test.go index c3059c8a409..b8fa4805055 100644 --- a/zero_trust/devicenetwork_test.go +++ b/zero_trust/devicenetwork_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceNetworkNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/deviceoverridecode.go b/zero_trust/deviceoverridecode.go index d264574e82b..b7a3fb488eb 100644 --- a/zero_trust/deviceoverridecode.go +++ b/zero_trust/deviceoverridecode.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" ) // DeviceOverrideCodeService contains methods and other services that help with diff --git a/zero_trust/deviceoverridecode_test.go b/zero_trust/deviceoverridecode_test.go index 773be792279..2f9b550c846 100644 --- a/zero_trust/deviceoverridecode_test.go +++ b/zero_trust/deviceoverridecode_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceOverrideCodeList(t *testing.T) { diff --git a/zero_trust/devicepolicy.go b/zero_trust/devicepolicy.go index f3d1e6fc2b9..bb240eaf804 100644 --- a/zero_trust/devicepolicy.go +++ b/zero_trust/devicepolicy.go @@ -3,9 +3,9 @@ package zero_trust import ( - "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" ) // DevicePolicyService contains methods and other services that help with diff --git a/zero_trust/devicepolicycustom.go b/zero_trust/devicepolicycustom.go index 7ba2f908cc9..d8acf00909e 100644 --- a/zero_trust/devicepolicycustom.go +++ b/zero_trust/devicepolicycustom.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" ) // DevicePolicyCustomService contains methods and other services that help with diff --git a/zero_trust/devicepolicycustom_test.go b/zero_trust/devicepolicycustom_test.go index f5794f54017..4d4b136114d 100644 --- a/zero_trust/devicepolicycustom_test.go +++ b/zero_trust/devicepolicycustom_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyCustomNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicepolicycustomexclude.go b/zero_trust/devicepolicycustomexclude.go index cca28987216..7ccb2ab7180 100644 --- a/zero_trust/devicepolicycustomexclude.go +++ b/zero_trust/devicepolicycustomexclude.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" ) // DevicePolicyCustomExcludeService contains methods and other services that help diff --git a/zero_trust/devicepolicycustomexclude_test.go b/zero_trust/devicepolicycustomexclude_test.go index 23925dad5ef..35f04cbde01 100644 --- a/zero_trust/devicepolicycustomexclude_test.go +++ b/zero_trust/devicepolicycustomexclude_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyCustomExcludeUpdate(t *testing.T) { diff --git a/zero_trust/devicepolicycustomfallbackdomain.go b/zero_trust/devicepolicycustomfallbackdomain.go index d20c1ddde53..93c45cb9c58 100644 --- a/zero_trust/devicepolicycustomfallbackdomain.go +++ b/zero_trust/devicepolicycustomfallbackdomain.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" ) // DevicePolicyCustomFallbackDomainService contains methods and other services that diff --git a/zero_trust/devicepolicycustomfallbackdomain_test.go b/zero_trust/devicepolicycustomfallbackdomain_test.go index 609573eae3e..50510578a8e 100644 --- a/zero_trust/devicepolicycustomfallbackdomain_test.go +++ b/zero_trust/devicepolicycustomfallbackdomain_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyCustomFallbackDomainUpdate(t *testing.T) { diff --git a/zero_trust/devicepolicycustominclude.go b/zero_trust/devicepolicycustominclude.go index e5c50d8f1ec..1c937a4a102 100644 --- a/zero_trust/devicepolicycustominclude.go +++ b/zero_trust/devicepolicycustominclude.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" ) // DevicePolicyCustomIncludeService contains methods and other services that help diff --git a/zero_trust/devicepolicycustominclude_test.go b/zero_trust/devicepolicycustominclude_test.go index 9c7fe5c260d..8bb07ee1ba5 100644 --- a/zero_trust/devicepolicycustominclude_test.go +++ b/zero_trust/devicepolicycustominclude_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyCustomIncludeUpdate(t *testing.T) { diff --git a/zero_trust/devicepolicydefault.go b/zero_trust/devicepolicydefault.go index 503975f4760..dced90b585b 100644 --- a/zero_trust/devicepolicydefault.go +++ b/zero_trust/devicepolicydefault.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" ) // DevicePolicyDefaultService contains methods and other services that help with diff --git a/zero_trust/devicepolicydefault_test.go b/zero_trust/devicepolicydefault_test.go index 59ef0c90503..4e6e661e061 100644 --- a/zero_trust/devicepolicydefault_test.go +++ b/zero_trust/devicepolicydefault_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyDefaultEditWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicepolicydefaultcertificate.go b/zero_trust/devicepolicydefaultcertificate.go index e64c3406169..447aa09ce19 100644 --- a/zero_trust/devicepolicydefaultcertificate.go +++ b/zero_trust/devicepolicydefaultcertificate.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" ) // DevicePolicyDefaultCertificateService contains methods and other services that diff --git a/zero_trust/devicepolicydefaultcertificate_test.go b/zero_trust/devicepolicydefaultcertificate_test.go index 7091b83fd7b..48d180ec566 100644 --- a/zero_trust/devicepolicydefaultcertificate_test.go +++ b/zero_trust/devicepolicydefaultcertificate_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyDefaultCertificateEdit(t *testing.T) { diff --git a/zero_trust/devicepolicydefaultexclude.go b/zero_trust/devicepolicydefaultexclude.go index 713d9f5a3e4..6bfd9f5826c 100644 --- a/zero_trust/devicepolicydefaultexclude.go +++ b/zero_trust/devicepolicydefaultexclude.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" ) // DevicePolicyDefaultExcludeService contains methods and other services that help diff --git a/zero_trust/devicepolicydefaultexclude_test.go b/zero_trust/devicepolicydefaultexclude_test.go index 09863ac4af4..c799abdc446 100644 --- a/zero_trust/devicepolicydefaultexclude_test.go +++ b/zero_trust/devicepolicydefaultexclude_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyDefaultExcludeUpdate(t *testing.T) { diff --git a/zero_trust/devicepolicydefaultfallbackdomain.go b/zero_trust/devicepolicydefaultfallbackdomain.go index f1afb1fd85c..138778f17c3 100644 --- a/zero_trust/devicepolicydefaultfallbackdomain.go +++ b/zero_trust/devicepolicydefaultfallbackdomain.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" ) // DevicePolicyDefaultFallbackDomainService contains methods and other services diff --git a/zero_trust/devicepolicydefaultfallbackdomain_test.go b/zero_trust/devicepolicydefaultfallbackdomain_test.go index a3246dc8938..84c9759a727 100644 --- a/zero_trust/devicepolicydefaultfallbackdomain_test.go +++ b/zero_trust/devicepolicydefaultfallbackdomain_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyDefaultFallbackDomainUpdate(t *testing.T) { diff --git a/zero_trust/devicepolicydefaultinclude.go b/zero_trust/devicepolicydefaultinclude.go index a388b943244..96e1b999f1b 100644 --- a/zero_trust/devicepolicydefaultinclude.go +++ b/zero_trust/devicepolicydefaultinclude.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" ) // DevicePolicyDefaultIncludeService contains methods and other services that help diff --git a/zero_trust/devicepolicydefaultinclude_test.go b/zero_trust/devicepolicydefaultinclude_test.go index 5838394d4ba..0a1c3456c1f 100644 --- a/zero_trust/devicepolicydefaultinclude_test.go +++ b/zero_trust/devicepolicydefaultinclude_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePolicyDefaultIncludeUpdate(t *testing.T) { diff --git a/zero_trust/deviceposture.go b/zero_trust/deviceposture.go index cc012b50d1b..24a295d6dcb 100644 --- a/zero_trust/deviceposture.go +++ b/zero_trust/deviceposture.go @@ -9,12 +9,12 @@ 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/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" "github.com/tidwall/gjson" ) diff --git a/zero_trust/deviceposture_test.go b/zero_trust/deviceposture_test.go index affa85e9422..32538696f2d 100644 --- a/zero_trust/deviceposture_test.go +++ b/zero_trust/deviceposture_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePostureNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicepostureintegration.go b/zero_trust/devicepostureintegration.go index 2e690a5a17b..3fece22c3ec 100644 --- a/zero_trust/devicepostureintegration.go +++ b/zero_trust/devicepostureintegration.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" ) // DevicePostureIntegrationService contains methods and other services that help diff --git a/zero_trust/devicepostureintegration_test.go b/zero_trust/devicepostureintegration_test.go index c0071d5f79e..2d691f42892 100644 --- a/zero_trust/devicepostureintegration_test.go +++ b/zero_trust/devicepostureintegration_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDevicePostureIntegrationNewWithOptionalParams(t *testing.T) { diff --git a/zero_trust/devicerevoke.go b/zero_trust/devicerevoke.go index 78badb0be61..82c7922ac6b 100644 --- a/zero_trust/devicerevoke.go +++ b/zero_trust/devicerevoke.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" ) // DeviceRevokeService contains methods and other services that help with diff --git a/zero_trust/devicerevoke_test.go b/zero_trust/devicerevoke_test.go index d2ebdfc5f4e..ff34aa4fc0e 100644 --- a/zero_trust/devicerevoke_test.go +++ b/zero_trust/devicerevoke_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceRevokeNew(t *testing.T) { diff --git a/zero_trust/devicesetting.go b/zero_trust/devicesetting.go index a74f10cd8e0..989098db531 100644 --- a/zero_trust/devicesetting.go +++ b/zero_trust/devicesetting.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" ) // DeviceSettingService contains methods and other services that help with diff --git a/zero_trust/devicesetting_test.go b/zero_trust/devicesetting_test.go index 369a9f211c3..d0cb05e800e 100644 --- a/zero_trust/devicesetting_test.go +++ b/zero_trust/devicesetting_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceSettingUpdateWithOptionalParams(t *testing.T) { diff --git a/zero_trust/deviceunrevoke.go b/zero_trust/deviceunrevoke.go index e68ce437c73..17491ff5ccb 100644 --- a/zero_trust/deviceunrevoke.go +++ b/zero_trust/deviceunrevoke.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" ) // DeviceUnrevokeService contains methods and other services that help with diff --git a/zero_trust/deviceunrevoke_test.go b/zero_trust/deviceunrevoke_test.go index 83a6f2619ce..f593991e466 100644 --- a/zero_trust/deviceunrevoke_test.go +++ b/zero_trust/deviceunrevoke_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDeviceUnrevokeNew(t *testing.T) { diff --git a/zero_trust/dex.go b/zero_trust/dex.go index f923a14a14c..c9e5bd5a676 100644 --- a/zero_trust/dex.go +++ b/zero_trust/dex.go @@ -3,8 +3,8 @@ package zero_trust import ( - "github.com/cloudflare/cloudflare-go/v3/internal/apijson" - "github.com/cloudflare/cloudflare-go/v3/option" + "github.com/cloudflare/cloudflare-go/v4/internal/apijson" + "github.com/cloudflare/cloudflare-go/v4/option" ) // DEXService contains methods and other services that help with interacting with diff --git a/zero_trust/dexcolo.go b/zero_trust/dexcolo.go index e966c97503a..9b11098e86a 100644 --- a/zero_trust/dexcolo.go +++ b/zero_trust/dexcolo.go @@ -9,11 +9,11 @@ import ( "net/http" "net/url" - "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/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" ) // DEXColoService contains methods and other services that help with interacting diff --git a/zero_trust/dexcolo_test.go b/zero_trust/dexcolo_test.go index 6f66b590c0f..f4714314b36 100644 --- a/zero_trust/dexcolo_test.go +++ b/zero_trust/dexcolo_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDEXColoListWithOptionalParams(t *testing.T) { diff --git a/zero_trust/dexfleetstatus.go b/zero_trust/dexfleetstatus.go index 7066645655c..2b600152ccf 100644 --- a/zero_trust/dexfleetstatus.go +++ b/zero_trust/dexfleetstatus.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" ) // DEXFleetStatusService contains methods and other services that help with diff --git a/zero_trust/dexfleetstatus_test.go b/zero_trust/dexfleetstatus_test.go index 4fd981fbca0..d830fad4246 100644 --- a/zero_trust/dexfleetstatus_test.go +++ b/zero_trust/dexfleetstatus_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDEXFleetStatusLive(t *testing.T) { diff --git a/zero_trust/dexfleetstatusdevice.go b/zero_trust/dexfleetstatusdevice.go index 13a32ace382..0aecc5fa2c7 100644 --- a/zero_trust/dexfleetstatusdevice.go +++ b/zero_trust/dexfleetstatusdevice.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" ) // DEXFleetStatusDeviceService contains methods and other services that help with diff --git a/zero_trust/dexfleetstatusdevice_test.go b/zero_trust/dexfleetstatusdevice_test.go index 4c216e6e58c..31653f7dd8c 100644 --- a/zero_trust/dexfleetstatusdevice_test.go +++ b/zero_trust/dexfleetstatusdevice_test.go @@ -8,10 +8,10 @@ import ( "os" "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" + "github.com/cloudflare/cloudflare-go/v4/internal/testutil" + "github.com/cloudflare/cloudflare-go/v4/option" + "github.com/cloudflare/cloudflare-go/v4/zero_trust" ) func TestDEXFleetStatusDeviceListWithOptionalParams(t *testing.T) {