From 8782b2d4cde299983f8ea366d0381b6062c1bb63 Mon Sep 17 00:00:00 2001 From: anthony <60042005+notanthony@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:39:59 -0800 Subject: [PATCH] Regen with v1 (#59) * Regen with v1 * Fixed build error --- appentitlementowners.go | 8 +- appentitlements.go | 8 +- appentitlementsearch.go | 8 +- appentitlementuserbinding.go | 8 +- appowners.go | 8 +- appreport.go | 8 +- appreportaction.go | 8 +- appresource.go | 8 +- appresourceowners.go | 8 +- appresourcesearch.go | 8 +- appresourcetype.go | 8 +- apps.go | 8 +- appsearch.go | 8 +- appusagecontrols.go | 8 +- appuser.go | 8 +- attributes.go | 8 +- attributesearch.go | 8 +- auth.go | 8 +- conductoroneapi.go | 11 +- connector.go | 8 +- directory.go | 8 +- docs/pkg/models/shared/appgroupapproval.md | 2 +- .../models/shared/appgroupapprovalinput.md | 9 - .../models/shared/appownerapprovalinput.md | 9 - docs/pkg/models/shared/approvalinput.md | 26 --- docs/pkg/models/shared/createpolicyrequest.md | 2 +- .../shared/entitlementownerapprovalinput.md | 9 - .../models/shared/expressionapprovalinput.md | 9 - .../pkg/models/shared/managerapprovalinput.md | 9 - docs/pkg/models/shared/policy.md | 28 +-- docs/pkg/models/shared/policyinput.md | 18 +- docs/pkg/models/shared/policystepinput.md | 20 -- docs/pkg/models/shared/policystepsinput.md | 10 - docs/pkg/models/shared/security.md | 8 +- docs/pkg/models/shared/selfapprovalinput.md | 9 - docs/pkg/models/shared/userapprovalinput.md | 9 - docs/sdks/appentitlementowners/README.md | 48 ++--- docs/sdks/appentitlements/README.md | 72 +++---- docs/sdks/appentitlementsearch/README.md | 10 +- docs/sdks/appentitlementuserbinding/README.md | 12 +- docs/sdks/appowners/README.md | 48 ++--- docs/sdks/appreport/README.md | 12 +- docs/sdks/appreportaction/README.md | 12 +- docs/sdks/appresource/README.md | 24 +-- docs/sdks/appresourceowners/README.md | 12 +- docs/sdks/appresourcesearch/README.md | 10 +- docs/sdks/appresourcetype/README.md | 24 +-- docs/sdks/apps/README.md | 58 +++--- docs/sdks/appsearch/README.md | 10 +- docs/sdks/appusagecontrols/README.md | 24 +-- docs/sdks/appuser/README.md | 12 +- docs/sdks/attributes/README.md | 58 +++--- docs/sdks/attributesearch/README.md | 10 +- docs/sdks/auth/README.md | 10 +- docs/sdks/connector/README.md | 120 ++++++------ docs/sdks/directory/README.md | 46 ++--- docs/sdks/personalclient/README.md | 10 +- docs/sdks/policies/README.md | 178 ++++++++++++------ docs/sdks/policysearch/README.md | 10 +- docs/sdks/policyvalidate/README.md | 10 +- docs/sdks/requestcatalogmanagement/README.md | 128 ++++++------- docs/sdks/requestcatalogsearch/README.md | 10 +- docs/sdks/roles/README.md | 36 ++-- docs/sdks/task/README.md | 32 ++-- docs/sdks/taskactions/README.md | 60 +++--- docs/sdks/tasksearch/README.md | 10 +- docs/sdks/user/README.md | 24 +-- docs/sdks/usersearch/README.md | 10 +- files.gen | 21 --- gen.yaml | 12 +- go.mod | 5 +- go.sum | 2 - personalclient.go | 8 +- .../c1apiappv1appentitlementownersadd.go | 2 +- .../c1apiappv1appentitlementownerslist.go | 2 +- .../c1apiappv1appentitlementownersremove.go | 2 +- .../c1apiappv1appentitlementownersset.go | 2 +- ...iappv1appentitlementsearchservicesearch.go | 2 +- .../c1apiappv1appentitlementsget.go | 2 +- .../c1apiappv1appentitlementslist.go | 2 +- ...iappv1appentitlementslistforappresource.go | 2 +- ...c1apiappv1appentitlementslistforappuser.go | 2 +- .../c1apiappv1appentitlementslistusers.go | 2 +- .../c1apiappv1appentitlementsupdate.go | 2 +- ...servicelistappusersforidentitywithgrant.go | 2 +- .../operations/c1apiappv1appownersadd.go | 2 +- .../operations/c1apiappv1appownerslist.go | 2 +- .../operations/c1apiappv1appownersremove.go | 2 +- .../operations/c1apiappv1appownersset.go | 2 +- ...pv1appreportactionservicegeneratereport.go | 2 +- .../c1apiappv1appreportservicelist.go | 2 +- .../c1apiappv1appresourceownerslist.go | 2 +- ...appresourcesearchsearchappresourcetypes.go | 2 +- .../c1apiappv1appresourceserviceget.go | 2 +- .../c1apiappv1appresourceservicelist.go | 2 +- .../c1apiappv1appresourcetypeserviceget.go | 2 +- .../c1apiappv1appresourcetypeservicelist.go | 2 +- pkg/models/operations/c1apiappv1appscreate.go | 2 +- pkg/models/operations/c1apiappv1appsdelete.go | 2 +- .../operations/c1apiappv1appsearchsearch.go | 2 +- pkg/models/operations/c1apiappv1appsget.go | 2 +- pkg/models/operations/c1apiappv1appslist.go | 2 +- pkg/models/operations/c1apiappv1appsupdate.go | 2 +- .../c1apiappv1appusagecontrolsserviceget.go | 2 +- ...c1apiappv1appusagecontrolsserviceupdate.go | 2 +- .../c1apiappv1appuserserviceupdate.go | 2 +- .../c1apiappv1connectorservicecreate.go | 2 +- ...apiappv1connectorservicecreatedelegated.go | 2 +- .../c1apiappv1connectorservicedelete.go | 2 +- .../c1apiappv1connectorserviceget.go | 2 +- ...1apiappv1connectorservicegetcredentials.go | 2 +- .../c1apiappv1connectorservicelist.go | 2 +- ...piappv1connectorservicerevokecredential.go | 2 +- ...piappv1connectorservicerotatecredential.go | 2 +- .../c1apiappv1connectorserviceupdate.go | 2 +- ...apiappv1connectorserviceupdatedelegated.go | 2 +- ...tributev1attributescreateattributevalue.go | 2 +- ...tributev1attributesdeleteattributevalue.go | 2 +- ...ev1attributesearchsearchattributevalues.go | 2 +- ...iattributev1attributesgetattributevalue.go | 2 +- ...attributev1attributeslistattributetypes.go | 2 +- ...ttributev1attributeslistattributevalues.go | 2 +- .../operations/c1apiauthv1authintrospect.go | 2 +- .../c1apidirectoryv1directoryservicecreate.go | 2 +- .../c1apidirectoryv1directoryservicedelete.go | 2 +- .../c1apidirectoryv1directoryserviceget.go | 2 +- .../c1apidirectoryv1directoryservicelist.go | 2 +- .../c1apiiamv1personalclientservicecreate.go | 2 +- pkg/models/operations/c1apiiamv1rolesget.go | 2 +- pkg/models/operations/c1apiiamv1roleslist.go | 2 +- .../operations/c1apiiamv1rolesupdate.go | 2 +- .../operations/c1apipolicyv1policiescreate.go | 2 +- .../operations/c1apipolicyv1policiesdelete.go | 2 +- .../operations/c1apipolicyv1policiesget.go | 2 +- .../operations/c1apipolicyv1policieslist.go | 2 +- .../operations/c1apipolicyv1policiesupdate.go | 2 +- .../c1apipolicyv1policysearchsearch.go | 2 +- .../c1apipolicyv1policyvalidatevalidatecel.go | 2 +- ...gmanagementserviceaddaccessentitlements.go | 2 +- ...alogmanagementserviceaddappentitlements.go | 2 +- ...v1requestcatalogmanagementservicecreate.go | 2 +- ...v1requestcatalogmanagementservicedelete.go | 2 +- ...logv1requestcatalogmanagementserviceget.go | 2 +- ...ogv1requestcatalogmanagementservicelist.go | 2 +- ...agementservicelistentitlementsforaccess.go | 2 +- ...gementservicelistentitlementspercatalog.go | 2 +- ...nagementserviceremoveaccessentitlements.go | 2 +- ...gmanagementserviceremoveappentitlements.go | 2 +- ...v1requestcatalogmanagementserviceupdate.go | 2 +- ...tcatalogsearchservicesearchentitlements.go | 2 +- .../c1apitaskv1taskactionsserviceapprove.go | 2 +- .../c1apitaskv1taskactionsservicecomment.go | 2 +- .../c1apitaskv1taskactionsservicedeny.go | 2 +- ...actionsserviceescalatetoemergencyaccess.go | 2 +- .../c1apitaskv1taskactionsservicerestart.go | 2 +- .../c1apitaskv1tasksearchservicesearch.go | 2 +- .../c1apitaskv1taskservicecreategranttask.go | 2 +- .../c1apitaskv1taskservicecreaterevoketask.go | 2 +- .../operations/c1apitaskv1taskserviceget.go | 2 +- .../operations/c1apiuserv1usersearchsearch.go | 2 +- .../operations/c1apiuserv1userserviceget.go | 2 +- .../operations/c1apiuserv1userservicelist.go | 2 +- pkg/models/shared/app.go | 2 +- pkg/models/shared/appentitlement.go | 2 +- ...pentitlementsearchservicesearchresponse.go | 2 +- .../shared/appentitlementuserbinding.go | 2 +- pkg/models/shared/appentitlementuserview.go | 2 +- pkg/models/shared/appgroupapproval.go | 2 +- pkg/models/shared/appgroupapprovalinput.go | 7 - pkg/models/shared/appownerapprovalinput.go | 7 - pkg/models/shared/apppopulationreport.go | 2 +- pkg/models/shared/appresource.go | 2 +- .../shared/appresourceservicegetresponse.go | 2 +- .../shared/appresourceservicelistresponse.go | 2 +- pkg/models/shared/appresourcetype.go | 2 +- .../appresourcetypeservicegetresponse.go | 2 +- .../appresourcetypeservicelistresponse.go | 2 +- pkg/models/shared/approvalinput.go | 79 -------- pkg/models/shared/approvedaction.go | 2 +- pkg/models/shared/appuser.go | 2 +- .../shared/appuserserviceupdateresponse.go | 2 +- pkg/models/shared/attributevalue.go | 2 +- pkg/models/shared/cancelledaction.go | 2 +- pkg/models/shared/completedaction.go | 2 +- pkg/models/shared/connector.go | 2 +- pkg/models/shared/connectorcredential.go | 2 +- .../shared/connectorservicecreaterequest.go | 2 +- .../shared/connectorservicecreateresponse.go | 2 +- .../shared/connectorservicegetresponse.go | 2 +- .../shared/connectorservicelistresponse.go | 2 +- .../shared/connectorserviceupdateresponse.go | 2 +- pkg/models/shared/connectorstatus.go | 2 +- pkg/models/shared/createpolicyrequest.go | 4 +- pkg/models/shared/deniedaction.go | 2 +- pkg/models/shared/directory.go | 2 +- .../shared/directoryservicecreateresponse.go | 2 +- .../shared/directoryservicegetresponse.go | 2 +- .../shared/directoryservicelistresponse.go | 2 +- .../shared/entitlementownerapprovalinput.go | 7 - pkg/models/shared/erroredaction.go | 2 +- pkg/models/shared/expressionapprovalinput.go | 7 - .../shared/getappentitlementresponse.go | 2 +- .../shared/listappentitlementsresponse.go | 2 +- .../shared/listappentitlementusersresponse.go | 2 +- pkg/models/shared/managerapprovalinput.go | 7 - pkg/models/shared/oauth2authorizedas.go | 2 +- pkg/models/shared/personalclient.go | 2 +- pkg/models/shared/policy.go | 10 +- pkg/models/shared/policystepinput.go | 59 ------ pkg/models/shared/policystepsinput.go | 16 -- pkg/models/shared/reassignedaction.go | 2 +- pkg/models/shared/reassignedbyerroraction.go | 2 +- pkg/models/shared/requestcatalog.go | 2 +- ...uestcatalogmanagementservicegetresponse.go | 2 +- ...ervicelistentitlementsforaccessresponse.go | 2 +- ...rvicelistentitlementspercatalogresponse.go | 2 +- ...estcatalogmanagementservicelistresponse.go | 2 +- ...searchservicesearchentitlementsresponse.go | 2 +- pkg/models/shared/restartaction.go | 2 +- pkg/models/shared/role.go | 2 +- pkg/models/shared/searchusersresponse.go | 2 +- pkg/models/shared/selfapprovalinput.go | 7 - pkg/models/shared/task.go | 2 +- .../taskactionsserviceapproveresponse.go | 2 +- .../taskactionsservicecommentresponse.go | 2 +- .../shared/taskactionsservicedenyresponse.go | 2 +- .../taskactionsservicerestartresponse.go | 2 +- pkg/models/shared/taskrevokesourceexpired.go | 2 +- pkg/models/shared/taskrevokesourcenonusage.go | 2 +- pkg/models/shared/tasksearchrequest.go | 2 +- pkg/models/shared/tasksearchresponse.go | 2 +- .../shared/taskserviceactionresponse.go | 2 +- .../shared/taskservicecreategrantresponse.go | 2 +- .../shared/taskservicecreaterevokeresponse.go | 2 +- pkg/models/shared/taskservicegetresponse.go | 2 +- pkg/models/shared/tasktypecertify.go | 2 +- pkg/models/shared/tasktypegrant.go | 2 +- pkg/models/shared/tasktyperevoke.go | 2 +- .../shared/updateappentitlementresponse.go | 2 +- pkg/models/shared/user.go | 2 +- pkg/models/shared/userapprovalinput.go | 7 - pkg/models/shared/userservicegetresponse.go | 2 +- pkg/models/shared/userservicelistresponse.go | 2 +- pkg/utils/form.go | 2 +- pkg/utils/json.go | 2 +- pkg/utils/pathparams.go | 2 +- policies.go | 8 +- policysearch.go | 8 +- policyvalidate.go | 8 +- requestcatalogmanagement.go | 8 +- requestcatalogsearch.go | 8 +- roles.go | 8 +- task.go | 8 +- taskactions.go | 8 +- tasksearch.go | 8 +- user.go | 8 +- usersearch.go | 8 +- 257 files changed, 949 insertions(+), 1224 deletions(-) delete mode 100644 docs/pkg/models/shared/appgroupapprovalinput.md delete mode 100644 docs/pkg/models/shared/appownerapprovalinput.md delete mode 100644 docs/pkg/models/shared/approvalinput.md delete mode 100644 docs/pkg/models/shared/entitlementownerapprovalinput.md delete mode 100644 docs/pkg/models/shared/expressionapprovalinput.md delete mode 100644 docs/pkg/models/shared/managerapprovalinput.md delete mode 100644 docs/pkg/models/shared/policystepinput.md delete mode 100644 docs/pkg/models/shared/policystepsinput.md delete mode 100644 docs/pkg/models/shared/selfapprovalinput.md delete mode 100644 docs/pkg/models/shared/userapprovalinput.md delete mode 100644 pkg/models/shared/appgroupapprovalinput.go delete mode 100644 pkg/models/shared/appownerapprovalinput.go delete mode 100644 pkg/models/shared/approvalinput.go delete mode 100644 pkg/models/shared/entitlementownerapprovalinput.go delete mode 100644 pkg/models/shared/expressionapprovalinput.go delete mode 100644 pkg/models/shared/managerapprovalinput.go delete mode 100644 pkg/models/shared/policystepinput.go delete mode 100644 pkg/models/shared/policystepsinput.go delete mode 100644 pkg/models/shared/selfapprovalinput.go delete mode 100644 pkg/models/shared/userapprovalinput.go diff --git a/appentitlementowners.go b/appentitlementowners.go index 621219ae..446e256a 100644 --- a/appentitlementowners.go +++ b/appentitlementowners.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appentitlements.go b/appentitlements.go index acc0d756..50c24a2e 100644 --- a/appentitlements.go +++ b/appentitlements.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appentitlementsearch.go b/appentitlementsearch.go index 3a4af1e2..a5c51de0 100644 --- a/appentitlementsearch.go +++ b/appentitlementsearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/appentitlementuserbinding.go b/appentitlementuserbinding.go index 1463d5d5..192fb689 100644 --- a/appentitlementuserbinding.go +++ b/appentitlementuserbinding.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appowners.go b/appowners.go index 7068d555..5055818c 100644 --- a/appowners.go +++ b/appowners.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appreport.go b/appreport.go index 2a72fa0b..9fea4039 100644 --- a/appreport.go +++ b/appreport.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appreportaction.go b/appreportaction.go index 32f688db..e4277331 100644 --- a/appreportaction.go +++ b/appreportaction.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appresource.go b/appresource.go index 529626a2..db1369fa 100644 --- a/appresource.go +++ b/appresource.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appresourceowners.go b/appresourceowners.go index 01124b03..88d0617c 100644 --- a/appresourceowners.go +++ b/appresourceowners.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appresourcesearch.go b/appresourcesearch.go index b24b9d9e..84fbd7de 100644 --- a/appresourcesearch.go +++ b/appresourcesearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/appresourcetype.go b/appresourcetype.go index 38eb9c2c..2d806e3f 100644 --- a/appresourcetype.go +++ b/appresourcetype.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/apps.go b/apps.go index 48e02295..0d305538 100644 --- a/apps.go +++ b/apps.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/appsearch.go b/appsearch.go index ec441e3b..cec529f0 100644 --- a/appsearch.go +++ b/appsearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/appusagecontrols.go b/appusagecontrols.go index 321a0f12..094e9d10 100644 --- a/appusagecontrols.go +++ b/appusagecontrols.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/appuser.go b/appuser.go index c50579a7..cda0a9be 100644 --- a/appuser.go +++ b/appuser.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/attributes.go b/attributes.go index 2a156226..705b8791 100644 --- a/attributes.go +++ b/attributes.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/attributesearch.go b/attributesearch.go index ba7d3b8e..ce30ddd4 100644 --- a/attributesearch.go +++ b/attributesearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/auth.go b/auth.go index 394be2dd..5d7f5532 100644 --- a/auth.go +++ b/auth.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/conductoroneapi.go b/conductoroneapi.go index ca8173cd..d0c67909 100644 --- a/conductoroneapi.go +++ b/conductoroneapi.go @@ -5,8 +5,8 @@ package conductoronesdkgo import ( "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "net/http" "time" ) @@ -159,7 +159,6 @@ func withSecurity(security interface{}) func(context.Context) (interface{}, erro } // WithSecurity configures the SDK to use the provided security details - func WithSecurity(security shared.Security) SDKOption { return func(sdk *ConductoroneAPI) { sdk.sdkConfiguration.Security = withSecurity(security) @@ -187,9 +186,9 @@ func New(opts ...SDKOption) *ConductoroneAPI { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.1.0-alpha", - SDKVersion: "2.1.8", - GenVersion: "2.210.6", - UserAgent: "speakeasy-sdk/go 2.1.8 2.210.6 0.1.0-alpha github.com/conductorone/conductorone-sdk-go", + SDKVersion: "1.15.0", + GenVersion: "2.220.0", + UserAgent: "speakeasy-sdk/go 1.15.0 2.220.0 0.1.0-alpha github.com/conductorone/conductorone-sdk-go", ServerDefaults: []map[string]string{ { "tenantDomain": "example", diff --git a/connector.go b/connector.go index 6596227f..c1ac5042 100644 --- a/connector.go +++ b/connector.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/directory.go b/directory.go index b42870c7..35c62b45 100644 --- a/directory.go +++ b/directory.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/docs/pkg/models/shared/appgroupapproval.md b/docs/pkg/models/shared/appgroupapproval.md index 02ad2d1d..e25c156d 100644 --- a/docs/pkg/models/shared/appgroupapproval.md +++ b/docs/pkg/models/shared/appgroupapproval.md @@ -9,6 +9,6 @@ The AppGroupApproval object provides the configuration for setting a group as th | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | `AllowSelfApproval` | **bool* | :heavy_minus_sign: | Configuration to allow self approval if the target user is a member of the group during this step. | | `AppGroupID` | **string* | :heavy_minus_sign: | The ID of the group specified for approval. | -| `AppID` | **string* | :heavy_minus_sign: | The ID of the app that conatins the group specified for approval. | +| `AppID` | **string* | :heavy_minus_sign: | The ID of the app that contains the group specified for approval. | | `Fallback` | **bool* | :heavy_minus_sign: | Configuration to allow a fallback if the group is empty. | | `FallbackUserIds` | []*string* | :heavy_minus_sign: | Configuration to specific which users to fallback to if fallback is enabled and the group is empty. | \ No newline at end of file diff --git a/docs/pkg/models/shared/appgroupapprovalinput.md b/docs/pkg/models/shared/appgroupapprovalinput.md deleted file mode 100644 index 4747e77f..00000000 --- a/docs/pkg/models/shared/appgroupapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# AppGroupApprovalInput - -The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/appownerapprovalinput.md b/docs/pkg/models/shared/appownerapprovalinput.md deleted file mode 100644 index 1587fbbc..00000000 --- a/docs/pkg/models/shared/appownerapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# AppOwnerApprovalInput - -App owner approval provides the configuration for an approval step when the app owner is the target. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/approvalinput.md b/docs/pkg/models/shared/approvalinput.md deleted file mode 100644 index 4070eb36..00000000 --- a/docs/pkg/models/shared/approvalinput.md +++ /dev/null @@ -1,26 +0,0 @@ -# ApprovalInput - -The Approval message. - -This message contains a oneof named typ. Only a single field of the following list may be set at a time: - - users - - manager - - appOwners - - group - - self - - entitlementOwners - - expression - - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `AppGroupApproval` | [*shared.AppGroupApprovalInput](../../../pkg/models/shared/appgroupapprovalinput.md) | :heavy_minus_sign: | The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step. | -| `AppOwnerApproval` | [*shared.AppOwnerApprovalInput](../../../pkg/models/shared/appownerapprovalinput.md) | :heavy_minus_sign: | App owner approval provides the configuration for an approval step when the app owner is the target. | -| `EntitlementOwnerApproval` | [*shared.EntitlementOwnerApprovalInput](../../../pkg/models/shared/entitlementownerapprovalinput.md) | :heavy_minus_sign: | The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners. | -| `ExpressionApproval` | [*shared.ExpressionApprovalInput](../../../pkg/models/shared/expressionapprovalinput.md) | :heavy_minus_sign: | The ExpressionApproval message. | -| `ManagerApproval` | [*shared.ManagerApprovalInput](../../../pkg/models/shared/managerapprovalinput.md) | :heavy_minus_sign: | The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task. | -| `SelfApproval` | [*shared.SelfApprovalInput](../../../pkg/models/shared/selfapprovalinput.md) | :heavy_minus_sign: | The self approval object describes the configuration of a policy step that needs to be approved by the target of the request. | -| `UserApproval` | [*shared.UserApprovalInput](../../../pkg/models/shared/userapprovalinput.md) | :heavy_minus_sign: | The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users. | \ No newline at end of file diff --git a/docs/pkg/models/shared/createpolicyrequest.md b/docs/pkg/models/shared/createpolicyrequest.md index 75e4cbc7..379b6134 100644 --- a/docs/pkg/models/shared/createpolicyrequest.md +++ b/docs/pkg/models/shared/createpolicyrequest.md @@ -9,7 +9,7 @@ The CreatePolicyRequest message is used to create a new policy. | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | `Description` | **string* | :heavy_minus_sign: | The description of the new policy. | | `DisplayName` | **string* | :heavy_minus_sign: | The display name of the new policy. | -| `PolicySteps` | map[string][shared.PolicyStepsInput](../../../pkg/models/shared/policystepsinput.md) | :heavy_minus_sign: | The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples. | +| `PolicySteps` | map[string][shared.PolicySteps](../../../pkg/models/shared/policysteps.md) | :heavy_minus_sign: | The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples. | | `PolicyType` | [*shared.PolicyType](../../../pkg/models/shared/policytype.md) | :heavy_minus_sign: | The enum of the policy type. | | `PostActions` | [][shared.PolicyPostActions](../../../pkg/models/shared/policypostactions.md) | :heavy_minus_sign: | Actions to occur after a policy finishes. As of now this is only valid on a certify policy to remediate a denied certification immediately. | | `ReassignTasksToDelegates` | **bool* | :heavy_minus_sign: | Allows reassigning tasks to delegates. | \ No newline at end of file diff --git a/docs/pkg/models/shared/entitlementownerapprovalinput.md b/docs/pkg/models/shared/entitlementownerapprovalinput.md deleted file mode 100644 index d21efed9..00000000 --- a/docs/pkg/models/shared/entitlementownerapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# EntitlementOwnerApprovalInput - -The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/expressionapprovalinput.md b/docs/pkg/models/shared/expressionapprovalinput.md deleted file mode 100644 index 1fa1cd2f..00000000 --- a/docs/pkg/models/shared/expressionapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# ExpressionApprovalInput - -The ExpressionApproval message. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/managerapprovalinput.md b/docs/pkg/models/shared/managerapprovalinput.md deleted file mode 100644 index 613fa9aa..00000000 --- a/docs/pkg/models/shared/managerapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# ManagerApprovalInput - -The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/policy.md b/docs/pkg/models/shared/policy.md index 38329cf1..32d2712c 100644 --- a/docs/pkg/models/shared/policy.md +++ b/docs/pkg/models/shared/policy.md @@ -5,17 +5,17 @@ A policy describes the behavior of the ConductorOne system when processing a tas ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | -| `DeletedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | -| `Description` | **string* | :heavy_minus_sign: | The description of the Policy. | -| `DisplayName` | **string* | :heavy_minus_sign: | The display name of the Policy. | -| `ID` | **string* | :heavy_minus_sign: | The ID of the Policy. | -| `PolicySteps` | map[string][shared.PolicySteps](../../../pkg/models/shared/policysteps.md) | :heavy_minus_sign: | A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. | -| `PolicyType` | [*shared.PolicyPolicyType](../../../pkg/models/shared/policypolicytype.md) | :heavy_minus_sign: | Indicates the type of this policy. Can also be used to get the value from policySteps. | -| `PostActions` | [][shared.PolicyPostActions](../../../pkg/models/shared/policypostactions.md) | :heavy_minus_sign: | An array of actions (ordered) to take place after a policy completes processing. | -| `ReassignTasksToDelegates` | **bool* | :heavy_minus_sign: | A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account. | -| `Rules` | [][shared.Rule](../../../pkg/models/shared/rule.md) | :heavy_minus_sign: | The rules field. | -| `SystemBuiltin` | **bool* | :heavy_minus_sign: | Whether this policy is a builtin system policy. Builtin system policies cannot be edited. | -| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `CreatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | +| `DeletedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | +| `Description` | **string* | :heavy_minus_sign: | The description of the Policy. | +| `DisplayName` | **string* | :heavy_minus_sign: | The display name of the Policy. | +| `ID` | **string* | :heavy_minus_sign: | The ID of the Policy. | +| `PolicySteps` | map[string][shared.PolicySteps](../../../pkg/models/shared/policysteps.md) | :heavy_minus_sign: | A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. | +| `PolicyType` | [*shared.PolicyPolicyType](../../../pkg/models/shared/policypolicytype.md) | :heavy_minus_sign: | Indicates the type of this policy. Can also be used to get the value from policySteps. | +| `PostActions` | [][shared.PolicyPostActions](../../../pkg/models/shared/policypostactions.md) | :heavy_minus_sign: | An array of actions (ordered) to take place after a policy completes processing. | +| `ReassignTasksToDelegates` | **bool* | :heavy_minus_sign: | A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation refers to the individual delegates users set on their account. | +| `Rules` | [][shared.Rule](../../../pkg/models/shared/rule.md) | :heavy_minus_sign: | The rules field. | +| `SystemBuiltin` | **bool* | :heavy_minus_sign: | Whether this policy is a builtin system policy. Builtin system policies cannot be edited. | +| `UpdatedAt` | [*time.Time](https://pkg.go.dev/time#Time) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/pkg/models/shared/policyinput.md b/docs/pkg/models/shared/policyinput.md index 90286c60..b4369248 100644 --- a/docs/pkg/models/shared/policyinput.md +++ b/docs/pkg/models/shared/policyinput.md @@ -5,12 +5,12 @@ A policy describes the behavior of the ConductorOne system when processing a tas ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Description` | **string* | :heavy_minus_sign: | The description of the Policy. | -| `DisplayName` | **string* | :heavy_minus_sign: | The display name of the Policy. | -| `PolicySteps` | map[string][shared.PolicyStepsInput](../../../pkg/models/shared/policystepsinput.md) | :heavy_minus_sign: | A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. | -| `PolicyType` | [*shared.PolicyPolicyType](../../../pkg/models/shared/policypolicytype.md) | :heavy_minus_sign: | Indicates the type of this policy. Can also be used to get the value from policySteps. | -| `PostActions` | [][shared.PolicyPostActions](../../../pkg/models/shared/policypostactions.md) | :heavy_minus_sign: | An array of actions (ordered) to take place after a policy completes processing. | -| `ReassignTasksToDelegates` | **bool* | :heavy_minus_sign: | A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account. | -| `Rules` | [][shared.Rule](../../../pkg/models/shared/rule.md) | :heavy_minus_sign: | The rules field. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `Description` | **string* | :heavy_minus_sign: | The description of the Policy. | +| `DisplayName` | **string* | :heavy_minus_sign: | The display name of the Policy. | +| `PolicySteps` | map[string][shared.PolicySteps](../../../pkg/models/shared/policysteps.md) | :heavy_minus_sign: | A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. | +| `PolicyType` | [*shared.PolicyPolicyType](../../../pkg/models/shared/policypolicytype.md) | :heavy_minus_sign: | Indicates the type of this policy. Can also be used to get the value from policySteps. | +| `PostActions` | [][shared.PolicyPostActions](../../../pkg/models/shared/policypostactions.md) | :heavy_minus_sign: | An array of actions (ordered) to take place after a policy completes processing. | +| `ReassignTasksToDelegates` | **bool* | :heavy_minus_sign: | A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation refers to the individual delegates users set on their account. | +| `Rules` | [][shared.Rule](../../../pkg/models/shared/rule.md) | :heavy_minus_sign: | The rules field. | \ No newline at end of file diff --git a/docs/pkg/models/shared/policystepinput.md b/docs/pkg/models/shared/policystepinput.md deleted file mode 100644 index de6b3a64..00000000 --- a/docs/pkg/models/shared/policystepinput.md +++ /dev/null @@ -1,20 +0,0 @@ -# PolicyStepInput - -The PolicyStep message. - -This message contains a oneof named step. Only a single field of the following list may be set at a time: - - approval - - provision - - accept - - reject - - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Accept` | [*shared.Accept](../../../pkg/models/shared/accept.md) | :heavy_minus_sign: | This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. | -| `Approval` | [*shared.ApprovalInput](../../../pkg/models/shared/approvalinput.md) | :heavy_minus_sign: | The Approval message.

This message contains a oneof named typ. Only a single field of the following list may be set at a time:
- users
- manager
- appOwners
- group
- self
- entitlementOwners
- expression
| -| `Provision` | [*shared.Provision](../../../pkg/models/shared/provision.md) | :heavy_minus_sign: | The provision step references a provision policy for this step. | -| `Reject` | [*shared.Reject](../../../pkg/models/shared/reject.md) | :heavy_minus_sign: | This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. | \ No newline at end of file diff --git a/docs/pkg/models/shared/policystepsinput.md b/docs/pkg/models/shared/policystepsinput.md deleted file mode 100644 index e3a9b475..00000000 --- a/docs/pkg/models/shared/policystepsinput.md +++ /dev/null @@ -1,10 +0,0 @@ -# PolicyStepsInput - -The PolicySteps message. - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Steps` | [][shared.PolicyStepInput](../../../pkg/models/shared/policystepinput.md) | :heavy_minus_sign: | An array of policy steps indicating the processing flow of a policy. These steps are oneOfs, and only one property may be set for each array index at a time. | \ No newline at end of file diff --git a/docs/pkg/models/shared/security.md b/docs/pkg/models/shared/security.md index 9096638c..34badab7 100644 --- a/docs/pkg/models/shared/security.md +++ b/docs/pkg/models/shared/security.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | -| `BearerAuth` | *string* | :heavy_check_mark: | N/A | | -| `Oauth` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `BearerAuth` | *string* | :heavy_check_mark: | N/A | +| `Oauth` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/pkg/models/shared/selfapprovalinput.md b/docs/pkg/models/shared/selfapprovalinput.md deleted file mode 100644 index 21c1a52c..00000000 --- a/docs/pkg/models/shared/selfapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# SelfApprovalInput - -The self approval object describes the configuration of a policy step that needs to be approved by the target of the request. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/pkg/models/shared/userapprovalinput.md b/docs/pkg/models/shared/userapprovalinput.md deleted file mode 100644 index 4ec96f1f..00000000 --- a/docs/pkg/models/shared/userapprovalinput.md +++ /dev/null @@ -1,9 +0,0 @@ -# UserApprovalInput - -The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users. - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/sdks/appentitlementowners/README.md b/docs/sdks/appentitlementowners/README.md index 9ecbbacd..2f302700 100644 --- a/docs/sdks/appentitlementowners/README.md +++ b/docs/sdks/appentitlementowners/README.md @@ -18,18 +18,18 @@ Add an owner to a given app entitlement. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -62,7 +62,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementOwnersAddResponse](../../pkg/models/operations/c1apiappv1appentitlementownersaddresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -74,18 +74,18 @@ List owners for a given app entitlement. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -117,7 +117,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementOwnersListResponse](../../pkg/models/operations/c1apiappv1appentitlementownerslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Remove @@ -129,18 +129,18 @@ Remove an owner from a given app entitlement. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -174,7 +174,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementOwnersRemoveResponse](../../pkg/models/operations/c1apiappv1appentitlementownersremoveresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Set @@ -186,18 +186,18 @@ Sets the owners for a given app entitlement to the specified list of users. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -234,4 +234,4 @@ func main() { **[*operations.C1APIAppV1AppEntitlementOwnersSetResponse](../../pkg/models/operations/c1apiappv1appentitlementownerssetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appentitlements/README.md b/docs/sdks/appentitlements/README.md index a7fc5aba..27ebeac4 100644 --- a/docs/sdks/appentitlements/README.md +++ b/docs/sdks/appentitlements/README.md @@ -20,18 +20,18 @@ Get an app entitlement by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -63,7 +63,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsGetResponse](../../pkg/models/operations/c1apiappv1appentitlementsgetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -75,18 +75,18 @@ List app entitlements associated with an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -117,7 +117,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsListResponse](../../pkg/models/operations/c1apiappv1appentitlementslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListForAppResource @@ -129,18 +129,18 @@ List app entitlements associated with an app resource. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -173,7 +173,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsListForAppResourceResponse](../../pkg/models/operations/c1apiappv1appentitlementslistforappresourceresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListForAppUser @@ -185,18 +185,18 @@ List app entitlements associated with an app user. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -228,7 +228,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsListForAppUserResponse](../../pkg/models/operations/c1apiappv1appentitlementslistforappuserresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListUsers @@ -240,18 +240,18 @@ List the users, as AppEntitlementUsers objects, of an app entitlement. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -283,7 +283,7 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsListUsersResponse](../../pkg/models/operations/c1apiappv1appentitlementslistusersresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -295,18 +295,18 @@ Update an app entitlement by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -360,4 +360,4 @@ func main() { **[*operations.C1APIAppV1AppEntitlementsUpdateResponse](../../pkg/models/operations/c1apiappv1appentitlementsupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appentitlementsearch/README.md b/docs/sdks/appentitlementsearch/README.md index ddcc2c1a..bba2d1bc 100644 --- a/docs/sdks/appentitlementsearch/README.md +++ b/docs/sdks/appentitlementsearch/README.md @@ -15,8 +15,8 @@ Search app entitlements based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -81,4 +81,4 @@ func main() { **[*operations.C1APIAppV1AppEntitlementSearchServiceSearchResponse](../../pkg/models/operations/c1apiappv1appentitlementsearchservicesearchresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appentitlementuserbinding/README.md b/docs/sdks/appentitlementuserbinding/README.md index a1469312..a6bf82f4 100644 --- a/docs/sdks/appentitlementuserbinding/README.md +++ b/docs/sdks/appentitlementuserbinding/README.md @@ -15,18 +15,18 @@ Returns a list of app users for the identity in the app. If that app user also h package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -59,4 +59,4 @@ func main() { **[*operations.C1APIAppV1AppEntitlementUserBindingServiceListAppUsersForIdentityWithGrantResponse](../../pkg/models/operations/c1apiappv1appentitlementuserbindingservicelistappusersforidentitywithgrantresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appowners/README.md b/docs/sdks/appowners/README.md index 3e7ed960..09c8fc7b 100644 --- a/docs/sdks/appowners/README.md +++ b/docs/sdks/appowners/README.md @@ -18,18 +18,18 @@ Adds an owner to an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -62,7 +62,7 @@ func main() { **[*operations.C1APIAppV1AppOwnersAddResponse](../../pkg/models/operations/c1apiappv1appownersaddresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -74,18 +74,18 @@ List owners of an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -116,7 +116,7 @@ func main() { **[*operations.C1APIAppV1AppOwnersListResponse](../../pkg/models/operations/c1apiappv1appownerslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Remove @@ -128,18 +128,18 @@ Removes an owner from an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -172,7 +172,7 @@ func main() { **[*operations.C1APIAppV1AppOwnersRemoveResponse](../../pkg/models/operations/c1apiappv1appownersremoveresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Set @@ -184,18 +184,18 @@ Sets the owners for a given app to the specified list of users. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -231,4 +231,4 @@ func main() { **[*operations.C1APIAppV1AppOwnersSetResponse](../../pkg/models/operations/c1apiappv1appownerssetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appreport/README.md b/docs/sdks/appreport/README.md index 296ab13f..ed9d8a78 100644 --- a/docs/sdks/appreport/README.md +++ b/docs/sdks/appreport/README.md @@ -15,18 +15,18 @@ Get a list of reports for the given app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -57,4 +57,4 @@ func main() { **[*operations.C1APIAppV1AppReportServiceListResponse](../../pkg/models/operations/c1apiappv1appreportservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appreportaction/README.md b/docs/sdks/appreportaction/README.md index cee5afe9..12a455b2 100644 --- a/docs/sdks/appreportaction/README.md +++ b/docs/sdks/appreportaction/README.md @@ -15,18 +15,18 @@ Generate a report for the given app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -58,4 +58,4 @@ func main() { **[*operations.C1APIAppV1AppReportActionServiceGenerateReportResponse](../../pkg/models/operations/c1apiappv1appreportactionservicegeneratereportresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appresource/README.md b/docs/sdks/appresource/README.md index 3781bce7..cbe82489 100644 --- a/docs/sdks/appresource/README.md +++ b/docs/sdks/appresource/README.md @@ -16,18 +16,18 @@ Invokes the c1.api.app.v1.AppResourceService.Get method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -60,7 +60,7 @@ func main() { **[*operations.C1APIAppV1AppResourceServiceGetResponse](../../pkg/models/operations/c1apiappv1appresourceservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -72,18 +72,18 @@ Invokes the c1.api.app.v1.AppResourceService.List method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -115,4 +115,4 @@ func main() { **[*operations.C1APIAppV1AppResourceServiceListResponse](../../pkg/models/operations/c1apiappv1appresourceservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appresourceowners/README.md b/docs/sdks/appresourceowners/README.md index 44e3ecfd..3cd0437b 100644 --- a/docs/sdks/appresourceowners/README.md +++ b/docs/sdks/appresourceowners/README.md @@ -15,18 +15,18 @@ List all owners of an app resource. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -59,4 +59,4 @@ func main() { **[*operations.C1APIAppV1AppResourceOwnersListResponse](../../pkg/models/operations/c1apiappv1appresourceownerslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appresourcesearch/README.md b/docs/sdks/appresourcesearch/README.md index 0fd0237c..8200d1a0 100644 --- a/docs/sdks/appresourcesearch/README.md +++ b/docs/sdks/appresourcesearch/README.md @@ -15,8 +15,8 @@ Search app resources based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -70,4 +70,4 @@ func main() { **[*operations.C1APIAppV1AppResourceSearchSearchAppResourceTypesResponse](../../pkg/models/operations/c1apiappv1appresourcesearchsearchappresourcetypesresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appresourcetype/README.md b/docs/sdks/appresourcetype/README.md index afe685a5..d5e42a4a 100644 --- a/docs/sdks/appresourcetype/README.md +++ b/docs/sdks/appresourcetype/README.md @@ -16,18 +16,18 @@ Get an app resource type. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -59,7 +59,7 @@ func main() { **[*operations.C1APIAppV1AppResourceTypeServiceGetResponse](../../pkg/models/operations/c1apiappv1appresourcetypeservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -71,18 +71,18 @@ List app resource types. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -113,4 +113,4 @@ func main() { **[*operations.C1APIAppV1AppResourceTypeServiceListResponse](../../pkg/models/operations/c1apiappv1appresourcetypeservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/apps/README.md b/docs/sdks/apps/README.md index 111876eb..e195ba39 100644 --- a/docs/sdks/apps/README.md +++ b/docs/sdks/apps/README.md @@ -19,8 +19,8 @@ Create a new app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -28,8 +28,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -62,7 +62,7 @@ func main() { **[*operations.C1APIAppV1AppsCreateResponse](../../pkg/models/operations/c1apiappv1appscreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Delete @@ -74,18 +74,18 @@ Delete an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -117,7 +117,7 @@ func main() { **[*operations.C1APIAppV1AppsDeleteResponse](../../pkg/models/operations/c1apiappv1appsdeleteresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -129,18 +129,18 @@ Get an app by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -171,7 +171,7 @@ func main() { **[*operations.C1APIAppV1AppsGetResponse](../../pkg/models/operations/c1apiappv1appsgetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -183,18 +183,18 @@ List all apps. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -223,7 +223,7 @@ func main() { **[*operations.C1APIAppV1AppsListResponse](../../pkg/models/operations/c1apiappv1appslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -235,18 +235,18 @@ Update an existing app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -280,4 +280,4 @@ func main() { **[*operations.C1APIAppV1AppsUpdateResponse](../../pkg/models/operations/c1apiappv1appsupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appsearch/README.md b/docs/sdks/appsearch/README.md index 65b676d8..8b156de3 100644 --- a/docs/sdks/appsearch/README.md +++ b/docs/sdks/appsearch/README.md @@ -15,8 +15,8 @@ Search apps based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -61,4 +61,4 @@ func main() { **[*operations.C1APIAppV1AppSearchSearchResponse](../../pkg/models/operations/c1apiappv1appsearchsearchresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appusagecontrols/README.md b/docs/sdks/appusagecontrols/README.md index de00bbed..94fe122a 100644 --- a/docs/sdks/appusagecontrols/README.md +++ b/docs/sdks/appusagecontrols/README.md @@ -16,18 +16,18 @@ Get usage controls, as an AppUsageControls object which describes some periphera package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -58,7 +58,7 @@ func main() { **[*operations.C1APIAppV1AppUsageControlsServiceGetResponse](../../pkg/models/operations/c1apiappv1appusagecontrolsservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -70,18 +70,18 @@ Update usage controls for an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -115,4 +115,4 @@ func main() { **[*operations.C1APIAppV1AppUsageControlsServiceUpdateResponse](../../pkg/models/operations/c1apiappv1appusagecontrolsserviceupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/appuser/README.md b/docs/sdks/appuser/README.md index dca381c9..1dba003e 100644 --- a/docs/sdks/appuser/README.md +++ b/docs/sdks/appuser/README.md @@ -16,18 +16,18 @@ Update an app user by ID. Only the fields specified in the update mask are updat package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -69,4 +69,4 @@ func main() { **[*operations.C1APIAppV1AppUserServiceUpdateResponse](../../pkg/models/operations/c1apiappv1appuserserviceupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/attributes/README.md b/docs/sdks/attributes/README.md index d9ebfb68..74d5dabe 100644 --- a/docs/sdks/attributes/README.md +++ b/docs/sdks/attributes/README.md @@ -19,8 +19,8 @@ Create a new attribute value. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -28,8 +28,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -58,7 +58,7 @@ func main() { **[*operations.C1APIAttributeV1AttributesCreateAttributeValueResponse](../../pkg/models/operations/c1apiattributev1attributescreateattributevalueresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## DeleteAttributeValue @@ -70,18 +70,18 @@ Delete an attribute value by id. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -113,7 +113,7 @@ func main() { **[*operations.C1APIAttributeV1AttributesDeleteAttributeValueResponse](../../pkg/models/operations/c1apiattributev1attributesdeleteattributevalueresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## GetAttributeValue @@ -125,18 +125,18 @@ Get an attribute value by id. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -167,7 +167,7 @@ func main() { **[*operations.C1APIAttributeV1AttributesGetAttributeValueResponse](../../pkg/models/operations/c1apiattributev1attributesgetattributevalueresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListAttributeTypes @@ -179,18 +179,18 @@ List all attribute types. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -219,7 +219,7 @@ func main() { **[*operations.C1APIAttributeV1AttributesListAttributeTypesResponse](../../pkg/models/operations/c1apiattributev1attributeslistattributetypesresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListAttributeValues @@ -231,18 +231,18 @@ List all attribute values for a given attribute type. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -273,4 +273,4 @@ func main() { **[*operations.C1APIAttributeV1AttributesListAttributeValuesResponse](../../pkg/models/operations/c1apiattributev1attributeslistattributevaluesresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/attributesearch/README.md b/docs/sdks/attributesearch/README.md index 9c5e1787..3c29e46a 100644 --- a/docs/sdks/attributesearch/README.md +++ b/docs/sdks/attributesearch/README.md @@ -15,8 +15,8 @@ Search attributes based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -64,4 +64,4 @@ func main() { **[*operations.C1APIAttributeV1AttributeSearchSearchAttributeValuesResponse](../../pkg/models/operations/c1apiattributev1attributesearchsearchattributevaluesresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/auth/README.md b/docs/sdks/auth/README.md index d1b704aa..9cdcb97e 100644 --- a/docs/sdks/auth/README.md +++ b/docs/sdks/auth/README.md @@ -15,8 +15,8 @@ Introspect returns the current user's principle_id, user_id and a list of roles, package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -53,4 +53,4 @@ func main() { **[*operations.C1APIAuthV1AuthIntrospectResponse](../../pkg/models/operations/c1apiauthv1authintrospectresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/connector/README.md b/docs/sdks/connector/README.md index 77d20f58..e20996d5 100644 --- a/docs/sdks/connector/README.md +++ b/docs/sdks/connector/README.md @@ -24,18 +24,18 @@ Create a configured connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -81,7 +81,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceCreateResponse](../../pkg/models/operations/c1apiappv1connectorservicecreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## CreateDelegated @@ -93,18 +93,18 @@ Create a connector that is pending a connector config. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -145,7 +145,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceCreateDelegatedResponse](../../pkg/models/operations/c1apiappv1connectorservicecreatedelegatedresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Delete @@ -157,18 +157,18 @@ Delete a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -201,7 +201,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceDeleteResponse](../../pkg/models/operations/c1apiappv1connectorservicedeleteresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -213,18 +213,18 @@ Get a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -256,7 +256,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceGetResponse](../../pkg/models/operations/c1apiappv1connectorservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## GetCredentials @@ -268,18 +268,18 @@ Get credentials for a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -312,7 +312,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceGetCredentialsResponse](../../pkg/models/operations/c1apiappv1connectorservicegetcredentialsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -324,18 +324,18 @@ List connectors for an app. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -366,7 +366,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceListResponse](../../pkg/models/operations/c1apiappv1connectorservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## RevokeCredential @@ -378,18 +378,18 @@ Revoke credentials for a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -423,7 +423,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceRevokeCredentialResponse](../../pkg/models/operations/c1apiappv1connectorservicerevokecredentialresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## RotateCredential @@ -435,18 +435,18 @@ Rotate credentials for a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -479,7 +479,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceRotateCredentialResponse](../../pkg/models/operations/c1apiappv1connectorservicerotatecredentialresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -491,18 +491,18 @@ Update a connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -553,7 +553,7 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceUpdateResponse](../../pkg/models/operations/c1apiappv1connectorserviceupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## UpdateDelegated @@ -565,18 +565,18 @@ Update a delegated connector. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -627,4 +627,4 @@ func main() { **[*operations.C1APIAppV1ConnectorServiceUpdateDelegatedResponse](../../pkg/models/operations/c1apiappv1connectorserviceupdatedelegatedresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/directory/README.md b/docs/sdks/directory/README.md index 0e9c06c2..73e6f4bf 100644 --- a/docs/sdks/directory/README.md +++ b/docs/sdks/directory/README.md @@ -18,8 +18,8 @@ Create a directory. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -27,8 +27,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -63,7 +63,7 @@ func main() { **[*operations.C1APIDirectoryV1DirectoryServiceCreateResponse](../../pkg/models/operations/c1apidirectoryv1directoryservicecreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Delete @@ -75,18 +75,18 @@ Delete a directory by app_id. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -118,7 +118,7 @@ func main() { **[*operations.C1APIDirectoryV1DirectoryServiceDeleteResponse](../../pkg/models/operations/c1apidirectoryv1directoryservicedeleteresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -130,18 +130,18 @@ Get a directory by app_id. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -172,7 +172,7 @@ func main() { **[*operations.C1APIDirectoryV1DirectoryServiceGetResponse](../../pkg/models/operations/c1apidirectoryv1directoryservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -184,18 +184,18 @@ List directories. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -224,4 +224,4 @@ func main() { **[*operations.C1APIDirectoryV1DirectoryServiceListResponse](../../pkg/models/operations/c1apidirectoryv1directoryservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/personalclient/README.md b/docs/sdks/personalclient/README.md index 3ba2db2e..4f832ce0 100644 --- a/docs/sdks/personalclient/README.md +++ b/docs/sdks/personalclient/README.md @@ -15,8 +15,8 @@ Create creates a new PersonalClient object for the current User. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -61,4 +61,4 @@ func main() { **[*operations.C1APIIamV1PersonalClientServiceCreateResponse](../../pkg/models/operations/c1apiiamv1personalclientservicecreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/policies/README.md b/docs/sdks/policies/README.md index b005861d..c78b3c3c 100644 --- a/docs/sdks/policies/README.md +++ b/docs/sdks/policies/README.md @@ -19,8 +19,8 @@ Create a policy. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -28,26 +28,62 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) ctx := context.Background() res, err := s.Policies.Create(ctx, &shared.CreatePolicyRequest{ - PolicySteps: map[string]shared.PolicyStepsInput{ - "key": shared.PolicyStepsInput{ - Steps: []shared.PolicyStepInput{ - shared.PolicyStepInput{ + PolicySteps: map[string]shared.PolicySteps{ + "key": shared.PolicySteps{ + Steps: []shared.PolicyStep{ + shared.PolicyStep{ Accept: &shared.Accept{}, - Approval: &shared.ApprovalInput{ - AppGroupApproval: &shared.AppGroupApprovalInput{}, - AppOwnerApproval: &shared.AppOwnerApprovalInput{}, - EntitlementOwnerApproval: &shared.EntitlementOwnerApprovalInput{}, - ExpressionApproval: &shared.ExpressionApprovalInput{}, - ManagerApproval: &shared.ManagerApprovalInput{}, - SelfApproval: &shared.SelfApprovalInput{}, - UserApproval: &shared.UserApprovalInput{}, + Approval: &shared.Approval{ + AppGroupApproval: &shared.AppGroupApproval{ + FallbackUserIds: []string{ + "string", + }, + }, + AppOwnerApproval: &shared.AppOwnerApproval{}, + EntitlementOwnerApproval: &shared.EntitlementOwnerApproval{ + FallbackUserIds: []string{ + "string", + }, + }, + ExpressionApproval: &shared.ExpressionApproval{ + AssignedUserIds: []string{ + "string", + }, + Expressions: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + ManagerApproval: &shared.ManagerApproval{ + AssignedUserIds: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + SelfApproval: &shared.SelfApproval{ + AssignedUserIds: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + UserApproval: &shared.UserApproval{ + UserIds: []string{ + "string", + }, + }, }, Provision: &shared.Provision{ ProvisionPolicy: &shared.ProvisionPolicy{ @@ -93,7 +129,7 @@ func main() { **[*operations.C1APIPolicyV1PoliciesCreateResponse](../../pkg/models/operations/c1apipolicyv1policiescreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Delete @@ -105,18 +141,18 @@ Delete a policy by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -148,7 +184,7 @@ func main() { **[*operations.C1APIPolicyV1PoliciesDeleteResponse](../../pkg/models/operations/c1apipolicyv1policiesdeleteresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -160,18 +196,18 @@ Get a policy by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -202,7 +238,7 @@ func main() { **[*operations.C1APIPolicyV1PoliciesGetResponse](../../pkg/models/operations/c1apipolicyv1policiesgetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -214,18 +250,18 @@ List policies. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -254,7 +290,7 @@ func main() { **[*operations.C1APIPolicyV1PoliciesListResponse](../../pkg/models/operations/c1apipolicyv1policieslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -266,18 +302,18 @@ Update a policy by providing a policy object and an update mask. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -285,19 +321,55 @@ func main() { res, err := s.Policies.Update(ctx, operations.C1APIPolicyV1PoliciesUpdateRequest{ UpdatePolicyRequest: &shared.UpdatePolicyRequest{ Policy: &shared.PolicyInput{ - PolicySteps: map[string]shared.PolicyStepsInput{ - "key": shared.PolicyStepsInput{ - Steps: []shared.PolicyStepInput{ - shared.PolicyStepInput{ + PolicySteps: map[string]shared.PolicySteps{ + "key": shared.PolicySteps{ + Steps: []shared.PolicyStep{ + shared.PolicyStep{ Accept: &shared.Accept{}, - Approval: &shared.ApprovalInput{ - AppGroupApproval: &shared.AppGroupApprovalInput{}, - AppOwnerApproval: &shared.AppOwnerApprovalInput{}, - EntitlementOwnerApproval: &shared.EntitlementOwnerApprovalInput{}, - ExpressionApproval: &shared.ExpressionApprovalInput{}, - ManagerApproval: &shared.ManagerApprovalInput{}, - SelfApproval: &shared.SelfApprovalInput{}, - UserApproval: &shared.UserApprovalInput{}, + Approval: &shared.Approval{ + AppGroupApproval: &shared.AppGroupApproval{ + FallbackUserIds: []string{ + "string", + }, + }, + AppOwnerApproval: &shared.AppOwnerApproval{}, + EntitlementOwnerApproval: &shared.EntitlementOwnerApproval{ + FallbackUserIds: []string{ + "string", + }, + }, + ExpressionApproval: &shared.ExpressionApproval{ + AssignedUserIds: []string{ + "string", + }, + Expressions: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + ManagerApproval: &shared.ManagerApproval{ + AssignedUserIds: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + SelfApproval: &shared.SelfApproval{ + AssignedUserIds: []string{ + "string", + }, + FallbackUserIds: []string{ + "string", + }, + }, + UserApproval: &shared.UserApproval{ + UserIds: []string{ + "string", + }, + }, }, Provision: &shared.Provision{ ProvisionPolicy: &shared.ProvisionPolicy{ @@ -349,4 +421,4 @@ func main() { **[*operations.C1APIPolicyV1PoliciesUpdateResponse](../../pkg/models/operations/c1apipolicyv1policiesupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/policysearch/README.md b/docs/sdks/policysearch/README.md index 50ea3532..ad65fd39 100644 --- a/docs/sdks/policysearch/README.md +++ b/docs/sdks/policysearch/README.md @@ -15,8 +15,8 @@ Search policies based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -61,4 +61,4 @@ func main() { **[*operations.C1APIPolicyV1PolicySearchSearchResponse](../../pkg/models/operations/c1apipolicyv1policysearchsearchresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/policyvalidate/README.md b/docs/sdks/policyvalidate/README.md index 9694089b..5fc909b2 100644 --- a/docs/sdks/policyvalidate/README.md +++ b/docs/sdks/policyvalidate/README.md @@ -15,8 +15,8 @@ Validate policies package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -54,4 +54,4 @@ func main() { **[*operations.C1APIPolicyV1PolicyValidateValidateCELResponse](../../pkg/models/operations/c1apipolicyv1policyvalidatevalidatecelresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/requestcatalogmanagement/README.md b/docs/sdks/requestcatalogmanagement/README.md index 025c0b5a..f89c532c 100644 --- a/docs/sdks/requestcatalogmanagement/README.md +++ b/docs/sdks/requestcatalogmanagement/README.md @@ -25,18 +25,18 @@ Add visibility bindings (access entitlements) to a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -72,7 +72,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAccessEntitlementsResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlementsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## AddAppEntitlements @@ -84,18 +84,18 @@ Add requestable entitlements to a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -131,7 +131,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceAddAppEntitlementsResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlementsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Create @@ -143,8 +143,8 @@ Creates a new request catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -152,8 +152,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -188,7 +188,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceCreateResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Delete @@ -200,18 +200,18 @@ Delete a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -243,7 +243,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceDeleteResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedeleteresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -255,18 +255,18 @@ Get a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -297,7 +297,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceGetResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -309,8 +309,8 @@ Get a list of request catalogs. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -318,8 +318,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -347,7 +347,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListEntitlementsForAccess @@ -359,18 +359,18 @@ List visibility bindings (access entitlements) for a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -401,7 +401,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsForAccessResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementsforaccessresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## ListEntitlementsPerCatalog @@ -413,18 +413,18 @@ List entitlements in a catalog that are requestable. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -455,7 +455,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceListEntitlementsPerCatalogResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementspercatalogresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## RemoveAccessEntitlements @@ -467,18 +467,18 @@ Remove visibility bindings (access entitlements) to a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -514,7 +514,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAccessEntitlementsResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlementsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## RemoveAppEntitlements @@ -526,18 +526,18 @@ Remove requestable entitlements from a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -573,7 +573,7 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceRemoveAppEntitlementsResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlementsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -585,18 +585,18 @@ Update a catalog. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -656,4 +656,4 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogManagementServiceUpdateResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/requestcatalogsearch/README.md b/docs/sdks/requestcatalogsearch/README.md index bfa0b481..8ecafa0c 100644 --- a/docs/sdks/requestcatalogsearch/README.md +++ b/docs/sdks/requestcatalogsearch/README.md @@ -15,8 +15,8 @@ Search request catalogs based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -60,4 +60,4 @@ func main() { **[*operations.C1APIRequestcatalogV1RequestCatalogSearchServiceSearchEntitlementsResponse](../../pkg/models/operations/c1apirequestcatalogv1requestcatalogsearchservicesearchentitlementsresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/roles/README.md b/docs/sdks/roles/README.md index 3969a22d..b0ed7d0d 100644 --- a/docs/sdks/roles/README.md +++ b/docs/sdks/roles/README.md @@ -17,18 +17,18 @@ Get a role by id. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -59,7 +59,7 @@ func main() { **[*operations.C1APIIamV1RolesGetResponse](../../pkg/models/operations/c1apiiamv1rolesgetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -71,18 +71,18 @@ List all roles for the current user. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -111,7 +111,7 @@ func main() { **[*operations.C1APIIamV1RolesListResponse](../../pkg/models/operations/c1apiiamv1roleslistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Update @@ -123,18 +123,18 @@ Update a role by passing a Role object. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -175,4 +175,4 @@ func main() { **[*operations.C1APIIamV1RolesUpdateResponse](../../pkg/models/operations/c1apiiamv1rolesupdateresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/task/README.md b/docs/sdks/task/README.md index f1c6032f..ba3b75f6 100644 --- a/docs/sdks/task/README.md +++ b/docs/sdks/task/README.md @@ -17,8 +17,8 @@ Create a grant task package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -26,8 +26,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -65,7 +65,7 @@ func main() { **[*operations.C1APITaskV1TaskServiceCreateGrantTaskResponse](../../pkg/models/operations/c1apitaskv1taskservicecreategranttaskresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## CreateRevokeTask @@ -77,8 +77,8 @@ Create a revoke task package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -86,8 +86,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -124,7 +124,7 @@ func main() { **[*operations.C1APITaskV1TaskServiceCreateRevokeTaskResponse](../../pkg/models/operations/c1apitaskv1taskservicecreaterevoketaskresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Get @@ -136,18 +136,18 @@ Get a task by ID package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -178,4 +178,4 @@ func main() { **[*operations.C1APITaskV1TaskServiceGetResponse](../../pkg/models/operations/c1apitaskv1taskservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/taskactions/README.md b/docs/sdks/taskactions/README.md index 45e0d732..083be1d5 100644 --- a/docs/sdks/taskactions/README.md +++ b/docs/sdks/taskactions/README.md @@ -19,18 +19,18 @@ Invokes the c1.api.task.v1.TaskActionsService.Approve method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -69,7 +69,7 @@ func main() { **[*operations.C1APITaskV1TaskActionsServiceApproveResponse](../../pkg/models/operations/c1apitaskv1taskactionsserviceapproveresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Comment @@ -81,18 +81,18 @@ Invokes the c1.api.task.v1.TaskActionsService.Comment method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -130,7 +130,7 @@ func main() { **[*operations.C1APITaskV1TaskActionsServiceCommentResponse](../../pkg/models/operations/c1apitaskv1taskactionsservicecommentresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Deny @@ -142,18 +142,18 @@ Invokes the c1.api.task.v1.TaskActionsService.Deny method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -191,7 +191,7 @@ func main() { **[*operations.C1APITaskV1TaskActionsServiceDenyResponse](../../pkg/models/operations/c1apitaskv1taskactionsservicedenyresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## EscalateToEmergencyAccess @@ -203,18 +203,18 @@ Invokes the c1.api.task.v1.TaskActionsService.EscalateToEmergencyAccess method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -252,7 +252,7 @@ func main() { **[*operations.C1APITaskV1TaskActionsServiceEscalateToEmergencyAccessResponse](../../pkg/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccessresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## Restart @@ -264,18 +264,18 @@ Invokes the c1.api.task.v1.TaskActionsService.Restart method. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -313,4 +313,4 @@ func main() { **[*operations.C1APITaskV1TaskActionsServiceRestartResponse](../../pkg/models/operations/c1apitaskv1taskactionsservicerestartresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/tasksearch/README.md b/docs/sdks/tasksearch/README.md index b0b9a893..a2f0384c 100644 --- a/docs/sdks/tasksearch/README.md +++ b/docs/sdks/tasksearch/README.md @@ -15,8 +15,8 @@ Search tasks based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -124,4 +124,4 @@ func main() { **[*operations.C1APITaskV1TaskSearchServiceSearchResponse](../../pkg/models/operations/c1apitaskv1tasksearchservicesearchresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/user/README.md b/docs/sdks/user/README.md index c8e94165..83f515f6 100644 --- a/docs/sdks/user/README.md +++ b/docs/sdks/user/README.md @@ -16,18 +16,18 @@ Get a user by ID. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -58,7 +58,7 @@ func main() { **[*operations.C1APIUserV1UserServiceGetResponse](../../pkg/models/operations/c1apiuserv1userservicegetresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | ## List @@ -70,18 +70,18 @@ List users. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" "log" ) func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -110,4 +110,4 @@ func main() { **[*operations.C1APIUserV1UserServiceListResponse](../../pkg/models/operations/c1apiuserv1userservicelistresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/docs/sdks/usersearch/README.md b/docs/sdks/usersearch/README.md index 7f3faf5d..ce336b29 100644 --- a/docs/sdks/usersearch/README.md +++ b/docs/sdks/usersearch/README.md @@ -15,8 +15,8 @@ Search users based on filters specified in the request body. package main import( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - conductoronesdkgo "github.com/conductorone/conductorone-sdk-go/v2" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + conductoronesdkgo "github.com/conductorone/conductorone-sdk-go" "context" "log" ) @@ -24,8 +24,8 @@ import( func main() { s := conductoronesdkgo.New( conductoronesdkgo.WithSecurity(shared.Security{ - BearerAuth: "", - Oauth: "", + BearerAuth: "", + Oauth: "Bearer ", }), ) @@ -75,4 +75,4 @@ func main() { **[*operations.C1APIUserV1UserSearchSearchResponse](../../pkg/models/operations/c1apiuserv1usersearchsearchresponse.md), error** | Error Object | Status Code | Content Type | | ------------------ | ------------------ | ------------------ | -| sdkerrors.SDKError | 400-600 | */* | +| sdkerrors.SDKError | 4xx-5xx | */* | diff --git a/files.gen b/files.gen index 79192769..c878d9fb 100644 --- a/files.gen +++ b/files.gen @@ -292,16 +292,6 @@ pkg/utils/utils.go /pkg/models/shared/appgroupapproval.go /pkg/models/shared/accept.go /pkg/models/shared/createpolicyrequest.go -/pkg/models/shared/policystepsinput.go -/pkg/models/shared/policystepinput.go -/pkg/models/shared/approvalinput.go -/pkg/models/shared/userapprovalinput.go -/pkg/models/shared/selfapprovalinput.go -/pkg/models/shared/managerapprovalinput.go -/pkg/models/shared/expressionapprovalinput.go -/pkg/models/shared/entitlementownerapprovalinput.go -/pkg/models/shared/appownerapprovalinput.go -/pkg/models/shared/appgroupapprovalinput.go /pkg/models/shared/deletepolicyresponse.go /pkg/models/shared/deletepolicyrequest.go /pkg/models/shared/getpolicyresponse.go @@ -741,16 +731,6 @@ docs/pkg/models/shared/appgroupapproval.md docs/pkg/models/shared/accept.md docs/pkg/models/shared/policytype.md docs/pkg/models/shared/createpolicyrequest.md -docs/pkg/models/shared/policystepsinput.md -docs/pkg/models/shared/policystepinput.md -docs/pkg/models/shared/approvalinput.md -docs/pkg/models/shared/userapprovalinput.md -docs/pkg/models/shared/selfapprovalinput.md -docs/pkg/models/shared/managerapprovalinput.md -docs/pkg/models/shared/expressionapprovalinput.md -docs/pkg/models/shared/entitlementownerapprovalinput.md -docs/pkg/models/shared/appownerapprovalinput.md -docs/pkg/models/shared/appgroupapprovalinput.md docs/pkg/models/shared/deletepolicyresponse.md docs/pkg/models/shared/deletepolicyrequest.md docs/pkg/models/shared/getpolicyresponse.md @@ -906,5 +886,4 @@ docs/sdks/usersearch/README.md docs/sdks/task/README.md docs/sdks/taskactions/README.md docs/sdks/user/README.md -USAGE.md .gitattributes \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 0c14a621..03c3bd6a 100644 --- a/gen.yaml +++ b/gen.yaml @@ -10,18 +10,20 @@ generation: repoURL: https://github.com/ConductorOne/conductorone-sdk-go.git usageSnippets: optionalPropertyRendering: withExample + fixes: + nameResolutionDec2023: false features: go: additionalProperties: 0.1.2 - core: 3.1.5 - globalSecurity: 2.82.2 + core: 3.2.2 + globalSecurity: 2.82.3 globalServerURLs: 2.82.1 groups: 2.81.2 - inputOutputModels: 2.82.0 + inputOutputModels: 2.83.0 nameOverrides: 2.81.1 - unions: 2.85.0 + unions: 2.85.2 go: - version: 2.1.12 + version: 1.15.0 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/go.mod b/go.mod index fbee8921..2e7220c3 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/conductorone/conductorone-sdk-go/v2 +module github.com/conductorone/conductorone-sdk-go go 1.21 @@ -6,7 +6,6 @@ toolchain go1.21.3 require ( github.com/cenkalti/backoff/v4 v4.2.1 - github.com/conductorone/conductorone-sdk-go v1.14.0 github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05 github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/pquerna/xjwt v0.2.0 @@ -29,5 +28,3 @@ require ( google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect google.golang.org/protobuf v1.31.0 // indirect ) - -retract [v2.0.0-0, v2.1.12] // Accidentally bumped the major number. v1.X.X is the correct major version, please use that instead (go get github.com/conductorone/conductorone-sdk-go) diff --git a/go.sum b/go.sum index df1fbd74..a85c6622 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,6 @@ github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/conductorone/conductorone-sdk-go v1.14.0 h1:zYK+UJb4VQVttIMaHxbmBcyacfFkaYFt/BmRQRqaTLY= -github.com/conductorone/conductorone-sdk-go v1.14.0/go.mod h1:O6TqBVNDtC1cfnF0XmXhG4ysBILMJKB7w/s4hLV0jxY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/personalclient.go b/personalclient.go index f8a3b46f..be780aa9 100644 --- a/personalclient.go +++ b/personalclient.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/pkg/models/operations/c1apiappv1appentitlementownersadd.go b/pkg/models/operations/c1apiappv1appentitlementownersadd.go index 5abf381e..e867bcfd 100644 --- a/pkg/models/operations/c1apiappv1appentitlementownersadd.go +++ b/pkg/models/operations/c1apiappv1appentitlementownersadd.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementownerslist.go b/pkg/models/operations/c1apiappv1appentitlementownerslist.go index 2a7165b8..d7bb3795 100644 --- a/pkg/models/operations/c1apiappv1appentitlementownerslist.go +++ b/pkg/models/operations/c1apiappv1appentitlementownerslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementownersremove.go b/pkg/models/operations/c1apiappv1appentitlementownersremove.go index 4a4527bc..1889f7af 100644 --- a/pkg/models/operations/c1apiappv1appentitlementownersremove.go +++ b/pkg/models/operations/c1apiappv1appentitlementownersremove.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementownersset.go b/pkg/models/operations/c1apiappv1appentitlementownersset.go index 7c3984f7..9a7b7665 100644 --- a/pkg/models/operations/c1apiappv1appentitlementownersset.go +++ b/pkg/models/operations/c1apiappv1appentitlementownersset.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementsearchservicesearch.go b/pkg/models/operations/c1apiappv1appentitlementsearchservicesearch.go index d6709069..d1a99e76 100644 --- a/pkg/models/operations/c1apiappv1appentitlementsearchservicesearch.go +++ b/pkg/models/operations/c1apiappv1appentitlementsearchservicesearch.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementsget.go b/pkg/models/operations/c1apiappv1appentitlementsget.go index bc516c39..f45f5340 100644 --- a/pkg/models/operations/c1apiappv1appentitlementsget.go +++ b/pkg/models/operations/c1apiappv1appentitlementsget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementslist.go b/pkg/models/operations/c1apiappv1appentitlementslist.go index 9c9ebcc9..cce985fb 100644 --- a/pkg/models/operations/c1apiappv1appentitlementslist.go +++ b/pkg/models/operations/c1apiappv1appentitlementslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementslistforappresource.go b/pkg/models/operations/c1apiappv1appentitlementslistforappresource.go index d48f964e..53ebdf6c 100644 --- a/pkg/models/operations/c1apiappv1appentitlementslistforappresource.go +++ b/pkg/models/operations/c1apiappv1appentitlementslistforappresource.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementslistforappuser.go b/pkg/models/operations/c1apiappv1appentitlementslistforappuser.go index c77c8bb3..ae392cd6 100644 --- a/pkg/models/operations/c1apiappv1appentitlementslistforappuser.go +++ b/pkg/models/operations/c1apiappv1appentitlementslistforappuser.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementslistusers.go b/pkg/models/operations/c1apiappv1appentitlementslistusers.go index 8556389d..25629de1 100644 --- a/pkg/models/operations/c1apiappv1appentitlementslistusers.go +++ b/pkg/models/operations/c1apiappv1appentitlementslistusers.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementsupdate.go b/pkg/models/operations/c1apiappv1appentitlementsupdate.go index 89db16b2..a5173252 100644 --- a/pkg/models/operations/c1apiappv1appentitlementsupdate.go +++ b/pkg/models/operations/c1apiappv1appentitlementsupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appentitlementuserbindingservicelistappusersforidentitywithgrant.go b/pkg/models/operations/c1apiappv1appentitlementuserbindingservicelistappusersforidentitywithgrant.go index 3d92fac3..1370a5ee 100644 --- a/pkg/models/operations/c1apiappv1appentitlementuserbindingservicelistappusersforidentitywithgrant.go +++ b/pkg/models/operations/c1apiappv1appentitlementuserbindingservicelistappusersforidentitywithgrant.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appownersadd.go b/pkg/models/operations/c1apiappv1appownersadd.go index 1e67ddb2..571f1480 100644 --- a/pkg/models/operations/c1apiappv1appownersadd.go +++ b/pkg/models/operations/c1apiappv1appownersadd.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appownerslist.go b/pkg/models/operations/c1apiappv1appownerslist.go index b3293bb2..366fe5a0 100644 --- a/pkg/models/operations/c1apiappv1appownerslist.go +++ b/pkg/models/operations/c1apiappv1appownerslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appownersremove.go b/pkg/models/operations/c1apiappv1appownersremove.go index af2fd373..9238e324 100644 --- a/pkg/models/operations/c1apiappv1appownersremove.go +++ b/pkg/models/operations/c1apiappv1appownersremove.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appownersset.go b/pkg/models/operations/c1apiappv1appownersset.go index 17b0ddba..de20cdd7 100644 --- a/pkg/models/operations/c1apiappv1appownersset.go +++ b/pkg/models/operations/c1apiappv1appownersset.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appreportactionservicegeneratereport.go b/pkg/models/operations/c1apiappv1appreportactionservicegeneratereport.go index 4fd790c3..d8b09b0c 100644 --- a/pkg/models/operations/c1apiappv1appreportactionservicegeneratereport.go +++ b/pkg/models/operations/c1apiappv1appreportactionservicegeneratereport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appreportservicelist.go b/pkg/models/operations/c1apiappv1appreportservicelist.go index 1b4ead55..01800e19 100644 --- a/pkg/models/operations/c1apiappv1appreportservicelist.go +++ b/pkg/models/operations/c1apiappv1appreportservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourceownerslist.go b/pkg/models/operations/c1apiappv1appresourceownerslist.go index 8519309d..c6c3acc0 100644 --- a/pkg/models/operations/c1apiappv1appresourceownerslist.go +++ b/pkg/models/operations/c1apiappv1appresourceownerslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourcesearchsearchappresourcetypes.go b/pkg/models/operations/c1apiappv1appresourcesearchsearchappresourcetypes.go index d476cb7a..907dfe3b 100644 --- a/pkg/models/operations/c1apiappv1appresourcesearchsearchappresourcetypes.go +++ b/pkg/models/operations/c1apiappv1appresourcesearchsearchappresourcetypes.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourceserviceget.go b/pkg/models/operations/c1apiappv1appresourceserviceget.go index 217471a9..9246921e 100644 --- a/pkg/models/operations/c1apiappv1appresourceserviceget.go +++ b/pkg/models/operations/c1apiappv1appresourceserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourceservicelist.go b/pkg/models/operations/c1apiappv1appresourceservicelist.go index e9c00ae2..a97a78e6 100644 --- a/pkg/models/operations/c1apiappv1appresourceservicelist.go +++ b/pkg/models/operations/c1apiappv1appresourceservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourcetypeserviceget.go b/pkg/models/operations/c1apiappv1appresourcetypeserviceget.go index 0352756f..a7bea705 100644 --- a/pkg/models/operations/c1apiappv1appresourcetypeserviceget.go +++ b/pkg/models/operations/c1apiappv1appresourcetypeserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appresourcetypeservicelist.go b/pkg/models/operations/c1apiappv1appresourcetypeservicelist.go index 96cf20b1..36041471 100644 --- a/pkg/models/operations/c1apiappv1appresourcetypeservicelist.go +++ b/pkg/models/operations/c1apiappv1appresourcetypeservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appscreate.go b/pkg/models/operations/c1apiappv1appscreate.go index 3dfbacab..76cdcd3e 100644 --- a/pkg/models/operations/c1apiappv1appscreate.go +++ b/pkg/models/operations/c1apiappv1appscreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appsdelete.go b/pkg/models/operations/c1apiappv1appsdelete.go index e338e814..9e457dfe 100644 --- a/pkg/models/operations/c1apiappv1appsdelete.go +++ b/pkg/models/operations/c1apiappv1appsdelete.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appsearchsearch.go b/pkg/models/operations/c1apiappv1appsearchsearch.go index a9aa4d6f..94046a61 100644 --- a/pkg/models/operations/c1apiappv1appsearchsearch.go +++ b/pkg/models/operations/c1apiappv1appsearchsearch.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appsget.go b/pkg/models/operations/c1apiappv1appsget.go index 2890af91..b4fe47a9 100644 --- a/pkg/models/operations/c1apiappv1appsget.go +++ b/pkg/models/operations/c1apiappv1appsget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appslist.go b/pkg/models/operations/c1apiappv1appslist.go index 63e3dc26..5e5b81d5 100644 --- a/pkg/models/operations/c1apiappv1appslist.go +++ b/pkg/models/operations/c1apiappv1appslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appsupdate.go b/pkg/models/operations/c1apiappv1appsupdate.go index 6d50c564..a9e1bb8a 100644 --- a/pkg/models/operations/c1apiappv1appsupdate.go +++ b/pkg/models/operations/c1apiappv1appsupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appusagecontrolsserviceget.go b/pkg/models/operations/c1apiappv1appusagecontrolsserviceget.go index f845146a..029b7ebe 100644 --- a/pkg/models/operations/c1apiappv1appusagecontrolsserviceget.go +++ b/pkg/models/operations/c1apiappv1appusagecontrolsserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appusagecontrolsserviceupdate.go b/pkg/models/operations/c1apiappv1appusagecontrolsserviceupdate.go index 2c276fd8..8ff1642d 100644 --- a/pkg/models/operations/c1apiappv1appusagecontrolsserviceupdate.go +++ b/pkg/models/operations/c1apiappv1appusagecontrolsserviceupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1appuserserviceupdate.go b/pkg/models/operations/c1apiappv1appuserserviceupdate.go index 516c29f5..9234aff1 100644 --- a/pkg/models/operations/c1apiappv1appuserserviceupdate.go +++ b/pkg/models/operations/c1apiappv1appuserserviceupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicecreate.go b/pkg/models/operations/c1apiappv1connectorservicecreate.go index 76cf1871..3f689e43 100644 --- a/pkg/models/operations/c1apiappv1connectorservicecreate.go +++ b/pkg/models/operations/c1apiappv1connectorservicecreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicecreatedelegated.go b/pkg/models/operations/c1apiappv1connectorservicecreatedelegated.go index a75deefe..24cd2c66 100644 --- a/pkg/models/operations/c1apiappv1connectorservicecreatedelegated.go +++ b/pkg/models/operations/c1apiappv1connectorservicecreatedelegated.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicedelete.go b/pkg/models/operations/c1apiappv1connectorservicedelete.go index d482208d..07ef6ad3 100644 --- a/pkg/models/operations/c1apiappv1connectorservicedelete.go +++ b/pkg/models/operations/c1apiappv1connectorservicedelete.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorserviceget.go b/pkg/models/operations/c1apiappv1connectorserviceget.go index 8b5c66dc..bdcf56db 100644 --- a/pkg/models/operations/c1apiappv1connectorserviceget.go +++ b/pkg/models/operations/c1apiappv1connectorserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicegetcredentials.go b/pkg/models/operations/c1apiappv1connectorservicegetcredentials.go index d450a076..cfae14fa 100644 --- a/pkg/models/operations/c1apiappv1connectorservicegetcredentials.go +++ b/pkg/models/operations/c1apiappv1connectorservicegetcredentials.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicelist.go b/pkg/models/operations/c1apiappv1connectorservicelist.go index 9b8c5620..d56ec9b9 100644 --- a/pkg/models/operations/c1apiappv1connectorservicelist.go +++ b/pkg/models/operations/c1apiappv1connectorservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicerevokecredential.go b/pkg/models/operations/c1apiappv1connectorservicerevokecredential.go index 4c744d5e..981f6b1c 100644 --- a/pkg/models/operations/c1apiappv1connectorservicerevokecredential.go +++ b/pkg/models/operations/c1apiappv1connectorservicerevokecredential.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorservicerotatecredential.go b/pkg/models/operations/c1apiappv1connectorservicerotatecredential.go index 4a452363..2b5e971c 100644 --- a/pkg/models/operations/c1apiappv1connectorservicerotatecredential.go +++ b/pkg/models/operations/c1apiappv1connectorservicerotatecredential.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorserviceupdate.go b/pkg/models/operations/c1apiappv1connectorserviceupdate.go index c1cf8326..cbbb3830 100644 --- a/pkg/models/operations/c1apiappv1connectorserviceupdate.go +++ b/pkg/models/operations/c1apiappv1connectorserviceupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiappv1connectorserviceupdatedelegated.go b/pkg/models/operations/c1apiappv1connectorserviceupdatedelegated.go index 84ffc474..323c4b8b 100644 --- a/pkg/models/operations/c1apiappv1connectorserviceupdatedelegated.go +++ b/pkg/models/operations/c1apiappv1connectorserviceupdatedelegated.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributescreateattributevalue.go b/pkg/models/operations/c1apiattributev1attributescreateattributevalue.go index 83c289cf..8245a51c 100644 --- a/pkg/models/operations/c1apiattributev1attributescreateattributevalue.go +++ b/pkg/models/operations/c1apiattributev1attributescreateattributevalue.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributesdeleteattributevalue.go b/pkg/models/operations/c1apiattributev1attributesdeleteattributevalue.go index bfd30b87..5520f6de 100644 --- a/pkg/models/operations/c1apiattributev1attributesdeleteattributevalue.go +++ b/pkg/models/operations/c1apiattributev1attributesdeleteattributevalue.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributesearchsearchattributevalues.go b/pkg/models/operations/c1apiattributev1attributesearchsearchattributevalues.go index f2bbd516..15b4ba7d 100644 --- a/pkg/models/operations/c1apiattributev1attributesearchsearchattributevalues.go +++ b/pkg/models/operations/c1apiattributev1attributesearchsearchattributevalues.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributesgetattributevalue.go b/pkg/models/operations/c1apiattributev1attributesgetattributevalue.go index cf8fe865..25163447 100644 --- a/pkg/models/operations/c1apiattributev1attributesgetattributevalue.go +++ b/pkg/models/operations/c1apiattributev1attributesgetattributevalue.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributeslistattributetypes.go b/pkg/models/operations/c1apiattributev1attributeslistattributetypes.go index 1bde0cee..67e46a73 100644 --- a/pkg/models/operations/c1apiattributev1attributeslistattributetypes.go +++ b/pkg/models/operations/c1apiattributev1attributeslistattributetypes.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiattributev1attributeslistattributevalues.go b/pkg/models/operations/c1apiattributev1attributeslistattributevalues.go index 22be509f..eb622668 100644 --- a/pkg/models/operations/c1apiattributev1attributeslistattributevalues.go +++ b/pkg/models/operations/c1apiattributev1attributeslistattributevalues.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiauthv1authintrospect.go b/pkg/models/operations/c1apiauthv1authintrospect.go index 082e0774..4357121a 100644 --- a/pkg/models/operations/c1apiauthv1authintrospect.go +++ b/pkg/models/operations/c1apiauthv1authintrospect.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apidirectoryv1directoryservicecreate.go b/pkg/models/operations/c1apidirectoryv1directoryservicecreate.go index 4328e763..0f9b1960 100644 --- a/pkg/models/operations/c1apidirectoryv1directoryservicecreate.go +++ b/pkg/models/operations/c1apidirectoryv1directoryservicecreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apidirectoryv1directoryservicedelete.go b/pkg/models/operations/c1apidirectoryv1directoryservicedelete.go index 0c9411cf..756b2b41 100644 --- a/pkg/models/operations/c1apidirectoryv1directoryservicedelete.go +++ b/pkg/models/operations/c1apidirectoryv1directoryservicedelete.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apidirectoryv1directoryserviceget.go b/pkg/models/operations/c1apidirectoryv1directoryserviceget.go index c25333ed..8a61c52e 100644 --- a/pkg/models/operations/c1apidirectoryv1directoryserviceget.go +++ b/pkg/models/operations/c1apidirectoryv1directoryserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apidirectoryv1directoryservicelist.go b/pkg/models/operations/c1apidirectoryv1directoryservicelist.go index 0664e29e..daf25508 100644 --- a/pkg/models/operations/c1apidirectoryv1directoryservicelist.go +++ b/pkg/models/operations/c1apidirectoryv1directoryservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiiamv1personalclientservicecreate.go b/pkg/models/operations/c1apiiamv1personalclientservicecreate.go index 22b2abed..76bf38f0 100644 --- a/pkg/models/operations/c1apiiamv1personalclientservicecreate.go +++ b/pkg/models/operations/c1apiiamv1personalclientservicecreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiiamv1rolesget.go b/pkg/models/operations/c1apiiamv1rolesget.go index 4a06e9fd..1d240d18 100644 --- a/pkg/models/operations/c1apiiamv1rolesget.go +++ b/pkg/models/operations/c1apiiamv1rolesget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiiamv1roleslist.go b/pkg/models/operations/c1apiiamv1roleslist.go index ab6006ba..1d5c8df8 100644 --- a/pkg/models/operations/c1apiiamv1roleslist.go +++ b/pkg/models/operations/c1apiiamv1roleslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiiamv1rolesupdate.go b/pkg/models/operations/c1apiiamv1rolesupdate.go index cf235bc3..d6c11e0c 100644 --- a/pkg/models/operations/c1apiiamv1rolesupdate.go +++ b/pkg/models/operations/c1apiiamv1rolesupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policiescreate.go b/pkg/models/operations/c1apipolicyv1policiescreate.go index 0d0761f3..feb3d60d 100644 --- a/pkg/models/operations/c1apipolicyv1policiescreate.go +++ b/pkg/models/operations/c1apipolicyv1policiescreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policiesdelete.go b/pkg/models/operations/c1apipolicyv1policiesdelete.go index 8d840a16..919589f7 100644 --- a/pkg/models/operations/c1apipolicyv1policiesdelete.go +++ b/pkg/models/operations/c1apipolicyv1policiesdelete.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policiesget.go b/pkg/models/operations/c1apipolicyv1policiesget.go index b897a9e1..31c90b0f 100644 --- a/pkg/models/operations/c1apipolicyv1policiesget.go +++ b/pkg/models/operations/c1apipolicyv1policiesget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policieslist.go b/pkg/models/operations/c1apipolicyv1policieslist.go index 95ea969c..9a17f79b 100644 --- a/pkg/models/operations/c1apipolicyv1policieslist.go +++ b/pkg/models/operations/c1apipolicyv1policieslist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policiesupdate.go b/pkg/models/operations/c1apipolicyv1policiesupdate.go index d6b6a3d1..8ff2d023 100644 --- a/pkg/models/operations/c1apipolicyv1policiesupdate.go +++ b/pkg/models/operations/c1apipolicyv1policiesupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policysearchsearch.go b/pkg/models/operations/c1apipolicyv1policysearchsearch.go index 3b25dd54..73121cb0 100644 --- a/pkg/models/operations/c1apipolicyv1policysearchsearch.go +++ b/pkg/models/operations/c1apipolicyv1policysearchsearch.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apipolicyv1policyvalidatevalidatecel.go b/pkg/models/operations/c1apipolicyv1policyvalidatevalidatecel.go index 549ed785..1b1e1618 100644 --- a/pkg/models/operations/c1apipolicyv1policyvalidatevalidatecel.go +++ b/pkg/models/operations/c1apipolicyv1policyvalidatevalidatecel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlements.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlements.go index 0fc431de..1c5bb0a1 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlements.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddaccessentitlements.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlements.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlements.go index b9a337ef..0679ab34 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlements.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceaddappentitlements.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreate.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreate.go index 7fb2f4fc..a1d6e38f 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreate.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicecreate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedelete.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedelete.go index 16d1d08e..67aed819 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedelete.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicedelete.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceget.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceget.go index f9509b9c..2eec1648 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceget.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelist.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelist.go index 7f2e1935..b864cf38 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelist.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementsforaccess.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementsforaccess.go index b0af0df2..1d4a06be 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementsforaccess.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementsforaccess.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementspercatalog.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementspercatalog.go index f5af986e..4e2cd710 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementspercatalog.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementservicelistentitlementspercatalog.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlements.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlements.go index d40e3eed..38fc47bf 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlements.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveaccessentitlements.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlements.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlements.go index e3537acd..f92a8e83 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlements.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceremoveappentitlements.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdate.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdate.go index 4c929be9..1689d885 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdate.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogmanagementserviceupdate.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apirequestcatalogv1requestcatalogsearchservicesearchentitlements.go b/pkg/models/operations/c1apirequestcatalogv1requestcatalogsearchservicesearchentitlements.go index 7f66b41e..57385257 100644 --- a/pkg/models/operations/c1apirequestcatalogv1requestcatalogsearchservicesearchentitlements.go +++ b/pkg/models/operations/c1apirequestcatalogv1requestcatalogsearchservicesearchentitlements.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskactionsserviceapprove.go b/pkg/models/operations/c1apitaskv1taskactionsserviceapprove.go index 1bd5b35d..81fd9a11 100644 --- a/pkg/models/operations/c1apitaskv1taskactionsserviceapprove.go +++ b/pkg/models/operations/c1apitaskv1taskactionsserviceapprove.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskactionsservicecomment.go b/pkg/models/operations/c1apitaskv1taskactionsservicecomment.go index f7400da9..d4a6c805 100644 --- a/pkg/models/operations/c1apitaskv1taskactionsservicecomment.go +++ b/pkg/models/operations/c1apitaskv1taskactionsservicecomment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskactionsservicedeny.go b/pkg/models/operations/c1apitaskv1taskactionsservicedeny.go index 35b07d7a..a23e7a57 100644 --- a/pkg/models/operations/c1apitaskv1taskactionsservicedeny.go +++ b/pkg/models/operations/c1apitaskv1taskactionsservicedeny.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccess.go b/pkg/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccess.go index 14a1b45e..b340479b 100644 --- a/pkg/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccess.go +++ b/pkg/models/operations/c1apitaskv1taskactionsserviceescalatetoemergencyaccess.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskactionsservicerestart.go b/pkg/models/operations/c1apitaskv1taskactionsservicerestart.go index d80e90df..6918f06d 100644 --- a/pkg/models/operations/c1apitaskv1taskactionsservicerestart.go +++ b/pkg/models/operations/c1apitaskv1taskactionsservicerestart.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1tasksearchservicesearch.go b/pkg/models/operations/c1apitaskv1tasksearchservicesearch.go index 25de35f3..e2e69277 100644 --- a/pkg/models/operations/c1apitaskv1tasksearchservicesearch.go +++ b/pkg/models/operations/c1apitaskv1tasksearchservicesearch.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskservicecreategranttask.go b/pkg/models/operations/c1apitaskv1taskservicecreategranttask.go index bd4c1afe..dd106692 100644 --- a/pkg/models/operations/c1apitaskv1taskservicecreategranttask.go +++ b/pkg/models/operations/c1apitaskv1taskservicecreategranttask.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskservicecreaterevoketask.go b/pkg/models/operations/c1apitaskv1taskservicecreaterevoketask.go index 57fc7715..fdbed26c 100644 --- a/pkg/models/operations/c1apitaskv1taskservicecreaterevoketask.go +++ b/pkg/models/operations/c1apitaskv1taskservicecreaterevoketask.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apitaskv1taskserviceget.go b/pkg/models/operations/c1apitaskv1taskserviceget.go index 277380a7..2c8803c8 100644 --- a/pkg/models/operations/c1apitaskv1taskserviceget.go +++ b/pkg/models/operations/c1apitaskv1taskserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiuserv1usersearchsearch.go b/pkg/models/operations/c1apiuserv1usersearchsearch.go index 5e4b8075..86b45c19 100644 --- a/pkg/models/operations/c1apiuserv1usersearchsearch.go +++ b/pkg/models/operations/c1apiuserv1usersearchsearch.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiuserv1userserviceget.go b/pkg/models/operations/c1apiuserv1userserviceget.go index 752f6300..3c2c94cc 100644 --- a/pkg/models/operations/c1apiuserv1userserviceget.go +++ b/pkg/models/operations/c1apiuserv1userserviceget.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/operations/c1apiuserv1userservicelist.go b/pkg/models/operations/c1apiuserv1userservicelist.go index 853bf55f..d43123d0 100644 --- a/pkg/models/operations/c1apiuserv1userservicelist.go +++ b/pkg/models/operations/c1apiuserv1userservicelist.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" "net/http" ) diff --git a/pkg/models/shared/app.go b/pkg/models/shared/app.go index e06924f3..20ee7aaa 100644 --- a/pkg/models/shared/app.go +++ b/pkg/models/shared/app.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appentitlement.go b/pkg/models/shared/appentitlement.go index f5043193..cdf379ae 100644 --- a/pkg/models/shared/appentitlement.go +++ b/pkg/models/shared/appentitlement.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appentitlementsearchservicesearchresponse.go b/pkg/models/shared/appentitlementsearchservicesearchresponse.go index 4791a5ad..49fb4712 100644 --- a/pkg/models/shared/appentitlementsearchservicesearchresponse.go +++ b/pkg/models/shared/appentitlementsearchservicesearchresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // Expanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/appentitlementuserbinding.go b/pkg/models/shared/appentitlementuserbinding.go index 9151f3d2..f1506f6c 100644 --- a/pkg/models/shared/appentitlementuserbinding.go +++ b/pkg/models/shared/appentitlementuserbinding.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appentitlementuserview.go b/pkg/models/shared/appentitlementuserview.go index d0db8b6e..97035c03 100644 --- a/pkg/models/shared/appentitlementuserview.go +++ b/pkg/models/shared/appentitlementuserview.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appgroupapproval.go b/pkg/models/shared/appgroupapproval.go index 8a8b641f..21b21aa8 100644 --- a/pkg/models/shared/appgroupapproval.go +++ b/pkg/models/shared/appgroupapproval.go @@ -8,7 +8,7 @@ type AppGroupApproval struct { AllowSelfApproval *bool `json:"allowSelfApproval,omitempty"` // The ID of the group specified for approval. AppGroupID *string `json:"appGroupId,omitempty"` - // The ID of the app that conatins the group specified for approval. + // The ID of the app that contains the group specified for approval. AppID *string `json:"appId,omitempty"` // Configuration to allow a fallback if the group is empty. Fallback *bool `json:"fallback,omitempty"` diff --git a/pkg/models/shared/appgroupapprovalinput.go b/pkg/models/shared/appgroupapprovalinput.go deleted file mode 100644 index d5e2ef2f..00000000 --- a/pkg/models/shared/appgroupapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// AppGroupApprovalInput - The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step. -type AppGroupApprovalInput struct { -} diff --git a/pkg/models/shared/appownerapprovalinput.go b/pkg/models/shared/appownerapprovalinput.go deleted file mode 100644 index 6164424a..00000000 --- a/pkg/models/shared/appownerapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// AppOwnerApprovalInput - App owner approval provides the configuration for an approval step when the app owner is the target. -type AppOwnerApprovalInput struct { -} diff --git a/pkg/models/shared/apppopulationreport.go b/pkg/models/shared/apppopulationreport.go index e582fc19..a8f5aae4 100644 --- a/pkg/models/shared/apppopulationreport.go +++ b/pkg/models/shared/apppopulationreport.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appresource.go b/pkg/models/shared/appresource.go index 66776453..2aeef696 100644 --- a/pkg/models/shared/appresource.go +++ b/pkg/models/shared/appresource.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appresourceservicegetresponse.go b/pkg/models/shared/appresourceservicegetresponse.go index 15a15251..a8a7e944 100644 --- a/pkg/models/shared/appresourceservicegetresponse.go +++ b/pkg/models/shared/appresourceservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // AppResourceServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/appresourceservicelistresponse.go b/pkg/models/shared/appresourceservicelistresponse.go index 2850f18f..56b99e72 100644 --- a/pkg/models/shared/appresourceservicelistresponse.go +++ b/pkg/models/shared/appresourceservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // AppResourceServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/appresourcetype.go b/pkg/models/shared/appresourcetype.go index f718ed26..c5ab1f0a 100644 --- a/pkg/models/shared/appresourcetype.go +++ b/pkg/models/shared/appresourcetype.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appresourcetypeservicegetresponse.go b/pkg/models/shared/appresourcetypeservicegetresponse.go index 86a16b40..8fb76dc1 100644 --- a/pkg/models/shared/appresourcetypeservicegetresponse.go +++ b/pkg/models/shared/appresourcetypeservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // AppResourceTypeServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/appresourcetypeservicelistresponse.go b/pkg/models/shared/appresourcetypeservicelistresponse.go index 21c454f4..d6558f3b 100644 --- a/pkg/models/shared/appresourcetypeservicelistresponse.go +++ b/pkg/models/shared/appresourcetypeservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // AppResourceTypeServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/approvalinput.go b/pkg/models/shared/approvalinput.go deleted file mode 100644 index 34127df4..00000000 --- a/pkg/models/shared/approvalinput.go +++ /dev/null @@ -1,79 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// ApprovalInput - The Approval message. -// -// This message contains a oneof named typ. Only a single field of the following list may be set at a time: -// - users -// - manager -// - appOwners -// - group -// - self -// - entitlementOwners -// - expression -type ApprovalInput struct { - // The AppGroupApproval object provides the configuration for setting a group as the approvers of an approval policy step. - AppGroupApproval *AppGroupApprovalInput `json:"group,omitempty"` - // App owner approval provides the configuration for an approval step when the app owner is the target. - AppOwnerApproval *AppOwnerApprovalInput `json:"appOwners,omitempty"` - // The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners. - EntitlementOwnerApproval *EntitlementOwnerApprovalInput `json:"entitlementOwners,omitempty"` - // The ExpressionApproval message. - ExpressionApproval *ExpressionApprovalInput `json:"expression,omitempty"` - // The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task. - ManagerApproval *ManagerApprovalInput `json:"manager,omitempty"` - // The self approval object describes the configuration of a policy step that needs to be approved by the target of the request. - SelfApproval *SelfApprovalInput `json:"self,omitempty"` - // The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users. - UserApproval *UserApprovalInput `json:"users,omitempty"` -} - -func (o *ApprovalInput) GetAppGroupApproval() *AppGroupApprovalInput { - if o == nil { - return nil - } - return o.AppGroupApproval -} - -func (o *ApprovalInput) GetAppOwnerApproval() *AppOwnerApprovalInput { - if o == nil { - return nil - } - return o.AppOwnerApproval -} - -func (o *ApprovalInput) GetEntitlementOwnerApproval() *EntitlementOwnerApprovalInput { - if o == nil { - return nil - } - return o.EntitlementOwnerApproval -} - -func (o *ApprovalInput) GetExpressionApproval() *ExpressionApprovalInput { - if o == nil { - return nil - } - return o.ExpressionApproval -} - -func (o *ApprovalInput) GetManagerApproval() *ManagerApprovalInput { - if o == nil { - return nil - } - return o.ManagerApproval -} - -func (o *ApprovalInput) GetSelfApproval() *SelfApprovalInput { - if o == nil { - return nil - } - return o.SelfApproval -} - -func (o *ApprovalInput) GetUserApproval() *UserApprovalInput { - if o == nil { - return nil - } - return o.UserApproval -} diff --git a/pkg/models/shared/approvedaction.go b/pkg/models/shared/approvedaction.go index dddc9617..af6f1f0d 100644 --- a/pkg/models/shared/approvedaction.go +++ b/pkg/models/shared/approvedaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appuser.go b/pkg/models/shared/appuser.go index 5a4963c1..372fb0e2 100644 --- a/pkg/models/shared/appuser.go +++ b/pkg/models/shared/appuser.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/appuserserviceupdateresponse.go b/pkg/models/shared/appuserserviceupdateresponse.go index 4152dbf8..dfdcc092 100644 --- a/pkg/models/shared/appuserserviceupdateresponse.go +++ b/pkg/models/shared/appuserserviceupdateresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // AppUserServiceUpdateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/attributevalue.go b/pkg/models/shared/attributevalue.go index f301f4b4..b4019b68 100644 --- a/pkg/models/shared/attributevalue.go +++ b/pkg/models/shared/attributevalue.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/cancelledaction.go b/pkg/models/shared/cancelledaction.go index 3b86bff7..2b347582 100644 --- a/pkg/models/shared/cancelledaction.go +++ b/pkg/models/shared/cancelledaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/completedaction.go b/pkg/models/shared/completedaction.go index 926563af..7906a42e 100644 --- a/pkg/models/shared/completedaction.go +++ b/pkg/models/shared/completedaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/connector.go b/pkg/models/shared/connector.go index 38d5e177..07df260d 100644 --- a/pkg/models/shared/connector.go +++ b/pkg/models/shared/connector.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/connectorcredential.go b/pkg/models/shared/connectorcredential.go index cd0ee890..228f5424 100644 --- a/pkg/models/shared/connectorcredential.go +++ b/pkg/models/shared/connectorcredential.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/connectorservicecreaterequest.go b/pkg/models/shared/connectorservicecreaterequest.go index 68907420..f7b4ca65 100644 --- a/pkg/models/shared/connectorservicecreaterequest.go +++ b/pkg/models/shared/connectorservicecreaterequest.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ConnectorServiceCreateRequestConfig - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/connectorservicecreateresponse.go b/pkg/models/shared/connectorservicecreateresponse.go index 8123d775..1e9043de 100644 --- a/pkg/models/shared/connectorservicecreateresponse.go +++ b/pkg/models/shared/connectorservicecreateresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ConnectorServiceCreateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/connectorservicegetresponse.go b/pkg/models/shared/connectorservicegetresponse.go index 2f6600a5..87094245 100644 --- a/pkg/models/shared/connectorservicegetresponse.go +++ b/pkg/models/shared/connectorservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ConnectorServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/connectorservicelistresponse.go b/pkg/models/shared/connectorservicelistresponse.go index 860cc03e..c6e4a209 100644 --- a/pkg/models/shared/connectorservicelistresponse.go +++ b/pkg/models/shared/connectorservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ConnectorServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/connectorserviceupdateresponse.go b/pkg/models/shared/connectorserviceupdateresponse.go index b60ac5fd..44d7d11a 100644 --- a/pkg/models/shared/connectorserviceupdateresponse.go +++ b/pkg/models/shared/connectorserviceupdateresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ConnectorServiceUpdateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/connectorstatus.go b/pkg/models/shared/connectorstatus.go index fb56dc3f..0ed867fb 100644 --- a/pkg/models/shared/connectorstatus.go +++ b/pkg/models/shared/connectorstatus.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/createpolicyrequest.go b/pkg/models/shared/createpolicyrequest.go index d968f761..70542f69 100644 --- a/pkg/models/shared/createpolicyrequest.go +++ b/pkg/models/shared/createpolicyrequest.go @@ -54,7 +54,7 @@ type CreatePolicyRequest struct { // The display name of the new policy. DisplayName *string `json:"displayName,omitempty"` // The map of policy type to policy steps. The key is the stringified version of the enum. See other policies for examples. - PolicySteps map[string]PolicyStepsInput `json:"policySteps,omitempty"` + PolicySteps map[string]PolicySteps `json:"policySteps,omitempty"` // The enum of the policy type. PolicyType *PolicyType `json:"policyType,omitempty"` // Actions to occur after a policy finishes. As of now this is only valid on a certify policy to remediate a denied certification immediately. @@ -77,7 +77,7 @@ func (o *CreatePolicyRequest) GetDisplayName() *string { return o.DisplayName } -func (o *CreatePolicyRequest) GetPolicySteps() map[string]PolicyStepsInput { +func (o *CreatePolicyRequest) GetPolicySteps() map[string]PolicySteps { if o == nil { return nil } diff --git a/pkg/models/shared/deniedaction.go b/pkg/models/shared/deniedaction.go index ad2548aa..706aa69e 100644 --- a/pkg/models/shared/deniedaction.go +++ b/pkg/models/shared/deniedaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/directory.go b/pkg/models/shared/directory.go index 7fd41272..476ac453 100644 --- a/pkg/models/shared/directory.go +++ b/pkg/models/shared/directory.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/directoryservicecreateresponse.go b/pkg/models/shared/directoryservicecreateresponse.go index 2e923e06..3de86bf5 100644 --- a/pkg/models/shared/directoryservicecreateresponse.go +++ b/pkg/models/shared/directoryservicecreateresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // DirectoryServiceCreateResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/directoryservicegetresponse.go b/pkg/models/shared/directoryservicegetresponse.go index fe8c3561..0340596e 100644 --- a/pkg/models/shared/directoryservicegetresponse.go +++ b/pkg/models/shared/directoryservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // DirectoryServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/directoryservicelistresponse.go b/pkg/models/shared/directoryservicelistresponse.go index 999db695..e12d5bdc 100644 --- a/pkg/models/shared/directoryservicelistresponse.go +++ b/pkg/models/shared/directoryservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // DirectoryServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/entitlementownerapprovalinput.go b/pkg/models/shared/entitlementownerapprovalinput.go deleted file mode 100644 index 7e8764ec..00000000 --- a/pkg/models/shared/entitlementownerapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// EntitlementOwnerApprovalInput - The entitlement owner approval allows configuration of the approval step when the target approvers are the entitlement owners. -type EntitlementOwnerApprovalInput struct { -} diff --git a/pkg/models/shared/erroredaction.go b/pkg/models/shared/erroredaction.go index 905f6798..19c07f5f 100644 --- a/pkg/models/shared/erroredaction.go +++ b/pkg/models/shared/erroredaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/expressionapprovalinput.go b/pkg/models/shared/expressionapprovalinput.go deleted file mode 100644 index 960ca88d..00000000 --- a/pkg/models/shared/expressionapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// ExpressionApprovalInput - The ExpressionApproval message. -type ExpressionApprovalInput struct { -} diff --git a/pkg/models/shared/getappentitlementresponse.go b/pkg/models/shared/getappentitlementresponse.go index 938427ff..f71723a4 100644 --- a/pkg/models/shared/getappentitlementresponse.go +++ b/pkg/models/shared/getappentitlementresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // GetAppEntitlementResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/listappentitlementsresponse.go b/pkg/models/shared/listappentitlementsresponse.go index 7f00073b..d861d712 100644 --- a/pkg/models/shared/listappentitlementsresponse.go +++ b/pkg/models/shared/listappentitlementsresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ListAppEntitlementsResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/listappentitlementusersresponse.go b/pkg/models/shared/listappentitlementusersresponse.go index bc8944f3..1fc2f00b 100644 --- a/pkg/models/shared/listappentitlementusersresponse.go +++ b/pkg/models/shared/listappentitlementusersresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // ListAppEntitlementUsersResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/managerapprovalinput.go b/pkg/models/shared/managerapprovalinput.go deleted file mode 100644 index d32d6a1c..00000000 --- a/pkg/models/shared/managerapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// ManagerApprovalInput - The manager approval object provides configuration options for approval when the target of the approval is the manager of the user in the task. -type ManagerApprovalInput struct { -} diff --git a/pkg/models/shared/oauth2authorizedas.go b/pkg/models/shared/oauth2authorizedas.go index 0f19d9b3..e84b6966 100644 --- a/pkg/models/shared/oauth2authorizedas.go +++ b/pkg/models/shared/oauth2authorizedas.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/personalclient.go b/pkg/models/shared/personalclient.go index 3d9fbc0d..a630f56a 100644 --- a/pkg/models/shared/personalclient.go +++ b/pkg/models/shared/personalclient.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/policy.go b/pkg/models/shared/policy.go index 022f34a7..66005e54 100644 --- a/pkg/models/shared/policy.go +++ b/pkg/models/shared/policy.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) @@ -65,7 +65,7 @@ type Policy struct { PolicyType *PolicyPolicyType `json:"policyType,omitempty"` // An array of actions (ordered) to take place after a policy completes processing. PostActions []PolicyPostActions `json:"postActions,omitempty"` - // A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account. + // A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation refers to the individual delegates users set on their account. ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"` // The rules field. Rules []Rule `json:"rules,omitempty"` @@ -176,12 +176,12 @@ type PolicyInput struct { // The display name of the Policy. DisplayName *string `json:"displayName,omitempty"` // A map of string(policy type) to steps in a policy. This structure is leftover from a previous design, and should only ever have one key->value set. - PolicySteps map[string]PolicyStepsInput `json:"policySteps,omitempty"` + PolicySteps map[string]PolicySteps `json:"policySteps,omitempty"` // Indicates the type of this policy. Can also be used to get the value from policySteps. PolicyType *PolicyPolicyType `json:"policyType,omitempty"` // An array of actions (ordered) to take place after a policy completes processing. PostActions []PolicyPostActions `json:"postActions,omitempty"` - // A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation referrs to the individual delegates users set on their account. + // A policy configuration option that allows for reassinging tasks to delgated users. This level of delegation refers to the individual delegates users set on their account. ReassignTasksToDelegates *bool `json:"reassignTasksToDelegates,omitempty"` // The rules field. Rules []Rule `json:"rules,omitempty"` @@ -201,7 +201,7 @@ func (o *PolicyInput) GetDisplayName() *string { return o.DisplayName } -func (o *PolicyInput) GetPolicySteps() map[string]PolicyStepsInput { +func (o *PolicyInput) GetPolicySteps() map[string]PolicySteps { if o == nil { return nil } diff --git a/pkg/models/shared/policystepinput.go b/pkg/models/shared/policystepinput.go deleted file mode 100644 index d867d620..00000000 --- a/pkg/models/shared/policystepinput.go +++ /dev/null @@ -1,59 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// PolicyStepInput - The PolicyStep message. -// -// This message contains a oneof named step. Only a single field of the following list may be set at a time: -// - approval -// - provision -// - accept -// - reject -type PolicyStepInput struct { - // This policy step indicates that a ticket should have an approved outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - Accept *Accept `json:"accept,omitempty"` - // The Approval message. - // - // This message contains a oneof named typ. Only a single field of the following list may be set at a time: - // - users - // - manager - // - appOwners - // - group - // - self - // - entitlementOwners - // - expression - // - Approval *ApprovalInput `json:"approval,omitempty"` - // The provision step references a provision policy for this step. - Provision *Provision `json:"provision,omitempty"` - // This policy step indicates that a ticket should have a denied outcome. This is a terminal approval state and is used to explicitly define the end of approval steps. - Reject *Reject `json:"reject,omitempty"` -} - -func (o *PolicyStepInput) GetAccept() *Accept { - if o == nil { - return nil - } - return o.Accept -} - -func (o *PolicyStepInput) GetApproval() *ApprovalInput { - if o == nil { - return nil - } - return o.Approval -} - -func (o *PolicyStepInput) GetProvision() *Provision { - if o == nil { - return nil - } - return o.Provision -} - -func (o *PolicyStepInput) GetReject() *Reject { - if o == nil { - return nil - } - return o.Reject -} diff --git a/pkg/models/shared/policystepsinput.go b/pkg/models/shared/policystepsinput.go deleted file mode 100644 index ba4eeaac..00000000 --- a/pkg/models/shared/policystepsinput.go +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// PolicyStepsInput - The PolicySteps message. -type PolicyStepsInput struct { - // An array of policy steps indicating the processing flow of a policy. These steps are oneOfs, and only one property may be set for each array index at a time. - Steps []PolicyStepInput `json:"steps,omitempty"` -} - -func (o *PolicyStepsInput) GetSteps() []PolicyStepInput { - if o == nil { - return nil - } - return o.Steps -} diff --git a/pkg/models/shared/reassignedaction.go b/pkg/models/shared/reassignedaction.go index 4ac2d9f0..69e7398a 100644 --- a/pkg/models/shared/reassignedaction.go +++ b/pkg/models/shared/reassignedaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/reassignedbyerroraction.go b/pkg/models/shared/reassignedbyerroraction.go index 58e0dcc4..dfdc5ff5 100644 --- a/pkg/models/shared/reassignedbyerroraction.go +++ b/pkg/models/shared/reassignedbyerroraction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/requestcatalog.go b/pkg/models/shared/requestcatalog.go index 795de058..e8935230 100644 --- a/pkg/models/shared/requestcatalog.go +++ b/pkg/models/shared/requestcatalog.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/requestcatalogmanagementservicegetresponse.go b/pkg/models/shared/requestcatalogmanagementservicegetresponse.go index b791636c..85a51443 100644 --- a/pkg/models/shared/requestcatalogmanagementservicegetresponse.go +++ b/pkg/models/shared/requestcatalogmanagementservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // RequestCatalogManagementServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/requestcatalogmanagementservicelistentitlementsforaccessresponse.go b/pkg/models/shared/requestcatalogmanagementservicelistentitlementsforaccessresponse.go index 0a8777e1..69e3f19a 100644 --- a/pkg/models/shared/requestcatalogmanagementservicelistentitlementsforaccessresponse.go +++ b/pkg/models/shared/requestcatalogmanagementservicelistentitlementsforaccessresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // RequestCatalogManagementServiceListEntitlementsForAccessResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/requestcatalogmanagementservicelistentitlementspercatalogresponse.go b/pkg/models/shared/requestcatalogmanagementservicelistentitlementspercatalogresponse.go index bf648053..f2a29b5f 100644 --- a/pkg/models/shared/requestcatalogmanagementservicelistentitlementspercatalogresponse.go +++ b/pkg/models/shared/requestcatalogmanagementservicelistentitlementspercatalogresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // RequestCatalogManagementServiceListEntitlementsPerCatalogResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/requestcatalogmanagementservicelistresponse.go b/pkg/models/shared/requestcatalogmanagementservicelistresponse.go index 0f7e2b92..5bcbf43e 100644 --- a/pkg/models/shared/requestcatalogmanagementservicelistresponse.go +++ b/pkg/models/shared/requestcatalogmanagementservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // RequestCatalogManagementServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/requestcatalogsearchservicesearchentitlementsresponse.go b/pkg/models/shared/requestcatalogsearchservicesearchentitlementsresponse.go index 1991ae2c..c3c588f2 100644 --- a/pkg/models/shared/requestcatalogsearchservicesearchentitlementsresponse.go +++ b/pkg/models/shared/requestcatalogsearchservicesearchentitlementsresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // RequestCatalogSearchServiceSearchEntitlementsResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/restartaction.go b/pkg/models/shared/restartaction.go index 03527a24..cda7de47 100644 --- a/pkg/models/shared/restartaction.go +++ b/pkg/models/shared/restartaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/role.go b/pkg/models/shared/role.go index d77521fb..b9147e29 100644 --- a/pkg/models/shared/role.go +++ b/pkg/models/shared/role.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/searchusersresponse.go b/pkg/models/shared/searchusersresponse.go index a3a93b71..f68363e7 100644 --- a/pkg/models/shared/searchusersresponse.go +++ b/pkg/models/shared/searchusersresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // SearchUsersResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/selfapprovalinput.go b/pkg/models/shared/selfapprovalinput.go deleted file mode 100644 index c54f9cb1..00000000 --- a/pkg/models/shared/selfapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// SelfApprovalInput - The self approval object describes the configuration of a policy step that needs to be approved by the target of the request. -type SelfApprovalInput struct { -} diff --git a/pkg/models/shared/task.go b/pkg/models/shared/task.go index 04ea893d..0de8489f 100644 --- a/pkg/models/shared/task.go +++ b/pkg/models/shared/task.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/taskactionsserviceapproveresponse.go b/pkg/models/shared/taskactionsserviceapproveresponse.go index be6b7ea6..5ff059a6 100644 --- a/pkg/models/shared/taskactionsserviceapproveresponse.go +++ b/pkg/models/shared/taskactionsserviceapproveresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskActionsServiceApproveResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskactionsservicecommentresponse.go b/pkg/models/shared/taskactionsservicecommentresponse.go index a82c6f39..a845bd27 100644 --- a/pkg/models/shared/taskactionsservicecommentresponse.go +++ b/pkg/models/shared/taskactionsservicecommentresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskActionsServiceCommentResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskactionsservicedenyresponse.go b/pkg/models/shared/taskactionsservicedenyresponse.go index bdd8d620..c387d13c 100644 --- a/pkg/models/shared/taskactionsservicedenyresponse.go +++ b/pkg/models/shared/taskactionsservicedenyresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskActionsServiceDenyResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskactionsservicerestartresponse.go b/pkg/models/shared/taskactionsservicerestartresponse.go index 61431566..cf033ab2 100644 --- a/pkg/models/shared/taskactionsservicerestartresponse.go +++ b/pkg/models/shared/taskactionsservicerestartresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskActionsServiceRestartResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskrevokesourceexpired.go b/pkg/models/shared/taskrevokesourceexpired.go index 48133733..403f7687 100644 --- a/pkg/models/shared/taskrevokesourceexpired.go +++ b/pkg/models/shared/taskrevokesourceexpired.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/taskrevokesourcenonusage.go b/pkg/models/shared/taskrevokesourcenonusage.go index 1d57624a..d6b97ef6 100644 --- a/pkg/models/shared/taskrevokesourcenonusage.go +++ b/pkg/models/shared/taskrevokesourcenonusage.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/tasksearchrequest.go b/pkg/models/shared/tasksearchrequest.go index b8b0ea84..4a37c6d7 100644 --- a/pkg/models/shared/tasksearchrequest.go +++ b/pkg/models/shared/tasksearchrequest.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/tasksearchresponse.go b/pkg/models/shared/tasksearchresponse.go index 6d724d7f..e315c575 100644 --- a/pkg/models/shared/tasksearchresponse.go +++ b/pkg/models/shared/tasksearchresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskSearchResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskserviceactionresponse.go b/pkg/models/shared/taskserviceactionresponse.go index 40e23cc5..9891a466 100644 --- a/pkg/models/shared/taskserviceactionresponse.go +++ b/pkg/models/shared/taskserviceactionresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskServiceActionResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskservicecreategrantresponse.go b/pkg/models/shared/taskservicecreategrantresponse.go index bd77cea4..bd76dfa3 100644 --- a/pkg/models/shared/taskservicecreategrantresponse.go +++ b/pkg/models/shared/taskservicecreategrantresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskServiceCreateGrantResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskservicecreaterevokeresponse.go b/pkg/models/shared/taskservicecreaterevokeresponse.go index 2cc7dda7..ef7f06b9 100644 --- a/pkg/models/shared/taskservicecreaterevokeresponse.go +++ b/pkg/models/shared/taskservicecreaterevokeresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskServiceCreateRevokeResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/taskservicegetresponse.go b/pkg/models/shared/taskservicegetresponse.go index 708c5cc4..e575dae2 100644 --- a/pkg/models/shared/taskservicegetresponse.go +++ b/pkg/models/shared/taskservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // TaskServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/tasktypecertify.go b/pkg/models/shared/tasktypecertify.go index 7002e028..138f2a92 100644 --- a/pkg/models/shared/tasktypecertify.go +++ b/pkg/models/shared/tasktypecertify.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/tasktypegrant.go b/pkg/models/shared/tasktypegrant.go index bfbba01b..1238d47e 100644 --- a/pkg/models/shared/tasktypegrant.go +++ b/pkg/models/shared/tasktypegrant.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/tasktyperevoke.go b/pkg/models/shared/tasktyperevoke.go index 997f33bd..4f6403b2 100644 --- a/pkg/models/shared/tasktyperevoke.go +++ b/pkg/models/shared/tasktyperevoke.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/updateappentitlementresponse.go b/pkg/models/shared/updateappentitlementresponse.go index fec00f6d..e89633bf 100644 --- a/pkg/models/shared/updateappentitlementresponse.go +++ b/pkg/models/shared/updateappentitlementresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // UpdateAppEntitlementResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/user.go b/pkg/models/shared/user.go index 5b070120..04733366 100644 --- a/pkg/models/shared/user.go +++ b/pkg/models/shared/user.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "time" ) diff --git a/pkg/models/shared/userapprovalinput.go b/pkg/models/shared/userapprovalinput.go deleted file mode 100644 index 3808e754..00000000 --- a/pkg/models/shared/userapprovalinput.go +++ /dev/null @@ -1,7 +0,0 @@ -// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. - -package shared - -// UserApprovalInput - The user approval object describes the approval configuration of a policy step that needs to be approved by a specific list of users. -type UserApprovalInput struct { -} diff --git a/pkg/models/shared/userservicegetresponse.go b/pkg/models/shared/userservicegetresponse.go index 24cb344b..f729f261 100644 --- a/pkg/models/shared/userservicegetresponse.go +++ b/pkg/models/shared/userservicegetresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // UserServiceGetResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/models/shared/userservicelistresponse.go b/pkg/models/shared/userservicelistresponse.go index 08a932ef..fe650fea 100644 --- a/pkg/models/shared/userservicelistresponse.go +++ b/pkg/models/shared/userservicelistresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" ) // UserServiceListResponseExpanded - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. diff --git a/pkg/utils/form.go b/pkg/utils/form.go index 2bee6260..d01f7f33 100644 --- a/pkg/utils/form.go +++ b/pkg/utils/form.go @@ -12,7 +12,7 @@ import ( "github.com/ericlagergren/decimal" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/types" + "github.com/conductorone/conductorone-sdk-go/pkg/types" ) func populateForm(paramName string, explode bool, objType reflect.Type, objValue reflect.Value, delimiter string, getFieldName func(reflect.StructField) string) url.Values { diff --git a/pkg/utils/json.go b/pkg/utils/json.go index 91664168..875c1d81 100644 --- a/pkg/utils/json.go +++ b/pkg/utils/json.go @@ -12,7 +12,7 @@ import ( "time" "unsafe" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/types" + "github.com/conductorone/conductorone-sdk-go/pkg/types" "github.com/ericlagergren/decimal" ) diff --git a/pkg/utils/pathparams.go b/pkg/utils/pathparams.go index edec5192..12e25d2d 100644 --- a/pkg/utils/pathparams.go +++ b/pkg/utils/pathparams.go @@ -13,7 +13,7 @@ import ( "github.com/ericlagergren/decimal" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/types" + "github.com/conductorone/conductorone-sdk-go/pkg/types" ) func GenerateURL(ctx context.Context, serverURL, path string, pathParams interface{}, globals map[string]map[string]map[string]interface{}) (string, error) { diff --git a/policies.go b/policies.go index d2dfd356..d198a108 100644 --- a/policies.go +++ b/policies.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/policysearch.go b/policysearch.go index 05345619..5a18eb59 100644 --- a/policysearch.go +++ b/policysearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/policyvalidate.go b/policyvalidate.go index b61815dc..3512936d 100644 --- a/policyvalidate.go +++ b/policyvalidate.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/requestcatalogmanagement.go b/requestcatalogmanagement.go index f63788d3..3ff25853 100644 --- a/requestcatalogmanagement.go +++ b/requestcatalogmanagement.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/requestcatalogsearch.go b/requestcatalogsearch.go index 693bb6fe..01c00ff2 100644 --- a/requestcatalogsearch.go +++ b/requestcatalogsearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/roles.go b/roles.go index daf28853..3c839fc9 100644 --- a/roles.go +++ b/roles.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/task.go b/task.go index 3509b251..d2abf1d9 100644 --- a/task.go +++ b/task.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/taskactions.go b/taskactions.go index 79f92d70..0936baa9 100644 --- a/taskactions.go +++ b/taskactions.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" ) diff --git a/tasksearch.go b/tasksearch.go index c19a1ef4..4612efd3 100644 --- a/tasksearch.go +++ b/tasksearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/user.go b/user.go index 4c5e0b21..7184e80c 100644 --- a/user.go +++ b/user.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings" diff --git a/usersearch.go b/usersearch.go index e5157427..3eeaef07 100644 --- a/usersearch.go +++ b/usersearch.go @@ -6,10 +6,10 @@ import ( "bytes" "context" "fmt" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/operations" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/sdkerrors" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/models/shared" - "github.com/conductorone/conductorone-sdk-go/v2/pkg/utils" + "github.com/conductorone/conductorone-sdk-go/pkg/models/operations" + "github.com/conductorone/conductorone-sdk-go/pkg/models/sdkerrors" + "github.com/conductorone/conductorone-sdk-go/pkg/models/shared" + "github.com/conductorone/conductorone-sdk-go/pkg/utils" "io" "net/http" "strings"